[jboss-user] [Messaging, JMS & JBossMQ] - MDBs and Connection Factories
somejunk
do-not-reply at jboss.com
Fri Dec 1 14:22:07 EST 2006
I have a two node JBoss 4.0.2 cluster with one node per machine. I set the connection factories in \jboss-4.0.2\server\bbw\deploy-hasingleton\jms\ uil2-service.xml as
QueueConnectionFactory
ConnectionFactory
java:/JmsXA
jboss:service=Naming
TopicConnectionFactory
ConnectionFactory
java:/JmsXA
jboss:service=Naming
I am trying to see the connection factories listed on the jmx-console of both machines. But I only see them on the node that is started first and I get the following error message
javax.naming.NameNotFoundException: queue not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:215)
at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
Any help appreciated Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990536#3990536
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990536
More information about the jboss-user
mailing list