1 Reply Latest reply on Jan 23, 2012 10:25 AM by peterj

    Jboss- Final 6.0.0 Deployment issue

    bluelabel

      Hi Guys, this is my first question in here, Iam not much of a linux guy, anyway recently i was asked to do a task which involves Jboss 6 - final. I have build a web application and was able to deploy it successfully in my local windows machine(Java 1.6). However when i try to deploy it in remote jobss server it gives me an error. what i did was just copied my local jboss-Final 6.0.0 folder to remote linux box and tried to run from there.

      Linux version running there is "Linux domU-12-31-39-13-CC-F3 2.6.32-220.2.1.el6.i686 #1 SMP Tue Dec 13 16:21:55 EST 2011 i686 i686 i386 GNU/Linux"

      and java version is "java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147)"

       

      Command i used to run jboss: ./run.sh -b 0.0.0.0

      The error iam getting is,

      2012-01-21 23:16:06,387 ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS IN ERROR:

        Deployment "jboss.web.deployment:war=/MyProj" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/home/jboss/jboss-6.0.0.Final/server/default/tmp/vfs/automountbf03677c761aa006/MyProj.war-9ff0b865f97658f9/ deployment failed

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]

          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]

          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]

          at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]

          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]

          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

          at java.lang.Thread.run(Thread.java:722) [:1.7.0]

       

      2012-01-21 23:16:06,439 INFO  [org.apache.coyote.http11.Http11Protocol] (Thread-2) Starting Coyote HTTP/1.1 on http-0.0.0.0-8080

      2012-01-21 23:16:06,442 INFO  [org.apache.coyote.ajp.AjpProtocol] (Thread-2) Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009

      2012-01-21 23:16:06,444 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS [6.0.0.Final "Neo"] Started in 2m:18s:401ms

       

       

      I can successfully deploy the same war in  jboss in windows machine witout any errors. Can anybody tell me what could be the reason for this error?

        • 1. Re: Jboss- Final 6.0.0 Deployment issue
          peterj

          There should be a stack trace earlier in the console log that provides details about what happened. Please post that. Or it might be simpler to attach the boot.log andserver.log to your post.

           

          >>what i did was just copied my local jboss-Final 6.0.0 folder to remote linux box

          How did you do the copy? If you uses FTP, and you set the copy type to text, then you most likely screwed up the contents of any binary files.

          Another thought on this: there is some state maintained in various JBoss AS folders, I recommend deleting these folders:

          server/default/data

          server/default/tmp

          server/default/work

          Then try again.

          1 of 1 people found this helpful