This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 12761
    
    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
 
Similar Threads
simple question
Error messages running Advice app
package javax.ejb does not exist
Can't start the server-----please help!
can you run J2EE RI with JDK 1.5?