I put commons-beanutils.jar into the WEB-INF/lib directory, and I still get what's copied below from the webpage.

Is my installation possessed or something?

Todd
-----------------------------------

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:666)
at java.lang.Thread.run(Thread.java:552)



root cause
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/BeanUtils
at org.infohazard.maverick.ctl.ThrowawayBean2.go(ThrowawayBean2.java:39)
at org.infohazard.maverick.ctl.Throwaway2.go(Throwaway2.java:48)
at org.infohazard.maverick.flow.ThrowawayControllerAdapter.go(ThrowawayCont rollerAdapter.java:58)
at org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:44)
at org.infohazard.maverick.Dispatcher.service(Dispatcher.java:237)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:666)
at java.lang.Thread.run(Thread.java:552)



Apache Tomcat/4.1.29


On Feb 10, 2004, at 4:28 AM, Yurii Urazlin wrote:

Put commons-beanutils.jar into your WEB-INF/lib dir of your webapp, and
it'll work.

HTH,
yurazlin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Todd O'Bryan
Sent: Tuesday, February 10, 2004 12:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mav-user] Eclipse, log4j, etc.

I removed commons-beanutils.jar from the Tomcat classpath (which you
can set in Eclipse using the Preferences pane) and was able to compile.

It also then ran the Log4jInit code someone suggested I create...of
course, only after producing the warnings that code was meant to stop
from appearing in the first place.

And now I can compile, but I get the same NoClassDefFoundError in my
webapp when I try to access that page.

If ever there was a need for a better mousetrap, we're seeing it...

Todd

On Feb 10, 2004, at 4:13 AM, Yurii Urazlin wrote:

AFAICS, Tomcat (at least 4.1.18) has its own commons-beanutils.jar
in

its server/lib. It could conflict with the one you added to Tomcat
classpath.

The jars in Tomcat's server/lib directory are not visible from
webapps.
However, the jars in common/lib and shared/lib are.


That's it. But exception is thrown by Catalina itself, and not a
webapp.


So if this: "add commons-beanutils.jar ... to the Tomcat classpath" means adding commons-beanutils.jar to CLASSPATH in catalina.bat, or changing CLASSPATH environment variable, or smth similar, a conflict could be the case. However exception is strange, and the reason could

be
anything else.

exception from Todd's letter:
--------------------
Catalina.start: java.lang.NullPointerException
java.lang.NullPointerException
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:
2540)
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:
2566)
        at
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
        at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at

org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknow
n
  Source)
        at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(
U
nknown Source)
        at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
s
patcher.dispatch(Unknown Source)
        at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
o
wn Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
        at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
[INVALID FOOTER]



------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn [INVALID FOOTER]




------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn [INVALID FOOTER]



------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn [INVALID FOOTER]

Reply via email to