I've just done an install on Windows 2000 Pro, with JDK1.4 and Tomcat
4.1.24.  I got the same errors from JasperException 'Unable to compile JSP
class file'. 

I chose to install Tomcat as an NT service during the install.  If I start
Tomcat using 'catalina.bat start' from the command line, this error doesn't
happen.  The startup scripts seem different than in past versions, setting
env variables like 'BINDIR=CLASSPATH'.  Maybe the install is using an older
startup script or something.  In any event, the work *.java files are
created from the .jsp file but are not being compiled into class files,
hence the compile error, which seems to be from environment errors.  

Wendell Holmes, MCSE
Edulog Testing Dept.
xt. 3186


-----Original Message-----
From: Christopher M. Zinn [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:33 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.24 error


I just ran into this problem today.  Here is how it happened to me:

Installed brand new Win2K o/os sp3
Installed Oracle 9.2 Standard on the box
Installed J2SDK1.4.1_02 on the box 
Installed Tomcat 4.1.24 on the box; set it to listen on port 7001
instead of 8080

I got that message when I tried to login

I then added (Added JAVA_HOME=c:\j2sdk1.4.1_02 to system environment
vars and %JAVA_HOME%\BIN to the path)

Still got the message

I then updated the path to put my JAVA_HOME\BIN before Oracele\JRE\BIN.

Uninstalled Tomcat 4.1.24 and re-installed and then it worked.
I guess it had something to do with Tomcat classing with Oracle's 1.3
JRE?


_______________________________
Christopher Zinn
Forge-Tech, Inc.


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 04, 2003 12:15 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.24 error


Howdy,
Out of curiosity: have you tried taking the compiled JSP from tomcat's
work directory and compiling it with javac yourself?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: HAMILTON, DALE K (SBCSI) [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 12:12 PM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat 4.1.24 error
>
>I'm getting the same error since moving to Tomcat 4.1.24.
>I've seen the question in google searches but no answers.
>I could use help as well!!
>
>-----Original Message-----
>From: Robert R [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 9:37 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat 4.1.24 error
>
>
>Hello everybody, can somebody help me.THe tomcat ver
>> I
>> am running is the latest 4.1.24
>>
>> And this is the page I get no matter if I just use
>> an
>> HTML page or a jsp page with perfectly good java
>> code.
>> Is it my web.xml file that is in ROOT/WEB_INF/ that
>> needs to be changed
>> Thanks Robert
>>
>>
>> HTTP Status 500 -
>>
>> type Exception report
>> message
>> description The server encountered an internal error
>> () that prevented it from fulfilling this request.
>> exception
>> 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] Since fork is true, ignoring compiler
>> setting.
>>     [javac] Compiling 1 source file
>>     [javac] Since fork is true, ignoring compiler
>> setting.
>>
>>
>>
>>      at java.lang.Throwable.fillInStackTrace(Native
>> Method)
>>      at java.lang.Throwable.fillInStackTrace(Compiled
>> Code)
>>      at java.lang.Throwable.(Compiled Code)
>>      at java.lang.Exception.(Compiled Code)
>>      at javax.servlet.ServletException.(Compiled Code)
>>      at org.apache.jasper.JasperException.(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.compiler.DefaultErrorHandler.javacError(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.compiler.ErrorDispatcher.javacError(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.compiler.Compiler.generateClass(Compiled
>> Code)
>>      at
>> org.apache.jasper.compiler.Compiler.compile(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.JspCompilationContext.compile(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.servlet.JspServletWrapper.service(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled
>> Code)
>>      at
>>
>org.apache.jasper.servlet.JspServlet.service(Compiled
>> Code)
>>      at javax.servlet.http.HttpServlet.service(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Compil
e
>> d
>> Code)
>>      at
>>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardWrapperValve.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>> nvokeNext(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.ContainerBase.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardContextValve.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>> nvokeNext(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.ContainerBase.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardContext.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardHostValve.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>> nvokeNext(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>> nvokeNext(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.valves.ErrorReportValve.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>> nvokeNext(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.ContainerBase.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardEngineValve.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>> nvokeNext(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.StandardPipeline.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.catalina.core.ContainerBase.invoke(Compiled
>> Code)
>>      at
>>
>org.apache.coyote.tomcat4.CoyoteAdapter.service(Compiled
>> Code)
>>      at
>>
>org.apache.coyote.http11.Http11Processor.process(Compiled
>> Code)
>>      at
>>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
C
>> onnection(Compiled
>> Code)
>>      at
>>
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled
>> Code)
>>      at
>>
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled
>> Code)
>>      at java.lang.Thread.run(Thread.java:479)
>>
>> Apache Tomcat/4.1.24
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - File online, calculators, forms, and more
>http://tax.yahoo.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]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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]

Reply via email to