• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you followed all the setup requirement here?:
http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Configure-Tomcat
 
If you're gonna buy things, buy this thing and I get a fat kickback:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic