You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeffrey Janner <Je...@PolyDyne.com> on 2009/06/01 16:02:30 UTC

RE: Windows x64 Installer

Oops, on 3) I should have said I was using the APR, but for HTTP only,
not HTTPS.
I was thinking AJP for some reason.

-----Original Message-----
From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com] 
Sent: Friday, May 29, 2009 5:53 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

1) Correct
2) Didn't try and agree with you.
3) Correct.  Not using APR, just HTTP (HTTPS later, but not tried)
4) Correct.

System config:  Windows 2008 Standard (64-bit), Tomcat 5.5 standard
install running as standalone web server.
Copied the 32-bit install and replaced tomcat5.exe, tomcat5w.exe and
tcnative-1.dll with the current 64-bit versions from apache.org web/ftp
site.
Issued a "tomcat5.exe //is", with appropriate options and jvm, to create
as a service.
There are no proxys on the system.  Windows firewall is off.  Using
Symantec Endpoint Protection 11.0.4 for virus & firewall security (same
results with firewall enabled/disabled).
Just trying to pull up the welcome page (http://ip:8080) and getting the
results described.

Also on 4) telnet ip 8080 will get a connection failure.

Jeff

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Friday, May 29, 2009 12:54 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> Tested all those options before I sent the mail.

Let me summarize to see if I understand this properly:

1) 32-bit JVM, 32-bit DLL: works from localhost and from a separate
system

2) 32-bit JVM, 64-bit DLL: ?? (shouldn't work)

3) 64-bit JVM, 32-bit DLL: works from localhost and from a separate
system (it shouldn't work - you probably aren't using APR in this case)

4) 64-bit JVM, 64-bit DLL: works from localhost, but not from a separate
system

Is the above correct?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE
*********************************
This message is intended for the use of the individual or entity to
which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient,

you are hereby notified that any dissemination, distribution, or copying

of this communication is strictly prohibited.  If you have received this

communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by Jeffrey Janner <Je...@PolyDyne.com>.
OK, after boning up on IPv6 addresses, I see what's happening.

With no address specified in the connector, and with both the IPv4 and
IPv6 protocols installed, APR is setting up a listener only on the IPv6
protocol "any address" port.  Windows displays this as [::] in
accordance with IPv6 addressing guidelines where you can omit leading
zeros and empty address segments. In Windows, the IPv4 "any" address is
always displayed as 0.0.0.0, which is not coming up in this instance.

So the question is, why is APR only setting up the IPv6 address in this
case and not the IPv4?  I have to specifically give the connector the
IPv4 "any" address in order to get this to work.

Is there any way to tell Tomcat/APR that I want to default to IPv4?  It
doesn't appear that I can remove the IPv6 protocol from the Windows 2008
stack.

Jeff

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Monday, June 08, 2009 10:19 AM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> IPv6 protocol is disabled on the active network connection.
> So it shouldn't be an IPv6 issue.

But it clearly is, since your netstat output shows IPv6 addresses, not
IPv4.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> IPv6 protocol is disabled on the active network connection.
> So it shouldn't be an IPv6 issue.

But it clearly is, since your netstat output shows IPv6 addresses, not IPv4.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by Jeffrey Janner <Je...@PolyDyne.com>.
Will try that and see.
The machine has 4 network ports, 3 of which are disabled completely
(oops, actually unplugged).
The main port is configured with the IPv6 protocol installed, but it is
unchecked.
Actually, all ports have it installed, and I haven't found a way to
uninstall it.  But all 4 ports do have the IPv6 protocol disabled
(unchecked).
I'll try actually disabling the other interfaces and see if that makes a
difference, but I suspect not.
There is no specific loopback adapter connection, so localhost just
resolves to 127.0.0.1 and should get looped by the stack, correct?
Jeff

-----Original Message-----
From: Mladen Turk [mailto:mturk@apache.org] 
Sent: Monday, June 08, 2009 10:26 AM
To: Tomcat Users List
Subject: Re: Windows x64 Installer

Jeffrey Janner wrote:
> Did the double-check.
> IPv6 protocol is disabled on the active network connection.
> So it shouldn't be an IPv6 issue.

It should be disabled on all connections including localhost.
NULL address means 'all interfaces'.


Regards
-- 
^(TM)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Windows x64 Installer

Posted by Mladen Turk <mt...@apache.org>.
Jeffrey Janner wrote:
> Did the double-check.
> IPv6 protocol is disabled on the active network connection.
> So it shouldn't be an IPv6 issue.

It should be disabled on all connections including localhost.
NULL address means 'all interfaces'.


Regards
-- 
^(TM)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by Jeffrey Janner <Je...@PolyDyne.com>.
Did the double-check.
IPv6 protocol is disabled on the active network connection.
So it shouldn't be an IPv6 issue.
Jeff

-----Original Message-----
From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com] 
Sent: Monday, June 08, 2009 9:02 AM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

Chuck -
Thanks for the info and lead to check something else.
I am all IPv4 here, though the IPv6 services may still be enabled on
that system.  I will need to check.
I got the box in and setup with minimal customizations and was trying to
get this rolled out quickly (I do this because a lot of our customer
base does the same, believe it or not).
I'll go dobule-check the box and make sure I've got the IPv6 stuff
turned off and try again.
Jeff

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Tuesday, June 02, 2009 11:07 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> Now the reason why 4) below was not working (all 64-bit), is that I
> didn't have an address specified in my <connector> tag.  Apparently,
at
> all windows revs prior to 2008 server, if you didn't supply an IP
> address, Windows would gladly supply 0.0.0.0, but now at 2008 it
> doesn't (possibly vista also?).

Works fine on my Vista 64 box, with no address attribute for the
<Connector>.  Looks like there's some 2008 Server setting that's
ignoring IPv4 and using only IPv6 if no bind address is given.

> Instead of seeing 0.0.0.0:80 in the first column, you'll 
> see [::]:80.

On my Vista 64 box, I see 0.0.0.0:8080 but not [::]:8080, with no
address attribute in my <Connector>.  I've got IPv6 disabled on my
router, so I can't test that at the moment.

> there are a number of these [::] addresses in the list,
> so MS possibly hasn't ported all their services yet.

Has nothing to do with porting services, but rather with IPv6-only being
the default on your installation.  I do see both IPv4 and IPv6 addresses
in listening mode for the various Windows services on my system.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE
*********************************
This message is intended for the use of the individual or entity to
which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient,

you are hereby notified that any dissemination, distribution, or copying

of this communication is strictly prohibited.  If you have received this

communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by Jeffrey Janner <Je...@PolyDyne.com>.
Chuck -
Thanks for the info and lead to check something else.
I am all IPv4 here, though the IPv6 services may still be enabled on
that system.  I will need to check.
I got the box in and setup with minimal customizations and was trying to
get this rolled out quickly (I do this because a lot of our customer
base does the same, believe it or not).
I'll go dobule-check the box and make sure I've got the IPv6 stuff
turned off and try again.
Jeff

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Tuesday, June 02, 2009 11:07 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> Now the reason why 4) below was not working (all 64-bit), is that I
> didn't have an address specified in my <connector> tag.  Apparently,
at
> all windows revs prior to 2008 server, if you didn't supply an IP
> address, Windows would gladly supply 0.0.0.0, but now at 2008 it
> doesn't (possibly vista also?).

Works fine on my Vista 64 box, with no address attribute for the
<Connector>.  Looks like there's some 2008 Server setting that's
ignoring IPv4 and using only IPv6 if no bind address is given.

> Instead of seeing 0.0.0.0:80 in the first column, you'll 
> see [::]:80.

On my Vista 64 box, I see 0.0.0.0:8080 but not [::]:8080, with no
address attribute in my <Connector>.  I've got IPv6 disabled on my
router, so I can't test that at the moment.

> there are a number of these [::] addresses in the list,
> so MS possibly hasn't ported all their services yet.

Has nothing to do with porting services, but rather with IPv6-only being
the default on your installation.  I do see both IPv4 and IPv6 addresses
in listening mode for the various Windows services on my system.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> Now the reason why 4) below was not working (all 64-bit), is that I
> didn't have an address specified in my <connector> tag.  Apparently, at
> all windows revs prior to 2008 server, if you didn't supply an IP
> address, Windows would gladly supply 0.0.0.0, but now at 2008 it
> doesn't (possibly vista also?).

Works fine on my Vista 64 box, with no address attribute for the <Connector>.  Looks like there's some 2008 Server setting that's ignoring IPv4 and using only IPv6 if no bind address is given.

> Instead of seeing 0.0.0.0:80 in the first column, you'll 
> see [::]:80.

On my Vista 64 box, I see 0.0.0.0:8080 but not [::]:8080, with no address attribute in my <Connector>.  I've got IPv6 disabled on my router, so I can't test that at the moment.

> there are a number of these [::] addresses in the list,
> so MS possibly hasn't ported all their services yet.

Has nothing to do with porting services, but rather with IPv6-only being the default on your installation.  I do see both IPv4 and IPv6 addresses in listening mode for the various Windows services on my system.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Windows x64 Installer

Posted by Jeffrey Janner <Je...@PolyDyne.com>.
Eureka!!!!

I figured this out!!

First, on 3) below.  The reason it worked was that Tomcat just ignored
the 32-bit APR library.  Acted as though it wasn't there.  Once I set up
an HTTPS connector, I noticed this because the error came back that it
couldn't find ".keystore" file.

Now the reason why 4) below was not working (all 64-bit), is that I
didn't have an address specified in my <connector> tag.  Apparently, at
all windows revs prior to 2008 server, if you didn't supply an IP
address, Windows would gladly supply 0.0.0.0, but now at 2008 it doesn't
(possibly vista also?).  You will see this if you go to the command
window and do a netstat -an.  Instead of seeing 0.0.0.0:80 in the first
column, you'll see [::]:80.  So once I added an "address=0.0.0.0" to my
<connector> tags, everything started working.

Once again, Microsoft breaks the stack and goes their own way.
Amazingly, with no 3rd party software running, there are a number of
these [::] addresses in the list, so MS possibly hasn't ported all their
services yet.  Really wondering what else isn't working correctly.

Jeff

-----Original Message-----
From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com] 
Sent: Monday, June 01, 2009 9:03 AM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

Oops, on 3) I should have said I was using the APR, but for HTTP only,
not HTTPS.
I was thinking AJP for some reason.

-----Original Message-----
From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com] 
Sent: Friday, May 29, 2009 5:53 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

1) Correct
2) Didn't try and agree with you.
3) Correct.  Not using APR, just HTTP (HTTPS later, but not tried)
4) Correct.

System config:  Windows 2008 Standard (64-bit), Tomcat 5.5 standard
install running as standalone web server.
Copied the 32-bit install and replaced tomcat5.exe, tomcat5w.exe and
tcnative-1.dll with the current 64-bit versions from apache.org web/ftp
site.
Issued a "tomcat5.exe //is", with appropriate options and jvm, to create
as a service.
There are no proxys on the system.  Windows firewall is off.  Using
Symantec Endpoint Protection 11.0.4 for virus & firewall security (same
results with firewall enabled/disabled).
Just trying to pull up the welcome page (http://ip:8080) and getting the
results described.

Also on 4) telnet ip 8080 will get a connection failure.

Jeff

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Friday, May 29, 2009 12:54 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer

> From: Jeffrey Janner [mailto:Jeffrey.Janner@PolyDyne.com]
> Subject: RE: Windows x64 Installer
> 
> Tested all those options before I sent the mail.

Let me summarize to see if I understand this properly:

1) 32-bit JVM, 32-bit DLL: works from localhost and from a separate
system

2) 32-bit JVM, 64-bit DLL: ?? (shouldn't work)

3) 64-bit JVM, 32-bit DLL: works from localhost and from a separate
system (it shouldn't work - you probably aren't using APR in this case)

4) 64-bit JVM, 64-bit DLL: works from localhost, but not from a separate
system

Is the above correct?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE
*********************************
This message is intended for the use of the individual or entity to
which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient,

you are hereby notified that any dissemination, distribution, or copying

of this communication is strictly prohibited.  If you have received this

communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE
*********************************
This message is intended for the use of the individual or entity to
which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient,

you are hereby notified that any dissemination, distribution, or copying

of this communication is strictly prohibited.  If you have received this

communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org