Hello JBoss experts,

as it seems my JMS is running (subscriber and publisher).

But in my log4 Java client app with log4j.properties from your FAQ I receive 
some exceptions. Also an exception occurs in Jboss 4.01sp1 server.log (running 
on Windows 2000).

Java client application (jbossmq.log):
2005-05-04 09:17:22,984 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
Exiting on IOE
java.io.EOFException

According to the log my app is closing the session and connections.
Is it normal, that this EOFException occurs then? Maybe it is normal in DEBUG 
mode? I am not sure.

This is my jmsCleanup() method:
try {
            
            if (jmsConn != null) jmsConn.stop();
            if (jmsPub != null) jmsPub.close();
            if (jmsSession != null) jmsSession.close();
            if (jmsConn != null) jmsConn.close();
        } catch (JMSException ex) {
            System.out.println("JMSEventHandlerThread: JMSException in 
jmsCleanup: " + ex.getMessage());
        }

Would be new to me that close() of session also closes TopicConnection?

And this occurs on JBoss side:
java.io.EOFException
        at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
        at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
        at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:285)
        at java.lang.Thread.run(Thread.java:534)

I also expect that it should be not normal to receive this exception in the 
server.log?

Regards
Thomas

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to