Skip to main content

Java EE 5 JMS Broker error (GF 2.1)

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
htran_888
Offline
Joined: 2006-05-11

Hi All,

I am getting the following error messages after having persisted only 79 (Family) compared to 600,000 (Telephone) records in a OneToMany relationship with a Java EE 5 (JDK1.6.0_17, Glassfish 2.1) JMS Session Bean application:

08/12/2010 8:36:00 AM com.sun.messaging.jmq.jmsclient.AckQueue printInfo
WARNING: [W2003]: Broker not responding [HELLO(10)] for 120 seconds. Still trying..., broker addr=spisu03:7676(1125), connectionID=384, clientID=null, consumerID=1
08/12/2010 9:11:15 AM com.sun.messaging.jmq.jmsclient.AckQueue printInfo
WARNING: [W2003]: Broker not responding [AUTHENTICATE(12)] for 120 seconds. Still trying..., broker addr=spisu03:7676(1125), connectionID=9115334861310769152, clientID=null, consumerID=2
08/12/2010 9:24:37 AM com.sun.messaging.jmq.jmsclient.AckQueue printInfo
WARNING: [W2003]: Broker not responding [HELLO(10)] for 120 seconds. Still trying..., broker addr=spisu03:7676(1125), connectionID=409, clientID=null, consumerID=1
08/12/2010 9:28:08 AM com.sun.messaging.jmq.jmsclient.ExceptionHandler logCaughtException
WARNING: [I500]: Caught JVM Exception: java.io.EOFException
08/12/2010 9:28:08 AM com.sun.messaging.jms.ra.ManagedConnection
SEVERE: MQJMSRA_MC4001: constructor:Aborting:JMSException on createConnection=[C4000]: Packet acknowledge failed. user=guest, broker=hostname:7676(1125)
com.sun.messaging.jms.JMSException: [C4000]: Packet acknowledge failed. user=guest, broker=spisu03:7676(1125)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:712)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:575)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithReply(ProtocolHandler.java:461)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(ProtocolHandler.java:1072)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:1002)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:897)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.java:532)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:2357)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:1024)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.(ConnectionImpl.java:418)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.(UnifiedConnectionImpl.java:60)
at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.(XAConnectionImpl.java:58)
at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:91)
at com.sun.messaging.jms.ra.ManagedConnection.(ManagedConnection.java:193)
at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnection(ManagedConnectionFactory.java:213)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorAllocator.java:136)
at com.sun.enterprise.resource.AbstractResourcePool.createResource(AbstractResourcePool.java:934)
at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:910)
at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1832)
at com.sun.enterprise.resource.AbstractResourcePool.resizePool(AbstractResourcePool.java:1477)
at com.sun.enterprise.resource.AbstractResourcePool$Resizer.run(AbstractResourcePool.java:1610)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
08/12/2010 9:28:08 AM com.sun.enterprise.resource.AbstractResourcePool resizePool
WARNING: RAR5058: Error while Resizing pool jms/localFundsConnectionFactory. Exception : MQJMSRA_MC4001: constructor:Aborting:JMSException on createConnection=[C4000]: Packet acknowledge failed. user=guest, broker=hostname:7676(1125)

I am currently investigating on how to reduce the redundant 50 records added to the secondary many (Telephone) table for every single record added to Family. Also like to find out how to allocate additional resources to sufficiently run this application. Are there any minimum hardware requirement specification available?

I am running Windows 7 on Intel Dual Core PC with 4.0GB RAM & ample diskspace.

Your advice would be much appreciated.

Thanks a lot,

Jack