At 16:58 18.11.99 +0100, Jochen Strunk wrote:
>hi,
>
>when trying to run the ProductClient from the ejb examples with the 
>following command
>line:
>
>java 
>-Djava.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFact 
>o ry -Djava.naming.provider.url=ormi://hostname 
>-Djava.naming.security.principal=admin
>-Djava.naming.security.credentials=123 ProductClient
>
>it fails...

That problem went away as I replaced my jndi.jar with the one bundled with 
orion.

Now the stacktrace is:
Exception in thread "main" java.lang.SecurityException: Invalid 
username/password
         at as.d7(JAX)
         at as.d7(JAX)
         at as.c8(JAX)
         at al.c8(JAX)
         at com.evermind.server.rmi.RMIInitialContext.lookup(JAX)
         at javax.naming.InitialContext.lookup(InitialContext.java:349)
         at ProductClient.main(ProductClient.java:25)

I've tried different settings on the server side, but none of them worked.

Using linux with blackdown jdk1.2pre2, orion0.8.1.

Jochen Strunk

Reply via email to