Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3964 | minor | always | 03-23-10 11:48 | 03-26-10 14:05 | |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.4 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.6 | ||
|
|||||
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? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|