tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schultz, Cecilia" <Schultz_Ceci...@rsccd.org>
Subject RE: tomcat 3.3.1 - win2k iis- examples
Date Wed, 15 Jan 2003 19:04:08 GMT

I tried running the jsp examples that comes with Tomcat and got the error:


==================
Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:0:
Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase.
package jsp.num;
^
F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:3: Package javax.servlet
not found in import.
import javax.servlet.*;
       ^
F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:4: Package javax.servlet.http
not found in import.
import javax.servlet.http.*;
       ^
F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:5: Package javax.servlet.jsp
not found in import.
import javax.servlet.jsp.*;
       ^
4 errors

	at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
	at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
	at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
	at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
	at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:479)



=================

what am I missing??

Thanks
Cecilia

>  -----Original Message-----
> From: 	Schultz, Cecilia  
> Sent:	Wednesday, January 15, 2003 10:45 AM
> To:	'Tomcat users list (E-mail)'
> Subject:	RE: tomcat 3.3.1 - win2k iis
> 
> It seems I am missing some path somewhere. I copied a web app 
> that does work in another server (with another container, not 
> tomcat) into the problem server.
> I got a similar error when bringing up the default page:
> 
> Class javax.servlet.http.HttpServlet not found in class 
> org.apache.jasper.runtime.HttpJspBase.
> 
> 
> any help is much appreciated
> Cecilia
> 
> Error: 500
> Location: /ranchodev/web/default.jsp
> Internal Servlet Error:
> org.apache.jasper.JasperException: Unable to compile 
> F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def
> ault_1.java:0: Class javax.servlet.http.HttpServlet not found 
> in class org.apache.jasper.runtime.HttpJspBase.
> package web;
> ^
> F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def
> ault_1.java:3: Package javax.servlet not found in import.
> import javax.servlet.*;
>        ^
> F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def
> ault_1.java:4: Package javax.servlet.http not found in import.
> import javax.servlet.http.*;
>        ^
> F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def
> ault_1.java:5: Package javax.servlet.jsp not found in import.
> import javax.servlet.jsp.*;
>        ^
> 4 errors
> 
> 	at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
> 	at 
> org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
> 	at 
> org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
> 	at 
> org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
> 	at 
> org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> 	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> 	at 
> org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
> ction(Unknown Source)
> 	at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> 	at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> Unknown Source)
> 	at java.lang.Thread.run(Thread.java:479
> 
> 
> 
> 
> >  -----Original Message-----
> > From: 	Schultz, Cecilia  
> > Sent:	Wednesday, January 15, 2003 9:56 AM
> > To:	Tomcat users list (E-mail)
> > Subject:	tomcat 3.3.1 - win2k iis
> > 
> > 
> > 
> > Hi,
> > 
> > I installed Tomcat 3.3.1 on win2k with IIS.  Then I installed 
> > an a vendor's web app. 
> > 
> > When I bring up the vendor's login page, I get this error:
> > 
> > 
> > =======================
> > 
> > 2003-01-15 07:43:45 - webapps2:/i1440: Reading 
> > F:\i1440root\opt\i1440\webapps\i1440\WEB-INF\web.xml
> > 2003-01-15 07:43:45 - webapps2:/i1440: Loading 1 InitServlet
> > 2003-01-15 07:45:02 - webapps2:/i1440: Compiling: /login.jsp 
> > to login_0
> > 2003-01-15 07:45:31 - webapps2:/i1440: compile error: req=R( 
> > /i1440 + /login.jsp + null) - 
> > org.apache.jasper.JasperException: Unable to compile 
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :0: Class javax.servlet.http.HttpServlet not found in class 
> > com.g1440.naf.jdbc.view.ServletView.
> > 
> > import javax.servlet.*;
> > ^
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :1: Package javax.servlet not found in import.
> > import javax.servlet.*;
> >        ^
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :2: Package javax.servlet.http not found in import.
> > import javax.servlet.http.*;
> >        ^
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :3: Package javax.servlet.jsp not found in import.
> > import javax.servlet.jsp.*;
> >        ^
> > 4 errors
> > 
> > 	at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
> > 	at 
> > 
> org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
> > 	at 
> > org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
> > 	at 
> > org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
> > 	at 
> > 
> org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> > 	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> > 	at 
> > org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
> > ction(Unknown Source)
> > 	at 
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> > 	at 
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > Unknown Source)
> > 	at java.lang.Thread.run(Thread.java:479)
> > 
> > 2003-01-15 07:45:31 - webapps2:/i1440: Exception in R( /i1440 
> > + /login.jsp + null) - org.apache.jasper.JasperException: 
> > Unable to compile 
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :0: Class javax.servlet.http.HttpServlet not found in class 
> > com.g1440.naf.jdbc.view.ServletView.
> > import javax.servlet.*;
> > ^
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :1: Package javax.servlet not found in import.
> > import javax.servlet.*;
> >        ^
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :2: Package javax.servlet.http not found in import.
> > import javax.servlet.http.*;
> >        ^
> > F:\i1440root\opt\local\tomcat\work\webapps2\i1440\login_1.java
> > :3: Package javax.servlet.jsp not found in import.
> > import javax.servlet.jsp.*;
> >        ^
> > 4 errors
> > 
> > 	at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
> > 	at 
> > 
> org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
> > 	at 
> > org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
> > 	at 
> > org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
> > 	at 
> > 
> org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> > 	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> > 	at 
> > org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
> > ction(Unknown Source)
> > 	at 
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> > 	at 
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > Unknown Source)
> > 	at java.lang.Thread.run(Thread.java:479)
> > 
> > 
> > =================
> > 
> > (com.g1440.naf.jdbc.view.ServletView is the vendor's class)
> > 
> > 
> > If I bring up a simple test1.jsp page, it comes ok. Does this 
> > mean that tomcat is all ok and this error is a vendor's 
> > specific error? 
> > 
> > 
> > 
> > 
> > Thanks
> > Cecilia
> > 

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


Mime
View raw message