my dog learned polymorphism*
The moose likes Tomcat and the fly likes problem with tomcat4.0.4!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with tomcat4.0.4!!" Watch "problem with tomcat4.0.4!!" New topic
Author

problem with tomcat4.0.4!!

prem raja
Greenhorn

Joined: Jun 04, 2002
Posts: 17
hi
i have upgraded my tomcat 4.0b1 tp tomcat4.0.4 final and also done all the routine environmental variable settings.i transferred my files in the old root to the new one.but the problem is that i am not able to load my login.jsp page which was running smoothly on the previous version.the error shown is given below.

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
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.

An error occurred at line: 17 in the jsp file: /Login.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Login$jsp.java:89: Class org.apache.jsp.Login not found.
Login Login = null;
^

An error occurred at line: 17 in the jsp file: /Login.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Login$jsp.java:92: Class org.apache.jsp.Login not found.
Login= (Login)
^

An error occurred at line: 17 in the jsp file: /Login.jsp
Generated servlet error:
D:\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Login$jsp.java:97: Class org.apache.jsp.Login not found.
Login = (Login) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Login");
^
3 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
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.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)

can anyone throw some light into it.
prem
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Can you try creating a new test JSP page and access that?
prem raja
Greenhorn

Joined: Jun 04, 2002
Posts: 17
hi tony
i just created one simple html page and tryed to access it.the following error occured
type Status report
message /register.html
description The requested resource (/register.html) is not available.
but am able to access tomcat homepage at
http://localhost:8080/index.html
prem
prem raja
Greenhorn

Joined: Jun 04, 2002
Posts: 17
sorry
that was a .htm page and i am able to access the html page.i will try with a .jsp page and get back to u
prem
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Moved to Apache/Tomcat (from Servlets)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with tomcat4.0.4!!