× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tony,

This may sound strange, but I believe this is the same error I ran into when
first installing Tomcat.  Try putting the tools.jar file in the /common/lib
of Tomcat.

Chad


-----Original Message-----
From: Tony Richardson [mailto:trichardson@xxxxxxxxxx] 
Sent: Friday, May 28, 2004 5:56 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Tomcat 4.1.30 jsp compile errors

We've just installed Tomcat on our new iSeries 810 in a ifs directory, and
I'm getting these strange page compile errors. The weird thing is you get
the error on the first two hits on the page and on the third attempt it
finally compiles.

I've been using tomcat on Linux machines for the past couple of years and
never ran into this error before. I'm sure it's a setup thing so maybe
someone can help me out.

To set this up I did the following:
  1..    Uploaded the tomcat zip file to the iSeries IFS
  2..    Ran the optimization job
  3..    Setup a shell script to set the java home and catalina home
environment variables
  4..    Submitted a job to batch to call the shell script via qshell
This is the error I'm getting:
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Compiling 1 source file



        at java/lang/Throwable.<init>(Throwable.java:195)
        at java/lang/Exception.<init>(Exception.java:41)
        at javax/servlet/ServletException.<init>(ServletException.java:107)
        at org/apache/jasper/JasperException.<init>(JasperException.java:73)
        at
org/apache/jasper/compiler/DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
        at
org/apache/jasper/compiler/ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
        at
org/apache/jasper/compiler/Compiler.generateClass(Compiler.java:353)
        at org/apache/jasper/compiler/Compiler.compile(Compiler.java:370)
        at
org/apache/jasper/JspCompilationContext.compile(JspCompilationContext.java:4
73)
        at
org/apache/jasper/servlet/JspServletWrapper.service(JspServletWrapper.java:1
90)
        at
org/apache/jasper/servlet/JspServlet.serviceJspFile(JspServlet.java:295)
        at org/apache/jasper/servlet/JspServlet.service(JspServlet.java:241)
        at javax/servlet/http/HttpServlet.service(HttpServlet.java:853)
        at
org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org/apache/catalina/core/ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org/apache/catalina/core/StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
        at
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(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(StandardContextValve.ja
va:191)
        at
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)
        at
org/apache/catalina/core/StandardContext.invoke(StandardContext.java:2422)
        at
org/apache/catalina/core/StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org/apache/catalina/valves/ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
        at
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org/apache/catalina/valves/ErrorReportValve.invoke(ErrorReportValve.java:163
)
        at
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org/apache/catalina/valves/AccessLogValve.invoke(AccessLogValve.java:577)
        at
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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/connector/http/HttpProcessor.process(HttpProcessor.java:
1040)
        at
org/apache/catalina/connector/http/HttpProcessor.run(HttpProcessor.java:1151
)
        at java/lang/Thread.run(Thread.java:536)

Thanks,


Tony Richardson
AS/400 Developer
JAS Forwarding (USA), Inc.
One Ravinia Drive, Suite 650
Atlanta GA, 30346
Tel: (770) 688-1260
Fax: (770) 688-1229
Web: www.jasusa.com
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.