[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] javax.servlet.UnavailableException: No class for Servlet or Filter
|
Hi,
We are looking to replace our current Resin servers with Jetty, so I
have been tasked with doing Jetty testing. I am having trouble with
starting an instance of Jetty, not embedded, using a pre-exploded
ROOT.war file in the webapps dir.
starting jetty using :
[me@server]$ java -jar start.jar etc/jetty.xml etc/jetty-logging.xml
OPTIONS=All
what happens is I get this :
2 [main] INFO org.eclipse.jetty.util.log - Logging to
org.slf4j.impl.SimpleLogger(org.eclipse.jetty.util.log) via
org.eclipse.jetty.util.log.Slf4jLog
149 [main] INFO org.eclipse.jetty.util.log - jetty-7.0.1.v20091125
234 [main] INFO org.eclipse.jetty.util.log -
Deploy /home/user/jetty/contexts/internalTest.xml ->
WebAppContext@b6e39f@b6e39f/,file:/home/user/jetty/webapps/ROOT/
com.internalTest.resources.CommonProps: initializing
.... and it loads all of my intialization properties files fine, then I
get this :
Logger instatiation starting
(file:/home/user/jetty/webapps/ROOT/WEB-INF/classes/com/internalTest/resources/Logger.xml) ...
3467 [main] WARN org.eclipse.jetty.util.log - FAILED null:
javax.servlet.UnavailableException: No class for Servlet or Filter
3467 [main] WARN org.eclipse.jetty.util.log - Failed startup of context
WebAppContext@b6e39f@b6e39f/,file:/home/user/jetty/webapps/ROOT/,file:/home/user/jetty/webapps/ROOT/
javax.servlet.UnavailableException: No class for Servlet or Filter
at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:67) at
org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:58)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:193)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:978)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
at org.eclipse.jetty.server.Server.doStart(Server.java:228)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.xml.XmlConfiguration
$1.run(XmlConfiguration.java:990)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:955)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:394)
at org.eclipse.jetty.start.Main.start(Main.java:546)
at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:208)
at org.eclipse.jetty.start.Main.main(Main.java:75)
I do then end up with a :
5609 [main] INFO org.eclipse.jetty.util.log -
Opened /home/orion/jetty/logs/2011_02_24.request.log
5627 [main] INFO org.eclipse.jetty.util.log - Started
SelectChannelConnector@0.0.0.0:10881
but it is not accesible.
Can someone please point me in the right direction?
thanks for any help,
Richard