5 Replies Latest reply on Jun 13, 2013 9:12 AM by erasmomarciano

    Unexpected HTTP response: 500  Request

    prasadzkv

      Unexpected HTTP response: 500  Request

      { "address" => [("deployment" => "focsear.ear")],

      "operation" => "deploy"

      }

        Response  Internal Server Error { "outcome" => "failed", "failure-description" => {"JBAS014671: Failed services" =>

      {"jboss.deployment.subunit.\"focsear.ear\".\"focswar.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"focsear.ear\".\"focswar.war\".PARSE:

      Failed to process phase PARSE of subdeployment \"focswar.war\" of deployment \"focsear.ear\""}},

      "rolled-back" => true }

        • 1. Re: Unexpected HTTP response: 500  Request
          erasmomarciano

          Hi

           

          Http  500  is an error of type Internal Server Error


          What were you doing with JBoss?

           

          Perhaps a deploy?

          • 2. Re: Unexpected HTTP response: 500  Request
            prasadzkv

            Hi marciano,

             

            when i deploy .ear file it is show the above error

            i.e,

            ".subunit.\"focsear.ear\".\"focswar.war\""

             

            and success fully connected to the database.

             

            Successfully created JDBC connection.

            Successfully connected to database EQPROD.

             

             

            can u please suggest me why this type of error will show normally. is it configuration problem.

            • 3. Re: Unexpected HTTP response: 500  Request
              erasmomarciano

              Can you post more info?

               

              If you check server.log you will find more info.

               

              Usually into server.log shows the Caused by : .....


              • 4. Re: Unexpected HTTP response: 500  Request
                prasadzkv

                16:45:04,969 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry commons-logging-1.1.jar in "/D:/eclipse-jee-indigo/jboss-as-7.1.1.Final/bin/content/focsear.ear/castor-1.1.1.jar"  does not point to a valid jar for a Class-Path reference.

                16:45:05,220 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."focsear.ear"."focswar.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."focsear.ear"."focswar.war".PARSE: Failed to process phase PARSE of subdeployment "focswar.war" of deployment "focsear.ear"

                          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_07]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_07]

                          at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_07]

                Caused by: java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                          at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110)

                          at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:107)

                          at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:109)

                          at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:83)

                          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          ... 5 more

                 

                 

                16:45:05,498 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "focsear.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"focsear.ear\".\"focswar.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"focsear.ear\".\"focswar.war\".PARSE: Failed to process phase PARSE of subdeployment \"focswar.war\" of deployment \"focsear.ear\""}}

                16:45:05,521 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment focsejb.jar in 19ms

                16:45:05,908 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment focswar.war in 408ms

                16:45:05,998 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment focsear.ear in 501ms

                16:45:06,001 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."focsear.ear"."focswar.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."focsear.ear"."focswar.war".PARSE: Failed to process phase PARSE of subdeployment "focswar.war" of deployment "focsear.ear"

                 

                 

                16:45:06,008 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"focsear.ear\".\"focswar.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"focsear.ear\".\"focswar.war\".PARSE: Failed to process phase PARSE of subdeployment \"focswar.war\" of deployment \"focsear.ear\""}}}}

                 

                 

                Thanks,

                -kp

                • 5. Re: Unexpected HTTP response: 500  Request
                  erasmomarciano

                  OK

                   

                  This is your error

                   

                  Caused by: java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file

                   

                  You have an error in MANIFEST.MF

                   

                   

                   

                  Check this topic, there is a similar problem

                   

                  https://community.jboss.org/message/738276

                   

                   

                  You can solve your ploblem following this guide

                   

                  https://issues.jboss.org/browse/WFLY-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696543#comment-12696543