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(DefaultErrorHandler.java:130)
        at 
org/apache/jasper/compiler/ErrorDispatcher.javacError(ErrorDispatcher.java:293)
        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:473)
        at 
org/apache/jasper/servlet/JspServletWrapper.service(JspServletWrapper.java:190)
        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(ApplicationFilterChain.java:247)
        at 
org/apache/catalina/core/ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org/apache/catalina/core/StandardWrapperValve.invoke(StandardWrapperValve.java:256)
        at 
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
        at 
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(StandardPipeline.java:643)
        at 
org/apache/catalina/valves/ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
        at 
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at 
org/apache/catalina/valves/ErrorReportValve.invoke(ErrorReportValve.java:163)
        at 
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at 
org/apache/catalina/valves/AccessLogValve.invoke(AccessLogValve.java:577)
        at 
org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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

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.