Hi 

Ok, I got the Jonas EJBServer running.
Trying to run the eb client example under NT compiles well, but throws an
exception:

Cannot get initial context for JNDI: javax.naming.NamingException: Error
accessing repository: Cannot connect 
to ORB

Exception walckback is (from e.printStackTrace()):

javax.naming.NamingException: Error accessing repository: Cannot connect to
ORB
 at com.sun.enterprise.naming.EJBCtx.<init>(EJBCtx.java:51)
 at
com.sun.enterprise.naming.EJBInitialContextFactory.getInitialContext(EJBInit
ialContextFactory.java:62)
 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 eb.ClientAccount.main(ClientAccount.java:82)

I have experimented with different CLASSPATH settings, current setting is

E:\Classes; (my local classpath)
E:\j2sdkee1.2\lib\j2ee.jar;
E:\jonas_jdk1.2\lib\RMI_Jonas.jar;
E:\jlib\rmiregistry.jar;
E:\jlib\providerutil.jar;
E:\jlib\jndi.jar;
E:\jonas_jdk1.2\lib\jpp.jar;
E:\jlib\jta-spec1_0_1.jar;
E:\jonas_jdk1.2;

classpath for RMI and EJBServer are

E:\jlib\ejb.jar;
E:\jlib\jta-spec1_0_1.jar;
E:\jlib\jndi.jar;
E:\jlib\providerutil.jar;
E:\jlib\rmiregistry.jar;
E:\Orant8\jdbc\lib\classes111.zip;
E:\jonas_jdk1.2\jndi.properties;
E:\jlib\jdbc2_0-stdext.jar;
E:\jonas_jdk1.2;
E:\jonas_jdk1.2\lib\jpp.jar;
E:\jonas_jdk1.2\lib\RMI_jonas.jar;
E:\CLASSES

Hope this is a simple configuration mismatch

Thanks
R"udiger



----
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".

Reply via email to