Hello all,
We are trying to deploy an EAR on JBoss 4.0.2 and getting the following error
on server startup:
| 09:43:27,993 WARN [verifier] EJB spec violation:
| Bean : CNTBatchController
| Section: 22.2
| Warning: The Bean Provider must specify the fully-qualified name of the
Java class that implements t
| he enterprise bean's business methods in the <ejb-class> element.
| Info : Class not found on
'com.wdc.mif.controllers.jpmc.ejb.CNTBatchControllerSession': Unexpected
| error during load of:
com.wdc.mif.controllers.jpmc.ejb.CNTBatchControllerSession, msg=com/wdc/mif/c
| ontrollers/jpmc/ejb/CNTBatchController
|
| 09:43:27,993 ERROR [MainDeployer] could not create deployment:
file:/C:/jboss-4.0.2/server/all/tmp/d
| eploy/tmp25251cnt.ear-contents/JPMCCNTBatchController_EJB.jar
| org.jboss.deployment.DeploymentException: Verification of Enterprise Beans
failed, see above for err
| or messages.
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
| at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
| ptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
| at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
| at $Proxy8.deploy(Unknown Source)
| at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
| at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
| at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
| ymentScanner.java:204)
| at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca
| nner.java:277)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
| ......
| ......
| ......
| --- Incompletely deployed packages ---
| [EMAIL PROTECTED] {
url=file:/C:/jboss-4.0.2/server/all/deploy/CNT.ear/JPMCCNTBatchController_EJB.jar/
}
| deployer: [EMAIL PROTECTED]
| status: Deployment FAILED reason: Verification of Enterprise Beans
failed, see above for error messages.
| state: FAILED
| watch:
file:/C:/jboss-4.0.2/server/all/deploy/CNT.ear/JPMCCNTBatchController_EJB.jar/META-INF/ejb-jar.xml
| altDD: null
| lastDeployed: 1131544579836
| lastModified: 1131544521142
| mbeans:
|
The entry for the concerned bean in ejb-jar.xml looks as follows:
| <session >
| <description><![CDATA[Description for
CNTBatchController]]></description>
| <display-name>Name for CNTBatchController</display-name>
|
| <ejb-name>CNTBatchController</ejb-name>
|
|
<home>com.wdc.mif.controllers.jpmc.interfaces.CNTBatchControllerHome</home>
|
<remote>com.wdc.mif.controllers.jpmc.interfaces.CNTBatchController</remote>
|
<local-home>com.wdc.mif.controllers.jpmc.interfaces.CNTBatchControllerLocalHome</local-home>
|
<local>com.wdc.mif.controllers.jpmc.interfaces.CNTBatchControllerLocal</local>
|
<ejb-class>com.wdc.mif.controllers.jpmc.ejb.CNTBatchControllerSession</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
|
| </session>
|
Also:
| public class CNTBatchControllerSession extends
com.wdc.mif.controllers.jpmc.ejb.CNTBatchController
| implements javax.ejb.SessionBean
|
Does anyone have ideas what we might be missing here? Would really appreciate
any help.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906344#3906344
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906344
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user