I just moved from Java 1.3.1_09 to 1.4.2_04 and am having a problem with sending jms.
The problem occurs when a client (no jboss) tries to send a JMS message to a queue for 
an mdb.  The exception thrown is:
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: 
(java.net.ConnectException: Connection refused: connect)
        at org.jboss.mq.Connection.authenticate(Connection.java:883)
        at org.jboss.mq.Connection.(Connection.java:238)
        at org.jboss.mq.Connection.(Connection.java:315)
        at org.jboss.mq.SpyConnection.(SpyConnection.java:60)
        at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116)
        at gov.ca.boe.afsp.messages.EfilingAsyncObjectMessageClient.send(Unknown 
Source)
        at gov.ca.boe.afsp.messages.CommandLineWorkcaseInvoker.main(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:169)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.(Socket.java:309)
        at java.net.Socket.(Socket.java:153)
        at javax.net.DefaultSocketFactory.createSocket(DashoA6275)
        at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563)
        at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507)
        at org.jboss.mq.il.oil.OILServerIL.authenticate(OILServerIL.java:289)
        at org.jboss.mq.Connection.authenticate(Connection.java:876)
        ... 6 more

This worked fine before the change in Java.  How do I get the user to authenticate?  I 
do not specify
a security setting.  The same client can send a message to another provider that is 
still
running jboss with Java 1.3.1_09.  I did telnet to ip:1099 and that was accessible and 
showed:
ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂfsr?java.rmi.MarshalledObject|+?ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂfcn>??I?hashlocBytest?[BobjBytesq~?xpÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂO?our?[BÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ=?ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂTa?xp%ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂfthttp://0.0.0.0:8083/q~q~uq
~?+ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂfsr 
org.jnp.server.NamingServer_Stub??xrjava.rmi.server.RemoteStubTÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ_+ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂe?xr?java.rmi.server.RemoteObject+aÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ
                                                                                       
                          a3??xpw
9
 [EMAIL PROTECTED]:ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ?ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂx

Connection to host lost.

.How do I get this issue resolved?  

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842065#3842065

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842065


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to