|
Hi all! :)
I've realized a jar with this
directory structure:
Fantacalcio.jar
<------------------->
[...]
fantacalcio/CalciatoriBean.class
fantacalcio/CalciatoriHome.class
fantacalcio/Calciatori.class
[...]
All of them belong to the package "fantacalcio".
The ejb-jar.xml I wrote is:
<?xml version="1.0"
encoding="UTF-8"?>
<ejb-jar>
<description>Fantacalcio</description> <display-name>Test di Fantacalcio</display-name> <enterprise-beans> <entity> <ejb-name>Calciatori</ejb-name> <home>fantacalcio.CalciatoriHome</home> <remote>fantacalcio.Calciatori</remote> <ejb-class>fantacalcio.CalciatoriBean</ejb-class> <session-type>Stateless</session-type> <prim-key-class>int</prim-key-class> <transaction-type>Bean</transaction-type> <persistence-type>Bean</persistence-type> <reentrant>False</reentrant> </entity> </enterprise-beans> </ejb-jar> but the deploy fails:
[J2EE Deployer Default] Starting deploy
failed!
[Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy file:/usr/local/jboss/tmp/deploy/Default/deploy, Cause:java.lang.ClassNotFoundException: fantacalcio.CalciatoriHome I've tried almost everything I can think about...
and now I'm begging for help... please, help me! ;-)
Thanks in advance,
Mano
:)
|
- Re: [JBoss-user] Problematic deploy of an entity bean Germano Rizzo
- Re: [JBoss-user] Problematic deploy of an entity bea... Devraj Mukherjee
