JBoss Community

Access EJBs in Jboss 7.1 final

created by jnovotny in JBoss AS 7 Development - View the full discussion

Hi,

 

My package structure for blast.ear is

 

blast.ear

     lib/ (lots of third party libs)

     blob.jar (my ejbs)

     web.war (web app)

 

When the app starts EJBs report:

 

15:48:02,996 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-11) JNDI bindings for session bean named AlertManagerBean in deployment unit subdeployment "backoffice2.jar" of deployment "mamfive.ear" are as follows:

 

    java:global/blast/blob/AlertManagerBean!com.session.web.AlertManagerRemote

    java:app/blob/AlertManagerBean!com.session.web.AlertManagerRemote

    java:module/AlertManagerBean!com.session.web.AlertManagerRemote

 

The webapp tries to get access doing

 

Context.lookup("java:global/blast/blob/AlertManagerBean!com.session.web.AlertManagerRemote")

 

which fails:

Failed to obtain remote interface to AlertManagerBean via jndi name java:global/blast/blob/AlertManagerBean!com.session.web.AlertManagerRemote

 

Does web.war need MANIFEST info for access or is there something I am missing?

 

Thanks, Jason

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community