This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Error while deployment in JBOSS server(Verification of Enterprise Beans failed, see above for error) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error while deployment in JBOSS server(Verification of Enterprise Beans failed, see above for error)" Watch "Error while deployment in JBOSS server(Verification of Enterprise Beans failed, see above for error)" New topic
Author

Error while deployment in JBOSS server(Verification of Enterprise Beans failed, see above for error)

Marudappa Sunil
Greenhorn

Joined: Sep 20, 2010
Posts: 2
Dear All,

Seems, some problem in deployment of EAR coz, of EJB. Its showing some specification violation. But, i suspect something missed in conf of JBOSS for EJB-deployment. Coz, the same this is working for JBOSS 4x, its not working in JBOSS 5x.

Anybody has solution, please respond me.

Thanks in advance. Please find the below stack trace.

17:47:02,364 WARN [verifier] EJB spec violation:
Bean : PartsCompsManager
Method : public abstract Result findPartsCompsByProject(String, String) throws RemoteException
Section: 7.11.7
Warning: The methods in the local interface must not include java.rmi.RemoteException in their throws clause.

17:47:02,364 WARN [verifier] EJB spec violation:
Bean : PartsCompsManager
Method : public abstract Result findPartsCompsByDocument(String, String) throws RemoteException
Section: 7.11.7
Warning: The methods in the local interface must not include java.rmi.RemoteException in their throws clause.

17:47:02,364 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Program%20Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/Road.ear/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.deployers.EjbDeployer.deploy(EjbDeployer.java:275)
at org.jboss.ejb.deployers.EjbDeployer.deploy(EjbDeployer.java:73)
at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1440)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1211)

DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/C:/Program%20Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/Road.ear/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
Marudappa Sunil
Greenhorn

Joined: Sep 20, 2010
Posts: 2
yeah, got the solution too....

%JBOSS_HOME%/server/< serverName>/deployers/ejb-deployer-jboss-beans.xml you can set the StrictVerifier to false


# <!-- Setting this to 'true' will cause all deployments
# to fail when the Verifier detected a problem with the contained
# Beans. If false, warnings/errors will be logged but the deployment
# will not fail.
# -->
# <attribute name="StrictVerifier">false</attribute>
Neo Neo
Greenhorn

Joined: Feb 25, 2009
Posts: 3
Is this happening because of restriction in Jboss 5 that the same interface cannot be marked as Remote & Local? It's not a restriction, but by EJB specification....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while deployment in JBOSS server(Verification of Enterprise Beans failed, see above for error)
 
Similar Threads
Error In JBOSS While Loading
Error in deploying jar file
MDB JBoss deployment problem
Problem in deploying Entity Bean
JNDI name not found error!!