[jboss-user] [Beginners Corner] - org.jboss.mq.SpyJMSException: Cannot authenticate user

gan.gary do-not-reply at jboss.com
Wed Dec 24 04:21:00 EST 2008


I have a multithreaded app that stress test the JBoss version jboss-4.2.2.GA, and i got the following exception intermittened. IS this related to this JIRA ticket: https://jira.jboss.org/jira/browse/JBAS-1380?


ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.SocketException: Connection reset)
  | 2008-12-24 00:03:22,984 ERROR [STDERR] 	at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72)
  | ...
  | ERROR [STDERR] Caused by: java.net.SocketException: Connection reset
  | 2008-12-24 00:03:40,703 ERROR [STDERR] 	at java.net.SocketInputStream.read(SocketInputStream.java:168)
else what could be the root cause?

I have set socketTimeout in "jboss-log4j.xml" :
<mbean code="org.jboss.remoting.transport.Connector"
  |           name="jboss.remoting:service=Connector,transport=socket"
  |           display-name="Socket transport Connector">
  | ...
  | <attribute name="socketTimeout" isParam="true">600000</attribute>

and 
<mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
  |       name="jboss:service=invoker,type=pooled">
  | ..
  |       <attribute name="ClientMaxPoolSize">300</attribute>
  |       <attribute name="SocketTimeout">60000</attribute>

to 0, but seems not affect.

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

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



More information about the jboss-user mailing list