I think the install.txt file is missing a crucial step.  This step should
be:

2.1.5 Make sure the password for admin is set correctly in the
jndi.properties file in the cart and product directory.  This should be the
same as it is listed in principals.xml file.
java.naming.security.credentials="your password here"

Once I set the passwords, everything worked as expected.

-Jason

-----Original Message-----
From: Jason Rowland [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 04, 2000 2:18 AM
To: [EMAIL PROTECTED]
Subject: EJB Cart client error


I have successfuly deployed the ejbsamples application using Interbase.  It
created all the tables necessary.  When I went to follow step 2.3 in the
install.txt file and try the CartClient, I got a SecurityException Invalid
username/password for ejbsamples (admin).  What am I doing wrong?

-Jason

D:\orion\demo\ejb\cart>java -classpath
../../../orion.jar;../../../ejb.jar;../..
/../jndi.jar;. CartClient

Exception in thread "main" java.lang.SecurityException: Invalid
username/passwor
d for ejbsamples (admin)
        at com.evermind.server.rmi.bb.ge(JAX)
        at com.evermind.server.rmi.bb.ge(JAX)
        at com.evermind.server.rmi.bb.fy(JAX)
        at com.evermind.server.rmi.RMIServer.fy(JAX)
        at com.evermind.server.rmi.RMIContext.lookup(JAX)
        at com.evermind.server.Application.ao3(JAX)
        at
com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(JAX)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)
        at CartClient.main(CartClient.java:17)


Reply via email to