Hello,
I am very new to JOnAS and already in trouble.
I am working on Linux 2.0.36 and have Java SDK 1.2 (latest version from
Blackdown).
After having installed JNDI, JTA (jndi.jar, jta-spec1_0_1.jar,
providerutil.jar, rmiregistry.jar) and
InstantDB with the example database I tried to do the session bean
example.
For that, the EJBServer has to be started.
And here I get the following error:
---
JOnAS - Version 1.5
new InitialContext() : javax.naming.NoInitialContextException:
Cannot instantiate class:
com.sun.jndi.rmi.registry.RegistryContextFactory [Root exception is
java.lang.ClassNotFoundException:
com.sun.jndi.rmi.registry.RegistryContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class:
com.sun.jndi.r
mi.registry.RegistryContextFactory. Root exception is
java.lang.ClassNotFoundEx
ception: com.sun.jndi.rmi.registry.RegistryContextFactory
at java.net.URLClassLoader$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Compiled Code)
at com.sun.naming.internal.VersionHelper12.loadClass(Compiled
Code)
at javax.naming.spi.NamingManager.getInitialContext(Compiled
Code)
at javax.naming.InitialContext.getDefaultInitCtx(Compiled Code)
at javax.naming.InitialContext.init(Compiled Code)
at javax.naming.InitialContext.<init>(Compiled Code)
at org.objectweb.jonas.common.Env.<clinit>(Env.java:86)
at org.objectweb.jonas.server.Server.main(Compiled Code)
Whats going on here, what can I do?
Every hint appreciated!
Regards
Dennis
begin:vcard
n:Dingeldein;Dennis
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Dennis Dingeldein
end:vcard