hard deployment error -
aagmon Aug 1, 2004 9:11 AMhello all for more than a week im trying to solve a deployment error
which im sure you all know , but still i couldnt find the answer:
Bean : Person
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
Info : Class not found on 'tutorial.cmp.PersonBean': No ClassLoaders found for: tutorial.cmp.PersonBean
15:01:54,221 ERROR [MainDeployer] could not create deployment: file:/home/jboss_manager/jboss-3.2.3/server/default/tmp/deploy/tmp14926FiboApp.ear-contents/PersonEJB.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
this is the error ; beans consist of the ide's example fibo - when i add a cmp
which is referenced from fibobean :
tutorial.ejb --> fibobean
tutorial.interfaces --->fibo's home and remote
tutorial.cmp -->cmp +localHome and Local
here are the .xml:
ejb-jar:
<ejb-jar >
[CDATA[No Description.]]
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
[CDATA[]]
<display-name>Fibo Ejb</display-name>
<ejb-name>Fibo</ejb-name>
tutorial.interfaces.FiboHome
tutorial.interfaces.Fibo
<ejb-class>tutorial.ejb.FiboBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-local-ref >
<ejb-ref-name>ejb/PersonLocal</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>tutorial.cmp.PersonLocalHome</local-home>
tutorial.cmp.PersonLocal
<ejb-link>Person</ejb-link>
</ejb-local-ref>
<!-- Entity Beans -->
[CDATA[Description for Person]]
<ejb-name>Person</ejb-name>
<local-home>tutorial.cmp.PersonLocalHome</local-home>
tutorial.cmp.PersonLocal
<ejb-class>tutorial.cmp.PersonBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
False
<cmp-version>2.x</cmp-version>
<abstract-schema-name>person</abstract-schema-name>
<cmp-field >
[CDATA[]]
<field-name>name</field-name>
</cmp-field>
<cmp-field >
[CDATA[Getter for CMP Field id]]
<field-name>id</field-name>
</cmp-field>
[CDATA[find all]]
<query-method>
<method-name>findAll</method-name>
<method-params>
</method-params>
</query-method>
<ejb-ql>[CDATA[SELECT object(p) FROM person AS p]]</ejb-ql>
<!-- Write a file named ejb-finders-PersonBean.xml if you want to define extra finders. -->
</enterprise-beans>
<container-transaction >
<ejb-name>Person</ejb-name>
<method-name>*</method-name>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
jboss.xml
<enterprise-beans>
<ejb-name>Person</ejb-name>
<local-jndi-name>PersonLocalHome</local-jndi-name>
<ejb-name>Fibo</ejb-name>
<jndi-name>ejb/tutorial/Fibo</jndi-name>
<ejb-local-ref>
<ejb-ref-name>ejb/PersonLocal</ejb-ref-name>
<jndi-name>PersonLocalHome</jndi-name>
</ejb-local-ref>
</enterprise-beans>
<resource-managers>
</resource-managers>
the application.xml is correct for sure
thats it i really dont know what to do ......
linux red hat ES , eclipse 3 , jboss 3.2.3 , jbosside 1.3.30 , mysql 4