tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: servlets work but JSPs not!
Date Thu, 24 Jan 2002 12:50:37 GMT

	For Tomcat 4 (which is what this person is using - the stack trace
mentions Catalina), the CLASSPATH environment variable is not used since so
many people didn't understand how to properly set it up for TC 3.1 and 3.2.

	Randy

> -----Original Message-----
> From: Altug B. Altintas [mailto:altuga@riskturk.com]
> Sent: Thursday, January 24, 2002 8:02 AM
> To: Tomcat Users List
> Subject: RE: servlets work but JSPs not!
> 
> 
> did u set your CLASSPATH correctly ? 
> 
> -----Original Message-----
> From: Elif Zeynep Buyukduman [mailto:buyukdum@ug.bilkent.edu.tr]
> Sent: Thursday, January 24, 2002 2:48 PM
> To: Tomcat Users List
> Subject: RE: servlets work but JSPs not!
> 
> 
> thanks Randy, but isn`t this variable line correct?
> 
> set path=JAVA_HOME;C:\jdk1.1.8\
> 
> i think it is.
> 
> 
>  oooRR do i need to do something specific: e.g. set
> path=JAVA_HOME;C:\jdk1.1.8\bin\ ??
> 
> Zeynep
> 
> 
> -----Original Message-----
> From: Randy Layman [mailto:randy.layman@aswethink.com]
> Sent: Thursday, January 24, 2002 1:55 PM
> To: 'Tomcat Users List'
> Subject: RE: servlets work but JSPs not!
> 
> 
> 
> 	You do not have your JAVA_HOME environtment variable 
> set correctly,
> specifically JAVA_HOME/lib/javac.jar is not a valid file path.
> 
> 	Randy
> 
> 
> > -----Original Message-----
> > From: Elif Zeynep Buyukduman [mailto:buyukdum@ug.bilkent.edu.tr]
> > Sent: Thursday, January 24, 2002 7:42 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: FW: servlets work but JSPs not!
> >
> >
> >
> > -----Original Message-----
> > From: Elif Zeynep Buyukduman [mailto:buyukdum@ug.bilkent.edu.tr]
> > Sent: Thursday, January 24, 2002 2:28 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: servlets work but JSPs not!
> >
> >
> >
> >
> >
> > hi,
> > I am a quite new user of Tomcat. I did set it up, but there
> > seems to be a
> > simple problem. When I run the server and open the entrance
> > page on the
> > browser(localhost:8080), i can view the servlet examples,
> > that are given by
> > tomcat but the JSP Examples do not execute, server errors
> > occur, and are
> > printed like:
> > --------------------------------------------------------------
> > --------------
> > --------------------------------------------------------------
> > --------------
> > --------------------------------------------------------------
> > --------------
> > ---
> > Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
> >
> >
> >
> >
> > type Exception report
> > message Internal Server Error
> > description The server encountered an internal error
> > (Internal Server Error)
> > that prevented it from fulfilling this request.
> > exception
> > javax.servlet.ServletException: sun/tools/javac/Main
> > 	at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > 	at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > 	at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:243)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:201)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > henticatorBase
> > .java:472)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.valves.CertificatesValve.invoke(Certificat
> > esValve.java:2
> > 46)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2344)
> > 	at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:164
> > )
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:170
> > )
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> > e.java:462)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :163)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> > rocessor.java:
> > 1011)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> > ssor.java:1106
> > )
> > 	at java.lang.Thread.run(Thread.java:536)
> >
> > root cause
> > java.lang.NoClassDefFoundError: sun/tools/javac/Main
> > 	at
> > org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaComp
> > iler.java:128)
> > 	at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
> > 	at
> > org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
> > 	at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
> > ecessary(JspSe
> > rvlet.java:177)
> > 	at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> > (JspServlet.ja
> > va: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.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > 	at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > 	at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:243)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:201)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > henticatorBase
> > .java:472)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.valves.CertificatesValve.invoke(Certificat
> > esValve.java:2
> > 46)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2344)
> > 	at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:164
> > )
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:170
> > )
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> > e.java:462)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 64)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :163)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:5
> > 66)
> > 	at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> > rocessor.java:
> > 1011)
> > 	at
> > org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> > ssor.java:1106
> > )
> > 	at java.lang.Thread.run(Thread.java:536)
> >
> >
> > --------------------------------------------------------------
> > --------------
> > ------------------
> >
> > how can I overcome this problem?
> > my SDK is version:1.4.0-rc
> > and JDK :1.1.8 (actually couldn't find the 1.2 one on sun`s
> > webpage! can
> > this be causing the problem??)
> >
> > waiting for your help,
> > thank you...
> >
> > Elif Zeynep Buyukduman
> >
> >
> > --
> > To unsubscribe:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: 
> <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message