Hi,

I am trying to deploy an EAR file which was working perfectly fine on JBoss 
4.0.0.5. I am using Eclipse Galileo to deploy the EAR file and I am getting the 
following exception.


15:40:44,174 ERROR [AbstractKernelController] Error installing to 
PostClassLoader: name=vfszip:/C:/jboss-5.0.0.GA/server/all/deploy/icba10.ear 
state=ClassLoader mode=Manual requiredState=PostClassLoader
  | org.jboss.deployers.spi.DeploymentException: Cannot process metadata
  |     at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  |     at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181)
  |     at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
  |     at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  |     at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  |     at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  |     at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  |     at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  |     at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  |     at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  |     at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
  |     at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
  |     at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
  |     at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  |     at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  |     at org.jboss.Main.boot(Main.java:209)
  |     at org.jboss.Main$1.run(Main.java:547)
  |     at java.lang.Thread.run(Unknown Source)
  | Caused by: java.lang.IllegalArgumentException: ApplicationException is only 
valid on an Exception
  |     at 
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.create(ApplicationExceptionProcessor.java:60)
  |     at 
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.process(ApplicationExceptionProcessor.java:71)
  |     at 
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.process(ApplicationExceptionProcessor.java:46)
  |     at 
org.jboss.metadata.annotation.creator.AbstractCreator.process(AbstractCreator.java:154)
  |     at 
org.jboss.metadata.annotation.creator.AbstractCreator.processMetaData(AbstractCreator.java:87)
  |     at 
org.jboss.metadata.annotation.creator.ejb.jboss.JBoss50Creator.create(JBoss50Creator.java:109)
  |     at 
org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossMetaData(OptAnnotationMetaDataDeployer.java:134)
  |     at 
org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:84)
  |     at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)
  |     ... 21 more

I have not copied any Jar files into any location besides the ones that come 
with the JBoss.5.0.0.GA zip file.

Hope anyone could help me out as this is holding me back.

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254341#4254341

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254341
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to