java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If an ejb method @Asynchronous void fireAndForget(...) is called remote and the client disconnect an Exception JBAS014249 will be thrown if the async method return. {noformat} ERROR [org.jboss.as.ejb3] (EJB default - 1) JBAS014249: Error invoking method public abstract void org.jboss.as.quickstarts.ejb.asynchronous.AsynchronousAccess.fireAndForget(long) on bean named AsynchronousAccessBean for appname modulename jboss-as-ejb-asynchronous-ejb distinctname : java.lang.NullPointerException at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:322) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:70) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:203) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] at org.jboss.threads.JBossThread.run(JBossThread.java:122) 11:30:20,242 ERROR [org.jboss.as.ejb3] (EJB default - 1) JBAS014250: Could not write method invocation failure for method public abstract void org.jboss.as.quickstarts.ejb.asynchronous.AsynchronousAccess.fireAndForget(long) on bean named AsynchronousAccessBean for appname modulename jboss-as-ejb-asynchronous-ejb distinctname due to: java.io.IOException: JBAS014560: Could not open message outputstream for writing to Channel at org.jboss.as.ejb3.remote.protocol.AbstractMessageHandler.writeException(AbstractMessageHandler.java:102) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$400(MethodInvocationMessageHandler.java:70) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:213) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] at org.jboss.threads.JBossThread.run(JBossThread.java:122) Caused by: org.jboss.remoting3.NotOpenException: Writes closed at org.jboss.remoting3.remote.RemoteConnectionChannel.openOutboundMessage(RemoteConnectionChannel.java:112) at org.jboss.remoting3.remote.RemoteConnectionChannel.writeMessage(RemoteConnectionChannel.java:301) at org.jboss.as.ejb3.remote.protocol.versionone.ChannelAssociation.acquireChannelMessageOutputStream(ChannelAssociation.java:68) at org.jboss.as.ejb3.remote.protocol.AbstractMessageHandler.writeException(AbstractMessageHandler.java:100) ... 9 more {noformat}
    via by Wolf-Dieter Fink,
  • The SFSB session is lost and client doesn't get a valid reply. This is a positive test, with very low delay between requests so this is unexpected. Possibly the client is very unfair and lets some beans expire. {noformat} 2012/05/23 13:36:22:357 EDT [ERROR][Runner - 248] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Error getting response. <javax.ejb.NoSuchEJBException: JBAS014300: Could not find EJB with id {[101, 67, -4, -72, -100, -120, 65, -17, -122, -95, -115, -71, -12, -84, 45, -30]}> javax.ejb.NoSuchEJBException: JBAS014300: Could not find EJB with id {[101, 67, -4, -72, -100, -120, 65, -17, -122, -95, -115, -71, -12, -84, 45, -30]} at org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:227) at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:303) at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:189) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:80) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:299) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:67) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:199) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:662) at org.jboss.threads.JBossThread.run(JBossThread.java:122) at ...asynchronous invocation...(Unknown Source) at org.jboss.ejb.client.remoting.InvocationExceptionResponseHandler$MethodInvocationExceptionResultProducer.getResult(InvocationExceptionResponseHandler.java:99) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:270) at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:47) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:272) at org.jboss.ejb.client.ReceiverInterceptor.handleInvocationResult(ReceiverInterceptor.java:129) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:260) at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:435) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:140) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) at $Proxy0.getSerialAndIncrement(Unknown Source) at org.jboss.smartfrog.clustering.ejb3.StatefulSBProcessorFactoryImpl$EJB3RequestProcessor.processRequest(StatefulSBProcessorFactoryImpl.java:68) at org.jboss.smartfrog.loaddriver.CompoundRequestProcessorFactoryImpl$CompoundRequestProcessor.processRequest(CompoundRequestProcessorFactoryImpl.java:51) at org.jboss.smartfrog.loaddriver.Runner.run(Runner.java:87) at java.lang.Thread.run(Thread.java:662) {noformat} https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-Performance-Clustering-4node/job/eap-6x-stress-ejbremote-repl-sync/1/console-perf22/
    via by Radoslav Husar,
  • Stack Overflow
    via by Unknown author,
  • Some of our tests for large domain sometimes fail with error: "Writes closed". It happens only with some higher number of servers per host. {noformat} Failed response: { "outcome" => "failed", "result" => { "step-1" => { "outcome" => "failed", "rolled-back" => true }, "step-2" => { "outcome" => "failed", "rolled-back" => true }, "step-3" => { "outcome" => "failed", "rolled-back" => true } }, "failure-description" => {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => { "server-group-A" => {"host" => { "perf31" => { "perf31-server-3" => "Writes closed", "perf31-server-5" => "Writes closed" }, "perf33" => {"perf33-server-3" => "Writes closed"} }}, "server-group-B" => {"host" => {"perf32" => { "perf32-server-2" => "Writes closed", "perf32-server-6" => "Writes closed" }}} }}}, "rolled-back" => true, "server-groups" => { "server-group-A" => {"host" => { "perf31" => { "perf31-server-1" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf31-server-3" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => "Writes closed", "rolled-back" => true }}, "perf31-server-5" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => "Writes closed", "rolled-back" => true }}, "perf31-server-7" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf31-server-9" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }} }, "perf32" => { "perf32-server-1" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf32-server-3" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => undefined, "rolled-back" => true }}, "perf32-server-5" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf32-server-7" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf32-server-9" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }} }, "perf33" => { "perf33-server-1" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-3" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => "Writes closed", "rolled-back" => true }}, "perf33-server-5" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-7" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-9" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }} } }}, "server-group-B" => {"host" => { "perf31" => { "perf31-server-10" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf31-server-2" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => undefined, "rolled-back" => true }}, "perf31-server-4" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => undefined, "rolled-back" => true }}, "perf31-server-6" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf31-server-8" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }} }, "perf32" => { "perf32-server-10" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf32-server-2" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => "Writes closed", "rolled-back" => true }}, "perf32-server-4" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => undefined, "rolled-back" => true }}, "perf32-server-6" => {"response" => { "outcome" => "failed", "result" => undefined, "failure-description" => "Writes closed", "rolled-back" => true }}, "perf32-server-8" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }} }, "perf33" => { "perf33-server-10" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-2" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-4" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-6" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }}, "perf33-server-8" => {"response" => { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "rolled-back" => true }}, "failure-description" => "WFLYCTL0063: Composite operation was rolled back", "rolled-back" => true }} } }} } } {noformat} Stacktrace from one of slaves: {noformat} 2015-09-08 06:47:23,049 DEBUG [org.jboss.as.protocol] (Host Controller Service Threads - 124) active-op (1367836977) failed org.jboss.as.controller.remote.TransactionalProtocolClientImpl$ExecuteRequestContext@541c0a2: org.jboss.remoting3.NotOpenException: Writes closed at org.jboss.remoting3.remote.RemoteConnectionChannel.openOutboundMessage(RemoteConnectionChannel.java:117) at org.jboss.remoting3.remote.RemoteConnectionChannel.writeMessage(RemoteConnectionChannel.java:306) at org.jboss.as.protocol.mgmt.AbstractMessageHandler$1.writeMessage(AbstractMessageHandler.java:214) at org.jboss.as.protocol.mgmt.AbstractManagementRequest.sendRequest(AbstractManagementRequest.java:51) at org.jboss.as.controller.remote.TransactionalProtocolClientImpl$CompleteTxRequest.sendRequestInternal(TransactionalProtocolClientImpl.java:290) at org.jboss.as.controller.remote.TransactionalProtocolClientImpl$CompleteTxRequest.access$500(TransactionalProtocolClientImpl.java:242) at org.jboss.as.controller.remote.TransactionalProtocolClientImpl$CompleteTxRequest$1.execute(TransactionalProtocolClientImpl.java:264) at org.jboss.as.protocol.mgmt.AbstractMessageHandler$1$1.doExecute(AbstractMessageHandler.java:176) at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) {noformat} I know this isn't detailed bug report, I didn't find easy way to reproduce it, other than running large domain tests. Tests are modified tests from https://github.com/wildfly/wildfly/blob/master/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/suites/DeploymentManagementTestCase.java . I can provide other logs, outputs ...., just let me know which log categories would help. Also I tried to play a bit with remoting's HEARTBEAT interval (through subsystem configuration), but that doesn't help.
    via by Martin Simka,
    • java.io.IOException: JBAS014560: Could not open message outputstream for writing to Channel at org.jboss.as.ejb3.remote.protocol.AbstractMessageHandler.writeException(AbstractMessageHandler.java:102) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$400(MethodInvocationMessageHandler.java:70) at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:213) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[rt.jar:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[rt.jar:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166)[rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_25] at java.lang.Thread.run(Thread.java:724)[rt.jar:1.7.0_25] at org.jboss.threads.JBossThread.run(JBossThread.java:122)[jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1] Caused by: org.jboss.remoting3.NotOpenException: Writes closed at org.jboss.remoting3.remote.RemoteConnectionChannel.openOutboundMessage(RemoteConnectionChannel.java:108)[jboss-remoting-3.2.16.GA-redhat-1.jar:3.2.16.GA-redhat-1] at org.jboss.remoting3.remote.RemoteConnectionChannel.writeMessage(RemoteConnectionChannel.java:297)[jboss-remoting-3.2.16.GA-redhat-1.jar:3.2.16.GA-redhat-1] at org.jboss.as.ejb3.remote.protocol.versionone.ChannelAssociation.acquireChannelMessageOutputStream(ChannelAssociation.java:68) at org.jboss.as.ejb3.remote.protocol.AbstractMessageHandler.writeException(AbstractMessageHandler.java:100) ... 9 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    tjagotjago
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    4 more bugmates