[jboss-jira] [JBoss JIRA] Reopened: (JBAS-3701) SystemPropertiesService does not properly generate server path on windows

Anil Saldhana (JIRA) jira-events at jboss.com
Fri Sep 29 12:02:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3701?page=all ]

Anil Saldhana reopened JBAS-3701:
---------------------------------

             
The real issue is that the string replaced "jboss.server.home.dir" (eg: c:\something\something) goes through the call [string.getBytes("iso-8888-xxx")]  is stripped off the slashes and the end result is:

Csomethingsomething/log


> SystemPropertiesService does not properly generate server path on windows
> -------------------------------------------------------------------------
>
>                 Key: JBAS-3701
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3701
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Other
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Anil Saldhana
>             Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.6.CR1
>
>
>   <mbean code="org.jboss.varia.property.SystemPropertiesService"
>     name="jboss:type=Service,name=SystemProperties">
>     <attribute name="Properties" replace="false"> 
>          log.file.location=${jboss.server.home.dir}/log 
>     </attribute>
>   </mbean>
> The jboss.server.home.dir is not string replaced properly on windows.
> I suspect it to be related to the Property class in the Jboss common module.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list