Re: 'Unable to compile class for JSP' error on a fresh install of tomcat 4.1.24
Posted By:
Carlton_Breezy
Posted On:
Wednesday, May 28, 2003 08:37 AM
I had a similar issue and for some reason if the CATALINA_HOME env variable has spaces in it with Tomcat version 4.1.24 it will fail to compile the jsps. If you try renaming the tomcat directory so there are no spaces or use '~' symbol to specify path then you should get around this issue.
e.g CATALINA_HOME=C: omcat or C:progra~1 omcat but not C:Program FilesTomcat 4.1 (spaces).
Hope this helps...
Re: 'Unable to compile class for JSP' error on a fresh install of tomcat 4.1.24
Posted By:
Anonymous
Posted On:
Saturday, April 12, 2003 09:45 PM
I have run under this problems and solved it with re-setup of the registration of tomcat, i found this on another mailing list:
My tomcat is in d:Tomcat41
my jdk 1.4 is D:j2sdk1.4.0
first uninsatll tomcat as a service
d:Tomcat41in omcat -uninstall "Apache Tomcat 4.1"
install tomcat (will now be name Tomcat (don't know if the space cause a problem)
"d:Tomcat41in omcat.exe" -install Tomcat "D:j2sdk1.4.0jreinclientjvm.dll" -Djava.class.path="d:Tomcat41inootstrap.jar;D:j2sdk1.4.0lib ools.jar" -Dcatalina.home=d:Tomcat41 -Xrs -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out d:Tomcat41logsstderr.log
this work, i look at the regitry key and they are different at least the org.apache.catalina.startup.Bootstrap was previously org.apache.catalina.startup.BootstrapService, there was an entry for stdout now not in the registry, i think this command is not completely correct, but work, since it's a personal web server for me, not a business
JLD
Re: 'Unable to compile class for JSP' error on a fresh install of tomcat 4.1.24
Posted By:
Alberto_Poza
Posted On:
Friday, April 4, 2003 12:09 AM
Hi,
try this:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg91222.html
Alberto Poza.
Re: 'Unable to compile class for JSP' error on a fresh install of tomcat 4.1.24
Posted By:
Stephen_Callaghan
Posted On:
Thursday, April 3, 2003 01:56 AM
Got similar problem when running using Eclipse and the plugin.
Tomcat runs fine outwith Eclipse so i am thinking that it must be something to do with classpaths etc. Anyone found an answer?
Re: 'Unable to compile class for JSP' error on a fresh install of tomcat 4.1.24
Posted By:
pratak_rattanawila
Posted On:
Wednesday, April 2, 2003 01:15 AM
I think because tomcat can not write compiled file to work directory. try to check work directory permission.