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

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)

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

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

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

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

1 Like

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.