I have a simple general question which I hope you can
help me with.

I am trying to get my first EJB to run.   Installed JBoss
and it installed ok.   I created my bean and it installed
ok in the server.

I created the client but when I run it I get the 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:646)

 at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)

 at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:283)

 at javax.naming.InitialContext.lookup(InitialContext.java:350)

 at ejbclient.ejbclient.main(ejbclient.java:17)

Is the JBoss installation an out of the box solution or must I modify
the config settings to get it to run?

I tried adding the location of the jndi.properties file to the client
but this
did not help.

Your help would be greatly appreciated.

Regards

Steve


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to