Anonymous | Login | Signup for a new account | 10-08-2024 14:50 PDT |
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 | ||||
0003964 | [Resin] | minor | always | 03-23-10 11:48 | 03-26-10 14:05 | ||||
Reporter | alex | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.4 | ||||||
Summary | 0003964: 3.1 to 4.0 EJB JNDI Lookup compatibility | ||||||||
Description |
rep. by Matthew Brew I am currently trying to upgrade resin from version 3.1.9 to version 4.0.4. The method of deployment we use is an .ear file. We are having some problems with getting Stateless EJB's from the JNDI. Previously this would work: InitialContext ctx = (Context)new InitialContext(); ctx.lookup("java:comp/env/ejb/automation/" + className + "/local"); Matthew, That behaviour is not standard and did not get ported to 4.0. We will be adding the capability as I have also tried this: ctx.lookup("java:comp/env/ejb/" + className ); and various other combinations but unfortunately they all fail. Following is an example of our annotations on the stateless EJB. @Stateless @Local({ITLDAgent.class}) @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public class TLDAgentImpl implements ITLDAgent { } How can I retreive the EJB's from the JNDI? |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |