Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-961

AS 7 standalone instance doesn't shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.0.0.Beta3
    • None
    • None

    Description

      After failed deployment server standalone instance doesn't shutdown.

      I have pushed CTRL+C and it tried to shutdown:

      21:11:24,194 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) HornetQ Server version 2.1.2.Final (Colmeia, 120) started
      21:11:25,026 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."jboss-seam-jpa.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jboss-seam-jpa.war".PARSE: Failed to process phase PARSE of deployment "jboss-seam-jpa.war"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      	at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/content/jboss-seam-jpa.war/WEB-INF/jboss-web.xml"
      	at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:66)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
      	... 4 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,3]
      Message: Unexpected element 'class-loading' encountered
      	at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
      	at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:182)
      	at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:64)
      	... 5 more
      
      ^C21:12:05,801 INFO  [org.jboss.as.logging] Restored bootstrap log handlers
      21:12:05,818 INFO  [org.jboss.as.connector.subsystems.datasources] Removed JDBC Data-source [java:/H2DS]
      21:12:05,833 INFO  [org.jboss.as.server.deployment] Stopped deployment jboss-seam-jpa.war in 52ms
      21:12:05,832 INFO  [com.arjuna.ats.jbossatx] ARJUNA-32018 Destroying TransactionManagerService
      21:12:05,834 INFO  [com.arjuna.ats.jbossatx] ARJUNA-32014 Stopping transaction recovery manager
      21:12:05,845 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) stopped
      

      The above was last line of shutdown and it didn't return to terminal prompt.

      I have tried also
      ./jboss-admin.sh --connect command=:shutdown
      but it logs only:

      Connected to localhost:9999
      Communication error: Connection refused
      Closed connection to localhost:9999
      

      I have to kill manually AS 7 process by kill -9 <procid>

      I also tried to start new standalone instance and tried to stop by ./jboss-admin.sh --connect command=:shutdown after failed deployment.

      Both terminals hang up and didn't shutdown.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mnovotny@redhat.com Marek Novotny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: