It looks like you client cannot see the
server, probably because the ip mapping
The default connection factory is OIL which
uses plain sockets. The RMI setting won't
help you here.
I am also getting this exception now under what sounds like the exact same situation. If i find anything i'll certainly post it here. Thx for any help you guys can provide...
But won't the RMI setting help with RMIIL?
Hi Adrian, thks for lending a hand =)
It makes sense... we dropped the JAVA_OPTS setting since it was ineffective, thks for pointing that out.
We were performing tests in two different contexts: within a subnet and between two different networks. We also extended our test to send a msg and then consume its own message.
Using the default ConnectionFactory (OIL) within the subnet we get a situation where the server apparently cannot talk back to the client (error messages below are _server_ side):
19:17:43,515 ERROR [OILClientIL] Cannot connect to the
java.net.ConnectException: Connection refused: connect
19:17:43,535 WARN [OILServerILService] Client request resulted in a
org.jboss.mq.SpyJMSException: Could not pong; - nested throwable:
(java.rmi.RemoteException: Cannot connect to the
19:17:44,717 ERROR [OILClientIL] Cannot connect to the
We learned that OIL and RMI depend on a connection back to the caller, so we tried replacing the
and this apparently did the trick within the subnet (although I wouldn't guess we could have IP probls within the same subnet). However, this didn't help between the different networks (in this case, there are two firewalls involved). On this scenario, the client seems to hang forever, while the server doesn't complain a single word.
Any ideas? (sorry for the long post, I just wanted to provide as much info as I could)
I'm also getting an SpyJMSException trying to connect,
but only using jdk1.3.1_04 on the client. This is error #1
below. Error #2 is using jdk1.4.0_2 on the client and is
from the JBoss console window.
Andy help would be appreciated. We would really like to
be able to use jdk1.3.1_04 on the client.
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.SocketException: Option unsupported by protocol: connect)
11:11:27,390 WARN [OILServerILService] Client request resulted in a server exception:
javax.jms.JMSSecurityException: User: sa is NOT authenticated