aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes unable to laod a class specifeid in ejb-jar.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "unable to laod a class specifeid in ejb-jar.xml" Watch "unable to laod a class specifeid in ejb-jar.xml" New topic
Author

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

revanth gundeti
Greenhorn

Joined: Jan 04, 2010
Posts: 1
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to laod a class specifeid in ejb-jar.xml