Try setting deactivated =false in the principals.xml file under config dir of orion for username & password as specified in the jndi.properties of Cart example.
-----Original Message-----
From: nguyen dinh uong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 4:58 PM
To: Orion-Interest
Subject: Help me

I have to meet some error when I deploy /demo/ejb
I hope You can help me
First error .This is appear when I use
java -jar orion.jar
/*
Auto-deploying product (No previous deployment found)... Error compiling file:/C
:/orion/demo/ejb/product/: Error instantiating compiler: Javac not installed, co
py tools.jar from your sun JDK dir's lib dir to the orion dir or add a <library
path="the/path/to/tools.jar" /> and restart
Auto-deploying cart (No previous deployment found)... Error compiling file:/C:/o
rion/demo/ejb/cart/: Error instantiating compiler: Javac not installed, copy too
ls.jar from your sun JDK dir's lib dir to the orion dir or add a <library path="
the/path/to/tools.jar" /> and restart
Auto-deploying usermanager (No previous deployment found)... Error compiling fil
e:/C:/orion/demo/ejb/usermanager/: Error instantiating compiler: Javac not insta
lled, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a <
library path="the/path/to/tools.jar" /> and restart
Auto-deploying product... Error instantiating application 'ejbsamples' at file:/
C:/orion/demo/ejb/: Error auto-deploying application-client at product: No locat
ion specified and no suitable instance of the type 'Product' found for the ejb-r
ef MyProduct
Orion/1.4.5 initialized
*/
Second error .when I use command
java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. CartClient
/*
Exception in thread "main" java.lang.SecurityException: Invalid username/password for ejbsamples (admin)
        at com.evermind.server.rmi.ba.gl(JAX)
        at com.evermind.server.rmi.ba.gl(JAX)
        at com.evermind.server.rmi.ba.f4(JAX)
        at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled Code)
        at com.evermind.server.rmi.RMIContext.lookup(JAX)
        at com.evermind.server.administration.LazyResourceFinder.f4(JAX)
        at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)

        at com.evermind.server.Application.aq8(JAX, Compiled Code)
        at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(JAX, Compiled Code)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
71)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
)
        at javax.naming.InitialContext.init(InitialContext.java:218)
        at javax.naming.InitialContext.<init>(InitialContext.java:174)
        at CartClient.main(CartClient.java:17)

*/
I don't know I'll have to continune how
Thank you very much
Uo^ng Dinh Nguyen

------------------------------------------------------------------------- Get your private, free Email by Vietnamese at http://vol.vnn.vn


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information.

If the reader of this message is not the intended recipient,

you are notified that any dissemination, distribution or copy of this

communication is strictly Prohibited.

If you have received this message by error, please notify us

immediately, return the original mail to the sender and delete the

message from your system."


Reply via email to