0 Replies Latest reply on Mar 29, 2012 6:10 AM by francesco.bonavia

    Error deploying Web-Application (WAR file) in JBOSS 5.1

    francesco.bonavia

      Hi to all,

       

      I'm new using JBOSS 5.1 GA so I need your help to deploy my first web-application.

      Using Eclipse Indigo and ant files I created a CibAudit.war file which contains:

      1) all jsp files

      2) WEB-INF dir

      3) styles dir (containing css files)

      4) images dir (containing all images)

      5) global dir (containing js files)

      6) META-INF dir

       

      Then I started JBOSS 5.1 and via Administration Console : JBOSS AS Server -> JBoss AS 5 (default) -> Application -> Web Application (WAR)s I selected my file CibAudit.war and I start the deploy.

      I obtain this error :

       

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

       

       

      *** DEPLOYMENTS IN ERROR: Name -> Error

       

       

      vfszip:/C:/Programmi/jboss-5.1.0.GA/server/default/deploy/CibAudit.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/C:/Programmi/jboss-5.1.0.GA/server/default/tmp/ad2vz-uh3ynh-h0dlejyd-1-h0dn5mee-41x/CibAudit.war/ deployment failed

       

       

       

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfszip:/C:/Programmi/jboss-5.1.0.GA/server/default/deploy/CibAudit.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/Programmi/jboss-5.1.0.GA/server/default/tmp/ad2vz-uh3ynh-h0dlejyd-1-h0dn5mee-41x/CibAudit.war/ deployment failed

       

       

                at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)

                at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)

                at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)

                at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)

                at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)

                at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181)

                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:482)

                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

       

       

      vfszip:/C:/Programmi/jboss-5.1.0.GA/server/default/deploy/CibAudit.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/C:/Programmi/jboss-5.1.0.GA/server/default/tmp/ad2vz-uh3ynh-h0dlejyd-1-h0dn5mee-41x/CibAudit.war/ deployment failed

       

       

       

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfszip:/C:/Programmi/jboss-5.1.0.GA/server/default/deploy/CibAudit.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/Programmi/jboss-5.1.0.GA/server/default/tmp/ad2vz-uh3ynh-h0dlejyd-1-h0dn5mee-41x/CibAudit.war/ deployment failed

       

       

                at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)

                at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)

                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)

                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)

                at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)

                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)

                at org.jboss.remoting.Client.invoke(Client.java:1724)

                at org.jboss.remoting.Client.invoke(Client.java:629)

                at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)

                ... 15 more

       

      Could you help me?

       

      thanks a lot

      francesco