Hello, Steven!
The problem is in jndi.properties file location. Be sure it's in client's
classpath.
Good luck!
jalex
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Hawkes
> Sent: Tuesday, November 20, 2001 10:46
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Initial problems with running JBoss 2.4.3
>
>
> 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
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user