Anonymous | Login | Signup for a new account | 03-31-2025 17:21 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001322 | [Resin] | minor | always | 08-30-06 17:29 | 09-05-06 15:01 | ||||
Reporter | gzhu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | x86 | ||||
Status | closed | OS | Linux | ||||||
Projection | none | OS Version | 2.6.7.1 | ||||||
ETA | none | Fixed in Version | 3.0.22 | Product Version | 3.0.21 | ||||
Product Build | Thu, 10 Aug 2006 12:03:19 PDT | ||||||||
Summary | 0001322: Within Enterprise Bean Context, environment entries not stored for CMP EJB 2 | ||||||||
Description |
Environment entries defined in EJB CMP 2.0 are not stored in EJB context - JNDI lookup returns null. Stateless session bean can still have environment entries defined and looked up correctly. Somewhat consistent with EJB3 spec, since 'Entity' is no longer an EJB. |
||||||||
Steps To Reproduce |
Define a simple CMP (EJB2), with following in your ejb-jar.xml: <env-entry> <env-entry-name>testEnvName</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>testEnvValue</env-entry-value> </env-entry> Inside that CMP: String thisValue = (String) (new InitialContext()).lookup("java:comp/env/testEnvName"); // thisValue would be "testEnvValue" with 3.0.19; and // thisValue would be null with 3.0.21 |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |