geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Arunachalam <>
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
        at javax.naming.spi.NamingManager.getInitialContext(
        at javax.naming.InitialContext.getDefaultInitCtx(
        at javax.naming.InitialContext.init(
        at javax.naming.InitialContext.<init>(
        at examples.HelloClient.main(
Caused by: java.lang.ClassNotFoundException:
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClassInternal(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at com.sun.naming.internal.VersionHelper12.loadClass(
        at javax.naming.spi.NamingManager.getInitialContext(
        ... 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
It was meant to be run on WebLogic 6.1.

Any help would be valuable.


View raw message