I'm having trouble accessing properties set in ejb-jar.xml using <env-entry>.
The ejb-jar looks like this...
Sample Entity EJB
From my code I try to access it using the following...
InitialContext ic = new InitialContext();
String str =
... but it complains that it cannot be found. Also, If I do a dump of the Context, it definately isn't defined.
Is this a common problem? Do I need to add anything to jboss.xml to get it to be bound? Can anyone help? I'm running Tomcat 2.4.1 on Windows 98.
I seem to have have solved the problem by looking up "java:comp/env/test/TestValue" instead of "java:/test/TestValue". I could have sworn I'd tried this one already and it didn't work.
Strange ... (or careless).