Skip to main content

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

A bit more. The no class def error is not associated with the loading of the root context. I removed that context and still ended up with the same error. Should have tested that first, sorry.

Chad La Joie wrote:
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(
    at java.lang.Class.getConstructor0(
    at java.lang.Class.newInstance0(
    at java.lang.Class.newInstance(
    at org.eclipse.jetty.servlet.Holder.newInstance(
at org.eclipse.jetty.servlet.ServletHolder.initServlet( at org.eclipse.jetty.servlet.ServletHolder.doStart( at org.eclipse.jetty.util.component.AbstractLifeCycle.start( at org.eclipse.jetty.servlet.ServletHandler.initialize( at org.eclipse.jetty.servlet.ServletContextHandler.startContext( at org.eclipse.jetty.webapp.WebAppContext.startContext( at org.eclipse.jetty.server.handler.ContextHandler.doStart( at org.eclipse.jetty.webapp.WebAppContext.doStart( at org.eclipse.jetty.util.component.AbstractLifeCycle.start( at org.eclipse.jetty.server.handler.HandlerCollection.doStart( at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart( at org.eclipse.jetty.util.component.AbstractLifeCycle.start( at org.eclipse.jetty.server.handler.HandlerCollection.doStart( at org.eclipse.jetty.util.component.AbstractLifeCycle.start( at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(
    at org.eclipse.jetty.server.Server.doStart(
at org.eclipse.jetty.util.component.AbstractLifeCycle.start( at org.eclipse.jetty.xml.XmlConfiguration$
    at Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.jetty.start.Main.invokeMain(
    at org.eclipse.jetty.start.Main.start(
    at org.eclipse.jetty.start.Main.parseCommandLine(
    at org.eclipse.jetty.start.Main.main(
Caused by: java.lang.ClassNotFoundException: javax.mail.Message
    at Method)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass( at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClassInternal(
    ... 34 more

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

Back to the top