You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Sylvain Wallez (JIRA)" <ji...@apache.org> on 2010/03/29 18:57:27 UTC
[jira] Closed: (COCOON-2286) Application does not start when the
context path contains spaces
[ https://issues.apache.org/jira/browse/COCOON-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Wallez closed COCOON-2286.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.12-dev (Current SVN)
Patch applied, with one minor modification: use specify the "UTF-8" charset rather than relying on the JVM's default encoding
> Application does not start when the context path contains spaces
> ----------------------------------------------------------------
>
> Key: COCOON-2286
> URL: https://issues.apache.org/jira/browse/COCOON-2286
> Project: Cocoon
> Issue Type: Bug
> Components: Blocks: Serializers
> Affects Versions: 2.1.11
> Reporter: Cédric Damioli
> Fix For: 2.1.12-dev (Current SVN)
>
> Attachments: CharsetFactory.java.patch
>
>
> When the CharsetFactory loads charsets from jar, the file path constructed from the jar URL may contains "%20" or other encoded special characters.
> An exception is thrown when the jar file is being accessed :
> Root cause: java.io.FileNotFoundException: D:\cocoon%20build\WEB-INF\lib\cocoon-serializers-charsets-2.1.11.jar (Le chemin d'accès spécifié est introuvable)
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> at java.util.zip.ZipFile.<init>(ZipFile.java:75)
> at org.apache.cocoon.components.serializers.encoding.CharsetFactory.loadCharsetsFromJar(CharsetFactory.java:130)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.