RE: Re: problem compiling jsp include
Rosenstrauch, David <david.rosenstrauch <at> credit-suisse.com>
2006-02-01 20:23:06 GMT
Never mind. Did some googling, and found that I need to put a copy of log4j into ext.
DR
> -----Original Message-----
> From: jetty-support-admin <at> lists.sourceforge.net
> [mailto:jetty-support-admin <at> lists.sourceforge.net]On Behalf Of
> Rosenstrauch, David
> Sent: Wednesday, February 01, 2006 3:10 PM
> To: 'jetty-support <at> lists.sourceforge.net'
> Subject: RE: [Jetty-support] Re: problem compiling jsp include
>
>
> No dice. Now I've got a new problem. It can't seem to
> initialize logging correctly for our app with these new jars.
> (Stack trace below.)
>
> Any ideas how to fix this?
>
> Thanks,
>
> DR
>
> ---
>
> 15:04:10.819 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >15>
> Started org.mortbay.jetty.servlet.WebApplicationHandler <at> 56860b
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.mortbay.start.Main.invokeMain(Main.java:151)
> at org.mortbay.start.Main.start(Main.java:476)
> at org.mortbay.start.Main.main(Main.java:94)
> Caused by: java.lang.ExceptionInInitializerError
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> nstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
gatingConstructorAccessorImpl.java:27)
> at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:308)
> at java.lang.Class.newInstance(Class.java:261)
> at
> org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:199)
> at
> org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:240)
> at
> org.mortbay.jetty.servlet.ServletHandler.initializeServlets(Se
> rvletHandler.java:446)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServ
> lets(WebApplicationHandler.java:321)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApp
> licationContext.java:509)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.jetty.Server.main(Server.java:460)
> ... 7 more
> Caused by:
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: No
> suitable Log constructor [Ljava.lan
> g.Class; <at> 185572a for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category)
> (Caused by org.apache.
> commons.logging.LogConfigurationException: No suitable Log
> constructor [Ljava.lang.Class; <at> 185572a for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category))
> at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
> FactoryImpl.java:543)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Log
> FactoryImpl.java:235)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Log
> FactoryImpl.java:209)
> at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
> at
> org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.
> java:375)
> ... 22 more
> Caused by:
> org.apache.commons.logging.LogConfigurationException: No
> suitable Log constructor [Ljava.lang.Class; <at> 185572a for
> org.apache.commons.logging.impl.L
> og4JLogger (Caused by java.lang.NoClassDefFoundError:
> org/apache/log4j/Category)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstruct
> or(LogFactoryImpl.java:413)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
> FactoryImpl.java:529)
> ... 26 more
> Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
> at java.lang.Class.getConstructor0(Class.java:1922)
> at java.lang.Class.getConstructor(Class.java:1019)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstruct
> or(LogFactoryImpl.java:410)
> ... 27 more
>
>
> > -----Original Message-----
> > From: jetty-support-admin <at> lists.sourceforge.net
> > [mailto:jetty-support-admin <at> lists.sourceforge.net]On Behalf Of
> > Rosenstrauch, David
> > Sent: Wednesday, February 01, 2006 2:45 PM
> > To: 'jetty-support <at> lists.sourceforge.net'
> > Subject: RE: [Jetty-support] Re: problem compiling jsp include
> >
> >
> > I'll give that a shot and report back.
> >
> > Thanks,
> >
> > DR
> >
> > > -----Original Message-----
> > > From: jetty-support-admin <at> lists.sourceforge.net
> > > [mailto:jetty-support-admin <at> lists.sourceforge.net]On Behalf Of Jan
> > > Bartel
> > > Sent: Wednesday, February 01, 2006 1:15 PM
> > > To: jetty-support <at> lists.sourceforge.net
> > > Subject: [Jetty-support] Re: problem compiling jsp include
> > >
> > >
> > > Hi David,
> > >
> > > The most recent version of Jetty 5.x is 5.10. I think you should
> > > upgrade and you will get the most recent jasper jars, along with
> > > some bug fixes
> > >
> > > I just noticed the Jetty site is a bit out of date with the
> > > Version information. I will update it asap.
> > >
> > > cheers
> > > Jan
>
> ==============================================================
> ================
> Please access the attached hyperlink for an important
> electronic communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ==============================================================
> ================
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web.
> DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&
dat=121642
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support