Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problems with IBM initial contrib fro Eclipse JST subproject
Problems with IBM initial contrib fro Eclipse JST subproject [message #45665] Sun, 26 September 2004 16:14 Go to next message
Eclipse UserFriend
Originally posted by: zvonimir.kriz.zvonet.com

Hi,

I have a problem while exploring server tools (scenario 2 - debugging a JSP
on Tomcat 5.0).

When I try to debug today.jsp on server, I allways get the following error:

SEVERE: Javac exception

Unable to find a javac compiler;

com.sun.tools.javac.Main is not on the classpath.

Perhaps JAVA_HOME does not point to the JDK

at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFacto ry.getCompiler(C
ompilerAdapterFactory.java:106)

at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)

at org.apache.jasper.compiler.Compiler.generateClass(Compiler.j ava:382)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:47 2)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:45 1)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:43 9)

at
org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:5
11)

at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:2
95)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:237)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:157)

at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
va:214)

at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
t.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)

at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContext
Valve.java:198)

at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
va:152)

at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
t.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:137
)

at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
t.java:104)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118
)

at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
t.java:102)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)

at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
:109)

at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
t.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)

at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
ction(Http11Protocol.java:705)

at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
a:683)

at java.lang.Thread.run(Unknown Source)

2004.09.26 18:12:19 org.apache.jasper.compiler.Compiler generateClass

SEVERE: Env: Compile: javaFileName=/C:/Program Files/Apache Software
Foundation/Tomcat
5.0/work/Catalina/localhost/MaWeb//org/apache/jsp\today_jsp. java

classpath=/C:/eclipse_workspace/MaWeb/WebContent/WEB-INF/cla sses/;C:\Program
Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\MaWeb;/C:/eclipse_workspace/MaWe b/WebContent/WEB
-INF/classes/;C:/Program Files/Apache Software Foundation/Tomcat
5.0/shared/classes/;C:/Program Files/Apache Software Foundation/Tomcat
5.0/common/classes/;C:/Program Files/Apache Software Foundation/Tomcat
5.0/common/endorsed/xercesImpl.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/endorsed/xml-apis.jar;C:/Program Files/Apache
Software Foundation/Tomcat 5.0/common/lib/ant-launcher.jar;C:/Program
Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/commons-collections-3.1.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/commons-dbcp-1.2.1.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/commons-el.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/commons-pool-1.2.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/jasper-compiler.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/jasper-runtime.jar;C:/Program Files/Apache
Software Foundation/Tomcat 5.0/common/lib/jsp-api.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/naming-common.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/naming-factory.jar;C:/Program Files/Apache
Software Foundation/Tomcat 5.0/common/lib/naming-java.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/naming-resources.jar;C:/Program Files/Apache Software
Foundation/Tomcat
5.0/common/lib/servlet-api.jar;/C:/Program%20Files/Apache%20 Software%20Found
ation/Tomcat%205.0/bin/bootstrap.jar;/C:/Program%20Files/Jav a/j2re1.4.2_04/l
ib/ext/dnsns.jar;/C:/Program%20Files/Java/j2re1.4.2_04/lib/e xt/ldapsec.jar;/
C:/Program%20Files/Java/j2re1.4.2_04/lib/ext/localedata.jar; /C:/Program%20Fi
les/Java/j2re1.4.2_04/lib/ext/sunjce_provider.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar

cp=C:\eclipse_workspace\MaWeb\WebContent\WEB-INF\classes

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\MaWeb

cp=C:\eclipse_workspace\MaWeb\WebContent\WEB-INF\classes

cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes

cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\xercesImpl.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\xml-apis.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\ant-launcher.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-collections-3.1.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-dbcp-1.2.1.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-el.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-pool-1.2.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\jasper-compiler.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\jasper-runtime.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\jsp-api.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-common.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-factory.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-java.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-resources.jar

cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\servlet-api.jar

cp=C:\Program%20Files\Apache%20Software%20Foundation\Tomcat% 205.0\bin\bootst
rap.jar

cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\dnsns.jar

cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\ldapsec.jar

cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\localedata.j ar

cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\sunjce_provi der.jar

work dir=C:\Program Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\MaWeb

extension dir=C:\Program Files\Java\j2re1.4.2_04\lib\ext

srcDir=C:\Program Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\MaWeb

include=org/apache/jsp/today_jsp.java

2004.09.26 18:12:19 org.apache.jasper.compiler.Compiler generateClass

SEVERE: Error compiling file: /C:/Program Files/Apache Software
Foundation/Tomcat
5.0/work/Catalina/localhost/MaWeb//org/apache/jsp\today_jsp. java [javac]
Compiling 1 source file
Re: Problems with IBM initial contrib fro Eclipse JST subproject [message #45699 is a reply to message #45665] Sun, 26 September 2004 17:31 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
I do not know a lot about webtools but I do know a bit about Ant.
One of the ways to succeed in compiling with Ant is to ensure that your
classpath includes a tools.jar from a JDK install.
Your classpath as indicated by the output only seems to include components
from a JRE.
Do you have control over this classpath and if so can you add a tools.jar
from a JDK install.
I do not know how this classpath is generated or computed

Darins

<zvonimir.kriz@zvonet.com> wrote in message news:cj6pkm$dhv$1@eclipse.org...
> Hi,
>
> I have a problem while exploring server tools (scenario 2 - debugging a
JSP
> on Tomcat 5.0).
>
> When I try to debug today.jsp on server, I allways get the following
error:
>
> SEVERE: Javac exception
>
> Unable to find a javac compiler;
>
> com.sun.tools.javac.Main is not on the classpath.
>
> Perhaps JAVA_HOME does not point to the JDK
>
> at
>
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFacto ry.getCompiler(C
> ompilerAdapterFactory.java:106)
>
> at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
>
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
>
> at org.apache.jasper.compiler.Compiler.generateClass(Compiler.j ava:382)
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:47 2)
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:45 1)
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:43 9)
>
> at
>
org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:5
> 11)
>
> at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:2
> 95)
>
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292)
>
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> FilterChain.java:237)
>
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
> ain.java:157)
>
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
> va:214)
>
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at
>
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContext
> Valve.java:198)
>
> at
>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
> va:152)
>
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:137
> )
>
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118
> )
>
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:102)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
> :109)
>
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:929)
>
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
> ction(Http11Protocol.java:705)
>
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
> a:683)
>
> at java.lang.Thread.run(Unknown Source)
>
> 2004.09.26 18:12:19 org.apache.jasper.compiler.Compiler generateClass
>
> SEVERE: Env: Compile: javaFileName=/C:/Program Files/Apache Software
> Foundation/Tomcat
> 5.0/work/Catalina/localhost/MaWeb//org/apache/jsp\today_jsp. java
>
>
classpath=/C:/eclipse_workspace/MaWeb/WebContent/WEB-INF/cla sses/;C:\Program
> Files\Apache Software Foundation\Tomcat
>
5.0\work\Catalina\localhost\MaWeb;/C:/eclipse_workspace/MaWe b/WebContent/WEB
> -INF/classes/;C:/Program Files/Apache Software Foundation/Tomcat
> 5.0/shared/classes/;C:/Program Files/Apache Software Foundation/Tomcat
> 5.0/common/classes/;C:/Program Files/Apache Software Foundation/Tomcat
> 5.0/common/endorsed/xercesImpl.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/endorsed/xml-apis.jar;C:/Program Files/Apache
> Software Foundation/Tomcat 5.0/common/lib/ant-launcher.jar;C:/Program
> Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/commons-collections-3.1.jar;C:/Program Files/Apache
Software
> Foundation/Tomcat 5.0/common/lib/commons-dbcp-1.2.1.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/commons-el.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/commons-pool-1.2.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/jasper-compiler.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/jasper-runtime.jar;C:/Program
Files/Apache
> Software Foundation/Tomcat 5.0/common/lib/jsp-api.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/naming-common.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/naming-factory.jar;C:/Program
Files/Apache
> Software Foundation/Tomcat 5.0/common/lib/naming-java.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/naming-resources.jar;C:/Program Files/Apache Software
> Foundation/Tomcat
>
5.0/common/lib/servlet-api.jar;/C:/Program%20Files/Apache%20 Software%20Found
>
ation/Tomcat%205.0/bin/bootstrap.jar;/C:/Program%20Files/Jav a/j2re1.4.2_04/l
>
ib/ext/dnsns.jar;/C:/Program%20Files/Java/j2re1.4.2_04/lib/e xt/ldapsec.jar;/
>
C:/Program%20Files/Java/j2re1.4.2_04/lib/ext/localedata.jar; /C:/Program%20Fi
> les/Java/j2re1.4.2_04/lib/ext/sunjce_provider.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\bin\bootstrap.jar
>
> cp=C:\eclipse_workspace\MaWeb\WebContent\WEB-INF\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb
>
> cp=C:\eclipse_workspace\MaWeb\WebContent\WEB-INF\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\endorsed\xercesImpl.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\endorsed\xml-apis.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\ant-launcher.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\ant.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-collections-3.1.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-dbcp-1.2.1.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-el.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-pool-1.2.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\jasper-compiler.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\jasper-runtime.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\jsp-api.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-common.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-factory.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-java.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-resources.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\servlet-api.jar
>
>
cp=C:\Program%20Files\Apache%20Software%20Foundation\Tomcat% 205.0\bin\bootst
> rap.jar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\dnsns.jar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\ldapsec.jar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\localedata.j ar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\sunjce_provi der.jar
>
> work dir=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb
>
> extension dir=C:\Program Files\Java\j2re1.4.2_04\lib\ext
>
> srcDir=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb
>
> include=org/apache/jsp/today_jsp.java
>
> 2004.09.26 18:12:19 org.apache.jasper.compiler.Compiler generateClass
>
> SEVERE: Error compiling file: /C:/Program Files/Apache Software
> Foundation/Tomcat
> 5.0/work/Catalina/localhost/MaWeb//org/apache/jsp\today_jsp. java [javac]
> Compiling 1 source file
>
>
>
Re: Problems with IBM initial contrib fro Eclipse JST subproject [message #45730 is a reply to message #45665] Mon, 27 September 2004 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: levi.artsoft-consult.ro

Hi,

The problem is that in your classpath is the JRE not the JDK. You can
try to start eclipse using the -vm argument and point it to a JDK
installation. For example:

c:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2\bin\javaw.exe

Hope this helps,
Levi


zvonimir.kriz@zvonet.com wrote:
> Hi,
>
> I have a problem while exploring server tools (scenario 2 - debugging a JSP
> on Tomcat 5.0).
>
> When I try to debug today.jsp on server, I allways get the following error:
>
> SEVERE: Javac exception
>
> Unable to find a javac compiler;
>
> com.sun.tools.javac.Main is not on the classpath.
>
> Perhaps JAVA_HOME does not point to the JDK
>
> at
> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFacto ry.getCompiler(C
> ompilerAdapterFactory.java:106)
>
> at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
>
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
>
> at org.apache.jasper.compiler.Compiler.generateClass(Compiler.j ava:382)
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:47 2)
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:45 1)
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:43 9)
>
> at
> org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:5
> 11)
>
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:2
> 95)
>
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292)
>
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> FilterChain.java:237)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
> ain.java:157)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
> va:214)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContext
> Valve.java:198)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
> va:152)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:137
> )
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118
> )
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:102)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
> :109)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContex
> t.java:104)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:520)
>
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:929)
>
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
> ction(Http11Protocol.java:705)
>
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
> a:683)
>
> at java.lang.Thread.run(Unknown Source)
>
> 2004.09.26 18:12:19 org.apache.jasper.compiler.Compiler generateClass
>
> SEVERE: Env: Compile: javaFileName=/C:/Program Files/Apache Software
> Foundation/Tomcat
> 5.0/work/Catalina/localhost/MaWeb//org/apache/jsp\today_jsp. java
>
> classpath=/C:/eclipse_workspace/MaWeb/WebContent/WEB-INF/cla sses/;C:\Program
> Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb;/C:/eclipse_workspace/MaWe b/WebContent/WEB
> -INF/classes/;C:/Program Files/Apache Software Foundation/Tomcat
> 5.0/shared/classes/;C:/Program Files/Apache Software Foundation/Tomcat
> 5.0/common/classes/;C:/Program Files/Apache Software Foundation/Tomcat
> 5.0/common/endorsed/xercesImpl.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/endorsed/xml-apis.jar;C:/Program Files/Apache
> Software Foundation/Tomcat 5.0/common/lib/ant-launcher.jar;C:/Program
> Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/commons-collections-3.1.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/commons-dbcp-1.2.1.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/commons-el.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/commons-pool-1.2.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/jasper-compiler.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/jasper-runtime.jar;C:/Program Files/Apache
> Software Foundation/Tomcat 5.0/common/lib/jsp-api.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/naming-common.jar;C:/Program Files/Apache Software
> Foundation/Tomcat 5.0/common/lib/naming-factory.jar;C:/Program Files/Apache
> Software Foundation/Tomcat 5.0/common/lib/naming-java.jar;C:/Program
> Files/Apache Software Foundation/Tomcat
> 5.0/common/lib/naming-resources.jar;C:/Program Files/Apache Software
> Foundation/Tomcat
> 5.0/common/lib/servlet-api.jar;/C:/Program%20Files/Apache%20 Software%20Found
> ation/Tomcat%205.0/bin/bootstrap.jar;/C:/Program%20Files/Jav a/j2re1.4.2_04/l
> ib/ext/dnsns.jar;/C:/Program%20Files/Java/j2re1.4.2_04/lib/e xt/ldapsec.jar;/
> C:/Program%20Files/Java/j2re1.4.2_04/lib/ext/localedata.jar; /C:/Program%20Fi
> les/Java/j2re1.4.2_04/lib/ext/sunjce_provider.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar
>
> cp=C:\eclipse_workspace\MaWeb\WebContent\WEB-INF\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb
>
> cp=C:\eclipse_workspace\MaWeb\WebContent\WEB-INF\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\endorsed\xercesImpl.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\endorsed\xml-apis.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\ant-launcher.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-collections-3.1.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-dbcp-1.2.1.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-el.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\commons-pool-1.2.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\jasper-compiler.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\jasper-runtime.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\jsp-api.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-common.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-factory.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-java.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\naming-resources.jar
>
> cp=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\common\lib\servlet-api.jar
>
> cp=C:\Program%20Files\Apache%20Software%20Foundation\Tomcat% 205.0\bin\bootst
> rap.jar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\dnsns.jar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\ldapsec.jar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\localedata.j ar
>
> cp=C:\Program%20Files\Java\j2re1.4.2_04\lib\ext\sunjce_provi der.jar
>
> work dir=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb
>
> extension dir=C:\Program Files\Java\j2re1.4.2_04\lib\ext
>
> srcDir=C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\work\Catalina\localhost\MaWeb
>
> include=org/apache/jsp/today_jsp.java
>
> 2004.09.26 18:12:19 org.apache.jasper.compiler.Compiler generateClass
>
> SEVERE: Error compiling file: /C:/Program Files/Apache Software
> Foundation/Tomcat
> 5.0/work/Catalina/localhost/MaWeb//org/apache/jsp\today_jsp. java [javac]
> Compiling 1 source file
>
>
>
Re: Problems with IBM initial contrib fro Eclipse JST subproject [message #45879 is a reply to message #45730] Mon, 27 September 2004 19:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zvonimir.kriz.zvonet.com

Thanks. You gave me an idea to solve the problem.
I had both, SDK and JRE installed on my system. Eclipse ran on SDK but
Tomcat didn't!
I think you can see that I'm new in Java world :-) Thanks again.

"F
Re: Problems with IBM initial contrib fro Eclipse JST subproject [message #45984 is a reply to message #45879] Mon, 27 September 2004 23:17 Go to previous messageGo to next message
Tim deBoer is currently offline Tim deBoerFriend
Messages: 71
Registered: July 2009
Member
Hi Zvonimir,

Just FYI, Tomcat requires a JDK only for compiling JSP pages. This is
because the javac tool is only available within a JDK/SDK, and not in a JRE.
Re: Problems with IBM initial contrib fro Eclipse JST subproject [message #46037 is a reply to message #45984] Tue, 28 September 2004 03:10 Go to previous message
Ed Burnette is currently offline Ed BurnetteFriend
Messages: 279
Registered: July 2009
Senior Member
And with Tomcat 5.5 (alpha), it doesn't even require a JDK for compiling JSP
pages because Tomcat is now using the Eclipse JDT compiler by default.
http://www.eclipsepowered.org/archives/2004/09/16/eclipse-co mpiler-embedded-in-tomcat/

--
Ed Burnette
www.eclipsepowered.org

"Tim deBoer" <deboer@ca.ibm.com> wrote in message
news:cja6ol$krd$1@eclipse.org...
Hi Zvonimir,

Just FYI, Tomcat requires a JDK only for compiling JSP pages. This is
because the javac tool is only available within a JDK/SDK, and not in a JRE.
Previous Topic:Server Tools Code in CVS
Next Topic:Use of Webtools w/Eclipse 3.0.1
Goto Forum:
  


Current Time: Wed Jan 15 11:52:27 GMT 2025

Powered by FUDForum. Page generated in 0.05901 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top