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

Hi Chad,

I just downloaded RC4 and unzipped it, then ran it with:

java -jar start.jar

I don't see any errors. I also copied a .jsp file into the
test webapp war and re-ran and I still don't see any errors.

Can you report what startup line you were using, and any modifications you may have made to the setup from the
standard distro? Also your jvm version and platform too.


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

Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx |

Back to the top