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

Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

  • 1.  Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

    Posted Thu November 03, 2016 03:28 AM

    Hi everyone,
    I cann’t start IS that I newly installed, errors as follow:
    java.lang.RuntimeException: java.lang.RuntimeException: javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9000 [Root exception is com.pcbsys.nirvana.client.nRealmUnreachableException: Realm is currently not reachable:com.pcbsys.foundation.base.fException: Retry count=2 exceeded attempting to connect to host - [nsp://localhost:9000/]]
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9000 [Root exception is com.pcbsys.nirvana.client.nRealmUnreachableException: Realm is currently not reachable:com.pcbsys.foundation.base.fException: Retry count=2 exceeded attempting to connect to host - [nsp://localhost:9000/]]
    Caused by: java.lang.RuntimeException: javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9000 [Root exception is com.pcbsys.nirvana.client.nRealmUnreachableException: Realm is currently not reachable:com.pcbsys.foundation.base.fException…
    kindly help,thanks in advance.
    webMethods version is 9.8 and didn’t install any fix.

    console log.txt (13.7 KB)
    server.log (117 KB)


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

    Posted Thu November 03, 2016 03:31 AM

    it looks like IS cann’t connect to database,but in Settings → JDBC Pools every test is ok.it’s weird.
    by the way,database is sql server2008


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

    Posted Thu November 03, 2016 07:46 AM

    Hi Felix,

    looks like you are trying to connect to an invalid MWS schema.

    Make sure that the schema configured for the Central Users Function contains table for MyWebMethods component and that MWS using this same schema has been started at least once to complete initialization.

    There seems to be another error when trying to connect to Universal Messaging (Realm unreachable).

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

    Posted Thu November 03, 2016 08:01 AM

    Hi Holger,
    thanks for your reply,May I ask how to check the Central Users Function contains table ?


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

    Posted Thu November 03, 2016 03:22 PM

    Hi Felix,

    you can use Database Component Configurator for this.

    Choose option catalag fro the field type and enter the connection parameters of the database.

    If you have direct access to the database with a db client, check for the table COMPONET_EVENT or the view INSTALLED_COMPONENT.

    The view only lists latest version applied to the database and the table contains all information about the installed versions.

    The object your are looking for is called MyWebmethodsServer.

    Regards,
    Holger


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Unable to start IS javax.naming.CommunicationException: JNDI setup failed on RNAME=nsp://localhost:9

    Posted Fri November 04, 2016 12:09 AM

    Hi Holger,
    thanks a lot, I have solved this problem “Cannot initialize MWS, invalid database schema is specified” by starting My webMethods Server once, and “JNDI setup failed” could be ignore if I don’t use UM as default Messaging, now my webMethods works fine.
    thank you very much.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods