Anonymous | Login | Signup for a new account | 12-17-2024 08:29 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001342 | [Resin] | minor | always | 09-12-06 08:33 | 11-30-06 16:24 | ||||
Reporter | vbavin | View Status | public | ||||||
Assigned To | sam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.21 | ||||||
Summary | 0001342: EAR: JNDI not rebind from web.xml | ||||||||
Description |
EAR: JNDI rebind from web.xml not working, but still EJB looked up through their description in ejb-jar.xml. |
||||||||
Additional Information |
Packed in one EAR. ejb-jar.xml: <!-- Session Beans --> <session > <ejb-name>Jump</ejb-name> <local-home>vab.base.JumpLocalHome</local-home> <local>vab.base.JumpLocal</local> <ejb-class>vab.base.JumpSession</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> </session> web.xml: <ejb-local-ref > <ejb-ref-name>ejb/Link2LocalJump</ejb-ref-name> ... <ejb-link>Jump</ejb-link> </ejb-local-ref> Servlet init: InitialContext ic = new InitialContext(); ic.lookup("java:comp/env/ejb/Link2LocalJump");//object is null ic.lookup("java:comp/env/ejb/Jump"));//object reference 2 ejb All logging: [2006.09.12 18:01:40.531] JNDI lookup `Link2LocalJump' -> null [2006.09.12 18:01:40.531] JNDI rebind `Link2LocalJump' value: LinkProxy[name=null,foreign=Jump] .. [2006.09.12 18:01:40.562] Servlet[caseServlet] starting [2006.09.12 18:01:40.562] caseServlet: init [2006.09.12 18:01:40.562] JNDI lookup `Jump' -> null [2006.09.12 18:01:40.562] JNDI lookup `Link2LocalJump' -> null [2006.09.12 18:01:40.562] JNDI lookup `java:comp/env/ejb/Link2LocalJump' -> null [2006.09.12 18:01:40.562] JNDI lookup `Jump' -> _ejb.Jump.JumpSession__EJB$LocalHome@28305d [2006.09.12 18:01:40.562] JNDI lookup `java:comp/env/ejb/Jump' -> _ejb.Jump.JumpSession__EJB$LocalHome@28305d |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 29 unique queries executed. |