geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Arunachalam <sai.arunacha...@gmail.com>
Subject Re: Geronimo JNDI properties
Date Wed, 18 Aug 2004 18:10:43 GMT
Hi Toby (and all),
      I tried using the same properties given on the OpenEJB page with
all the p.put statements embedded in the client program itself. It
doesn't work then too and gives the following exception.

Exception in thread "main" javax.naming.NoInitialContextException:
Cannot instantiate class:
org.openejb.client.RemoteInitialContextFactory [Root exception is
java.lang.ClassNotFoundException:
org.openejb.client.RemoteInitialContextFactory]
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
        at javax.naming.InitialContext.init(InitialContext.java:219)
        at javax.naming.InitialContext.<init>(InitialContext.java:195)
        at examples.HelloClient.main(HelloClient.java:35)
Caused by: java.lang.ClassNotFoundException:
org.openejb.client.RemoteInitialContextFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
        ... 4 more

Besides, I just wanted to say that the HelloWorld example that I am
trying to run on Geronimo isn't the one that is given on the OpenEJB
HelloWorld page. I am referring to a program that I downloaded
alongwith Mastering EJB2 (by Ed Roman et al.) from TheServerSide.com.
It was meant to be run on WebLogic 6.1.

Any help would be valuable.

Thanks,
Sai

Mime
View raw message