• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error Deploying in weblogic 5.1

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a session bean when deployed gives the following error. My weblogic-ejb-jar.xml contains session bean with jndi-name as ejb/AdditionalTicketAttributes, whereas while deploying the server is searching for 'ejb/AdditionalTicketAttributes_EO' jndi-name. Please let me know if anybody has faced the same problem and how to rectify it.
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>AdditionalTicketAttributes</ejb-name>
<jndi-name>ejb/AdditionalTicketAttributes</jndi-name>
</weblogic-enterprise-bean>
<security-role-assignment>
<role-name>csm_app_ejb_basic_user</role-name>
<principal-name>basic_user</principal-name>
</security-role-assignment>
</weblogic-ejb-jar>

Tue Jun 03 11:42:00 GMT+05:30 2003:<E> <EJB> Could not deploy: 'AdditionalTicketAttributes.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/AdditionalTicketAttributes_EO'; remaining name 'ejb/AdditionalTicketAttributes_EO'
javax.naming.NameNotFoundException: 'ejb/AdditionalTicketAttributes_EO'; remaining name 'ejb/AdditionalTicketAttributes_EO'
at weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java:745)
at weblogic.jndi.toolkit.BasicWLContext.resolveNameToStore(BasicWLContext.java:656)
at weblogic.jndi.toolkit.BasicWLContext.resolveNameToParentStore(BasicWLContext.java:707)
at weblogic.jndi.toolkit.BasicWLContext.rebind(BasicWLContext.java:229)
at weblogic.jndi.toolkit.ReplicatedWLContext.rebind(ReplicatedWLContext.java:91)
at weblogic.jndi.toolkit.BasicWLContext.rebind(BasicWLContext.java:580)
at weblogic.ejb.internal.StatelessEJBHome.setup(StatelessEJBHome.java:127)
at weblogic.ejb.internal.EJBHomeImpl.setup(EJBHomeImpl.java:600)
at weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(EJBDeploymentImpl.java:576)
at weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(EJBDeploymentImpl.java:384)
at weblogic.ejb.internal.EJBDeploymentImpl.deploy(EJBDeploymentImpl.java:335)
at weblogic.ejb.internal.EJBJarDeployment.deploy(EJBJarDeployment.java:231)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:363)
at weblogic.ejb.internal.EJBManagerImpl.deployNew(EJBManagerImpl.java:352)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:629)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1295)
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)
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic