Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 4596 invoked from network); 27 Nov 2009 08:17:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Nov 2009 08:17:12 -0000 Received: (qmail 97390 invoked by uid 500); 27 Nov 2009 08:17:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 97291 invoked by uid 500); 27 Nov 2009 08:17:10 -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 97283 invoked by uid 99); 27 Nov 2009 08:17:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2009 08:17:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of forrestxm@gmail.com designates 209.85.222.190 as permitted sender) Received: from [209.85.222.190] (HELO mail-pz0-f190.google.com) (209.85.222.190) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2009 08:17:01 +0000 Received: by pzk28 with SMTP id 28so1071853pzk.27 for ; Fri, 27 Nov 2009 00:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=c7P10A/691Yq5OvplV4SFTD+RfZQ8z+u6OxvTEHhuvg=; b=N5n2nEdoePyq74QV7nqUb5sqa/PXfJONIt0T3HqDA86Bo4bUDW/Eg/n8W5U/FkyMhS cTGnguy/9DphIy52c6C9JwtAdenC6mKAPw/HOhtQvWH1v6ZeQnQM8sb8UmzBVIhyLPBN qv4BOYg2KlFuDRWBVfVJ8vq5bx17wd3uFmFIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=P5nsiEK5hWAUfYrfKB2MKpwL7JK41JmrP3WNKKzSW2FUeUvWzG1S29Z1alq3yYYjtT 99jPjUTVS6MoEClWo7bOhvzbi7vOmgtTNfBf6ZUTOsd6CjsLWgvd6tREwwCh1A03ngmo O42eqycXVgFXxBX5u4K3xyP1/yCFtaIQa0B1Q= MIME-Version: 1.0 Received: by 10.142.119.20 with SMTP id r20mr70421wfc.303.1259309800348; Fri, 27 Nov 2009 00:16:40 -0800 (PST) In-Reply-To: <5eb405c70911250903n3fe6446asf30a9a51efe87610@mail.gmail.com> References: <432b67430911191951u355c9d4co463ab25d7c9fd622@mail.gmail.com> <7670D0FB-50BB-48FC-9A29-CE92D569D0D4@yahoo.com> <5eb405c70911250903n3fe6446asf30a9a51efe87610@mail.gmail.com> Date: Fri, 27 Nov 2009 16:16:40 +0800 Message-ID: <432b67430911270016v598b795u96ba9e017b06b51e@mail.gmail.com> Subject: Re: minimal tomcat server is assembled, but failed on starting module tomcat6 From: Forrest Xia To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=001636e0b6b34fdd47047955e99f X-Virus-Checked: Checked by ClamAV on apache.org --001636e0b6b34fdd47047955e99f Content-Type: text/plain; charset=ISO-8859-1 Hi Jarek, Yes, as you pointed out, the classes in util bundle use many classes not imported by the util bundle, that caused resources not found and class not found exceptions when booting the tomcat server. Follow your instructions, I unified StringManager class in catalina bundle and finally add DynamicImport-Package * to util pom. then the server can start now, and seems http port is open on 8080 as well. But I noticed an error msg printed out on the console: [********************************* ] 84% 7s Starting org.apache.ger...2009-11-27 16:06:22,011 ERROR [GlobalResourcesLifecycleListener] No global naming context defined for server I googled for a while, not find any clue about it. After that, I tried to load the welcome-tomcat car, it failed with exception as follows: ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/welcome-tomcat/3.0-SNAPSHOT/car?J2EEApplication=null,j2eeType=WebModule,name=org.apache.geronimo.configs/welcome-tomcat/3.0-SNAPSHOT/car" java.lang.NullPointerException at org.apache.geronimo.tomcat.TomcatWebAppContext.(TomcatWebAppContext.java:172) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:917) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:530) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:385) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:223) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:715) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:149) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:81) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:109) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32) Any comments? Forrest --001636e0b6b34fdd47047955e99f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Jarek,

Yes, as you pointed out, the classes in util bundle use ma= ny classes not imported by the util bundle, that caused resources not found= and class not found exceptions when booting the tomcat server.

Foll= ow your instructions, I unified StringManager class in catalina bundle and = finally add DynamicImport-Package * to util pom. then the server can start = now, and seems http port is open on 8080 as well.

But I noticed an error msg printed out on the console:
[************= *********************=A0=A0=A0=A0=A0=A0 ]=A0 84%=A0=A0 7s Starting org.apac= he.ger...2009-11-27 16:06:22,011 ERROR [GlobalResourcesLifecycleListener] N= o global naming context defined for server

I googled for a while, not find any clue about it.

After that, I= tried to load the welcome-tomcat car, it failed with exception as follows:=
ERROR [GBeanInstanceState] Error while starting; GBean is now in the FA= ILED state: abstractName=3D"org.apache.geronimo.configs/welcome-tomcat= /3.0-SNAPSHOT/car?J2EEApplication=3Dnull,j2eeType=3DWebModule,name=3Dorg.ap= ache.geronimo.configs/welcome-tomcat/3.0-SNAPSHOT/car"
java.lang.NullPointerException
=A0=A0=A0 at org.apache.geronimo.tomcat.T= omcatWebAppContext.<init>(TomcatWebAppContext.java:172)
=A0=A0=A0 = at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)=A0=A0=A0 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC= onstructorAccessorImpl.java:39)
=A0=A0=A0 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele= gatingConstructorAccessorImpl.java:27)
=A0=A0=A0 at java.lang.reflect.Co= nstructor.newInstance(Constructor.java:513)
=A0=A0=A0 at org.apache.xbea= n.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)<= br> =A0=A0=A0 at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectReci= pe.java:276)
=A0=A0=A0 at org.apache.xbean.recipe.AbstractRecipe.create(= AbstractRecipe.java:96)
=A0=A0=A0 at org.apache.xbean.recipe.AbstractRec= ipe.create(AbstractRecipe.java:61)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance= (GBeanInstance.java:917)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.= GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
=A0=A0= =A0 at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInst= anceState.java:103)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanIns= tance.java:530)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanDepe= ndency.attemptFullStart(GBeanDependency.java:110)
=A0=A0=A0 at org.apach= e.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145= )
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GB= eanDependency.java:119)
=A0=A0=A0 at org.apache.geronimo.kernel.basic.Ba= sicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
=A0= =A0=A0 at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300= (BasicLifecycleMonitor.java:44)
=A0=A0=A0 at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLife= cycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
=A0=A0= =A0 at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStar= t(GBeanInstanceState.java:295)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBe= anInstanceState.java:103)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime= .GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
=A0=A0= =A0 at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBean= Instance.java:544)
=A0=A0=A0 at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBe= an(BasicKernel.java:385)
=A0=A0=A0 at org.apache.geronimo.kernel.config.= ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461)
= =A0=A0=A0 at org.apache.geronimo.kernel.config.KernelConfigurationManager.s= tart(KernelConfigurationManager.java:223)
=A0=A0=A0 at org.apache.geronimo.kernel.config.SimpleConfigurationManager.s= tartConfiguration(SimpleConfigurationManager.java:715)
=A0=A0=A0 at org.= apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:14= 9)
=A0=A0=A0 at org.apache.geronimo.system.main.EmbeddedDaemon.execute(E= mbeddedDaemon.java:81)
=A0=A0=A0 at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.jav= a:109)
=A0=A0=A0 at org.apache.geronimo.cli.AbstractCLI.executeMain(Abst= ractCLI.java:65)
=A0=A0=A0 at org.apache.geronimo.cli.daemon.DaemonCLI.m= ain(DaemonCLI.java:32)

Any comments?

Forrest
--001636e0b6b34fdd47047955e99f--