I'm gettin' the same error:
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)
Search your server installation directory for jndi.properties file and set the system properties accordingly.
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