[jboss-dev-forums] [JBoss AS 7 Development] - Access EJBs in Jboss 7.1 final
jnovotny
do-not-reply at jboss.com
Tue Feb 28 19:00:47 EST 2012
jnovotny [https://community.jboss.org/people/jnovotny] created the discussion
"Access EJBs in Jboss 7.1 final"
To view the discussion, visit: https://community.jboss.org/message/720391#720391
--------------------------------------------------------------
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
[https://community.jboss.org/message/720391#720391]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120228/a6ec309e/attachment.html
More information about the jboss-dev-forums
mailing list