Hi all,
I am having this deployment error when deploying a CMP bean.
Error :
-------
23:01:57,269 INFO [MainDeployer] Undeployed file:/opt/jboss/jboss-3.2.1/server/all/deploy/MyBank.jar
23:02:02,290 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss/jboss-3.2.1/server/all/deploy/MyBank.jar
23:02:03,707 WARN [verifier] EJB spec violation:
Bean : Account
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: cmp.AccountCMP
23:02:03,709 ERROR [MainDeployer] could not create deployment: file:/opt/jboss/jboss-3.2.1/server/all/deploy/MyBank.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
Now I have looked into my ejb-jar file but cannot understand whats wrong in that.
my bean is in pacakge cmp called Account.
Snippet from ejb-jar file.
----------------------------
<![CDATA[]]>
<ejb-name>Account</ejb-name>
cmp.AccountHome
cmp.Account
<local-home>cmp.AccountLocalHome</local-home>
cmp.AccountLocal
<ejb-class>cmp.AccountCMP</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>account</abstract-schema-name>
---------------------
Now it is complaning about fully qualified name, there is no other directory now.
I am using eclipse for this and this cmp package is under BankApp project.
Cany anyone help me with this.
Cheers....
Thanks in advance