Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 83676 invoked from network); 5 Dec 2005 18:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Dec 2005 18:43:12 -0000 Received: (qmail 46606 invoked by uid 500); 5 Dec 2005 18:42:58 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 46478 invoked by uid 500); 5 Dec 2005 18:42:58 -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 46405 invoked by uid 99); 5 Dec 2005 18:42:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 10:42:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.162.192 as permitted sender) Received: from [64.233.162.192] (HELO zproxy.gmail.com) (64.233.162.192) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 10:42:56 -0800 Received: by zproxy.gmail.com with SMTP id 9so977439nzo for ; Mon, 05 Dec 2005 10:42:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hoDROS3l5Lk2x+kUIXhti3RGSJ9ezioANbir2FhQ4s89E/bHGB34B/k5juUjCKWmXZs2jFAzPeLvk0zImZB9aofoBFO+zALYUolZcOid4bEYrjMrwbbrc+c3OQ1Vv9Aher55m5jOhHuUL/8oaY1tlW5Rw7XSFFjrQj01ngtMMJM= Received: by 10.36.224.26 with SMTP id w26mr5429330nzg; Mon, 05 Dec 2005 10:42:35 -0800 (PST) Received: by 10.37.13.69 with HTTP; Mon, 5 Dec 2005 10:42:35 -0800 (PST) Message-ID: <74e15baa0512051042o42481e53jd00063f43ee9b632@mail.gmail.com> Date: Mon, 5 Dec 2005 13:42:35 -0500 From: Aaron Mulder Sender: ammulder@gmail.com To: dev@geronimo.apache.org Subject: Re: Startup Warning related to running Tomcat Examples on Jetty In-Reply-To: <4394893B.7080001@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43945C9D.20409@earthlink.net> <4394664E.5060308@earthlink.net> <74e15baa0512050840q2d1c833eo17845bae4d8d05e0@mail.gmail.com> <4394893B.7080001@earthlink.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If there is no servlet name=3Dinvoker in the debug tool, then it seems like during WAR deployment we've constructed a GBean that depends on another GBean that doesn't exist, and I think you should definitely create a JIRA for that! Aaron On 12/5/05, Dave Colasurdo wrote: > Aaron Mulder wrote: > > The problem appears to be caused by: > > > > 09:24:21,347 DEBUG [GBeanSingleReference] Waiting to start > > geronimo.server:J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,Servlet=3D= invoker,WebFilter=3DServlet > > Mapped Filter,WebModule=3Dgeronimo/servlets-examples-jetty/1.0-SNAPSHOT= /car,j2eeType=3DWebFilterMapping > > > > because no targets are running for reference Servlet matching the patte= rns: > > geronimo.server:J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,WebModule= =3Dgeronimo/servlets-examples-jetty/1.0-SNAPSHOT/car,j2eeType=3DServlet,nam= e=3Dinvoker > > > > Can you look in the debug tool after it's running and check for > > "name=3Dinvoker" to see whether the GBean reference name is just a > > little off or something? > > > > I only see the following in the debug-tool.. > > J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,Servlet=3Dinvoker,WebFilter= =3DServletMappedFilter,WebModule=3Dgeronimo/servlets-examples-jetty/1.0-SNA= PSHOT/car,j2eeType=3DWebFilterMapping[starting] > > J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,URLPattern=3D"/servlet/\*",W= ebFilter=3DPathMappedFilter,WebModule=3Dgeronimo/servlets-examples-jetty/1.= 0-SNAPSHOT/car,j2eeType=3DWebFilterMapping[starting] > > > ObjectName: > geronimo.server:J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,Servlet=3Din= voker,WebFilter=3DServletMappedFilter,WebModule=3Dgeronimo/servlets-example= s-jetty/1.0-SNAPSHOT/car,j2eeType=3DWebFilterMapping > > ClassName: org.apache.geronimo.jetty.JettyFilterMapping > State: starting > > Attributes > Name Value > errorDispatch false > forwardDispatch false > includeDispatch false > requestDispatch true > urlPattern (null) > > This can be easily recreated on Jetty by applying GERONIMO-1258 (since > it predeploys the apps).. Or alternately by installing the war directly > from the ibiblio repo (link provided in earlier post).. > > The same application runs fine on Tomcat. Do you suspect an error in > the Geronimo code or in the application itself? Do I need to open a JIRA= ? > > > > > In any case, this is a real error, as I think it means some of the > > servlet filters for the application were not started. I wonder why we > > didn't barf during deployment? And I guess I also whonder why we > > don't refuse to start the application as a whole when part of it won't > > start, but that's a larger question. :) > > > > Aaron > > > > On 12/5/05, Dave Colasurdo wrote: > > > >>BTW, the war file (and the web.xml) are available at: > >> > >>http://www.ibiblio.org/maven/geronimo/wars/geronimo-servlet-examples-to= mcat-5.5.12.war > >> > >>Sorry that the original email spewed out the attachment in the text win= dow.. > >> > >>Dave Colasurdo wrote: > >> > >>>GERONIMO-1258 will introduce the tomcat examples into Geronimo. The > >>>examples seem to install and run fine on both Tomcat and Jetty. There > >>>is a warning message (see below) that is spit out during Jetty startup= . > >>> There is no such message for Tomcat. Can someone please help shed so= me > >>>light on why the warning is being emitted. I've attached the relevant > >>>portions of my geronimo.log. > >>> > >>>Thanks > >>>-Dave- > >>> > >>> > >>>Starting Geronimo Application Server > >>>[******************] 100% 27s Startup complete > >>> Listening on Ports: > >>> 1099 0.0.0.0 RMI Naming > >>> 1527 0.0.0.0 Derby Connector > >>> 4201 127.0.0.1 ActiveIO Connector EJB > >>> 4242 0.0.0.0 Remote Login Listener > >>> 8080 0.0.0.0 Jetty Connector HTTP > >>> 8443 0.0.0.0 Jetty Connector HTTPS > >>> 61616 0.0.0.0 ActiveMQ Message Broker Connector > >>> > >>> Started Application Modules: > >>> WAR: geronimo/uddi-jetty/1.0-SNAPSHOT/car > >>> WAR: geronimo/jsp-examples-jetty/1.0-SNAPSHOT/car > >>> RAR: geronimo/system-database/1.0-SNAPSHOT/car > >>> EAR: geronimo/webconsole-jetty/1.0-SNAPSHOT/car > >>> WAR: geronimo/welcome-jetty/1.0-SNAPSHOT/car > >>> RAR: geronimo/activemq/1.0-SNAPSHOT/car > >>> WAR: geronimo/servlets-examples-jetty/1.0-SNAPSHOT/car > >>> > >>> Web Applications: > >>> http://linux-009037214145:8080/ > >>> http://linux-009037214145:8080/console > >>> http://linux-009037214145:8080/console-standard > >>> http://linux-009037214145:8080/jsp-examples > >>> http://linux-009037214145:8080/juddi > >>> http://linux-009037214145:8080/servlets-examples > >>> > >>> WARNING: Some GBeans were not started successfully: > >>> > >>>geronimo.server:J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,Servlet= =3Dinvoker,WebFilter=3DServletMappedFilter,WebModule=3Dgeronimo/servlets-ex= amples-jetty/1.0-SNAPSHOT/car,j2eeType=3DWebFilterMapping(starting) > >>> > >>> > >>>geronimo.server:J2EEApplication=3Dnull,J2EEServer=3Dgeronimo,URLPatter= n=3D"/servlet/\*",WebFilter=3DPathMappedFilter,WebModule=3Dgeronimo/servlet= s-examples-jetty/1.0-SNAPSHOT/car,j2eeType=3DWebFilterMapping(starting) > >>> > >>> > >>>Geronimo Application Server started > >>> > >>> > >>> > >> > > > > >