Configuration for Topic Subscription

Hi Team,

In our Application, we are subscribing to multiple Topics having more than one ‘java.naming.provider.url’

We tried configuring multiple URLs under single → JndiProperties

java.naming.factory.initial=com.pcbsys.nirvana.nSpace.NirvanaContextFactory,
java.naming.provider.url=“nsp://10.204.124.188:6022;nsp://10.204.124.188:6032”, —(tried both Comma and SemiColon separated)
java.naming.security.authentication=simple

Have tried both Comma and SemiColon separated - still no luck.

00:16:22,120 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "XXX.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"XXX.ear\".\"MQMDB.jar\".component.TestMDBEJB.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"XXX.ear\".\"MQMDB.jar\".component.TestMDBEJB.START: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Internal lookup failed for name=oms/testTopic1
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Internal lookup failed for name=oms/testTopic1
    Caused by: javax.resource.spi.InvalidPropertyException: Internal lookup failed for name=oms/testTopic1
    Caused by: javax.naming.NamingException: Internal lookup failed for name=oms/testTopic1 [Root exception is javax.naming.NamingException: Name not found during lookup for oms/testTopic1]
    Caused by: javax.naming.NamingException: Name not found during lookup for oms/testTopic1"}}

Regards,
Mahesh Jadhav

Hi Mahesh,

Are you trying to connect two different UM servers with JNDI? Or it’s a clustered of realms?
Also, is this a test lookup fail?
I am not very sure of your requirements, but you could have a look into the horizontal scalability (HS) feature.

Thanks