[JBoss Messaging] - Re: Exception during JBoss 4.2.2 shutdown using JBoss Messag
by timfox
"balkanboy" wrote : Hail to the JBoss Messaging gurus (Tim, et al.) - I installed JBM 1.4GA as outlined in the manual on a clean JBoss 4.2.2AS installation, and I am getting the following exception:
|
| anonymous wrote :
| | 17:30:21,541 ERROR [ExceptionUtil] org.jboss.jms.server.connectionfactory.Connec
| | tionFactory@10a30b6c startService
| | java.lang.IllegalStateException: Cannot find replicant to remove: CF_jboss.messa
| | ging.connectionfactory:service=ConnectionFactory
| | at org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper.un
| | registerConnectionFactory(ConnectionFactoryJNDIMapper.java:264)
| | at org.jboss.jms.server.connectionfactory.ConnectionFactory.stopService(
| | ConnectionFactory.java:187)
| |
|
| (I've abbreviated the stacktrace for clarity - if you need the whole thing, let me know).
|
| Does this mean anything and is there anything I can do to prevent it from happening?
|
|
This is a known issue. I believe it is harmless though.
anonymous wrote :
| Another thing - the automatic installation of JBM1.4GA when run with 'ant -f release-admin.xml' based on a 'default' configuration, will not add the "jgroups.jar" in the JBOSS_CONFIG/lib directory. I had to do that manually (not an issue if you are basing the auto-install from an "all" configuration, which includes jgroups.jar). I think this ought to be reflected in the installation manual.
If you are running release-admin.xml based on default that means you are running non clustered so you don't need jgroups.jar. (default is a non clustered profile).
If you want a clustered profile you should base it on all, in which jgroups.jar is present and will be copied for you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099141#4099141
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099141
18Â years, 6Â months
[JBoss Messaging] - Problem accessing JBoss Messaging from remote client
by gvnanil
I am getting exception when I am trying to connect to JBoss Messaging (running on JBoss AS) from a remote client. I am running a simple pub/sub application. No problems arise when my client is on the same host as JBoss AS. But from remote system, I get this problem. The exception is pasted below:
Exception in thread "main" javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.ca.reif.poc.jms.JMSFactory.(JMSFactory.java:43)
at com.ca.reif.poc.jms.JMSFactory.createJMSFactory(JMSFactory.java:55)
at com.ca.reif.poc.sample.Main.(Main.java:39)
at com.ca.reif.poc.sample.Main.main(Main.java:52)
Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
... 6 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 12 more
Please help me.... !!!!!URGENT!!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099131#4099131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099131
18Â years, 6Â months