• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

deploying 2 beans quite urgent !!!

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
Im trying to deploy 2 enterprise beans by using one ejb-jar & weblogic-ejb-jar files as follows
***********************************************************
<?xml version="1.0"?>
< !DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>hellobean</ejb-name>
<home>hello.hHome</home>
<remote>hello.hRemote</remote>
<ejb-class>hello.beanImpl</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<ejb-name>balbean</ejb-name>
<home>bal.balHome</home>
<remote>bal.balRemote</remote>
<ejb-class>bal.balImpl</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
***********************************************************
so i will be using a single meta-if directory for both the beans, when im creating a jar file im using this same meta-inf dir only, it works fine till now , but when i do the ejbc xxx.jar -d c:\deploydir to get the stubs & skeletons im getting an exception
****************************************************
Loader.java:146)
at weblogic.ejb.deployment.dd.BeanDescriptor.loadClass(BeanDescriptor.ja
va:221)
at weblogic.ejb.deployment.dd.BeanDescriptor.getHomeInterfaceClass(BeanD
escriptor.java:446)
at weblogic.ejb.compliance.HomeClassChecker.<init>(HomeClassChecker.java
:31)
at weblogic.ejb.compliance.SessionHomeClassChecker.<init>(SessionHomeCla
ssChecker.java:25)
at weblogic.ejb.compliance.EJB11ComplianceChecker.getSessionCheckers(EJB
11ComplianceChecker.java:52)
at weblogic.ejb.compliance.EJB11ComplianceChecker.checkDeploymentUnit(EJ
B11ComplianceChecker.java, Compiled Code)
at weblogic.ejb.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:302
)
at weblogic.ejb.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:251)
at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java, Compiled C
ode)
at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
at weblogic.utils.compiler.Tool.run(Tool.java:80)
at weblogic.ejbc.main(ejbc.java:353)
Uncaught exception in class: weblogic/ejbc.main(String[]):
***********************************************************
im able to get the dir created but the stubs & skeletons are not created.........
what exactly is the problem here, i was able to deploy files individually till now, can any body pls help, its urgent!!!
thanks
 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic