Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 74703 invoked from network); 14 Mar 2008 21:53:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2008 21:53:43 -0000 Received: (qmail 90005 invoked by uid 500); 14 Mar 2008 21:53:39 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 89981 invoked by uid 500); 14 Mar 2008 21:53:39 -0000 Mailing-List: contact scm-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 scm@geronimo.apache.org Received: (qmail 89972 invoked by uid 99); 14 Mar 2008 21:53:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2008 14:53:39 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2008 21:52:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5B3901A9832; Fri, 14 Mar 2008 14:53:00 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r637286 - /geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java Date: Fri, 14 Mar 2008 21:53:00 -0000 To: scm@geronimo.apache.org From: gawor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080314215300.5B3901A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gawor Date: Fri Mar 14 14:52:58 2008 New Revision: 637286 URL: http://svn.apache.org/viewvc?rev=637286&view=rev Log: changed log.error to log.debug and 'cannot install plugin' to 'plugin is not installable' (GERONIMO-3807) Modified: geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java Modified: geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=637286&r1=637285&r2=637286&view=diff ============================================================================== --- geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java (original) +++ geronimo/server/trunk/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java Fri Mar 14 14:52:58 2008 @@ -879,7 +879,7 @@ } } if (!upgrade) { - log.info("Configuration " + artifact + " is already installed."); + log.debug("Configuration " + artifact + " is already installed."); throw new MissingDependencyException( "Configuration " + artifact + " is already installed.", toArtifact(metadata.getModuleId()), (Stack) null); } @@ -888,15 +888,14 @@ // 2. Check that we meet the Geronimo, JVM versions if (metadata.getGeronimoVersion().size() > 0 && !checkGeronimoVersions(metadata.getGeronimoVersion())) { - log.error("Cannot install plugin " + toArtifact(metadata.getModuleId()) + " on Geronimo " + serverInfo.getVersion()); + log.debug("Plugin " + toArtifact(metadata.getModuleId()) + " is not installable on Geronimo " + serverInfo.getVersion()); throw new MissingDependencyException( - "Cannot install plugin on Geronimo " + serverInfo.getVersion(), toArtifact(metadata.getModuleId()), (Stack) null); + "Plugin is not installable on Geronimo " + serverInfo.getVersion(), toArtifact(metadata.getModuleId()), (Stack) null); } if (metadata.getJvmVersion().size() > 0 && !checkJVMVersions(metadata.getJvmVersion())) { - log.error("Cannot install plugin " + toArtifact(metadata.getModuleId()) + " on JVM " + System.getProperty( - "java.version")); + log.debug("Plugin " + toArtifact(metadata.getModuleId()) + " is not installable on JVM " + System.getProperty("java.version")); throw new MissingDependencyException( - "Cannot install plugin on JVM " + System.getProperty("java.version"), toArtifact(metadata.getModuleId()), (Stack) null); + "Plugin is not installable on JVM " + System.getProperty("java.version"), toArtifact(metadata.getModuleId()), (Stack) null); } }