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

Access Log directory - XML Parse issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Web
    • None

    Description

      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??

      Attachments

        Activity

          People

            Unassigned Unassigned
            narayanab16_jira narayana b (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: