Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 10325 invoked from network); 27 Nov 2009 08:40:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Nov 2009 08:40:34 -0000 Received: (qmail 23371 invoked by uid 500); 27 Nov 2009 08:40:34 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 23292 invoked by uid 500); 27 Nov 2009 08:40:34 -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 23284 invoked by uid 99); 27 Nov 2009 08:40:34 -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:40:34 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.61] (HELO smtp106.prem.mail.sp1.yahoo.com) (98.136.44.61) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 27 Nov 2009 08:40:25 +0000 Received: (qmail 33058 invoked from network); 27 Nov 2009 08:40:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=WdhCh48Txw68zPhKMBwKhT7fFJvEdiV6YBXiV52UtmVZgjGsbOxFLUmokSOx0kp+NpDabw3CWmU1WRY9rqmgfZDTW7LEl7nW34jnR9w+v3lLyzP/rr3fh8Xj2bbAO83bRIEnfJ4D2EfRKYJ9PgvIlUYYvLjWEAtJCYTsHL9nI7g= ; Received: from 076-076-148-215.pdx.net (david_jencks@76.76.148.215 with plain) by smtp106.prem.mail.sp1.yahoo.com with SMTP; 27 Nov 2009 00:40:02 -0800 PST X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: _pKhH90VM1n.6EcdpEFPHXpQF0OrRvEV1LGqU3ryiqaUCOYuDLEK8AKcLll6509W_49HUthEdKd2NTkErWuQKpzgaWRAI8cbofQ1DotrD98aPHeTm2ubevVV8.3mEhvVt4wL.f2VK0ipAGS8cTRlKr5OhM89kmIu6hyk2hPU4Fvw6g5OMjXLKuKSJAXA33hB4VaodotR2OA5auFGMUbDit5nWbXJKFTTtahRpL2XN_D.Rvrosnlmk4mJvnLj5garcUigUfFkusKEqZFifjtwmuVTiD4h1RZM7X4UllC5qxuPNiOccihizN6ZDHtKgL8F33qyRpt_479t7Px0DROXPqi1QC6Xcge5ciqE.b0AwpTUvBY- X-Yahoo-Newman-Property: ymail-3 Message-Id: <26845F86-177F-490E-9570-F4DC4132185D@yahoo.com> From: David Jencks To: dev@geronimo.apache.org In-Reply-To: <432b67430911270016v598b795u96ba9e017b06b51e@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: minimal tomcat server is assembled, but failed on starting module tomcat6 Date: Fri, 27 Nov 2009 00:40:00 -0800 References: <432b67430911191951u355c9d4co463ab25d7c9fd622@mail.gmail.com> <7670D0FB-50BB-48FC-9A29-CE92D569D0D4@yahoo.com> <5eb405c70911250903n3fe6446asf30a9a51efe87610@mail.gmail.com> <432b67430911270016v598b795u96ba9e017b06b51e@mail.gmail.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure if this is the problem you are seeing.... Previously when we were unpacking plugins we supplied the file system location of the unpacked web app (inside the plugin) to the web container. IMO this isn't appropriate when using a packed war in osgi. We may have to fix tomcat so it doesn't think it needs this file system location. I haven't seen a problem in jetty 8 from this but thought there were problems earlier in jetty 5 or 6 when we left it out. thanks david jencks On Nov 27, 2009, at 12:16 AM, Forrest Xia wrote: > 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