users@glassfish.java.net

JMSBrokerException

From: Narayana Rallabandi <Narayana.Rallabandi_at_Sun.COM>
Date: Thu, 18 Dec 2008 17:05:23 +0530

Hi,

When I am running glassfish the imq is going down intermittently with
the exception log attached. Any pointers?

Sometimes I am seeing that its not releasing the port even after the imq
is down.

Also is there any way I can start the IMQ out of the glassfish as a
process ?

I also would like to know is there any limit on the

    * Number of Queues it can run?
    * Size of the message and how many number of messages each Queue can
      hold

Thanks,
Narayanaa



[#|2008-12-19T00:16:15.998+1300|WARNING|sun-appserver9.1|javax.jms|_ThreadID=359;_ThreadName=iMQReadChannel-1274;_RequestID=a44bbaae-6231-4007
-94c4-3c22ca7a1f5a;|[I500]: Caught JVM Exception: java.io.EOFException|#]

[#|2008-12-19T00:16:16.039+1300|SEVERE|sun-appserver9.1|com.stc.jmsmx.sjsmq.AdminStrategy37|_ThreadID=281;_ThreadName=httpWorkerThread-18000-2
;_RequestID=391395e7-18de-4a03-a80c-fe8a9c8796bb;|failed to preInvoke
com.sun.messaging.jms.JMSException: [C4000]: Packet acknowledge failed. user=admin, broker=10.231.4.14:18003(33071)
        at com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:703)
        at com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithReply2(ProtocolHandler.java:480)
        at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:947)
        at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:888)
        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.<init>(ConnectionImpl.java:418)
        at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:60)
        at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:59)
        at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:98)
        at com.stc.jmsmx.sjsmq.AdminStrategy37.preInvoke(AdminStrategy37.java:170)
        at com.stc.jmsmx.sjsmq.AdminStrategy37.isServerReady(AdminStrategy37.java:1821)
        at com.stc.jmsmx.sjsmq.SJSMQAdminMBean.isServerReady(SJSMQAdminMBean.java:651)
        at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.stc.jmsmx.core.JmsServerAdmin.invoke(JmsServerAdmin.java:369)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)




        |#]

[#|2008-12-19T00:20:52.512+1300|WARNING|sun-appserver9.1|com.stc.jmsmx.sjsmq.AdminStrategy37|_ThreadID=335;_ThreadName=httpWorkerThread-18000-
3;_RequestID=c851ca32-642e-4063-8ab5-463e1b3c8dae;|The Messaeg Server is not ready
javax.jms.JMSException: [C4000]: Packet acknowledge failed. user=admin, broker=10.231.4.14:18003(33071)
        at com.stc.jmsmx.sjsmq.AdminStrategy37.preInvoke(AdminStrategy37.java:181)
        at com.stc.jmsmx.sjsmq.AdminStrategy37.isServerReady(AdminStrategy37.java:1821)
        at com.stc.jmsmx.sjsmq.SJSMQAdminMBean.isServerReady(SJSMQAdminMBean.java:651)
        at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.stc.jmsmx.core.JmsServerAdmin.invoke(JmsServerAdmin.java:369)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)