[jboss-jira] [JBoss JIRA] (AS7-6415) Access Log directory - XML Parse issue
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Mon Feb 11 19:35:56 EST 2013
[ https://issues.jboss.org/browse/AS7-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved AS7-6415.
---------------------------------
Resolution: Rejected
This appears to be user error (There is a space in your XML attribute (path ="access-log"). If this is not the cause of the problem please post on the forum with your full configuration.
> Access Log directory - XML Parse issue
> --------------------------------------
>
> Key: AS7-6415
> URL: https://issues.jboss.org/browse/AS7-6415
> Project: Application Server 7
> Issue Type: Bug
> Components: Web
> Environment: Jboss 7.1.1 win xp 32 bit
> Reporter: narayana b
>
> step1)
> <!-- -->
> <paths>
> <path path="E:/jboss/jboss-as-7.1.1.Final/standalone" name="access-log-dir" />
> </paths>
> step2) created a "access-log" dir under E:/jboss/jboss-as-7.1.1.Final/standalone
> <virtual-server name="default-host" enable-welcome-root="true">
> <alias name="localhost"/>
> <alias name="example.com"/>
> <acesss-log pattern="Time Taken: %T %h %l %u %t %r %s %b" resolve-hosts="false" extended="false" prefix="access_log." rotate="true">
> <directory path ="access-log" relative-to="access-log-dir" />
> </acesss-log>
> </virtual-server>
> Parse Error
> -----------
> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1
> at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_17]
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[351,5]
> Message: JBAS014789: Unexpected element '{urn:jboss:domain:web:1.1}acesss-log' encountered
> at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:85) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.web.WebSubsystemParser.parseHost(WebSubsystemParser.java:582)
> at org.jboss.as.web.WebSubsystemParser.readElement(WebSubsystemParser.java:329)
> at org.jboss.as.web.WebSubsystemParser.readElement(WebSubsystemParser.java:65)
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
> at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Fi.........
> Please let me know is this fixed? ready to release??
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list