• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http://localhost:8080/ --> HTTP 500 - Internal server error

 
Ingrid Vansteenkiste
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help!! i am new at this and i don't know where to look for the solution.
problem =
In explorer , i can view the directory but when i wan't to see the .jsp, i get this error : javax.servlet.ServletException: sun/tools/javac/Main.
CLASSPATH = .;C:\Program Files\Apache Tomcat 4.0\common\lib/j2eetools.jar
JAVA_HOME = C:\j2sdkee1.3.1
PATH = C:\j2sdkee1.3.1\bin
I already copied the j2eetools.jar from C:\j2sdkee1.3.1\lib in C:\Program Files\Apache Tomcat 4.0\common\lib.
What else am i doing wrong?
Thx...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Tomcat ignores the environment classpath
2. Unless you are doing something very specific to J2EE, Tomcat does not need that jar file.
3. After installing Tomcat, could you execute the example servlets and JSP?
Bill
 
Ingrid Vansteenkiste
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the examples directory :
some of the execute link (numberguess , date, snoop, ..)give me the following error :
--> "javax.servlet.ServletException: sun/tools/javac/Main"
some of them (carts, checkbox, ..) show me a html-page (carts.html, check.html, ..)
thx...
 
Tokunbo Oke
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you followed all the setup requirement here?:
http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Configure-Tomcat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic