5 Replies Latest reply on Nov 18, 2010 12:39 AM by jaikiran

    .ear Fails to deploy in JBoss 5.0 and up

    codeman78432

      I have an .ear file that runs in jboss-4.2.3.GA.  When I try to deploy it in anything higher it fails.  This is what I get if I try to deploy in jboss-as-distribution-6.0.0.20100911-M5:

       

       

       

       

       

       

       

      java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** DEPLOYMENTS IN ERROR: Name -> Error

      vfs:///C:/Users/home/Downloads/jboss/jboss-as-distribution-6.0.0.20100911-M5/jboss-6.0.0.20100911-M5/server/default/deploy/test.ear -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/Users/home/Downloads/jboss/jboss-as-distribution-6.0.0.20100911-M5/jboss-6.0.0.20100911-M5/server/default/deploy/test.ear/TEST.war/


      DEPLOYMENTS IN ERROR:
        Deployment "vfs:///C:/Users/home/Downloads/jboss/jboss-as-distribution-6.0.0.20100911-M5/jboss-6.0.0.20100911-M5/server/default/deploy/test.ear" is in error due to the following reason(s): java.lang.VerifyError: (class: com/google/gwt/gen2/selection/client/CustomListBox$ItemList$Item, method: <init> signature: (Lcom/google/gwt/gen2/selection/client/CustomListBox$ItemList;Lcom/google/gwt/dom/client/Element;Ljava/lang/Object;Ljava/lang/String;)V) Incompatible argument to function

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:312)
              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)
              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)
              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)
              at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)
              at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:173)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
      Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** DEPLOYMENTS IN ERROR: Name -> Error

      vfs:///C:/Users/home/Downloads/jboss/jboss-as-distribution-6.0.0.20100911-M5/jboss-6.0.0.20100911-M5/server/default/deploy/test.ear -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/Users/home/Downloads/jboss/jboss-as-distribution-6.0.0.20100911-M5/jboss-6.0.0.20100911-M5/server/default/deploy/test.ear/TEST.war/


      DEPLOYMENTS IN ERROR:
        Deployment "vfs:///C:/Users/home/Downloads/jboss/jboss-as-distribution-6.0.0.20100911-M5/jboss-6.0.0.20100911-M5/server/default/deploy/test.ear" is in error due to the following reason(s): java.lang.VerifyError: (class: com/google/gwt/gen2/selection/client/CustomListBox$ItemList$Item, method: <init> signature: (Lcom/google/gwt/gen2/selection/client/CustomListBox$ItemList;Lcom/google/gwt/dom/client/Element;Ljava/lang/Object;Ljava/lang/String;)V) Incompatible argument to function

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968)
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82)
              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:125)
              at org.jboss.profileservice.plugins.deploy.actions.DeploymentStartAction.doPrepare(DeploymentStartAction.java:104)
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:100)
              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)
              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)
              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)
              at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDeployments(AbstractDeployHandler.java:168)
              at org.jboss.profileservice.management.upload.remoting.DeployHandlerDelegate.startDeployments(DeployHandlerDelegate.java:74)
              at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:148)
              at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898)
              at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
              at org.jboss.remoting.Client.invoke(Client.java:1961)
              at org.jboss.remoting.Client.invoke(Client.java:804)
              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)
              ... 15 more

       

      Can anybody tell me what I am doing wrong?  Thanks.