-
1. Re: InitialContext error
nashaccount Feb 13, 2006 7:18 PM (in response to crazyone)I'm gettin' the same error:
init:
deps-jar:
init:
deps-jar:
compile:
library-inclusion-in-archive:
dist:
compile:
run:
Caught an unexpected exception: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds) -
2. Re: InitialContext error
lkotouc Feb 14, 2006 5:39 AM (in response to crazyone)Search your server installation directory for jndi.properties file and set the system properties accordingly.
-
3. Re: InitialContext error
crazyone Feb 15, 2006 6:33 PM (in response to crazyone)Thanks, i really appreciate your help, i would like to ask you something, do you think is ok or good that i follow the examples (for BMP) at the document The J2EE 1.4 Tutorial for NetBeans IDE 4.1, maybe you can recomend me another. I just want an example where i create an EJB Module with an entity bean, then deploy it, create an application (not web) call that entity to insert, delete, update, etc..
Thanks a lot -
4. Re: InitialContext error
lkotouc Feb 20, 2006 9:45 AM (in response to crazyone)I talked with Doc team, we have no example for calling EJBs directly from a J2SE client.
Maybe http://www.netbeans.org/kb/50/quickstart-j2ee.html could help you a little bit.