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.

 View Only
Expand all | Collapse all

java.net.unknownhostexception Error in Connectors

  • 1.  java.net.unknownhostexception Error in Connectors

    Posted Mon June 14, 2010 11:01 AM

    Hi All,

    We are writting Flow service to invoke web servies of one website.
    We are using connectors for this purpose. This site is using userid and password for security purpose.
    Before invoking web service, we are setting userid, password and url.
    But when I run my flow service it gives me error like :

    com.wm.app.b2b.server.serviceexception: java.net.unknownhostexception: HostName

    Where my url is like [URL]http://hostname/abcd[/URL]
    I am able to invoke web services using same url in our java program using stub ( Simple java program and not WM java Method) .
    Also if i put same url in browser, it opens the login page of site.
    So url is correct.

    Can anybody please help me to identify whats the exact problem?
    Do I need to set some settings? and How?

    Thanks & Regards,
    Mayur


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


  • 2.  RE: java.net.unknownhostexception Error in Connectors

    Posted Mon June 14, 2010 08:55 PM

    How many network interfaces does your server running IS have?
    Maybe HOSTNAME changed after IS was started and Java cache doesn’t know from that host?

    What about if you modify URL from HOSTNAME to IPADDRESS?


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