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

Failure to restart AS7 after deployment

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.0.0.CR1
    • Fix Version/s: 7.0.0.CR1
    • Component/s: Server
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. Start AS7
      2. Deploy something (e.g. a .war file)
      3. CTRL-C AS7
      4. Start AS7 again

      Show
      1. Start AS7 2. Deploy something (e.g. a .war file) 3. CTRL-C AS7 4. Start AS7 again

      Description

      When I restart AS7 after having deployed something I craps out with the exception below.

      Looking at the location that it complains about in standalone.xml it has:
      <system-properties>
      <property name="foo" value="bar"/>
      <property name="key" value="value"/>
      </system-properties>

      This is the exception:
      15:01:35,069 INFO [org.jboss.as] JBoss AS 7.0.0.Beta4-SNAPSHOT "(TBD)" starting
      15:01:36,347 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.as.server-controller: org.jboss.msc.service.StartException in service jboss.as.server-controller: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration
      at org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:155) [jboss-as-server-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675) [jboss-msc-1.0.0.Beta8.jar:1.0.0.Beta8]
      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:680) [:1.6.0_24]
      Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration
      at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:113)
      at org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:153) [jboss-as-server-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
      ... 4 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[398,5]
      Message: Unexpected element '

      {urn:jboss:domain:1.0}

      system-properties' encountered
      at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:64)
      at org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:182)
      at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:87)
      at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:75)
      at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
      at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
      at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:105)
      ... 5 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                bosschaert David Bosschaert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: