it looks like Kailash is running v1.4.1 rel 01

I have two guesses as to why the errors are occuring:

1: more than one jdk installed
2: for jdk 1.4.x classpath should not be set, further it should use \ not 
   / under windows.

my recommendation is to Start->Find [all local drives] java*.exe
uninstall all java sdk / runtimes
unistall tomcat

download and install jdk 1.4.1 rel 01
download and install tomcat 4.1.12

-jason pyeron


On Mon, 23 Dec 2002, Deepa Raja wrote:

Hi Kailash,

I had same problem and mailed tomcat group. I was told that this is due to
the version of jdk. Please upgrade your j2sdk to 1.4.1.01 and it should sort
your compilation problem.

Thanks
Deepa

-----Original Message-----
From: Kailash Kalyani [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 22, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Error in autocompiling JSP files in 4.1.12 standalone


Dear all,

When running a jsp file for the first time, I get the following runtime
error 
from Tomcat.

I'm running Windows 98 with Java 1.4 SDK.

(error report at bottom of message)
My classpath and other relevant env settings in Windows 98
CATALINA_HOME=C:\jakarta-tomcat-4.1.12
JAVA_HOME=C:\j2sdk1.4.1_01
CLASSPATH=%JAVA_HOME%/jre/lib;%CATALINA_HOME%\common\lib;.;%CATALINA_HOME%\c
om
mon\lib\servlet.jar


However when I compile the Jsp file, now converted to a .java file in the
work 
directory, it compiles just fine and when I access the .jsp file after,
there 
are no problems.

Its just an irritating nag, but I wonder if there is a solution to it. I 
looked through the list questions and some of the Tomcat documentation for 
running and setting up Tomcat. I'd be happy if someone could guide me to a 
solution by pointing me to a page or suggesting a solution.

Thanks,
Kailash


Error report.
***********
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 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.
java:120)
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93
)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
74
)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
84
)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
Fi
lterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ai
n.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va
:260)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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
eN
ext(StandardPipeline.java:643)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.j
ava:471)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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.StandardContext.invoke(StandardContext.java:2396)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
ja
va:170)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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
:1
74)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eN
ext(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:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ct
ion(Http11Protocol.java:380)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:
533)
at java.lang.Thread.run(Thread.java:536)

************



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to