Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D4A77162 for ; Thu, 25 Aug 2011 07:12:59 +0000 (UTC) Received: (qmail 82158 invoked by uid 500); 25 Aug 2011 07:12:59 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 81571 invoked by uid 500); 25 Aug 2011 07:12:55 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 81533 invoked by uid 99); 25 Aug 2011 07:12:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 07:12:53 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 07:12:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2199ECE501 for ; Thu, 25 Aug 2011 07:12:29 +0000 (UTC) Date: Thu, 25 Aug 2011 07:12:29 +0000 (UTC) From: "Achim Nierbeck (JIRA)" To: issues@karaf.apache.org Message-ID: <208983606.12643.1314256349134.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1032417462.12595.1314255389269.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (KARAF-827) Karaf Web deployer (Pax-Web) always tries to deploy the deploy/README file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-827?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13090= 836#comment-13090836 ]=20 Achim Nierbeck commented on KARAF-827: -------------------------------------- good point, I'll open an issue at pax web for it :-) > Karaf Web deployer (Pax-Web) always tries to deploy the deploy/README fil= e > -------------------------------------------------------------------------= - > > 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=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Trivial > Fix For: 2.2.3, 3.0.0 > > > The Karaf web deployer (powered by Pax-Web) always try to deploy the depl= oy/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.w= eb.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.(ZipFile.java:127)[:1.6.0_26] > at java.util.jar.JarFile.(JarFile.java:135)[:1.6.0_26] > at java.util.jar.JarFile.(JarFile.java:99)[:1.6.0_26] > at org.ops4j.pax.web.deployer.internal.WarDeployer.canHandle(WarD= eployer.java:40)[78:org.ops4j.pax.web.pax-web-deployer:1.0.4] > at org.apache.felix.fileinstall.internal.DirectoryWatcher.findLis= tener(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(Dir= ectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10] > From a general purpose, the web deployer should check if the artifact han= dled is really a zip file and doesn't display the whole stack strace in tha= t case. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira