tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: org.apache.jasper.JasperException in compiling class for JSP (tomcat4.x, apache2, mod_jk)
Date Fri, 13 Feb 2009 03:29:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shweta,

On 2/12/2009 7:05 AM, Shweta Parakh -X (shparakh - Infosys at Cisco) wrote:
> I am using Tomcat 4.1.30, Apache2.2.11 and mod_jk1.2.27.
> Could someone please help me with below error ?
>  
> I have JAVA_HOME variable set correctly. I also tried adding below env
> variables to tomcat.sh but of no use.
>  
> _RUNJAVA=$JAVA_HOME\bin\java
> _RUNJAVAW=$JAVA_HOME\bin\javaw
> _RUNJDB=$JAVA_HOME\bin\jdb
> _RUNJAVAC=$JAVA_HOME\bin\javac

Er... you shouldn't be setting these environment variables. Also,
tomcat.sh isn't something I recognize as coming from any standard Tomcat
installation. You should be running startup.sh instead.

Somewhat more puzzling is why you are trying to set anything for 'javaw'
on a *nix system...?

> Here is the error, the application is displaying.
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: -1 in the jsp file: null

That's odd. Can you post the file in question?

- -chris


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmU6S0ACgkQ9CaO5/Lv0PBBWwCfb91BWQOUxMTsilFHsXB37zdn
BkAAoL0q2senNbYJJ0Vbu0OjqvycyFyk
=z7Rf
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message