Hi,
Here I am using Solaris 2.7 and WebLogic 5.1 server. I compiled all
required files, I got META-INF directory and XML files. I created jar file
using these files. Again I used ejbc to get stub and skeleton in a jar file.
But I was unable to deploy the bean. I am getting the error when I restart
the server. Here is the error:
Wed Sep 13 01:02:13 EST 2000:<E> <EJB> Could not deploy:
'/weblogic/myserver/Hello.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR
file /weblogic/myserver/Hello.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
/weblogic/myserver/Hello.jar from /weblogic/myserver/Hello.jar; nested
exception is:
weblogic.ejb.common.DeploymentException: could not read JAR file
'/weblogic/myserver/tmp_deployments/ejbjar13298.jar'
weblogic.ejb.common.DeploymentException: can't find class
BaluHello.HelloHome in EJB JAR
/weblogic/myserver/tmp_deployments/ejbjar13298.jar
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at java.rmi.RemoteException.<init>(RemoteException.java:56)
at
weblogic.ejb.common.DeploymentException.<init>(DeploymentException.java:19)
at
weblogic.ejb.internal.EJBJarLoader.addExceptionsAndOptionallyReturnTypes(Com
piled Code)
at weblogic.ejb.internal.EJBJarLoader.addExceptions(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled Code)
at
weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:122)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:85)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(Compiled Code)
at
weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
at
weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
at
weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
at
weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
at
weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
at
weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
at
weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(Compiled Code)
at
weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
]
weblogic.ejb.common.DeploymentException: Problem creating deployment
/weblogic/myserver/Hello.jar from /weblogic/myserver/Hello.jar; nested
exception is:
weblogic.ejb.common.DeploymentException: could not read JAR file
'/weblogic/myserver/tmp_deployments/ejbjar13298.jar'
weblogic.ejb.common.DeploymentException: can't find class
BaluHello.HelloHome in EJB JAR
/weblogic/myserver/tmp_deployments/ejbjar13298.jar
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at java.rmi.RemoteException.<init>(RemoteException.java:56)
at
weblogic.ejb.common.DeploymentException.<init>(DeploymentException.java:19)
at
weblogic.ejb.internal.EJBJarLoader.addExceptionsAndOptionallyReturnTypes(Com
piled Code)
at weblogic.ejb.internal.EJBJarLoader.addExceptions(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled Code)
at
weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:122)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:85)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(Compiled Code)
at
weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
at
weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
at
weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
at
weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
at
weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
at
weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
at
weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(Compiled Code)
at
weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
This is urgent and help me as soon as possible.
Thanks in advance,
Balu.
===========================================================================
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".