This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error while starting tomcat5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error while starting tomcat5" Watch "Error while starting tomcat5" New topic
Author

Error while starting tomcat5

Boobalan Jegathesan
Greenhorn

Joined: Jan 08, 2007
Posts: 17
Hi,

I installed tomcat5.0 on win2000 machine.I set JAVA_HOME properly.When I run startup file Its giving me an error as

The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
Using CATALINA_BASE: D:\bala\jakarta-tomcat-5.0.30
Using CATALINA_HOME: D:\bala\jakarta-tomcat-5.0.30
Using CATALINA_TMPDIR: D:\bala\jakarta-tomcat-5.0.30\temp
Using JAVA_HOME:

windows cannot find '-Djava.endrosed.dirs=' make sure you typed the name correctly,and then try again.


but Its working fine on win-xp machine...what would be the problem?
Please give me a solution as soon as possible.
[ February 12, 2007: Message edited by: Boobalan Jegathesan ]

Thanks<br />Boobalan.(SCJP1.4)
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I set JAVA_HOME properly

what makes you think so ?
How did you set JAVA_HOME ?
Open a command prompt, type SET, and check that JAVA_HOME is really displayed.


[My Blog]
All roads lead to JavaRanch
Boobalan Jegathesan
Greenhorn

Joined: Jan 08, 2007
Posts: 17
Hi,

I said its working fine for win-xp machine.I tested JAVA_HOME env-variable.I want to know the reasons why it is failing for win2000 machine.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I said its working fine for win-xp machine

I see...

Please give me a solution as soon as possible.

http://faq.javaranch.com/view?PatienceIsAVirtue

Sorry, I'll let other ranchers help you then
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Error while starting tomcat5
 
Similar Threads
Unable to Start Tomcat
My previously installed Tomcat 4.1 does not run after Installing .NET - help..
embedded 5.0.30 set env variables
Startup problem - Tomcat 4.0.4 and Windows ME
unable to start tomcat 4.1.21