• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Marudappa Sunil
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic