Marc Marc

Greenhorn
+ Follow
since Oct 11, 2007
Merit badge: grant badges
For More
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 Marc Marc

the web.xml has a small typo. it should look like this:

<ejb-local-ref>
<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>mypkg.ImportManager</local-home>
<local>mypkg.ImportManager</local>
<ejb-link>ImportManager</ejb-link>
</ejb-local-ref>
[ October 11, 2007: Message edited by: Marc Marc ]
I am having trouble to resolve the SLSB (EJB3) on the web-client (running on the same VM inside the same EAR) on JBoss AS 4.2.1:

ImportManager (local IF)
ImportManagerBean (SLSB impl)

jboss-web.xml
<jboss-web>
<ejb-local-ref>
<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
<local-jndi-name>ImportManager</local-jndi-name>
</ejb-local-ref>
</jboss-web>

web.xml
<ejb-local-ref>
<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>mypackage.ImportManager</local-home>
mypackage.ImportManager
<ejb-link>ImportManager</ejb-link>
</ejb-local-ref>

--> the Bean/local IF should now be available in JNDI-ctx "ImportManager"
context.lookup("ImportManager");
but it IS NOT !

The ear is deployed successfully.
I understand that this trouble is due to a "conflict" between JEE5 (EJB3) and JEE1.4 (Servlet 2.4) in this JBoss-version. But there should be some solution to this.

Any hint to solve this is appreciated.