You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David McLure <da...@mclures.net> on 2001/12/08 08:14:41 UTC

XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

I can't seem to get past square one installing tomcat beta 4.0.1 on a
newly built XP Home system with Cygwin.
The beta 4.0.1 tomcat executable is apparently having trouble finding my
jdk, but it is in my path.  I have a feeling this is possibly due to
cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
"/cygdrive/c/".

My jdk is in my path using both the regular (DOS), as well as the cygwin
(Unix) command windows :

C:\kits\java\Tomcat>echo %PATH%
c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\

System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND

C:\kits\java\Tomcat> env|grep PATH
HOMEPATH=\Documents and Settings\dave
PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cyg

drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-beta3/b

in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND

Similarly, the java exe is visible in my path through both the regular
(DOS), as well as the cygwin (Unix) command windows :

C:\kits\java\Tomcat> java -version
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)

Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

$ java -version
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)

Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

Anyone else done much with cygwin?  How about Windows XP Home?  This is
the first time I've tried to install Tomcat since upgrading to XP and I
installed Cygwin prior to attempting Tomcat as well.

David McLure




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


tomcat 4.0.1 & shortname(non-8.3) CATALINA_HOME

Posted by "David C. Hochrein" <ho...@mail.msen.com>.
Hello All,

I'm seeing some odd behavior with Tomcat 4.0.1 on NT/2k and installation
directories containing anything greater than 8.3 naming.

I'd like to know if anyone else has seen this or if perhaps this is a known
issue.

I originally noticed this problem because the examples & manager webapps
would always result in 404 errors whenever Tomcat 4.0.1 was installed into a
non-8.3 directory (ie any directory that has a corresponding short name with
~. with or without spaces -- doesn't matter). Everything else worked
great -- my application was working just fine.

In tracking this down, I found the following entry in the log files:

> 2001-12-05 18:22:44 ContextConfig[/manager]: Missing application web.xml,
> using defaults only
> ...
> 2001-12-05 18:23:17 ContextConfig[/examples]: Missing application web.xml,
> using defaults only

And, after some testing, I found that the non-8.3 installation directory was
causing the problem. So, I assumed that a longname was being used somewhere
that it shouldn't be and went about tracking it down. I intended to then
convert it to the short name and all would be well.

Unfortunately, I found that short names were being used correctly everywhere
and the problem still existed.

At this point, I've boiled this down to the following test case(s).

1. Take a 4.0.1 binary release (zip file). Copy the contents to
"C:\123456789". Setup CATALINA_HOME to it's shortname version: (probably
"C:\123456~1"). Run bin\startup.bat. Notice the 404 errors for the examples
& manager webapps. Run bin\shutdown.bat to stop Tomcat.

2. Now, copy the 4.0.1 binary release to "C:\12345678". Setup CATALINA HOME
again (it can now be just "C:\12345678"). Run the bin\startup.bat again.
Now, notice that the examples & manager webapps work just fine.

Very strange. It seems as though shortname versions (including ~) of
longnames for the installation directory *cannot* be used for CATALINA_HOME
because Tomcat 4.0.1 doesn't like it. (In fact, if you set CATALINA_HOME to
the full "C:\123456789" path for the first case, this also resolves the
issue.)

Finally, I grabbed a nightly build from 12/7 and this problem no longer
appears to exist on the development codebase. So, it looks like this was a
known issue that has been resolved or perhaps it's resolution is a side
effect of some other changes.

The problem I still have is that my configuration code converts everything
to shortnames (which is usually the proper thing to do). But, in this case,
it is causing Tomcat to fail. I guess I can use the longname for
CATALINA_HOME -- it just seems a strange thing to have to do.

Anyone else see this or have any thoughts?

Dave




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by Brian Adams <bi...@satx.rr.com>.
cool.  I don't think it has anything to do with cygwin.  If I double click
the install.exe I get the error.  The install some how is looking/or not
looking for some other determining fact that jdk is installed. :(
Glad your up and working though....
I'll keep an eye on the list and see what others say.
B

-----Original Message-----
From: David McLure [mailto:david@mclures.net]
Sent: Saturday, December 08, 2001 1:20 PM
To: Tomcat Users List
Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems


I've confirmed that using the tomcat 4.1.0 zip file seems to work fine (so
far
anyway) on XP Home with Cygwin.

It might be interesting to know whether anyone is able to run the tomcat
4.0.1
exe on XP without Cygwin installed.

Brian Adams wrote:

> I just tried the executable that I did not delete and it gave me the
error.
> so I must have installed that zipped version.
>
> THIS MUST BE A BUG WITH THE INSTALL.exe  ANYONE ELSE HAVING PROBLEMS??????
>
> Brian
>
> -----Original Message-----
> From: David McLure [mailto:david@mclures.net]
> Sent: Saturday, December 08, 2001 11:25 AM
> To: Tomcat Users List
> Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
>
> Yes, I meant to mention that I also tried setting the JAVA_HOME variable
> using
> the NT-style Advanced Control Panel GUI (instead of slamming it into the
> autoexec.bat).  I also downloaded the zip and I assume that will work just
> fine,
> but I thought it might be interesting to the developers that the exe is
> having
> this problem.
>
> Thanks - I'll send an update once I successfully install the zip.
>
> Brian Adams wrote:
>
> > David, I really can not remember how I fixed it.  Did you right click on
> > myComputer and select properties and then select advanced and select the
> > environment variables botton?  if not add it there under system
variables.
> > sorry if you've done this just being specific.
> > I also remember donw loading just the zipped version and I may have
> > installed that instead. sorry it was a long night that night.
> >
>
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
> > ta-tomcat-4.0.1.zip
> > here is the 4.0.1 zipped verision just unzip it and you will get
> everything
> > the install gives you except for the nt service exe but you can build
that
> > seperate.
> > good luck
> >
> > -----Original Message-----
> > From: David McLure [mailto:david@mclures.net]
> > Sent: Saturday, December 08, 2001 11:01 AM
> > To: Tomcat Users List
> > Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
> >
> > Thanks Brian, I think you are probably right that it is something to do
> with
> > my
> > java_home environment variable, but I can't seem to find a typo.  I am
> > getting
> > the following error in a pop-up window when trying to run the tomcat
> install
> > executable program (jakarta-tomcat-4.0.1.exe) :
> >
> > "Couldn't find a Java Development Kit installed on this computer. Please
> > download one from http://java.sun.com."
> >
> > Maybe the problem is that I am setting the variable in the wrong place?
I
> > am
> > attempting to set it in my autoexec.bat as follows :
> >
> > C:\>type autoexec.bat
> > SET windir=C:\WINDOWS
> > SET winbootdir=C:\WINDOWS
> > SET COMSPEC=C:\WINDOWS\COMMAND.COM
> > SET PATH=C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> > SET PROMPT=$p$g
> > SET TEMP=C:\WINDOWS\TEMP
> > SET TMP=C:\WINDOWS\TEMP
> > SET JAVA_HOME=C:\j2sdk1.4.0-beta3
> >
> > My PATH seems OK, but apparently the JAVA_HOME isn't working for the
> tomcat
> > install program.
> >
> > I don't suppose Windows environment variables become case sensitive with
> > Cygwin
> > or anything like that do they?
> >
> > Brian Adams wrote:
> >
> > > Hi David, I have cygwin and win2000 but I had the same problem the
other
> > > night.  I think mine was just a typo in my Windows java_home env.
> > > Which executable are you trying when you get the error?
> > > Also what is the exact error?
> > >
> > > -----Original Message-----
> > > From: David McLure [mailto:david@mclures.net]
> > > Sent: Saturday, December 08, 2001 1:15 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
> > >
> > > I can't seem to get past square one installing tomcat beta 4.0.1 on a
> > > newly built XP Home system with Cygwin.
> > > The beta 4.0.1 tomcat executable is apparently having trouble finding
my
> > > jdk, but it is in my path.  I have a feeling this is possibly due to
> > > cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
> > > j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
> > > "/cygdrive/c/".
> > >
> > > My jdk is in my path using both the regular (DOS), as well as the
cygwin
> > > (Unix) command windows :
> > >
> > > C:\kits\java\Tomcat>echo %PATH%
> > >
> >
>
c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> > > OWS\
> > >
> > > System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> > >
> > > C:\kits\java\Tomcat> env|grep PATH
> > > HOMEPATH=\Documents and Settings\dave
> > >
> >
>
PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
> > > /cyg
> > >
> > >
> >
>
drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
> > > a3/b
> > >
> > > in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
> > >
> > > Similarly, the java exe is visible in my path through both the regular
> > > (DOS), as well as the cygwin (Unix) command windows :
> > >
> > > C:\kits\java\Tomcat> java -version
> > > java version "1.4.0-beta3"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.0-beta3-b84)
> > >
> > > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> > >
> > > $ java -version
> > > java version "1.4.0-beta3"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.0-beta3-b84)
> > >
> > > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> > >
> > > Anyone else done much with cygwin?  How about Windows XP Home?  This
is
> > > the first time I've tried to install Tomcat since upgrading to XP and
I
> > > installed Cygwin prior to attempting Tomcat as well.
> > >
> > > David McLure
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by David McLure <da...@mclures.net>.
I've confirmed that using the tomcat 4.1.0 zip file seems to work fine (so far
anyway) on XP Home with Cygwin.

It might be interesting to know whether anyone is able to run the tomcat 4.0.1
exe on XP without Cygwin installed.

Brian Adams wrote:

> I just tried the executable that I did not delete and it gave me the error.
> so I must have installed that zipped version.
>
> THIS MUST BE A BUG WITH THE INSTALL.exe  ANYONE ELSE HAVING PROBLEMS??????
>
> Brian
>
> -----Original Message-----
> From: David McLure [mailto:david@mclures.net]
> Sent: Saturday, December 08, 2001 11:25 AM
> To: Tomcat Users List
> Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
>
> Yes, I meant to mention that I also tried setting the JAVA_HOME variable
> using
> the NT-style Advanced Control Panel GUI (instead of slamming it into the
> autoexec.bat).  I also downloaded the zip and I assume that will work just
> fine,
> but I thought it might be interesting to the developers that the exe is
> having
> this problem.
>
> Thanks - I'll send an update once I successfully install the zip.
>
> Brian Adams wrote:
>
> > David, I really can not remember how I fixed it.  Did you right click on
> > myComputer and select properties and then select advanced and select the
> > environment variables botton?  if not add it there under system variables.
> > sorry if you've done this just being specific.
> > I also remember donw loading just the zipped version and I may have
> > installed that instead. sorry it was a long night that night.
> >
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
> > ta-tomcat-4.0.1.zip
> > here is the 4.0.1 zipped verision just unzip it and you will get
> everything
> > the install gives you except for the nt service exe but you can build that
> > seperate.
> > good luck
> >
> > -----Original Message-----
> > From: David McLure [mailto:david@mclures.net]
> > Sent: Saturday, December 08, 2001 11:01 AM
> > To: Tomcat Users List
> > Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
> >
> > Thanks Brian, I think you are probably right that it is something to do
> with
> > my
> > java_home environment variable, but I can't seem to find a typo.  I am
> > getting
> > the following error in a pop-up window when trying to run the tomcat
> install
> > executable program (jakarta-tomcat-4.0.1.exe) :
> >
> > "Couldn't find a Java Development Kit installed on this computer. Please
> > download one from http://java.sun.com."
> >
> > Maybe the problem is that I am setting the variable in the wrong place?  I
> > am
> > attempting to set it in my autoexec.bat as follows :
> >
> > C:\>type autoexec.bat
> > SET windir=C:\WINDOWS
> > SET winbootdir=C:\WINDOWS
> > SET COMSPEC=C:\WINDOWS\COMMAND.COM
> > SET PATH=C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> > SET PROMPT=$p$g
> > SET TEMP=C:\WINDOWS\TEMP
> > SET TMP=C:\WINDOWS\TEMP
> > SET JAVA_HOME=C:\j2sdk1.4.0-beta3
> >
> > My PATH seems OK, but apparently the JAVA_HOME isn't working for the
> tomcat
> > install program.
> >
> > I don't suppose Windows environment variables become case sensitive with
> > Cygwin
> > or anything like that do they?
> >
> > Brian Adams wrote:
> >
> > > Hi David, I have cygwin and win2000 but I had the same problem the other
> > > night.  I think mine was just a typo in my Windows java_home env.
> > > Which executable are you trying when you get the error?
> > > Also what is the exact error?
> > >
> > > -----Original Message-----
> > > From: David McLure [mailto:david@mclures.net]
> > > Sent: Saturday, December 08, 2001 1:15 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
> > >
> > > I can't seem to get past square one installing tomcat beta 4.0.1 on a
> > > newly built XP Home system with Cygwin.
> > > The beta 4.0.1 tomcat executable is apparently having trouble finding my
> > > jdk, but it is in my path.  I have a feeling this is possibly due to
> > > cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
> > > j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
> > > "/cygdrive/c/".
> > >
> > > My jdk is in my path using both the regular (DOS), as well as the cygwin
> > > (Unix) command windows :
> > >
> > > C:\kits\java\Tomcat>echo %PATH%
> > >
> >
> c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> > > OWS\
> > >
> > > System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> > >
> > > C:\kits\java\Tomcat> env|grep PATH
> > > HOMEPATH=\Documents and Settings\dave
> > >
> >
> PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
> > > /cyg
> > >
> > >
> >
> drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
> > > a3/b
> > >
> > > in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
> > >
> > > Similarly, the java exe is visible in my path through both the regular
> > > (DOS), as well as the cygwin (Unix) command windows :
> > >
> > > C:\kits\java\Tomcat> java -version
> > > java version "1.4.0-beta3"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
> > >
> > > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> > >
> > > $ java -version
> > > java version "1.4.0-beta3"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
> > >
> > > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> > >
> > > Anyone else done much with cygwin?  How about Windows XP Home?  This is
> > > the first time I've tried to install Tomcat since upgrading to XP and I
> > > installed Cygwin prior to attempting Tomcat as well.
> > >
> > > David McLure
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by Brian Adams <bi...@satx.rr.com>.
I just tried the executable that I did not delete and it gave me the error.
so I must have installed that zipped version.

