hi, Could you tell me into which variables i should put the directory that contains jar file besides classpath? Thank you very much! ----- Original Message ----- From: arava <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 1999 4:24 PM Subject: Re: file not found error when deploy a ejb jar file to another serverwith weblogic.deploy > hi > Your Jar file should be in the classpath and also in other similar variables...for > weblogic you have some more of those vairables.But when i was trying to find info > about this i could not find the fact that the jar file should be in the classpath > anywhere in the weblogic documentation....the documentation appears to be > incomprehensive > arava > > Tony Tian wrote: > > > I wrote some ejb and jar them in a jar file .It works on the same server. > > But when i try to deploy it to another server which is running WLS5.1, > > sometimes it's OK,sometimes it says file not found.My jar file is located > > in d:\weblogic . > > on my workstation: > > d:\weblogic\java weblogic.deploy -port 7001 -host ec deploy 00000000 bank bank.jar > > > > ec is the server name of another machine. > > my platform:NT Server (SP6),WLS 5.1(SP5) JDK1.3 > > > > the message is: > > Connecting to ec, port 7001...Successfully connected. > > weblogic.ejb.common.DeploymentException: Non-existent file: Accound.jar (D:\webl > > ogic\Accound.jar); nested exception is: > > java.io.FileNotFoundException: > > Start server side stack trace: > > java.io.FileNotFoundException > > at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:295) > > at weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:1 > > 24) > > at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb > > jectAdapter.java:347) > > at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques > > tHandler.java:69) > > at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest > > .java:15) > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135) > > > > ..... > > > > =========================================================================== > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff EJB-INTEREST". For general help, send email to > > [EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
