Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Dec 20, 2012 3:58 AM by 980937
Name not found in Weblogic12c only when calling it fromTomcat7
Dec 20, 2012 3:58 AM
the scene is blow:
my EJB3 is deployed in remote weblogic12c server .
my web is deployed in my local tomcat7 .
when I call the EJB by client , it will return the values.
Properties props = new Properties();
InitialContext ctx = new InitialContext(props);
XXXFacadeEJBRemote test = (XXXFacadeEJBRemote ) ctx.lookup("java:global.EMSAPP.EMSDTOFacadeEJB.EmsDTOFacadeEJB!com.singtel.eshop.ems.ejb.stateless.XXXXFacadeEJBRemote");
but when i copy the same code to my web app servlet and deploy to tomcat7, it say NameNotFoundException when i call it.
javax.naming.NameNotFoundException: Name [global.EMSAPP.EMSDTOFacadeEJB.EmsDTOFacadeEJB!com.singtel.eshop.ems.ejb.stateless.EmsDTOFacadeEJBRemote] is not bound in this Context.
anyone know how can solve this issue?
I have the same question
Show 0 Likes
This content has been marked as final.
Show 0 replies