[jboss-jira] [JBoss JIRA] Updated: (JBASM-11) Deploying ZIP/JAR files with some non-alphabetical symbols in the path leads to exception

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Wed Aug 13 22:37:40 EDT 2008


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

Shelly McGowan updated JBASM-11:
--------------------------------


This has to do with URL decoding.   When decoded, the  + is replaced with a space.  If I encode the + in the jboss-service.xml, the connection is OK, but the archive will later fail to deploy:
TRACE:  checking if this is a valid URL: file:/tmp/build-capri/eds-server/deploy/Raw%2BData%2BLoad
TRACE: if that was oK, try url.openConnection: org.jboss.net.protocol.file.FileURLConnection:file:/tmp/build-capri/eds-server/deploy/Raw%2BData%2BLoad
TRACE:  if that was OK, try to connect:
TRACE:  Connect succeeded

Similar issues with this have been seen with JBoss as noted in:
https://jira.jboss.org/jira/browse/JBAS-363?focusedCommentId=12311703#action_12311703
There is a workaround noted but still does not seem to fully resolve the issue.  

> Deploying ZIP/JAR files with some non-alphabetical symbols in the path leads to exception
> -----------------------------------------------------------------------------------------
>
>                 Key: JBASM-11
>                 URL: https://jira.jboss.org/jira/browse/JBASM-11
>             Project: JBoss AS Server Manager
>          Issue Type: Bug
>         Environment: JBoss 4.2.2.GA
>            Reporter: Alexey Raskin
>            Assignee: Shelly McGowan
>         Attachments: jboss-service.xml
>
>
> During deployment of ZIP or JAR files to server in case URL contains some non-alphabetical symbols like; '+', '%', etc. we see exception:
> ..
> Caused by: org.jboss.deployment.DeploymentException: url file:/C:/build-capri/eds-server/deploy/Raw+Data+Load/dataload/xml/1996_update.zip could not be opened, does it exist? 
> ...
> We didn't see such exception in previous versions of JBoss.
> We also don't see such exception for any files other than ZIP or JAR.
> Archives are OK, I can un-zip them using JAR.EXE utility
> Please see details at:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140066

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