[jboss-jira] [JBoss JIRA] Commented: (JBAS-7076) DeploymentTemplate temp file url is not escaped properly

Bruno Georges (JIRA) jira-events at lists.jboss.org
Mon Nov 2 04:44:05 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492535#action_12492535 ] 

Bruno Georges commented on JBAS-7076:
-------------------------------------

There is a similar problem when creating Queues/Topics. I just checked on linux and it works fine. It seems to be a Mac only issues as I use a Mac also.

Caused by: java.io.FileNotFoundException: /var/folders/Wl/Wl6JOi9CE0uMVVy-vzMO8U   TI/-Tmp-/JmsDestinationTemplate6461912720237720364-service.xml


> DeploymentTemplate temp file url is not escaped properly
> --------------------------------------------------------
>
>                 Key: JBAS-7076
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7076
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ProfileService
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: Scott M Stark
>            Assignee: Scott M Stark
>
> The DsDataSourceTemplate applyTemplate method is creating a temp file, but somewhere the file url is not being properly escaped (at least on mac os x), as a temp file name of
> /var/folders/jY/jY1BDqLkHKO+a4nm+GooZE+++TI/-Tmp-/DsDataSourceTemplate9162352335796065232-ds.xml
> is created, but when the file is accessed by the vfs, it fails with:
> java.io.FileNotFoundException: /var/folders/jY/jY1BDqLkHKO a4nm GooZE   TI/-Tmp-/DsDataSourceTemplate9162352335796065232-ds.xml

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

        



More information about the jboss-jira mailing list