on 03-08-2010 9:37 PM
I am porting a J2EE v2.1 application to Netweaver v7.1EHP1. I have a Stateless Session Bean with an environment entry in the ejb-jar.xml...
<env-entry>
<env-entry-name>dataURL</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>http://some.location.com</env-entry-value>
</env-entry>
Within the ejbCreate() method of the Session Bean, I do a lookup of the enviroment entry using the
JNDI - "java:comp/env/dataURL"
I get an error a "NameNotFoundException: Object not found in lookup of dataURL"
If I use the JNDI Browser within the Netweaver Administration Console, I can find the environment entry only within the ejbContexts (Root/ejbContexts/com.blah/MyEAR/module-mine_ejb.jar/MySessionBean/java:comp/env/dataURL)
So, what am I doing wrong? Any help would be greatly appreciated.
figured it out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.