I had the same problem installing Tomcat under Win2000.  Be sure that all your 
environment variables are set properly.  I actually created a batch file that sets all 
my environment variables before I run Tomcat.  That solved my problem.  Be sure that 
you have set Java_Home environment under "My Computer".  Here's a sample of the batch 
file (just change the directories to match your environment):

set JAVA_HOME=c:\j2sdk1.4.1
set CATALINA_HOME=D:\tomcat
set 
path=D:\tomcat\bin;c:\j3sdk1.4.1\bin;c:\winnt;c:\winnt\system32;e:\oracle\ora92\bin;
set 
classpath=d:\tomcat\common\lib\mail.jar;d:\tomcat\common\lib\soap.jar;d:\tomcat\common\lib\activation.jar;c:\j2sks1.4.1\lib;d:\tomcat\common\lib\servlet.jar;d:\tomcat\common\lib\classes12.jar;d:\tomcat\server\lib\catalina.jar;d:\tomcat\common\lib\jaxp.jar;

Run your batch file then to to
d:\tomcat\bin\startup

Good lucK!

-----Original Message-----
From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 14:02
To: Tomcat Users List
Subject: Re: Tomcat doesn't start under Windows XP




Shapira, Yoav wrote:

>Howdy,
>
>  
>
>>Fist time I received the message: Cannot Find file
>>    
>>
>"-Djava.endorsed.dirs=".
>  
>
>>So I spent some time looking into the documentation and I decided to
>>    
>>
>set
>  
>
>>a new variable JAVA_ENDORSED_DIRS = %CATALINA_HOME%\common\endorsed.
>>    
>>
>
>You don't need to set this variable yourself: it's set in the tomcat
>startup scripts.
>  
>
I tryed to set it as an environment variable becouse I couldn't find any 
place in the script where it was set up.

>You got the above effort after simply installing tomcat and trying to
>run it?  That's very strange. 
>

I simply downloaded the zip file, unzipped it into my directory and 
tryed to execute the startup.bat (following the instructions into the 
running.txt).

> Can you start tomcat from the Programs Menu rather than the command line?
>
>  
>

Well, I've made a simply .bat that does what was written into the docs:
CD %CATALINA_HOME%\bin
startup

But even If I try from the command line I've the same result.

What do you mean with "from the Programs Menu"?

Giorgio



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to