There's already a jira to point out that the jetty builder doesn't
check referential integrity of web.xml. Could you check that the
web.xml is actually consistent?
thanks
david jencks
On Dec 5, 2005, at 10:42 AM, Aaron Mulder wrote:
If there is no servlet name=invoker 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 <[EMAIL PROTECTED]> wrote:
Aaron Mulder wrote:
The problem appears to be caused by:
09:24:21,347 DEBUG [GBeanSingleReference] Waiting to start
geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,Servlet=invoker,WebFilter=Se
rvlet
Mapped
Filter,WebModule=geronimo/servlets-examples-jetty/1.0-SNAPSHOT/
car,j2eeType=WebFilterMapping
because no targets are running for reference Servlet matching the
patterns:
geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,WebModule=geronimo/
servlets-examples-jetty/1.0-SNAPSHOT/
car,j2eeType=Servlet,name=invoker
Can you look in the debug tool after it's running and check for
"name=invoker" to see whether the GBean reference name is just a
little off or something?
I only see the following in the debug-tool..
J2EEApplication=null,J2EEServer=geronimo,Servlet=invoker,WebFilter=Ser
vletMappedFilter,WebModule=geronimo/servlets-examples-jetty/1.0-
SNAPSHOT/car,j2eeType=WebFilterMapping[starting]
J2EEApplication=null,J2EEServer=geronimo,URLPattern="/servlet/
\*",WebFilter=PathMappedFilter,WebModule=geronimo/servlets-examples-
jetty/1.0-SNAPSHOT/car,j2eeType=WebFilterMapping[starting]
ObjectName:
geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,Servlet=invoker,WebFilter=Ser
vletMappedFilter,WebModule=geronimo/servlets-examples-jetty/1.0-
SNAPSHOT/car,j2eeType=WebFilterMapping
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 <[EMAIL PROTECTED]> wrote:
BTW, the war file (and the web.xml) are available at:
http://www.ibiblio.org/maven/geronimo/wars/geronimo-servlet-
examples-tomcat-5.5.12.war
Sorry that the original email spewed out the attachment in the text
window..
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
some
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=null,J2EEServer=geronimo,Servlet=invoker,WebFilter=
ServletMappedFilter,WebModule=geronimo/servlets-examples-jetty/
1.0-SNAPSHOT/car,j2eeType=WebFilterMapping(starting)
geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,URLPattern="/servlet/
\*",WebFilter=PathMappedFilter,WebModule=geronimo/servlets-
examples-jetty/1.0-SNAPSHOT/
car,j2eeType=WebFilterMapping(starting)
Geronimo Application Server started