Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8539

VDX - error output is not able print special national characters on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR12
    • 7.1.0.DR11
    • Management
    • None
    • Not Required

      On Windows Server 2012 VDX is not able to deal with special national characters. In case that element with national characters <řebříček>obecný</řebříček> is used then error output logs:

      OPVDX001: Validation error in standalone.xml -----------------------------------
      |
      |  475:     </endpoint-config>
      |  476:     <client-config name="Standard-Client-Config"/>
      |  477:     <řebříček>obecný</řebříček>
      |           ^^^^ 'řebříček' isn't an allowed element here
      |                
      |                Elements allowed here are: 
      |                  client-config           wsdl-path-rewrite-rule  
      |                  endpoint-config         wsdl-port               
      |                  modify-wsdl-address     wsdl-secure-port        
      |                  wsdl-host               wsdl-uri-scheme         
      |
      |  478:   </subsystem>
      |  479:   <subsystem xmlns="urn:jboss:domain:weld:3.0"/>
      |  480: </profile>
      |
      | The primary underlying error message was:
      | > ParseError at [row,col]:[477,7]
      | > Message: WFLYCTL0198: Unexpected element
      | >   '{urn:jboss:domain:webservices:2.0}řebříček' encountered
      |
      |-------------------------------------------------------------------------------
      

      The xml snippet has problem with encoding of:

      <řebříček>obecný</řebříček>

      I tried to remove "docs" directory with schemas so VDX does not trigger and error log show national characters properly:

      2017-01-27 00:58:32,735 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
              at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143) [wildfly-controller-
      ...
      Message: WFLYCTL0198: Unexpected element '{urn:jboss:domain:webservices:2.0}řebříček' encountered
              at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:97) [wildfly-controller-3.0.0.Alpha22.jar:3.0.0.Alpha22]
              at org.jboss.as.webservices.dmr.WSSubsystem11Reader.handleUnknownElement(WSSubsystem11Reader.java:124)
              at org.jboss.as.webservices.dmr.WSSubSystem12Reader.handleUnknownElement(WSSubSystem12Reader.java:55)
      ...
      

            tcrawley Toby Crawley (Inactive)
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: