IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  error : Not logged in!

    Posted 04/21/09 07:55 AM

    Hi,

    Sometimes our integration server giving error like :
    pub.client.ftp:cd
    com.wm.app.b2b.server.ServiceException: [ISS.0086.9194] Not logged in! [/i]

    [ISS.0086.9194]
    Flow looks as below:

    Loop on list of files

    Pub.client.ftp:login
    Pub.client.ftp:cd
    Here calling custom service to process inbound files (this service may take time 1 to 5 min)
    Pub.client.ftp:logout

    In the second repetition of loop error coming like “Not logged in” at “Pub.client.ftp:cd” step.
    I am confused why after login error throwing at change directory level?

    Any one please helps me to fix this problem…

    Thanks in advance…
    Ravi


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: error : Not logged in!

    Posted 04/21/09 04:28 PM

    A couple of items come to mind.

    • Why login and logout for every iteration of the loop?
    • Are you checking the result of the login? Are you sure it succeeds? (Perhaps you just omitted the error checking for posting here?)

    What version of IS?


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: error : Not logged in!

    Posted 04/22/09 06:43 AM

    Thanks for your reply reamon.

    We are using IS 7.1 version.

    Loop iteration on list of files names.

    Pub.client.ftp:login
    Pub.client.ftp:cd

    Pub.client.ftp:get
    Here calling custom service to process inbound files (this service may take time 1 to 5 min)
    Pub.client.ftp:logout

    Thanks
    Ravi


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: error : Not logged in!

    Posted 04/22/09 03:55 PM

    I understand that you’re looping over a list of filenames. Why are you logging in and out for each filename? Why not do this:

    login
    cd
    loop over filename
    …get
    …call custom service

    logout

    Are you checking the result of the login call?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 5.  RE: error : Not logged in!

    Posted 04/24/09 07:15 AM

    Hi reamon,

    Thanks for your suggestion, let me try in that way…

    But I hope that the same problem will be arise at logout step.
    Because my custom service may take more time (10 min…15 min…OR more) to process all inbound files, meanwhile if ligin session will get expire then error should be thrown at logout step.

    Thanks
    Ravi


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 6.  RE: error : Not logged in!

    Posted 04/25/09 05:23 AM

    What kind of box (windows/unix) you are trying to FTP . The solution suggested by reamon is perfect , you should not see the problem with this . Also check if there is any FTP session timeout parameter is set in the target server. If you have huge number of files ( also to make your process scalable ) use multithreaded model for this purpose .


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 7.  RE: error : Not logged in!

    Posted 06/16/09 11:57 AM

    Hi rgiduthuri,

    While using the pub.client:ftp service did you select the newSession input Parameter as yes?

    I guess yor session key is getting expired everytime while your custom services are been executed.

    I dont know whether this would work in your case.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods