This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
revanth gundeti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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>
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34378
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic