I don't know which one of these thing was right, but it started! :-)
Thanks to all for the help.
Giorgio
Mike Curwen wrote:
C:\Programmi\Java\j2re1.4.2
This is a JRE? You should be using a JDK.
-----Original Message-----
From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:19 PM
To: Tomcat Users List
Subject: Re: Tomcat doesn't start under Windows XP
Jon Wingfield wrote:
Have you set your JAVA_HOME environment variable to be your jdkThis is what the script send to the console:
install directory (with no trailing slash)?
The command the script is trying to execute seems to be missing a vital bit: <expanded_java_home>\bin\java.exe
HTH,
Jon
Using JAVA_HOME: C:\Programmi\Java\j2re1.4.2
It seems to me that it's right.
But I agree with you that there should be something missing in the command. Giorgio
Giorgio Franceschetti wrote:decided to
I'm trying to start Tomcat, but I'm receiving a strange error. I'm using Win XP Java 1.4.2, Tomcat 4.1.27
Fist time I received the message: Cannot Find file
"-Djava.endorsed.dirs=".
So I spent some time looking into the documentation and I
%CATALINA_HOME%\common\endorsed.set a new variable JAVA_ENDORSED_DIRS =
(CATALINA.BAT)This becouse this variable it's. used into the script
about thisbut it's never set up to any value.
I don't know if it' right, I cannot find any information
received a newvariable into the running.txt, but, after that, I've
understand what'smessage error: "Djava.endorsed.dirs=C:\OpenSource\tomcat\common\endorsed" (obviously %CATALINA_HOME=c:\OpenSource\tomcat).
So, I decided to change the script , only to try to
-classpath". Byhappening. I deleted the "-Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" instruction.
Next time I received a new error: "Cannot find file:
follow the oneth way, -classpath is the instruction that immediately
-Djava.endorsed.dirs=C:\Applicativi-Open-Source\tomcat\common\that I have cancelled.
This time I thought that the error was somewhere before that instruction.
I tryed to see which were the values that the script were using.
It was trying to execute a command like that: start "Tomcat"
endorsed
----------------------------------------------------------------------classpath C:\Applicativi-Open-Source\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\Applicativi-Open-Source\tomcat -Dcatalina.home=C:\Applicativi-Open-Source\tomcat -Djava.io.tmpdir=C:\Applicativi-Open-Source\tomcat\temp org.apache.catalina.startup.Bootstrap start
But now I don't know what more to do. Thanks in advance for help. Giorgio
[EMAIL PROTECTED]To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
---------------------------------------------------------------------
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]
--------------------------------------------------------------------- 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]
