Hi all !
In my ejb-jar.xml, I define this :
<entity>
...
<env-entry>
<env-entry-name>datasource</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>FRMWK</env-entry-value>
</env-entry>
...
</entity>
When I deploy my JAR file, JRun doesn't recognize values for
env-entries. Well, I can do it manually... next step :
In my bean contrustor, I want to load this env-entries : here is my code
Context ctx = new InitialContext();
datasourceName = (String)ctx.lookup("java:comp/env/datasource");
This always throws a Naming exception...
Do I forget something ?
Thanks a lot in advance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists