[jboss-jira] [JBoss JIRA] (AS7-2578) Domain does not boot with custom welcome root
Heiko Braun (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Nov 10 13:55:45 EST 2011
[ https://issues.jboss.org/browse/AS7-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641896#comment-12641896 ]
Heiko Braun commented on AS7-2578:
----------------------------------
besides the doc issue, i think that something so trivial shouldn't prevent the whole domain from booting up properly.
> Domain does not boot with custom welcome root
> ---------------------------------------------
>
> Key: AS7-2578
> URL: https://issues.jboss.org/browse/AS7-2578
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management, Web
> Reporter: Heiko Braun
> Assignee: Jean-Frederic Clere
> Priority: Minor
> Fix For: 7.1.0.CR1
>
>
> Declaring a custom welcome root other then root.war, leads to an error that prevents the domain from booting:
> {noformat}
> <subsystem xmlns="urn:jboss:domain:web:1.1">
> <connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="http" enabled="true"/>
> <connector name="https" protocol="HTTP/1.1" socket-binding="https" scheme="https" enabled="true"/>
> <virtual-server name="default-host" default-web-module="test.war" enable-welcome-root="true">
> <alias name="localhost"/>
> <alias name="example.com"/>
> </virtual-server>
> </subsystem>
> {noformat}
> {noformat}
> [Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[353,17]
> [Host Controller] Message: The welcome root can not be enabled on a host that has a default web module
> [Host Controller] at org.jboss.as.web.WebSubsystemParser.parseHost(WebSubsystemParser.java:596)
> [Host Controller] at org.jboss.as.web.WebSubsystemParser.readElement(WebSubsystemParser.java:446)
> [Host Controller] at org.jboss.as.web.WebSubsystemParser.readElement(WebSubsystemParser.java:117)
> [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100) [staxmapper-1.0.0.Final.jar:1.0.0.Final]
> [Host Controller] at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.0.0.Final.jar:1.0.0.Final]
> [Host Controller] at org.jboss.as.controller.parsing.DomainXml.parseProfiles(DomainXml.java:536) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> [Host Controller] at org.jboss.as.controller.parsing.DomainXml.readDomainElement(DomainXml.java:208) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> [Host Controller] at org.jboss.as.controller.parsing.DomainXml.readElement(DomainXml.java:101) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> [Host Controller] at org.jboss.as.controller.parsing.DomainXml.readElement(DomainXml.java:86) [jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100) [staxmapper-1.0.0.Final.jar:1.0.0.Final]
> [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59) [staxmapper-1.0.0.Final.jar:1.0.0.Final]
> [Host Controller] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:117) [j
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list