Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Unexpected issues with RC4

I'm testing out 7.0.0 RC4, hightide distribution, and I found some unexpected issues using the default start.ini "OPTIONS=Server,plus,jta,jdbc,annotations,jsp".

First, when my webapp starts I get the warning "INFO::NO JSP Support for /idp, did not find org.apache.jasper.servlet.JspServlet". Shouldn't JSP support be enabled since it's listed in the start.ini?

Second, an application, I believe it's the one being mounted at '/' attempts to start up you get this log message "NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet". Note the lack of the context path. It's somewhat confusing.

Lastly, when, what I believe is the root context, is starting up the following error is reported. Note that JavaMail jar is in the lib/jndi directory. If this context is going to be deployed by default then something probably needs to be added to the default start options.

--- ERROR ---
2009-08-19 12:04:55.439:WARN::Error starting handlers
java.lang.NoClassDefFoundError: javax/mail/Message
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at org.eclipse.jetty.servlet.Holder.newInstance(Holder.java:156)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:398) at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:245) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:690) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:193) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:912) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:340) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:164) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:164) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
    at org.eclipse.jetty.server.Server.doStart(Server.java:232)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56) 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:422)
    at org.eclipse.jetty.start.Main.start(Main.java:559)
    at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:155)
    at org.eclipse.jetty.start.Main.main(Main.java:71)
Caused by: java.lang.ClassNotFoundException: javax.mail.Message
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:307) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:269)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 34 more
--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
chad.lajoie@xxxxxxxxx, http://www.switch.ch



Back to the top