I have a simple
J2ee application. Take a look at this image for the code structure:
Now, as you can see from it, ArRc_core becomes ArRc_core.jar. It has some common api that the EJB uses. At build time, I do not have any issues. But when I deploy the ear on
JBoss 4.2.2 it shows up this exception:
and My Session Bean is not getting deployed.
I tried everything. changing class-path in manifest.mf, copying ArRc_core.jar to /server/default/lib etc.. but nothing works.
Please let me know how I can include this dependent jar with the ejb jar.
Here is my jboss.xml:
This is my ejb-jar.xml:
<enterprise-beans>
<session>
<display-name>BookingManagerBean</display-name>
<ejb-name>BookingManagerBean</ejb-name>
<home>com.dcu.arrc.ejb.BookingManagerHome</home>
<remote>com.dcu.arrc.ejb.BookingManager</remote>
<ejb-class>com.dcu.arrc.ejb.BookingManagerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
<ejb-client-jar>ArRc_ejbClient.jar</ejb-client-jar>
I am a Jboss rookie and need this very urgently. Please help!