tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adison H <adi...@vergenet.com>
Subject Tips on running tomcat on cygwin (windows)
Date Sat, 14 Oct 2000 21:46:54 GMT
Hi all,

When running tomcat on cygwin, I notice that tomcat.sh (or catalina.sh) passes
unix-style classpath to windows-based java.exe (ie.
CP=/some/path/a.jar:/some/path/b.jar, while what we need is really
CP=C:\some\path\a.jar;C:\some\path\b.jar). This causes ClassNotFoundException.

A good and easy way to handle this is to add:

if [ "$OSTYPE" = "cygwin32" ] ; then
  CP=`cygpath --path --windows "$CP"`
fi

before the $CP variable is actually used by java -cp $CP

Hope this helps,
Adison

NB: I'm new to this milis, sorry if what I'm posting here is not relevant. Pls
let me know.


David Soroko wrote:

> Yes, that could be very helpful.
>
> --
> ====================================================
> David Soroko
> Manna Inc.
>
> http://www.geocities.com/SiliconValley/Campus/1628/
> mailto://davids@mannanetwork.com
> ====================================================
>
> -----Original Message-----
> From: yhs@mimic.onesourcecorp.com [mailto:yhs@mimic.onesourcecorp.com]
> Sent: Saturday, October 14, 2000 9:14 PM
> To: tomcat-dev@jakarta.apache.org
> Subject: Re: Tomcat 3.2 proposal question
>
> hi guys,
> just wondering if we're going to have SSL capability compiled into tomcat
> by default for the 3.2 release ? previous releases didnt and its a pain to
> rebuild from source....
> Thanks.
> -Ys-
> yhs@mimic.onesourcecorp.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message