aspose file tools*
The moose likes Tomcat and the fly likes Unable to get a 'Congratulations Page' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to get a Watch "Unable to get a New topic
Author

Unable to get a 'Congratulations Page'

mythily prakash
Ranch Hand

Joined: Jan 27, 2006
Posts: 31
Hi,
I downloaded the TOMCAT 4 on my machine and i installed it in my machine with the help of Installation Instructions they provided.They asked to make the tomcat as the current dir and give the command like this "C:\jakarta-tomcat-4.1.31\bin\startup.bat".And on my browser "http://localhost:8080". IF i give so, then it will display a congratulations page. but i couldn't get this page instead i got some error messages on the page having something like...

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142
............

and also while giving startup.bat it will give an error like ..
The system cannot find the file -Dsun.io.useCanonCaches=false. - in my command prompt.

pls guide me get get installed Tomcat in my machine.

Thanks,
Mythily.


Best Regards,<br />Mythily.S<br />9886530336
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

We have a forum devoted to Tomcat here. I'll move this question there for you.


[Jess in Action][AskingGoodQuestions]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Why are you starting out with an outdated version?
Did you set all the required environment variables?
If so, did you test them to make sure they're correct?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Tauri Valor
Ranch Hand

Joined: Aug 03, 2005
Posts: 166
Make sure that in Environment variables, you have set CATALINA_HOME and TOMCAT_HOME variables to your tomcat home directory (eg; c:\tomcat4.1 ).

And also see that your servlet.jar is set in CLASSPATH variable .(C:\tomcat4.1\common\lib\servlet.jar


A Moment's insight is sometimes worth a Life's experience.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get a 'Congratulations Page'
 
Similar Threads
Problem with running the web application
Tomcat error 500?
Bootstrap and Tomcat 4.1
Configure Multiple Tomcat Instances
popup form - howto get data ? from newbie