• 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

Tomcat Configuration

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am deploying a JSP but failed.
Http error 404 etc.
Tomcat does works.

So I suspect it is the environment variables setting up problem and I re-install tomcat pre-configuration version 6.0.10.

I tried to double click catalina.bat and setclasspath.bat in
%CATALINA_HOME%\bin.
However just see a window pop up then disappears quickly.the environment variables are unchanged at all.

OS: WIN XP HOME.
Jdk 1.6.0_04
J2EE 1.4
Can you please point it out what is wrong?

Thank you very much.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The correct one to start Tomcat is startup.bat. But don't double-click it; open a Concole window, change to the Tomcat directory, and then type "bin\startup.bat". That way you will see if there are any error messages.
 
Hui Zhao
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I appreciate your reply but you may misunderstood my question.
bin/startup.bat is ok.
My question is I want to reset the environment variables by double
click bin\catalina.bat and bin\setclasspath.bat.
But they are not working.
I just saw a window jumps out then closes quickly. The environment variables are not set automatially.


Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic