Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 14572 invoked from network); 7 Feb 2007 11:39:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 11:39:41 -0000 Received: (qmail 98040 invoked by uid 500); 7 Feb 2007 11:39:45 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 98013 invoked by uid 500); 7 Feb 2007 11:39:45 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 97995 invoked by uid 99); 7 Feb 2007 11:39:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 03:39:45 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mikhail.a.markov@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 03:39:35 -0800 Received: by ug-out-1314.google.com with SMTP id z36so137085uge for ; Wed, 07 Feb 2007 03:39:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=k1fSmk9gON61wAEcEZ91M5/6VyuM+0ZZkX45MPUr3K2GMdBOczMe7BFchOViwf7ZeAAhpLVdJDERUXg9dP35MweL+YpZ6YIazi+BI5PB89QKI1eLcDaMeMTRWdqGWWwsE73+ql0R1VxbEIywbPBISTWC7e/iclfhzETkZYYnd8Q= Received: by 10.82.118.2 with SMTP id q2mr1479003buc.1170848346547; Wed, 07 Feb 2007 03:39:06 -0800 (PST) Received: by 10.82.155.15 with HTTP; Wed, 7 Feb 2007 03:39:05 -0800 (PST) Message-ID: <51abf0750702070339h6a2c6ba0lba2d583380095e8f@mail.gmail.com> Date: Wed, 7 Feb 2007 14:39:05 +0300 From: "Mikhail Markov" To: dev@harmony.apache.org Subject: Re: [apps] Problem starting Geronimo 1.2 beta In-Reply-To: <124E895C-ABCF-459C-A932-26F5951A1257@pobox.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3460_16360864.1170848345975" References: <45C932AE.9000305@pobox.com> <68D2D9DF-C172-4398-AF44-583A887E540A@pobox.com> <51abf0750702070246x2f46e3f1w3d53eff99e18cd07@mail.gmail.com> <124E895C-ABCF-459C-A932-26F5951A1257@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3460_16360864.1170848345975 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, sure this is classloader problem, but MX4J has a nice mechanizm of choosing loggers: it either use the default java.util.logging, or, if 'mx4j.log.prototype' property is set, the logger specified in this property. Geronimo just hard-coded commons-logging and does not allow users to specify another logging facilities. If we could use j.u.l then Geronimo will probably start without problems. So, IMHO, partially this is also a Geronimo bug. Regards, Mikhail On 2/7/07, Geir Magnusson Jr. wrote: > > > On Feb 7, 2007, at 5:46 AM, Mikhail Markov wrote: > > > JFYI: there is also a specific JIRA in Geronimo describing the > > hardcoded > > commons-logging logger: http://issues.apache.org/jira/browse/ > > GERONIMO-2595. > > THanks - I linked that to HARMONY-1259. I don't think this is a > logging problem per se, but a classloader issue. > > > > Regards, > > Mikhail > > > > On 2/7/07, Geir Magnusson Jr. wrote: > >> > >> Ok - this is the old problem of hiding things on our bootclasspath > >> like mx4j from apps. G uses mx4j, and it looks for commons-logging. > >> > >> I'm going to start a new thread, because this is a problem... :/ > >> > >> On Feb 6, 2007, at 9:22 PM, Geir Magnusson Jr. wrote: > >> > >> > Yah, this is the same thing in > >> > > >> > http://issues.apache.org/jira/browse/HARMONY-1259 > >> > > >> > (and we can't seem to start JBoss either... :) > >> > > >> > > >> > On Feb 6, 2007, at 9:00 PM, Geir Magnusson Jr wrote: > >> > > >> >> I remember we had a similar looking problem a while ago, but I > >> >> thought it was solved. Building DRLVM+Classlib from SVN head, and > >> >> trying simply to start Geronimo 1.2 beta (tomcat version), I get > >> >> this : > >> >> > >> >> 01:53:58,407 ERROR [GBeanInstanceState] Error while starting; > >> >> GBean is now in the FAILED state: > >> >> abstractName="org.apache.geronimo.configs/rmi-naming/1.2-beta/car? > >> >> ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-beta/ > >> >> car,j2eeType=GBean,name=MBeanServerReference" > >> >> java.lang.NoClassDefFoundError: org/apache/commons/logging/ > >> LogFactory > >> >> at mx4j.log.Log.createLogger(Log.java:209) > >> >> at mx4j.log.Log.getLogger(Log.java:178) > >> >> at javax.management.MBeanServerFactory.getLogger > >> >> (MBeanServerFactory.java:34) > >> >> at javax.management.MBeanServerFactory.findMBeanServer > >> >> (MBeanServerFactory.java) > >> >> at > >> >> org.apache.geronimo.system.jmx.RealMBeanServerReference. > >> >> (RealMBeanServerReference.java:33) > >> >> at java.lang.reflect.VMReflection.newClassInstance > >> >> (VMReflection.java) > >> >> at java.lang.reflect.Constructor.newInstance > >> >> (Constructor.java:298) > >> >> at > >> >> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance > >> >> (GBeanInstance.java:921) > >> >> at > >> >> > >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart > >> >> (GBeanInstanceState.java:263) > >> >> at > >> >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start > >> >> (GBeanInstanceState.java:99) > >> >> at > >> >> > >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive > >> >> (GBeanInstanceState.java:120) > >> >> at > >> >> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive > >> >> (GBeanInstance.java:542) > >> >> at > >> >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean > >> >> (BasicKernel.java:378) > >> >> > >> >> > >> >> I'll start digging through JIRAs, but I thought we had this > >> solved. > >> >> > >> >> geir > >> > > >> > >> > > ------=_Part_3460_16360864.1170848345975--