Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by ashain, 1 year ago
java.nio.channels.ClosedByInterruptException
via Oracle Community by sisirhc, 1 year ago
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.(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)	at com.sun.messaging.jmq.jmsserver.core.Queue.routeNewMessage(Queue.java:555)	at com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.doCommit(TransactionHandler.java:1129)	at com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.doCommit(TransactionHandler.java:945)	at com.sun.messaging.jmq.jmsserver.data.protocol.ProtocolImpl.commitTransaction(ProtocolImpl.java:700)	at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.commitTransaction(IMQDirectService.java:1746)	at com.sun.messaging.jms.ra.DirectXAResource.commit(DirectXAResource.java:221)	at com.sun.jts.jtsxa.OTSResourceImpl.commit(OTSResourceImpl.java:114)	at com.sun.jts.CosTransactions.RegisteredResources.distributeCommit(RegisteredResources.java:763)	at com.sun.jts.CosTransactions.TopCoordinator.commit(TopCoordinator.java:2098)	at com.sun.jts.CosTransactions.CoordinatorTerm.commit(CoordinatorTerm.java:412)	at com.sun.jts.CosTransactions.TerminatorImpl.commit(TerminatorImpl.java:250)	at com.sun.jts.CosTransactions.CurrentImpl.commit(CurrentImpl.java:623)	at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:323)	at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:186)	at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:858)	at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5114)	at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4879)	at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)	at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)	at undefined.$Proxy258.pay(Unknown Source)	at kg.ermak.payment.__EJB31_Generated__PayBean__Intf____Bean__.pay(Unknown Source)	at kg.ermak.wap.WapServlet.pay(WapServlet.java:456)	at kg.ermak.wap.WapServlet.request(WapServlet.java:87)	at kg.ermak.servlets.ParentServlet.processRequest(ParentServlet.java:53)	at kg.ermak.servlets.ParentServlet.doPost(ParentServlet.java:180)	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.core.StandardPipeline.doInvoke(StandardPipeline.java:655)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:327)	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)