Hi,
I developed an EJB through JBuilder, coupled with JBOSS.
When I run a client that uses this EJB, I get an error due to JNDI lack of
registration (see following error message).
javax.naming.NoInitialContextException: 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
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at
ejb_tarification.Bean_TarificationTestClient1.initialize(Bean_TarificationTestClient1.java:30)
at
ejb_tarification.Bean_TarificationTestClient1.(Bean_TarificationTestClient1.java:15)
at
ejb_tarification.Bean_TarificationTestClient1.main(Bean_TarificationTestClient1.java:241)
Any idea ?
Alain
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830338#3830338
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830338
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user