Hello, 

I have a stateless session bean which creates a connection to a JMS topic (via 
XAConnectionFactory) in its ejbCreate (and disconnects it in ejbRemove). 
Sometimes, I get the following exception:


  | org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: 
(java.io.EOFException)
  |     at org.jboss.mq.Connection.authenticate(Connection.java:1161)
  |     at org.jboss.mq.Connection.<init>(Connection.java:248)
  |     at org.jboss.mq.Connection.<init>(Connection.java:325)
  |     at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:66)
  |     at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
  |     at 
org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:136)
  |     at ...
  | Caused by: java.io.EOFException
  |     at 
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2435)
  |     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1245)
  |     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
  |     at org.jboss.mq.il.uil2.msgs.CheckUserMsg.read(CheckUserMsg.java:67)
  |     at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:305)
  |     at java.lang.Thread.run(Thread.java:534)
  | 

Any idea what is going wrong? I'm using JBoss 3.2.6.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to