THIS MUST BE A BUG WITH THE INSTALL.exe  ANYONE ELSE HAVING PROBLEMS??????

Brian

-----Original Message-----
From: David McLure [mailto:david@mclures.net]
Sent: Saturday, December 08, 2001 11:25 AM
To: Tomcat Users List
Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems


Yes, I meant to mention that I also tried setting the JAVA_HOME variable
using
the NT-style Advanced Control Panel GUI (instead of slamming it into the
autoexec.bat).  I also downloaded the zip and I assume that will work just
fine,
but I thought it might be interesting to the developers that the exe is
having
this problem.

Thanks - I'll send an update once I successfully install the zip.

Brian Adams wrote:

> David, I really can not remember how I fixed it.  Did you right click on
> myComputer and select properties and then select advanced and select the
> environment variables botton?  if not add it there under system variables.
> sorry if you've done this just being specific.
> I also remember donw loading just the zipped version and I may have
> installed that instead. sorry it was a long night that night.
>
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
> ta-tomcat-4.0.1.zip
> here is the 4.0.1 zipped verision just unzip it and you will get
everything
> the install gives you except for the nt service exe but you can build that
> seperate.
> good luck
>
> -----Original Message-----
> From: David McLure [mailto:david@mclures.net]
> Sent: Saturday, December 08, 2001 11:01 AM
> To: Tomcat Users List
> Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
>
> Thanks Brian, I think you are probably right that it is something to do
with
> my
> java_home environment variable, but I can't seem to find a typo.  I am
> getting
> the following error in a pop-up window when trying to run the tomcat
install
> executable program (jakarta-tomcat-4.0.1.exe) :
>
> "Couldn't find a Java Development Kit installed on this computer. Please
> download one from http://java.sun.com."
>
> Maybe the problem is that I am setting the variable in the wrong place?  I
> am
> attempting to set it in my autoexec.bat as follows :
>
> C:\>type autoexec.bat
> SET windir=C:\WINDOWS
> SET winbootdir=C:\WINDOWS
> SET COMSPEC=C:\WINDOWS\COMMAND.COM
> SET PATH=C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> SET PROMPT=$p$g
> SET TEMP=C:\WINDOWS\TEMP
> SET TMP=C:\WINDOWS\TEMP
> SET JAVA_HOME=C:\j2sdk1.4.0-beta3
>
> My PATH seems OK, but apparently the JAVA_HOME isn't working for the
tomcat
> install program.
>
> I don't suppose Windows environment variables become case sensitive with
> Cygwin
> or anything like that do they?
>
> Brian Adams wrote:
>
> > Hi David, I have cygwin and win2000 but I had the same problem the other
> > night.  I think mine was just a typo in my Windows java_home env.
> > Which executable are you trying when you get the error?
> > Also what is the exact error?
> >
> > -----Original Message-----
> > From: David McLure [mailto:david@mclures.net]
> > Sent: Saturday, December 08, 2001 1:15 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
> >
> > I can't seem to get past square one installing tomcat beta 4.0.1 on a
> > newly built XP Home system with Cygwin.
> > The beta 4.0.1 tomcat executable is apparently having trouble finding my
> > jdk, but it is in my path.  I have a feeling this is possibly due to
> > cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
> > j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
> > "/cygdrive/c/".
> >
> > My jdk is in my path using both the regular (DOS), as well as the cygwin
> > (Unix) command windows :
> >
> > C:\kits\java\Tomcat>echo %PATH%
> >
>
c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> > OWS\
> >
> > System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> >
> > C:\kits\java\Tomcat> env|grep PATH
> > HOMEPATH=\Documents and Settings\dave
> >
>
PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
> > /cyg
> >
> >
>
drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
> > a3/b
> >
> > in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
> >
> > Similarly, the java exe is visible in my path through both the regular
> > (DOS), as well as the cygwin (Unix) command windows :
> >
> > C:\kits\java\Tomcat> java -version
> > java version "1.4.0-beta3"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
> >
> > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> >
> > $ java -version
> > java version "1.4.0-beta3"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
> >
> > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> >
> > Anyone else done much with cygwin?  How about Windows XP Home?  This is
> > the first time I've tried to install Tomcat since upgrading to XP and I
> > installed Cygwin prior to attempting Tomcat as well.
> >
> > David McLure
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by David McLure <da...@mclures.net>.
Yes, I meant to mention that I also tried setting the JAVA_HOME variable using
the NT-style Advanced Control Panel GUI (instead of slamming it into the
autoexec.bat).  I also downloaded the zip and I assume that will work just fine,
but I thought it might be interesting to the developers that the exe is having
this problem.

Thanks - I'll send an update once I successfully install the zip.

Brian Adams wrote:

> David, I really can not remember how I fixed it.  Did you right click on
> myComputer and select properties and then select advanced and select the
> environment variables botton?  if not add it there under system variables.
> sorry if you've done this just being specific.
> I also remember donw loading just the zipped version and I may have
> installed that instead. sorry it was a long night that night.
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
> ta-tomcat-4.0.1.zip
> here is the 4.0.1 zipped verision just unzip it and you will get everything
> the install gives you except for the nt service exe but you can build that
> seperate.
> good luck
>
> -----Original Message-----
> From: David McLure [mailto:david@mclures.net]
> Sent: Saturday, December 08, 2001 11:01 AM
> To: Tomcat Users List
> Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
>
> Thanks Brian, I think you are probably right that it is something to do with
> my
> java_home environment variable, but I can't seem to find a typo.  I am
> getting
> the following error in a pop-up window when trying to run the tomcat install
> executable program (jakarta-tomcat-4.0.1.exe) :
>
> "Couldn't find a Java Development Kit installed on this computer. Please
> download one from http://java.sun.com."
>
> Maybe the problem is that I am setting the variable in the wrong place?  I
> am
> attempting to set it in my autoexec.bat as follows :
>
> C:\>type autoexec.bat
> SET windir=C:\WINDOWS
> SET winbootdir=C:\WINDOWS
> SET COMSPEC=C:\WINDOWS\COMMAND.COM
> SET PATH=C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> SET PROMPT=$p$g
> SET TEMP=C:\WINDOWS\TEMP
> SET TMP=C:\WINDOWS\TEMP
> SET JAVA_HOME=C:\j2sdk1.4.0-beta3
>
> My PATH seems OK, but apparently the JAVA_HOME isn't working for the tomcat
> install program.
>
> I don't suppose Windows environment variables become case sensitive with
> Cygwin
> or anything like that do they?
>
> Brian Adams wrote:
>
> > Hi David, I have cygwin and win2000 but I had the same problem the other
> > night.  I think mine was just a typo in my Windows java_home env.
> > Which executable are you trying when you get the error?
> > Also what is the exact error?
> >
> > -----Original Message-----
> > From: David McLure [mailto:david@mclures.net]
> > Sent: Saturday, December 08, 2001 1:15 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
> >
> > I can't seem to get past square one installing tomcat beta 4.0.1 on a
> > newly built XP Home system with Cygwin.
> > The beta 4.0.1 tomcat executable is apparently having trouble finding my
> > jdk, but it is in my path.  I have a feeling this is possibly due to
> > cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
> > j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
> > "/cygdrive/c/".
> >
> > My jdk is in my path using both the regular (DOS), as well as the cygwin
> > (Unix) command windows :
> >
> > C:\kits\java\Tomcat>echo %PATH%
> >
> c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> > OWS\
> >
> > System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
> >
> > C:\kits\java\Tomcat> env|grep PATH
> > HOMEPATH=\Documents and Settings\dave
> >
> PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
> > /cyg
> >
> >
> drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
> > a3/b
> >
> > in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
> >
> > Similarly, the java exe is visible in my path through both the regular
> > (DOS), as well as the cygwin (Unix) command windows :
> >
> > C:\kits\java\Tomcat> java -version
> > java version "1.4.0-beta3"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
> >
> > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> >
> > $ java -version
> > java version "1.4.0-beta3"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
> >
> > Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
> >
> > Anyone else done much with cygwin?  How about Windows XP Home?  This is
> > the first time I've tried to install Tomcat since upgrading to XP and I
> > installed Cygwin prior to attempting Tomcat as well.
> >
> > David McLure
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by Brian Adams <bi...@satx.rr.com>.
David, I really can not remember how I fixed it.  Did you right click on
myComputer and select properties and then select advanced and select the
environment variables botton?  if not add it there under system variables.
sorry if you've done this just being specific.
I also remember donw loading just the zipped version and I may have
installed that instead. sorry it was a long night that night.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
ta-tomcat-4.0.1.zip
here is the 4.0.1 zipped verision just unzip it and you will get everything
the install gives you except for the nt service exe but you can build that
seperate.
good luck

-----Original Message-----
From: David McLure [mailto:david@mclures.net]
Sent: Saturday, December 08, 2001 11:01 AM
To: Tomcat Users List
Subject: Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems


Thanks Brian, I think you are probably right that it is something to do with
my
java_home environment variable, but I can't seem to find a typo.  I am
getting
the following error in a pop-up window when trying to run the tomcat install
executable program (jakarta-tomcat-4.0.1.exe) :

"Couldn't find a Java Development Kit installed on this computer. Please
download one from http://java.sun.com."

Maybe the problem is that I am setting the variable in the wrong place?  I
am
attempting to set it in my autoexec.bat as follows :

C:\>type autoexec.bat
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
SET JAVA_HOME=C:\j2sdk1.4.0-beta3

My PATH seems OK, but apparently the JAVA_HOME isn't working for the tomcat
install program.

I don't suppose Windows environment variables become case sensitive with
Cygwin
or anything like that do they?

Brian Adams wrote:

> Hi David, I have cygwin and win2000 but I had the same problem the other
> night.  I think mine was just a typo in my Windows java_home env.
> Which executable are you trying when you get the error?
> Also what is the exact error?
>
> -----Original Message-----
> From: David McLure [mailto:david@mclures.net]
> Sent: Saturday, December 08, 2001 1:15 AM
> To: tomcat-user@jakarta.apache.org
> Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
>
> I can't seem to get past square one installing tomcat beta 4.0.1 on a
> newly built XP Home system with Cygwin.
> The beta 4.0.1 tomcat executable is apparently having trouble finding my
> jdk, but it is in my path.  I have a feeling this is possibly due to
> cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
> j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
> "/cygdrive/c/".
>
> My jdk is in my path using both the regular (DOS), as well as the cygwin
> (Unix) command windows :
>
> C:\kits\java\Tomcat>echo %PATH%
>
c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> OWS\
>
> System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
>
> C:\kits\java\Tomcat> env|grep PATH
> HOMEPATH=\Documents and Settings\dave
>
PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
> /cyg
>
>
drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
> a3/b
>
> in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
>
> Similarly, the java exe is visible in my path through both the regular
> (DOS), as well as the cygwin (Unix) command windows :
>
> C:\kits\java\Tomcat> java -version
> java version "1.4.0-beta3"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
>
> Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
>
> $ java -version
> java version "1.4.0-beta3"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
>
> Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
>
> Anyone else done much with cygwin?  How about Windows XP Home?  This is
> the first time I've tried to install Tomcat since upgrading to XP and I
> installed Cygwin prior to attempting Tomcat as well.
>
> David McLure
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by David McLure <da...@mclures.net>.
Thanks Brian, I think you are probably right that it is something to do with my
java_home environment variable, but I can't seem to find a typo.  I am getting
the following error in a pop-up window when trying to run the tomcat install
executable program (jakarta-tomcat-4.0.1.exe) :

