Win a copy of Terraform in Action this week in the Cloud forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

unable to laod a class specifeid in ejb-jar.xml

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this is my ejb-jar.xml file

<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>slsloop</ejb-name>
<home>MyBeanHomeIface</home>
<remote>MyBeanRemoteIface</remote>
<ejb-class>MyBeanImpl</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>

<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>slsloop</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>

</ejb-jar>


weblogic-jar.xml
---------------------
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>slsloop</ejb-name>
<stateless-session-descriptor>
<pool>
</pool>

<stateless-clustering>
</stateless-clustering>

</stateless-session-descriptor>

<transaction-descriptor>
</transaction-descriptor>

<jndi-name>slsloop</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
 
author & internet detective
Posts: 40847
829
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Revanth,
Welcome to JavaRanch!

What is the package name of the EJB? If it doesn't have one, put it in a package. Some things don't work if you are in the default package.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic