tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Hacker" <bhac...@orionsystemsinc.net>
Subject RE: Tomcat does not want to compile
Date Thu, 07 Aug 2003 13:44:49 GMT
I thought it was, because my classpath is set to the location.

CLASSPATH=C:\jdk1.3.1_08\lib\tools.jar

-----Original Message-----
From: Jon Wingfield [mailto:jon.wingfield@mkodo.com] 
Sent: Thursday, August 07, 2003 9:37 AM
To: Tomcat Users List
Subject: Re: Tomcat does not want to compile

This is a JBuilder problem not a Tomcat problem. The JBuilder JSP 
compiler 
(com.borland.jbuilder.webserverglue.tomcat.jsp.JasperSunJavaCompiler 
from your stacktrace) can't find the tools.jar of your jdk. Is it in the

path JBuilder uses to run the embedded Tomcat?

Bob Hacker wrote:

> I am running Jbuilder 7, JBoss 3.0.2. When I touch a jsp I get the
> following exception when trying to run it
>  
> Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
>  
> javax.servlet.ServletException: sun/tools/javac/Main
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:247)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:193)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:243)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:190)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
> va:246)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
> 3)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :180)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lve.java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:174)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
> ava:1012)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
> 1107)
>         at java.lang.Thread.run(Thread.java:479)
> root cause 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>         at
>
com.borland.jbuilder.webserverglue.tomcat.jsp.JasperSunJavaCompiler.comp
> ile(Unknown Source)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
>         at
> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
> spServlet.java:177)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
> t.java:189)
>         at
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:247)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:193)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:243)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:190)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
> va:246)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
> 3)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :180)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lve.java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:174)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
> ava:1012)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
> 1107)
>         at java.lang.Thread.run(Thread.java:479)
>  
>  
> Environment:
> CLASSPATH=C:\jdk1.3.1_08\lib\tools.jar
> JAVA_HOME=C:\jdk1.3.1_08
> JBOSS_HOME=C:\jboss-3.0.2
> OS=Windows_NT
>
Path=C:\jdk1.3.1_08\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System
> 32\Wbem;C:\cygwin\bin
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl
>  
>  
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
>  
> 




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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
 


Mime
View raw message