[jboss-jira] [JBoss JIRA] (WFLY-3034) Client Remote Context can't use in different Thread

nick ni (JIRA) issues at jboss.org
Thu Feb 27 09:27:49 EST 2014


     [ https://issues.jboss.org/browse/WFLY-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nick ni updated WFLY-3034:
--------------------------

    Description: 
In remote client application create context and get remote EJB,when use context and remote object in a new Thread get some error(java.lang.IllegalStateException: No EJB receiver available for handling [appName:JBossTestDeploy,modulename:JbossTestEjb,distinctname:] combination for invocation context )。 in one Thread no error。
I found in  a new Thread  must recreate the context and remote object。but when create 40 times the error is too many channel.  

When use je22-sdk have no this bug。 why WildFly has this problem.

My app use jms ,When onMessage() is in a new thread 。I don't know how to use jms and ejb on client with WildFly

  was:
In remote client application create context and get remote EJB,when use context and remote object in a new Thread get some error。 in one Thread no error。
I found in  a new Thread  must recreate the context and remote object。but when create 40 times the error is too many channel.  

When use je22-sdk have no this bug。 why WildFly has this problem.

My app use jms ,When onMessage() is in a new thread 。I don't know how to use jms and ejb on client with WildFly


    
> Client Remote Context can't use in different Thread
> ---------------------------------------------------
>
>                 Key: WFLY-3034
>                 URL: https://issues.jboss.org/browse/WFLY-3034
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Remoting
>    Affects Versions: JBoss AS7 7.1.1.Final, JBoss AS7 7.2.0.Final, 8.0.0.Final
>            Reporter: nick ni
>            Assignee: David Lloyd
>
> In remote client application create context and get remote EJB,when use context and remote object in a new Thread get some error(java.lang.IllegalStateException: No EJB receiver available for handling [appName:JBossTestDeploy,modulename:JbossTestEjb,distinctname:] combination for invocation context )。 in one Thread no error。
> I found in  a new Thread  must recreate the context and remote object。but when create 40 times the error is too many channel.  
> When use je22-sdk have no this bug。 why WildFly has this problem.
> My app use jms ,When onMessage() is in a new thread 。I don't know how to use jms and ejb on client with WildFly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list