/jakarta-tomcat-4.1.12/common/lib/servlet.jar
Thanx, PLA
Sean Dockery wrote:
This may be a silly question, but where is your "servlets.jar" located?
At 21:50 2003-02-06 -0500, you wrote:
No difference in common. I've installed 4.1.18 and still getting the
same error. Could the AS/400 JVM be suspect?
Thanx, PLA
Patrick L Archibald wrote:
I haven't tried putting it in common but I did try putting it in
/jakarta-tomcat-4.1.12/shared/lib and it gave me the same error.
I will try common and let ya know shortly.
Here is the case-sensitive path that it is in now:
/jakarta-tomcat-4.1.12/webapps/ROOT/WEB-INF/lib
Thanx, PLA
Filip Hanik wrote:
and what happens if you put it in
TOMCAT_HOME/common/lib
also, did you intentionally lowercase the path you sent us, WEB-INF
is uppercase.
Filip
-----Original Message-----
From: Patrick L Archibald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 5:55 PM
To: Tomcat Users List
Subject: Re: File upload servlet won't run on IBM AS/400 but runs
OK on
PC configured identically
If I were missing the classes for the cos.jar I would get
"java.lang.NoClassDefFoundError:
com/oreilly/servlet/multipart/FileRenamePolicy" not
"java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServletRequest", right?
I've got cos.jar in /jakarta-tomcat-4.1.12/webapps/root/web-inf/lib
Thanx for any and all suggestions, PLA
Sean Dockery wrote:
I would suspect that it can find
"com/oreilly/servlet/multipart/MultipartParser". Make sure that
the O'Reilly JAR in your common/lib folder or /myapp/WEB-INF/lib
folder.
At 20:40 2003-02-06 -0500, you wrote:
Hi
I'm stumped on this problem. I've got a file upload servlet that
works fine running on a PC with Tomcat 4.1.12 but I get the error
below on the IBM AS/400 running Tomcat 4.1.12. I've written
hundreds of servlets on the AS/400 and the PC and I've never had
one beat me like this one. The error says "NoClassDefFoundError:
javax/servlet/http/HttpServletRequest" but that is not logical
since I have dozens of servlets running OK. Any one have any
suggestions?
Thanx, PLA
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
java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90)
java/lang/Exception.(Ljava/lang/String;)V+1 (Exception.java:38)
javax/servlet/ServletException.(Ljava/lang/String;Ljava/lang/Throwable;)V+0
(ServletException.java:132)
org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(ApplicationFilterChain.java:201)
org/apache/catalina/core/ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(ApplicationFilterChain.java:168)
org/apache/catalina/core/StandardWrapperValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardWrapperValve.java:174)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/catalina/core/StandardContextValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardContextValve.java:153)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/catalina/core/StandardContext.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardContext.java:2395)
org/apache/catalina/core/StandardHostValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardHostValve.java:148)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/valves/ErrorDispatcherValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(ErrorDispatcherValve.java:170)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/valves/ErrorReportValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(ErrorReportValve.java:172)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/catalina/core/StandardEngineValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardEngineValve.java:146)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/coyote/tomcat4/CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+0
(CoyoteAdapter.java:197)
org/apache/coyote/http11/Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+0
(Http11Processor.java:386)
org/apache/coyote/http11/Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+0
(Http11Protocol.java:363)
org/apache/tomcat/util/net/TcpWorkerThread.runIt([Ljava/lang/Object;)V+0
(PoolTcpEndpoint.java:494)
org/apache/tomcat/util/threads/ThreadPool$ControlRunnable.run()V+0
(ThreadPool.java:504)
java/lang/Thread.run()V+11 (Thread.java:484)
root cause
java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServletRequest
java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90)
java/lang/LinkageError.(Ljava/lang/String;)V+1
(LinkageError.java:39)
java/lang/NoClassDefFoundError.(Ljava/lang/String;)V+1
(NoClassDefFoundError.java:43)
com/oreilly/servlet/multipart/MultipartParser.(Ljavax/servlet/http/HttpServletRequest;IZZ)V+23
(MultipartParser.java:114)
com/oreilly/servlet/multipart/MultipartParser.(Ljavax/servlet/http/HttpServletRequest;I)V+1
(MultipartParser.java:94)
com/oreilly/servlet/MultipartRequest.(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;ILjava/lang/String;Lcom/oreilly/servlet/multipart/FileRenamePolicy;)V+148
(MultipartRequest.java:219)
com/oreilly/servlet/MultipartRequest.(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;ILcom/oreilly/servlet/multipart/FileRenamePolicy;)V+1
(MultipartRequest.java:148)
FileUploadDownloadServlet3.performUpload(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(FileUploadDownloadServlet3.java:293)
FileUploadDownloadServlet3.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(FileUploadDownloadServlet3.java:57)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(HttpServlet.java:733)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(HttpServlet.java:848)
org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(ApplicationFilterChain.java:201)
org/apache/catalina/core/ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(ApplicationFilterChain.java:168)
org/apache/catalina/core/StandardWrapperValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardWrapperValve.java:174)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/catalina/core/StandardContextValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardContextValve.java:153)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/catalina/core/StandardContext.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardContext.java:2395)
org/apache/catalina/core/StandardHostValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardHostValve.java:148)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/valves/ErrorDispatcherValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(ErrorDispatcherValve.java:170)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/valves/ErrorReportValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(ErrorReportValve.java:172)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/catalina/core/StandardEngineValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+0
(StandardEngineValve.java:146)
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:636)
org/apache/catalina/core/StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(StandardPipeline.java:480)
org/apache/catalina/core/ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+0
(ContainerBase.java:995)
org/apache/coyote/tomcat4/CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+0
(CoyoteAdapter.java:197)
org/apache/coyote/http11/Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+0
(Http11Processor.java:386)
org/apache/coyote/http11/Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+0
(Http11Protocol.java:363)
org/apache/tomcat/util/net/TcpWorkerThread.runIt([Ljava/lang/Object;)V+0
(PoolTcpEndpoint.java:494)
org/apache/tomcat/util/threads/ThreadPool$ControlRunnable.run()V+0
(ThreadPool.java:504)
java/lang/Thread.run()V+11 (Thread.java:484)
Apache Tomcat/4.1.18
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]