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

Reply via email to