File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes http://localhost:8080/ --> HTTP 500 - Internal server error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "http://localhost:8080/ --> HTTP 500 - Internal server error " Watch "http://localhost:8080/ --> HTTP 500 - Internal server error " New topic
Author

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

Ingrid Vansteenkiste
Greenhorn

Joined: Feb 02, 2004
Posts: 2
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

Joined: Mar 22, 2000
Posts: 12835
    
    5
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

Joined: Feb 02, 2004
Posts: 2
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

Joined: Sep 09, 2003
Posts: 57
Have you followed all the setup requirement here?:
http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Configure-Tomcat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: http://localhost:8080/ --> HTTP 500 - Internal server error