mq
  1. mq
  2. MQ-147

DIRECT mode broker: send message to queue (file based) failed with an error "Bad file descriptor"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.1
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Glassfish 3.1.1 build 12
      Java version: 1.6.0_27

      Description

      Hi,

      The following problem occurs after the system is running a while.

      Does anybody know the cause ????
      I had this problem three times in one week.

      Glassfish Server Version: 3.1.1 build 12

      [08/Feb/2012:11:45:18 CET] [B1132]: Auto-creating destination default_JMS_host [Queue]
      [08/Feb/2012:11:45:18 CET] [B1277]: Reconstruct message 3-127.0.0.1(80:50:88:c3:38:c)-1-1328697584007
      [08/Feb/2012:11:45:18 CET] [B1277]: Reconstruct message 4-127.0.0.1(80:50:88:c3:38:c)-1-1328697584789
      [08/Feb/2012:11:45:18 CET] [B1391]: Removing message 3-127.0.0.1(80:50:88:c3:38:c)-1-1328697584007 from destination default_JMS_host [Queue] on replaying message removal
      [08/Feb/2012:11:45:18 CET] [B1391]: Removing message 4-127.0.0.1(80:50:88:c3:38:c)-1-1328697584789 from destination default_JMS_host [Queue] on replaying message removal
      [08/Feb/2012:11:45:18 CET] [B1277]: Reconstruct message 5-127.0.0.1(80:50:88:c3:38:c)-1-1328697585670
      [08/Feb/2012:11:45:18 CET] [B1277]: Reconstruct message 7-127.0.0.1(80:50:88:c3:38:c)-1-1328697586027
      [08/Feb/2012:11:45:18 CET] [B1391]: Removing message 5-127.0.0.1(80:50:88:c3:38:c)-1-1328697585670 from destination default_JMS_host [Queue] on replaying message removal
      [08/Feb/2012:11:45:18 CET] [B1391]: Removing message 7-127.0.0.1(80:50:88:c3:38:c)-1-1328697586027 from destination default_JMS_host [Queue] on replaying message removal
      [08/Feb/2012:11:45:18 CET] [B1277]: Reconstruct message 6-127.0.0.1(80:50:88:c3:38:c)-1-1328697585880
      [08/Feb/2012:11:45:18 CET] [B1391]: Removing message 6-127.0.0.1(80:50:88:c3:38:c)-1-1328697585880 from destination default_JMS_host [Queue] on replaying message removal
      [08/Feb/2012:11:45:18 CET] [B1279]: Disregard state of interest [consumer:0, type=NONE] for already purged message 8-127.0.0.1(80:50:88:c3:38:c)-1-1328697599095
      .....

      [08/Feb/2012:15:07:45 CET] ERROR [B4004]: Failed to persist message 1878-127.0.0.1(87:98:ce:ab:a4:fb)-1-1328710065452:
      java.nio.channels.ClosedByInterruptException
      [08/Feb/2012:15:07:45 CET] ERROR sendMessage: Sending message failed. Connection ID: 1417566657423195648:
      com.sun.messaging.jmq.jmsserver.util.BrokerException: java.nio.channels.ClosedByInterruptException
      at com.sun.messaging.jmq.jmsserver.core.PacketReference.store(PacketReference.java:1276)
      at com.sun.messaging.jmq.jmsserver.core.Queue.routeNewMessage(Queue.java:555)
      at com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.routeMessage(DataHandler.java:471)
      at com.sun.messaging.jmq.jmsserver.data.protocol.ProtocolImpl.processMessage(ProtocolImpl.java:941)
      at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.sendMessage(IMQDirectService.java:1948)
      at com.sun.messaging.jms.ra.DirectSession._sendMessage(DirectSession.java:1839)
      at com.sun.messaging.jms.ra.DirectProducer._send(DirectProducer.java:1085)
      at com.sun.messaging.jms.ra.DirectProducer.send(DirectProducer.java:453)
      at com.tsystems.ima.audittrail.client.impl.AuditTrailMessageProducer.sendMessageNoReply(AuditTrailMessageProducer.java:270)
      at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
      at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
      at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      at $Proxy272.sendMessageNoReply(Unknown Source)
      at com.tsystems.ima.audittrail.ImaATOperationRunner.run(ImaATOperationRunner.java:166)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade$13.call(AuditTrailServiceFacade.java:450)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade$13.call(AuditTrailServiceFacade.java:441)
      at com.tsystems.ima.core.impl.BeanContextController.run(BeanContextController.java:102)
      at com.tsystems.ima.core.impl.TransactionBean.monitorBeanCall(TransactionBean.java:427)
      at com.tsystems.ima.core.impl.TransactionBean.runTxRequired(TransactionBean.java:498)
      at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
      at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
      at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      at $Proxy226.runTxRequired(Unknown Source)
      at com.tsystems.ima.core.impl.BeanCaller.callBean(BeanCaller.java:242)
      at com.tsystems.ima.core.impl.BeanCaller.run(BeanCaller.java:142)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade$110.call(AuditTrailServiceFacade.java:2448)
      at com.tsystems.ima.core.impl.EnvironmentController.run(EnvironmentController.java:62)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade.callWithEnvAndTx(AuditTrailServiceFacade.java:2444)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade.createDocument(AuditTrailServiceFacade.java:441)
      at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
      at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
      at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      at $Proxy225.createDocument(Unknown Source)
      at com.tsystems.ima.integrationws.ImaDocumentService$1.call(ImaDocumentService.java:163)
      at com.tsystems.ima.integrationws.ImaDocumentService$1.call(ImaDocumentService.java:119)
      at com.tsystems.ima.integrationws.ImaWSOperationRunner.run(ImaWSOperationRunner.java:213)
      at com.tsystems.ima.integrationws.ImaDocumentService.createDocument(ImaDocumentService.java:118)
      at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.webservices.InstanceResolverImpl$1.invoke(InstanceResolverImpl.java:143)
      at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150)
      at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261)
      at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
      at org.glassfish.webservices.MonitoringPipe.process(MonitoringPipe.java:142)
      at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
      at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212)
      at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144)
      at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314)
      at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608)
      at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259)
      at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:162)
      at org.glassfish.webservices.JAXWSServlet.doPost(JAXWSServlet.java:145)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.nio.channels.ClosedByInterruptException
      at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
      at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:643)
      at com.sun.messaging.jmq.io.VRFileRAF.writeByteBuffer(VRFileRAF.java:738)
      at com.sun.messaging.jmq.io.VRecordRAF.write(VRecordRAF.java:283)
      at com.sun.messaging.jmq.jmsserver.persist.file.MessageInfo.storeStates(MessageInfo.java:757)
      at com.sun.messaging.jmq.jmsserver.persist.file.MessageInfo.<init>(MessageInfo.java:219)
      at com.sun.messaging.jmq.jmsserver.persist.file.DstMsgStore.storeMessage(DstMsgStore.java:310)
      at com.sun.messaging.jmq.jmsserver.persist.file.MsgStore.storeMessage(MsgStore.java:321)
      at com.sun.messaging.jmq.jmsserver.persist.file.FileStore.storeMessage(FileStore.java:746)
      at com.sun.messaging.jmq.jmsserver.core.PacketReference.store(PacketReference.java:1268)
      ... 148 more
      [08/Feb/2012:15:07:45 CET] [B1065]: Accepting: guest@127.0.0.1:0->jmsdirect:0. Count: service=5 broker=5
      [08/Feb/2012:15:07:45 CET] [B1065]: Accepting: guest@127.0.0.1:0->jmsdirect:0. Count: service=6 broker=6
      [08/Feb/2012:15:07:45 CET] ERROR [B2011]: Storing of JMS message from 1879-127.0.0.1(87:98:ce:ab:a4:fb)-1-1328710065480 failed:
      java.lang.RuntimeException: VRecordRAF: start=6936; cap=3584;state=2;index=12:allocate()
      at com.sun.messaging.jmq.io.VRecordRAF.allocate(VRecordRAF.java:211)
      at com.sun.messaging.jmq.io.VRFileRAF.allocate(VRFileRAF.java:345)
      at com.sun.messaging.jmq.jmsserver.persist.file.MessageInfo.<init>(MessageInfo.java:197)
      at com.sun.messaging.jmq.jmsserver.persist.file.DstMsgStore.storeMessage(DstMsgStore.java:310)
      at com.sun.messaging.jmq.jmsserver.persist.file.MsgStore.storeMessage(MsgStore.java:321)
      at com.sun.messaging.jmq.jmsserver.persist.file.FileStore.storeMessage(FileStore.java:746)
      at com.sun.messaging.jmq.jmsserver.core.PacketReference.store(PacketReference.java:1268)
      at com.sun.messaging.jmq.jmsserver.core.Queue.routeNewMessage(Queue.java:555)
      at com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.routeMessage(DataHandler.java:471)
      at com.sun.messaging.jmq.jmsserver.data.protocol.ProtocolImpl.processMessage(ProtocolImpl.java:941)
      at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.sendMessage(IMQDirectService.java:1948)
      at com.sun.messaging.jms.ra.DirectSession._sendMessage(DirectSession.java:1839)
      at com.sun.messaging.jms.ra.DirectProducer._send(DirectProducer.java:1085)
      at com.sun.messaging.jms.ra.DirectProducer.send(DirectProducer.java:453)
      at com.tsystems.ima.audittrail.client.impl.AuditTrailMessageProducer.sendMessageNoReply(AuditTrailMessageProducer.java:270)
      at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
      at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
      at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      at $Proxy272.sendMessageNoReply(Unknown Source)
      at com.tsystems.ima.audittrail.ImaATOperationRunner.run(ImaATOperationRunner.java:166)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade$13.call(AuditTrailServiceFacade.java:450)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade$13.call(AuditTrailServiceFacade.java:441)
      at com.tsystems.ima.core.impl.BeanContextController.run(BeanContextController.java:102)
      at com.tsystems.ima.core.impl.TransactionBean.monitorBeanCall(TransactionBean.java:427)
      at com.tsystems.ima.core.impl.TransactionBean.runTxRequired(TransactionBean.java:498)
      at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
      at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
      at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      at $Proxy226.runTxRequired(Unknown Source)
      at com.tsystems.ima.core.impl.BeanCaller.callBean(BeanCaller.java:242)
      at com.tsystems.ima.core.impl.BeanCaller.run(BeanCaller.java:142)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade$110.call(AuditTrailServiceFacade.java:2448)
      at com.tsystems.ima.core.impl.EnvironmentController.run(EnvironmentController.java:62)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade.callWithEnvAndTx(AuditTrailServiceFacade.java:2444)
      at com.tsystems.ima.audittrail.AuditTrailServiceFacade.createDocument(AuditTrailServiceFacade.java:441)
      at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
      at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
      at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
      at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
      at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
      at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
      at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
      at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      at $Proxy225.createDocument(Unknown Source)
      at com.tsystems.ima.integrationws.ImaDocumentService$1.call(ImaDocumentService.java:163)
      at com.tsystems.ima.integrationws.ImaDocumentService$1.call(ImaDocumentService.java:119)
      at com.tsystems.ima.integrationws.ImaWSOperationRunner.run(ImaWSOperationRunner.java:213)
      at com.tsystems.ima.integrationws.ImaDocumentService.createDocument(ImaDocumentService.java:118)
      at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.glassfish.webservices.InstanceResolverImpl$1.invoke(InstanceResolverImpl.java:143)
      at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150)
      at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261)
      at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
      at org.glassfish.webservices.MonitoringPipe.process(MonitoringPipe.java:142)
      at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
      at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212)
      at com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144)
      at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314)
      at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608)
      at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259)
      at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:162)
      at org.glassfish.webservices.JAXWSServlet.doPost(JAXWSServlet.java:145)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.io.IOException: Bad file descriptor
      at java.io.RandomAccessFile.seek(Native Method)
      at com.sun.messaging.jmq.io.VRFileRAF.writeShort(VRFileRAF.java:766)
      at com.sun.messaging.jmq.io.VRecordRAF.allocate(VRecordRAF.java:208)
      ... 154 more

      Note: Cleaning domain's "imq" directory helped. But this is no option to do it every second day.

        Activity

        Hide
        amyk added a comment - - edited

        See the following GlassFish forum for workaround or use LOCAL/REMOTE broker
        http://www.java.net/forum/topic/glassfish/glassfish/javaniochannelsclosedbyinterruptexception-when-sending-messages-jms

        This issue only occurs to EMBEDDED mode broker.

        Show
        amyk added a comment - - edited See the following GlassFish forum for workaround or use LOCAL/REMOTE broker http://www.java.net/forum/topic/glassfish/glassfish/javaniochannelsclosedbyinterruptexception-when-sending-messages-jms This issue only occurs to EMBEDDED mode broker.
        Hide
        amyk added a comment -

        fixed in 5.0

        Show
        amyk added a comment - fixed in 5.0
        Hide
        alebor added a comment -

        I need this solution for GlassFish 3.0.1 and MQ 4.4.2-5.1.
        Is it possible to merge this solution to MQ 4.4.2?

        Show
        alebor added a comment - I need this solution for GlassFish 3.0.1 and MQ 4.4.2-5.1. Is it possible to merge this solution to MQ 4.4.2?
        Hide
        amyk added a comment - - edited

        You can only get patch releases by contacting Oracle customer support, and you may get recommended to at least upgrade to GlassFish 3.1.x first.

        Show
        amyk added a comment - - edited You can only get patch releases by contacting Oracle customer support, and you may get recommended to at least upgrade to GlassFish 3.1.x first.
        Hide
        saradak added a comment -


        Verified the bug.

        Show
        saradak added a comment - Verified the bug.

          People

          • Assignee:
            amyk
            Reporter:
            spamfoodie
          • Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: