[jboss-jira] [JBoss JIRA] (WFLY-3316) Multi threaded ejb invocations via remote-naming produce EJBCLIENT000025 if the Context is closed
Wolf-Dieter Fink (JIRA)
issues at jboss.org
Mon May 5 10:38:57 EDT 2014
Wolf-Dieter Fink created WFLY-3316:
--------------------------------------
Summary: Multi threaded ejb invocations via remote-naming produce EJBCLIENT000025 if the Context is closed
Key: WFLY-3316
URL: https://issues.jboss.org/browse/WFLY-3316
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 8.0.0.Final
Reporter: Wolf-Dieter Fink
Assignee: Jason Greene
If a client run multi threads and each Thread use it's own InitialContext the behaviour is unexpected.
The behaviour is as followed:
if each invocation create it's own IC and lookup the EJB there is sometimes a EJBCLIENT000025 because one of the one thread has closed the IC until another thread try to invoke an EJB.
If the IC is reused the failure might happen only if the first Thread has finished the invocations and close the IC during other Threads are still running.
It looks that the underlying remote connection will be closed if the first IC is closed without respect that there are different IC's created and still in use.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list