[JIRA] Closed: (MQ-147) DIRECT mode broker: send message to queue (file based) failed with an error "Bad file descriptor"

  • From: "saradak (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Closed: (MQ-147) DIRECT mode broker: send message to queue (file based) failed with an error "Bad file descriptor"
  • Date: Fri, 10 May 2013 00:09:36 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/MQ-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

saradak closed MQ-147.
----------------------



Verified the bug.

> DIRECT mode broker: send message to queue (file based) failed with an error 
> "Bad file descriptor"
> -------------------------------------------------------------------------------------------------
>
>                 Key: MQ-147
>                 URL: https://java.net/jira/browse/MQ-147
>             Project: mq
>          Issue Type: Bug
>    Affects Versions: 4.5.1
>         Environment: Glassfish 3.1.1 build 12
> Java version: 1.6.0_27
>            Reporter: spamfoodie
>            Assignee: amyk
>             Fix For: 5.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Closed: (MQ-147) DIRECT mode broker: send message to queue (file based) failed with an error "Bad file descriptor"

saradak (JIRA) 05/10/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close