• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Tomcat-5.0.0

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to install Tomcat-5.0.0 on Window XP. Under c:\jakarta-tomcat-5.0.0\bin, first I clicked on setclasspath.bat, things went OK. But after I clicked on startup.bat, I got the following error message
"Windows cannot find '-Djava.endorsed.dirs=' Make sure you type the name correctly ..."
I use j2sdk1.4.1_01 and set
JAVA_HOME=c:\j2sdk1.4.1_01
Please help!
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
What you need to do is start setclasspath.bat and startup.bat from the same command-line. The reason for this is that the settings that the setclasspath script does "dies" when that script finishes.
make a .bat-file on your own, something like this:
startmytomcat.bat:

hope this helps.
/Peter
P.S. haven't tested, but it should work.
 
herkulis nugent
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,
I realized that I made a mistake by having a semicolon after j2sdk1.4.1_01 in my JAVA_HOME. I only found this out by running the batch files from command line like you suggested. I could now point the browser to http://localhost:8080/ and it showed the Jakarta Project homepage as it was supposed to. However, when I tried the HelloWorld program, I got error message 'exception: java.util.MissingResourceException: Cant find bundle for base name LocalStrings ...'
What am I missing?
I tried the steps mentioned in http://www.moreservlets.com/Using-Tomcat-4.html to no prevail. Please help
[ February 17, 2003: Message edited by: herkulis nugent ]
[ February 17, 2003: Message edited by: herkulis nugent ]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, herkulis

Welcome to JavaRanch! Please adjust your display name to meet the JavaRanch Naming Policy.
You can change it here.

Thanks!
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And why isn't this in Apache/Tomcat?
 
I'm so happy! And I wish to make this tiny ad happy too:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic