4 Replies Latest reply on Apr 8, 2011 6:03 AM by Ravi Samavedula

    Jboss messaging stops working after some time

    Ravi Samavedula Newbie

      Hi,

      I am using Jboss 5.0 EAP and it has Jboss messaging 1.4.6. We are using topic (JMS) also. And we are using oracle to store topic data.

      But after it storing 92000 (approx). It throws the below error.just need help to fix this issue.

       

      2011-04-07 22:27:43,545 WARN  [org.jgroups.protocols.UDP] (JBoss System Threads(1)-3) failed to join /224.0.75.75:7500 on eth3: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      2011-04-07 22:27:43,546 WARN  [org.jgroups.protocols.UDP] (JBoss System Threads(1)-3) failed to join /224.0.75.75:7500 on net3: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      2011-04-07 22:27:43,546 WARN  [org.jgroups.protocols.UDP] (JBoss System Threads(1)-3) failed to join /224.0.75.75:7500 on net5: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      2011-04-07 22:27:43,548 INFO  [STDOUT] (JBoss System Threads(1)-3)

      ---------------------------------------------------------

      GMS: address is 3.204.35.60:56834 (cluster=CDI)

      ---------------------------------------------------------

      2011-04-07 22:27:43,684 INFO  [STDOUT] (main)

      ---------------------------------------------------------

      GMS: address is 3.204.35.60:56834 (cluster=CDI-HAPartitionCache)

      ---------------------------------------------------------

      2011-04-07 22:27:48,963 DEBUG [com.gehc.device.kernel.mbean.KernelService] (main) KernelFactoryName: java:/ecis/KernelFactory

      2011-04-07 22:27:51,469 WARN  [org.jgroups.protocols.UDP] (main) failed to join /224.0.75.75:7500 on eth3: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      2011-04-07 22:27:51,470 WARN  [org.jgroups.protocols.UDP] (main) failed to join /224.0.75.75:7500 on net3: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      2011-04-07 22:27:51,470 WARN  [org.jgroups.protocols.UDP] (main) failed to join /224.0.75.75:7500 on net5: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      2011-04-07 22:27:51,473 INFO  [STDOUT] (main)

      2011-04-07 22:30:03,606 ERROR [org.jboss.messaging.core.impl.JDBCSupport] (WorkManager(2)-5) Retried 25 times, now giving up

      2011-04-07 22:30:03,619 ERROR [org.jboss.messaging.core.impl.ChannelSupport] (WorkManager(2)-5) Failed to handle message

      java.lang.IllegalStateException: Failed to execute transaction

      at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(JDBCSupport.java:544)

      at org.jboss.messaging.core.impl.JDBCPersistenceManager.addReference(JDBCPersistenceManager.java:1422)

      at org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:234)

      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2345)

      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:515)

      at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:777)

      at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)

      at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)

      at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeTarget(SessionAdvised$send_7280680627620114891.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

      at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)

      at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)

      at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)

      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)

      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)

      at org.jboss.remoting.Client.invoke(Client.java:1927)

      at org.jboss.remoting.Client.invoke(Client.java:770)

      at org.jboss.remoting.Client.invoke(Client.java:758)

      at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)

      at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)

      at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:499)

      at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeTarget(ClientSessionDelegate$send_6145266547759487588.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

      at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:661)

      at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleSend_32244016.invoke(SessionAspect_z_handleSend_32244016.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)

      at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)

      at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)

      at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:276)

      at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect_z_handleSend_32244016.invoke(ProducerAspect_z_handleSend_32244016.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)

      at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)

      at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:165)

      at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:208)

      at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:146)

      at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:137)

      at com.gehc.device.util.JMSUtil.publishObjectMsg(JMSUtil.java:214)

      at com.gehc.device.kernel.stage.CDIPublisher.publishClientData(CDIPublisher.java:79)

      at com.gehc.device.kernel.stage.CDIPublisher.handleRequest(CDIPublisher.java:63)

      at com.gehc.device.kernel.processor.AbstractProcessor.processData(AbstractProcessor.java:115)

      at com.gehc.device.kernel.stage.StageImpl.sink(StageImpl.java:44)

      at com.gehc.device.kernel.stage.XmlStageManager.process(XmlStageManager.java:295)

      at com.gehc.device.kernel.KernelImpl.observe(KernelImpl.java:89)

      at com.gehc.device.kernel.KernelSessionBean.sendData(KernelSessionBean.java:211)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)

      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)

      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)

      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)

      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

      at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)

      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)

      at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)

      at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)

      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)

      at org.jboss.ejb.Container.invoke(Container.java:1092)

      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)

      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

      at $Proxy173.sendData(Unknown Source)

      at com.gehc.device.kernel.ConnectorEndpointMDB.sendData(ConnectorEndpointMDB.java:62)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:518)

      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)

      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:115)

      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)

      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

      at org.jboss.ejb.plugins.RunAsSecurityInterceptor.process(RunAsSecurityInterceptor.java:133)

      at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:103)

      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

      at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:420)

      at org.jboss.ejb.Container.invoke(Container.java:1092)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

      at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)

      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)

      at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)

      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)

      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)

      at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.delivery(MessageEndpointInterceptor.java:249)

      at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.invoke(MessageEndpointInterceptor.java:128)

      at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)

      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)

      at $Proxy186.sendData(Unknown Source)

      at com.gehc.device.streaminggwy.jca.AbstractConnector.sendDeviceData(AbstractConnector.java:161)

      at com.gehc.device.streaminggwy.jca.DeviceDataSenderImpl.sendData(DeviceDataSenderImpl.java:90)

      at com.gehc.device.streaminggwy.jca.GatewayStatusControllerImpl.scheduleStatusChange(GatewayStatusControllerImpl.java:75)

      at com.gehc.device.streaminggwy.jca.GatewayWorker$3.dataPackageReceived(GatewayWorker.java:197)

      at com.gehc.device.basecomm.impl.ConnectionControllerImpl.fireDataEvent(ConnectionControllerImpl.java:217)

      at com.gehc.device.basecomm.impl.ConnectionControllerImpl.access$200(ConnectionControllerImpl.java:32)

      at com.gehc.device.basecomm.impl.ConnectionControllerImpl$ConnectionReader.readAllAvailableData(ConnectionControllerImpl.java:383)

      at com.gehc.device.basecomm.impl.ConnectionControllerImpl$ConnectionReader.run(ConnectionControllerImpl.java:332)

      at com.gehc.device.streaminggwy.jca.GatewayTaskExecutor$1.run(GatewayTaskExecutor.java:48)

      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)

      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(Thread.java:619)

      ---------------------------------------------------------

      GMS: address is 3.204.35.60:56835 (cluster=JBossCache-Cluster)

      ---------------------------------------------------------

       

       

      Thanks

      Ravi S

        • 1. Jboss messaging stops working after some time
          Michal Toman Newbie

          Hi Rawi, I do not understand EAP and messaging, but I have big experince in the runtime environments.

           

          This look like a bug:

           

             0) you are using JBoss in cluster, messaging and Oracle. It is already a bit complicated environment.

             1) You need to do it easier.

           

                          a] Try to look for some patches.

                          b] Try to use it somewhere in the test environment, only for messaging without cluster

           

                                   if there is no error more, it is clear.

           

                          c] if there is still an error, try to check, if there is any problem with firewall.

           

                          d] then try to do it without oracle.

           

                          e] and so on.

           

          Aim:   it looks like a bug. So, you need what is wrong.  I hope the configuration you have OK.

                                  

          Could you give some more details?

          • 2. Jboss messaging stops working after some time
            Ravi Samavedula Newbie

            Hi Toman,

             

            It supports cluster, but i am not using it. After 92000 messages it throws error.

             

             

            Thanks

            Ravi S

            • 3. Jboss messaging stops working after some time
              Michal Toman Newbie

              If you use cluster, or not, it is not upon you, but upon the configuration of JBoss under your application.

               

              If you do not use cluster, how can you explain the following message (cluster=CDI-HAPartitionCache) from the given output?

               

               

              2011-04-07 22:27:43,548 INFO  [STDOUT] (JBoss System Threads(1)-3)

              ---------------------------------------------------------

              GMS: address is 3.204.35.60:56834 (cluster=CDI)

              ---------------------------------------------------------

              2011-04-07 22:27:43,684 INFO  [STDOUT] (main)

              ---------------------------------------------------------

              GMS: address is 3.204.35.60:56834 (cluster=CDI-HAPartitionCache)

              ---------------------------------------------------------

              2011-04-07 22:27:48,963 DEBUG [com.gehc.device.kernel.mbean.KernelService] (main) KernelFactoryName: java:/ecis/KernelFactory

              • 4. Jboss messaging stops working after some time
                Ravi Samavedula Newbie

                Ya, What i mean is, cluster is enable but it is not paired with any other machine.