Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 33808 invoked from network); 7 Feb 2007 12:42:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 12:42:29 -0000 Received: (qmail 79918 invoked by uid 500); 7 Feb 2007 12:42:33 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 79891 invoked by uid 500); 7 Feb 2007 12:42:33 -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 79882 invoked by uid 99); 7 Feb 2007 12:42:33 -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 04:42:33 -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.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 04:42:24 -0800 Received: by ug-out-1314.google.com with SMTP id z36so147964uge for ; Wed, 07 Feb 2007 04:42:03 -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=nZL/aoOIzUclGi3sy3X/H4yriDz6yg4EFPbmSoUCdzR7MPiL8nIRtZBosgTE93jW2N4RJUxaxWcpKZHlOMVZRUkiIfO1rTAxge3/79+syXucRwViou4nQ8+bFSxu10Yh7DxipCUhMGfTU1xuzBq6eXP7NNjm3aykrfQvYhfa7WQ= Received: by 10.82.152.16 with SMTP id z16mr2346023bud.1170852113986; Wed, 07 Feb 2007 04:41:53 -0800 (PST) Received: by 10.82.155.15 with HTTP; Wed, 7 Feb 2007 04:41:53 -0800 (PST) Message-ID: <51abf0750702070441m59c1ef2fq7b78e5b02016d8e1@mail.gmail.com> Date: Wed, 7 Feb 2007 15:41:53 +0300 From: "Mikhail Markov" To: dev@harmony.apache.org Subject: Re: [apps] Problem starting Geronimo 1.2 beta In-Reply-To: <27D5D7D7-3690-432C-B5A9-50C8F3897855@pobox.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4472_33464492.1170852113936" References: <45C932AE.9000305@pobox.com> <68D2D9DF-C172-4398-AF44-583A887E540A@pobox.com> <51abf0750702070246x2f46e3f1w3d53eff99e18cd07@mail.gmail.com> <124E895C-ABCF-459C-A932-26F5951A1257@pobox.com> <51abf0750702070339h6a2c6ba0lba2d583380095e8f@mail.gmail.com> <51abf0750702070423k40c375c0u4b03f7c8c369f67a@mail.gmail.com> <27D5D7D7-3690-432C-B5A9-50C8F3897855@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4472_33464492.1170852113936 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/7/07, Geir Magnusson Jr. wrote: > > > On Feb 7, 2007, at 7:23 AM, Mikhail Markov wrote: > > >> Why? This code runs perfectly fine on the RI. At best, you might > >> argue it's not good design on G's part, but they hard-coded clogging > >> for a reason. > > RI does not have MX4J in bootclasspath. If you put it there - > > Geronimo will > > fail as well. > > I know. But the fact that we are using mx4j as our jmx > implementation shouldn't affect applications. So we have to make it > appear that mx4j isn't there > > >> Note that when I do drop clogging into the boootclasspath, Geronimo > >> still doesn't start :) > > Well, there are some other open issues against Geronimo which could > > prevents it from starting on non-RI JDKs :-) > > See, for example, http://issues.apache.org/jira/browse/GERONIMO-2015, > > http://issues.apache.org/jira/browse/GERONIMO-1804, > > The first shouldn't stop it from coming up. The second seems to, but > we can solve that w/ an addition to our suncompat package, right? We could workaround everything :-) but as Geronimo is an Apache project it seems more natural to me to influence them fixing this issue, moreover hadcoding name of JNDI provider is not a good thing anyway. Regards, Mikhail geir > > > > > Regards, > > Mikhail > > > > On 2/7/07, Geir Magnusson Jr. wrote: > >> > >> > >> On Feb 7, 2007, at 6:39 AM, Mikhail Markov wrote: > >> > >> > 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. > >> > >> Why? This code runs perfectly fine on the RI. At best, you might > >> argue it's not good design on G's part, but they hard-coded clogging > >> for a reason. > >> > >> Note that when I do drop clogging into the boootclasspath, Geronimo > >> still doesn't start :) > >> > >> geir > >> > >> > >> > > >> > 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_4472_33464492.1170852113936--