[jbossts-issues] [JBoss JIRA] (JBTM-1520) XMLFilePlugin fails to read the configuration if its path contains unicode characters

Ivo Studensky (JIRA) jira-events at lists.jboss.org
Thu Mar 7 06:08:57 EST 2013


     [ https://issues.jboss.org/browse/JBTM-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivo Studensky resolved JBTM-1520.
---------------------------------

    Resolution: Done


Committed in r38299.
                
> XMLFilePlugin fails to read the configuration if its path contains unicode characters
> -------------------------------------------------------------------------------------
>
>                 Key: JBTM-1520
>                 URL: https://issues.jboss.org/browse/JBTM-1520
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Common
>    Affects Versions: 4.6.1.CP13
>            Reporter: Ivo Studensky
>            Assignee: Ivo Studensky
>             Fix For: 4.6.1.CP14
>
>
> If the path to arjuna configuration file contains unicode characters the XMLFilePlugin class fails to read it. XMLFilePlugin then calls DocumentBuilder#parse(String uri) which expects the argument being a valid URI. As long as URI spec does not support unicode chars the filename in XMLFilePlugin needs to be converted to a valid URI without any unicode/special characters. 
> Note that FileLocator.locateFile performs some conversions over the filename, but these do not seem to be enough.
> This bug prevents Arjuna from starting which subsequently prevents EAP from starting.

--
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 jbossts-issues mailing list