Hi,
The Java Naming and Directory Interface (JNDI) must be installed on your
host.
3 files are needed: jndi.jar, providerutil.jar, rmiregistry.jar.
It seems that the providerutil.jar file is missing.
Kind regards.
Hélène.
Ashish Nadgouda wrote:
>
> Hi,
> I have installed JONAS server and followed all the
> said procedures.
>
> while running example in:
> examples/src/eb
>
> when I give command EJBServer
>
> i get the following error :
>
> EJBServer
> JOnAS Server, version 2.2.7, running on rmi.
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> com/sun/jndi/toolkit/url/GenericURLContext
> at
> at
>
>com.sun.jndi.rmi.registry.RegistryContextFactory.getInitialContext(RegistryContextFactory.java:59)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
> at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
> at
> javax.naming.InitialContext.init(InitialContext.java:226)
> at
> javax.naming.InitialContext.<init>(InitialContext.java:182)
> at
> org.objectweb.jonas.naming.NamingManager.<init>(NamingManager.java:72)
> at
> org.objectweb.jonas.naming.NamingManager.getInstance(NamingManager.java:96)
> at
> org.objectweb.jonas.server.Server.main(Server.java:105)
> [root@webimage eb]#
>
> can anybody please explain me how to start the
> EJBSever.
>
> rgds,
> Ashish
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
--
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".