Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5416

Cannot invoke remote EJB3 from secondery top level deployement

    XMLWordPrintable

Details

    Description

      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@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.

      Attachments

        Activity

          People

            jaikiran Jaikiran Pai (Inactive)
            teggen Thijs Eggen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: