Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Re: Jetty 7.0.0.pre5 Issue running from script missing method LogFactory.setLogImplClassName

We do plan on upgrading to the latest Jetty release eventually (but we're heavily invested in the old Suspend Servlet COMETD implementation using the pre Servlet 3.0 API).

is there a way to configure the order of the JETTY server's classpath, other than what seems like them being included alphabetically from the jars in the JETTY_HOME/lib folder, what's the best approach to include external libraries (we have some custom JAAS classes and logging classes).

~ doug daniels


Jetty-7.0.0.pre5 is now a dead branch, so you might like to try some
of the newer pre-releases at Eclipse - the most recent is RC3, but
as we speak we're doing an RC4. Here's the download link:

In your pre5 distro, your jsp-2.1 directory should look like:
|-- ant-1.6.5.jar
|-- core-3.1.1.jar
|-- jsp-2.1-glassfish-9.1.1.B51.p0.jar
|-- jsp-2.1-jetty-7.0.0.pre5.jar
`-- jsp-api-2.1-glassfish-9.1.1.B51.p0.jar

The jsp-2.1-jetty-7.0.0.pre5.jar contains a bridging class from commons
logging as used in the jsp engine to the jetty logger.


On Mon, Aug 17, 2009 at 9:44 PM, Doug Daniels <daniels.douglas@xxxxxxxxx> wrote:
I'm trying to run Jetty 7.0.0.pre5 from the command line (with some copied JSP and other jars into the JETTY lib directory so that it will be picked up at startup), and I'm receiving an error:
2009-08-17 21:17:10.539::WARN:  EXCEPTION
    at java.lang.Class.getDeclaredMethod(
    at org.mortbay.jetty.webapp.WebXmlConfiguration.initServlet(
    at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(
    at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(
    at org.mortbay.jetty.webapp.WebXmlConfiguration.configureDefaults(
    at org.mortbay.jetty.webapp.WebAppContext.startContext(
    at org.mortbay.jetty.handler.ContextHandler.doStart(
    at org.mortbay.jetty.webapp.WebAppContext.doStart(
    at org.mortbay.component.AbstractLifeCycle.start(
    at org.mortbay.jetty.handler.HandlerCollection.doStart(
    at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(
    at org.mortbay.component.AbstractLifeCycle.start(
    at org.mortbay.jetty.handler.HandlerCollection.doStart(
    at org.mortbay.component.AbstractLifeCycle.start(
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(
    at org.mortbay.jetty.Server.doStart(
    at org.mortbay.component.AbstractLifeCycle.start(
    at org.mortbay.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.mortbay.start.Main.invokeMain(
    at org.mortbay.start.Main.start(
    at org.mortbay.start.Main.main(

Has anyone every configured their classpath incorrectly and received this error. What is the proper Jar that contains the correct LogFactory (I'm searching my maven and eclipse classpath and cannot find it).

~ doug daniels

Back to the top