"Couldn't find a Java Development Kit installed on this computer. Please
download one from http://java.sun.com."

Maybe the problem is that I am setting the variable in the wrong place?  I am
attempting to set it in my autoexec.bat as follows :

C:\>type autoexec.bat
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
SET JAVA_HOME=C:\j2sdk1.4.0-beta3

My PATH seems OK, but apparently the JAVA_HOME isn't working for the tomcat
install program.

I don't suppose Windows environment variables become case sensitive with Cygwin
or anything like that do they?

Brian Adams wrote:

> Hi David, I have cygwin and win2000 but I had the same problem the other
> night.  I think mine was just a typo in my Windows java_home env.
> Which executable are you trying when you get the error?
> Also what is the exact error?
>
> -----Original Message-----
> From: David McLure [mailto:david@mclures.net]
> Sent: Saturday, December 08, 2001 1:15 AM
> To: tomcat-user@jakarta.apache.org
> Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems
>
> I can't seem to get past square one installing tomcat beta 4.0.1 on a
> newly built XP Home system with Cygwin.
> The beta 4.0.1 tomcat executable is apparently having trouble finding my
> jdk, but it is in my path.  I have a feeling this is possibly due to
> cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
> j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
> "/cygdrive/c/".
>
> My jdk is in my path using both the regular (DOS), as well as the cygwin
> (Unix) command windows :
>
> C:\kits\java\Tomcat>echo %PATH%
> c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> OWS\
>
> System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
>
> C:\kits\java\Tomcat> env|grep PATH
> HOMEPATH=\Documents and Settings\dave
> PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
> /cyg
>
> drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
> a3/b
>
> in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
>
> Similarly, the java exe is visible in my path through both the regular
> (DOS), as well as the cygwin (Unix) command windows :
>
> C:\kits\java\Tomcat> java -version
> java version "1.4.0-beta3"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
>
> Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
>
> $ java -version
> java version "1.4.0-beta3"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
>
> Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
>
> Anyone else done much with cygwin?  How about Windows XP Home?  This is
> the first time I've tried to install Tomcat since upgrading to XP and I
> installed Cygwin prior to attempting Tomcat as well.
>
> David McLure
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems

Posted by Brian Adams <bi...@satx.rr.com>.
Hi David, I have cygwin and win2000 but I had the same problem the other
night.  I think mine was just a typo in my Windows java_home env.
Which executable are you trying when you get the error?
Also what is the exact error?

-----Original Message-----
From: David McLure [mailto:david@mclures.net]
Sent: Saturday, December 08, 2001 1:15 AM
To: tomcat-user@jakarta.apache.org
Subject: XP/Cygwin/jakarta-tomcat-4.0.1.exe problems


I can't seem to get past square one installing tomcat beta 4.0.1 on a
newly built XP Home system with Cygwin.
The beta 4.0.1 tomcat executable is apparently having trouble finding my
jdk, but it is in my path.  I have a feeling this is possibly due to
cygwin (http://cygwin.com) or maybe XP Home - not sure which.  I have
j2sdk1.4.0-beta3 installed on drive C, which cygwin converts to
"/cygdrive/c/".

My jdk is in my path using both the regular (DOS), as well as the cygwin
(Unix) command windows :

C:\kits\java\Tomcat>echo %PATH%
c:\j2sdk1.4.0-beta3\bin;c:\Cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
OWS\

System32\Wbem;C:\j2sdk1.4.0-beta3\bin;C:\WINDOWS;C:\WINDOWS\COMMAND

C:\kits\java\Tomcat> env|grep PATH
HOMEPATH=\Documents and Settings\dave
PATH=/cygdrive/c/j2sdk1.4.0-beta3/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:
/cyg

drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.0-bet
a3/b

in:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND

Similarly, the java exe is visible in my path through both the regular
(DOS), as well as the cygwin (Unix) command windows :

C:\kits\java\Tomcat> java -version
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)

Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

$ java -version
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)

Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

Anyone else done much with cygwin?  How about Windows XP Home?  This is
the first time I've tried to install Tomcat since upgrading to XP and I
installed Cygwin prior to attempting Tomcat as well.

David McLure




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>