-
1. Re: javax.naming.NameNotFoundException: env not bound
adrian.brock Aug 26, 2003 12:16 AM (in response to amitsaini76)You probably have a jndi.properties in your deployment.
Remove it.
Regards,
Adrian -
2. Re: javax.naming.NameNotFoundException: env not bound
amitsaini76 Aug 26, 2003 2:49 AM (in response to amitsaini76)Hi ,
Even after removing JNDI Properties the problem remains.
can you send me any simple stateless on mail if you have sucessfully deployed. you can mail me at amit.saini@geind.ge.com.
I feel the problem is that the JNDI name is not registered. How to find JNDI names from the console.
Pleas Help -
3. Re: javax.naming.NameNotFoundException: env not bound
adrian.brock Aug 26, 2003 3:13 AM (in response to amitsaini76)JNDIView
If you still get the same message, the problem is it cannot
access local jndi. This is because you have overriden
the naming properties to remove by specifying a providerURL
Attached a simple session
unzip session.zip
cd session
edit build.properties {change jboss.home}
ant {watch it deploy in jboss}
ant run { it should say hello on the jboss console }
Regards,
Adrian -
4. Re: javax.naming.NameNotFoundException: env not bound
amitsaini76 Aug 27, 2003 2:17 AM (in response to amitsaini76)Hi Adrian,
Thanks for the help. Its working now. I just took your deployment descriptor and it worked. I dont know what was the problem.
Thanks again for the Help
Amit Saini