You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Achim Nierbeck (JIRA)" <ji...@apache.org> on 2011/08/25 21:14:29 UTC

[jira] [Assigned] (KARAF-827) Karaf Web deployer (Pax-Web) always tries to deploy the deploy/README file

     [ https://issues.apache.org/jira/browse/KARAF-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck reassigned KARAF-827:
------------------------------------

    Assignee: Achim Nierbeck  (was: Jean-Baptiste Onofré)

> Karaf Web deployer (Pax-Web) always tries to deploy the deploy/README file
> --------------------------------------------------------------------------
>
>                 Key: KARAF-827
>                 URL: https://issues.apache.org/jira/browse/KARAF-827
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-webcontainer
>    Affects Versions: 2.2.2
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Achim Nierbeck
>            Priority: Trivial
>             Fix For: 2.2.3, 3.0.0
>
>
> The Karaf web deployer (powered by Pax-Web) always try to deploy the deploy/README file:
> 2011-08-25 08:52:30,219 | DEBUG | raf-2.2.2/deploy | WarDeployer                      | eb.deployer.internal.WarDeployer   62 | 78 - org.ops4j.pax.web.pax-web-deployer - 1.0.4 | Can't handle file README
> java.util.zip.ZipException: error in opening zip file
>         at java.util.zip.ZipFile.open(Native Method)[:1.6.0_26]
>         at java.util.zip.ZipFile.<init>(ZipFile.java:127)[:1.6.0_26]
>         at java.util.jar.JarFile.<init>(JarFile.java:135)[:1.6.0_26]
>         at java.util.jar.JarFile.<init>(JarFile.java:99)[:1.6.0_26]
>         at org.ops4j.pax.web.deployer.internal.WarDeployer.canHandle(WarDeployer.java:40)[78:org.ops4j.pax.web.pax-web-deployer:1.0.4]
>         at org.apache.felix.fileinstall.internal.DirectoryWatcher.findListener(DirectoryWatcher.java:467)[6:org.apache.felix.fileinstall:3.1.10]
>         at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:415)[6:org.apache.felix.fileinstall:3.1.10]
>         at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
> From a general purpose, the web deployer should check if the artifact handled is really a zip file and doesn't display the whole stack strace in that case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira