Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 26481 invoked from network); 16 Feb 2011 15:28:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2011 15:28:22 -0000 Received: (qmail 49758 invoked by uid 500); 16 Feb 2011 15:28:22 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 49358 invoked by uid 500); 16 Feb 2011 15:28:19 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 49346 invoked by uid 99); 16 Feb 2011 15:28:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 15:28:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 16 Feb 2011 15:28:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 722331A81F7 for ; Wed, 16 Feb 2011 15:27:57 +0000 (UTC) Date: Wed, 16 Feb 2011 15:27:57 +0000 (UTC) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Message-ID: <2123917475.20823.1297870077464.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <19473474.54931295425723253.JavaMail.jira@thor> Subject: [jira] Commented: (GERONIMO-5765) Display a warning message when web application is deployed with WAB manifest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995339#comment-12995339 ] Jarek Gawor commented on GERONIMO-5765: --------------------------------------- I believe you are right about GEP calling Deployer. But there is no need to open the jar file on each deploy and read its manifest. We only need to do that for web applications. Unless we want to make this very generic and check every module for basic OSGi manifest and warn that for example "Deploying module as a regular Java EE application. Its existing OSGi manifest will be ignored". I'm ok with the generic approach just make sure to close the JarFile :) and check for Bundle-SymbolicName header only. Also, the change to DeploymentPortlet is unnecessary - just checking the extension is insufficient. > Display a warning message when web application is deployed with WAB manifest > ---------------------------------------------------------------------------- > > Key: GERONIMO-5765 > URL: https://issues.apache.org/jira/browse/GERONIMO-5765 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0-M2, 3.0 > Reporter: viola.lu > Assignee: Rex Wang > Fix For: 3.0-M2, 3.0 > > > Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB. > So display a warning message to inform users. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira