• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

EJB Deployment Problem (in WL 5.1)

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic