This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!

Stephen Tong

Greenhorn
+ Follow
since Jul 01, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Stephen Tong

ejb-jar.xml:
<ejb-name>TestEJB</ejb-name>
<local-home>study.tuncan.ejb.TestLocalHome</local-home>
<local>study.tuncan.ejb.TestHelloLocal</local>
<ejb-class>study.tuncan.ejb.TestBean</ejb-class>
<session-type>Stateless</session-type>

weblogic-ejb-jar.xml:
<ejb-name>TestEJB</ejb-name>
<local-jndi-name>TestLocalHome</local-jndi-name>
code in the servlet:
Context ctx = new InitialContext();
Object obj = ctx.lookup("TestLocalHome");

errors:
javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: While trying to look up /app/ejb/Test.jar#TestEJB/local-home in /app/webapp/studywebapp/8624359.;
...
can't find local home interface from servlet too.

ejb-jar.xml:
<ejb-name>TestEJB</ejb-name>
<local-home>study.tuncan.ejb.TestLocalHome</local-home>
<local>study.tuncan.ejb.TestHelloLocal</local>
<ejb-class>study.tuncan.ejb.TestBean</ejb-class>
<session-type>Stateless</session-type>

weblogic-ejb-jar.xml:
<ejb-name>TestEJB</ejb-name>
<local-jndi-name>TestLocalHome</local-jndi-name>
code in the servlet:
Context ctx = new InitialContext();
Object obj = ctx.lookup("TestLocalHome");

errors:
javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: While trying to look up /app/ejb/Test.jar#TestEJB/local-home in /app/webapp/studywebapp/8624359.;
...