Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to get a 'Congratulations Page'

 
mythily prakash
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a forum devoted to Tomcat here. I'll move this question there for you.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tauri Valor
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic