[jboss-jira] [JBoss JIRA] (AS7-5416) Cannot invoke remote EJB3 from secondery top level deployement

Thijs Eggen (JIRA) jira-events at lists.jboss.org
Mon Aug 27 07:49:16 EDT 2012


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

Thijs Eggen closed AS7-5416.
----------------------------

    Fix Version/s: No Release
       Resolution: Won't Fix


My mistake,

The jboss-ejb-client.xml wasn't added to the META-INF dir in the ear. I had to put the file, according the ear structure, in the src/main/application/META-INF dir of my intelliJ project.
                
> Cannot invoke remote EJB3 from secondery top level deployement
> --------------------------------------------------------------
>
>                 Key: AS7-5416
>                 URL: https://issues.jboss.org/browse/AS7-5416
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.1.Final
>            Reporter: Thijs Eggen
>            Assignee: jaikiran pai
>              Labels: EJB, connection, remote, remote-ejb-connection
>             Fix For: No Release
>
>
> I've got a local jboss setup with 2 top level deployments
> - myEar.ear
>   META-INF/jboss-ejb-client.xml
>   myEJB.jar
> - myWar.war
>   WEB-INF/jboss-ejb-client.xml
> A thirth EJB (serviceEJB) is running on a remote service. When I try to lookup my remote service from my war is is pickup nice and smooth but I can't lookup the serviceEJB from the ear (myEar). Resulting in a 'No EJB receiver available for handling [appName:referentie-component-ear,modulename:referentie-component-ejb,distinctname:]
> When starting my local jboss setup the jboss-ejb-client.xml the remote connection is setup.
> 15:25:23,758 INFO  [org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver] (MSC service thread 1-1) Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext at 6f4370c1, receiver=Remoting connection EJB receiver [connection=Remoting connection <1d6c023d>,channel=jboss.ejb,nodename=dmpMO:server-dmp-mo]} on channel Channel ID baa352ab (outbound) of Remoting connection 4a43dc54 to DMP-MO-FSC2/161.89.55.159:4447
> But when my webapp calls MyEJB which calls the ServiceEJB 'No EJB receiver available' error. The remote connection is setup according: https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance
> It looks like only one (the war) top level deployment can setup a remote connection. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list