I get the following error trying to deploy an EJB-JAR to Weblogic 5.1. The JAR was generated using weblogic.ejbc with no errors.
<
EJB> Could not deploy: 'D:\work\ejb.jar'
Possible reasons include:
1. The bean or an interface class has been modified but the deployment descriptor has not been updated
2. The database mappings in the deployment descriptor do not match the database definition
3. The jar file is not a valid jar file
4. The jar file does not contain a valid bean
weblogic.ejb.common.DeploymentException: Could not instantiate EJBObject.; nested exception is:
javax.naming.NameNotFoundException: 'ejb/myStatelessSession_EO'; remaining name 'ejb/myStatelessSession_EO'
javax.naming.NameNotFoundException: 'ejb/myStatelessSession_EO'; remaining name 'ejb/myStatelessSession_EO'
at weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java:745)
...
...
...
Does anyone have any ideas what might be the issue here? I have the deployment descriptors set correctly and in the META-INF directory. Running 'jar tf ejb.jar' shows the correct files have been included (Bean, Home, Remote).
Thanks,
John.