Hi Tek,

Why are you using cygwin? I mean, I know the Windows command line sucks, but
you are not "using" it with tomcat, you are basically just starting the
tomcat main class with it. So there is not need for an advanced shell as far
as I can see.

> i'm trying to run tomcat on windows2000 using cygwin.  i've set my
> JAVA_HOME and TOMCAT_HOME environment variables (in /home/user/.bashrc),
> and are as follows:
> java runs fine whenever i type "java ...".  however, when i change to the
> TOMCAT_HOME/bin directory and type "startup.sh", the following is
> displayed
> and nothing else happens.
> $ bin/startup.sh
> Using CATALINA_BASE:   /cygdrive/c/java/tomcat/404b1
> Using CATALINA_HOME:   c:\java\tomcat\404b1
> Using CATALINA_TMPDIR: /cygdrive/c/java/tomcat/404b1/temp
> Using JAVA_HOME:       c:\java\j2se\sun\131_02

At this moment startup.sh wants to open a new Window. Probably this doesn't
work using cygwin. I recommend using startup.bat on windows and startup.sh
when using unix. At least as long as you are not the ultimate cygwin crack
who knows how to debug shell scripts and find a workaround here.

Addition: The problem cease to exists if "startup.sh run" whould pass on the
run parameter to catalina.sh, which - at least in the .bat version - it
doesn't do, though IMHO it should...

Addition 2: Try using "catalina.sh run" instead of startup, this does not
open a new window (look at startup.sh first to see what it does before
calling catalina.sh and include this to catalina.sh if needed)

Hope that helps,
Alexander


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to