> -----Original Message-----
> From: André Warnier [mailto:a...@ice-sa.com]
> Sent: Monday, January 20, 2014 11:01 AM
> To: Tomcat Users List
> Subject: Re: Cannot connect from outside using Tomcat 7/APR/SSL on AWS
> Windows system
> 
> Jeffrey Janner wrote:
> >> -----Original Message-----
> >> From: André Warnier [mailto:a...@ice-sa.com]
> >> Sent: Monday, January 20, 2014 10:09 AM
> >> To: Tomcat Users List
> >> Subject: Re: Cannot connect from outside using Tomcat 7/APR/SSL on
> >> AWS Windows system
> >>
> >> Jeffrey Janner wrote:
> >>>> -----Original Message-----
> >>>> From: Ognjen Blagojevic [mailto:ognjen.d.blagoje...@gmail.com]
> >>>> Sent: Sunday, January 19, 2014 9:19 AM
> >>>> To: Tomcat Users List
> >>>> Subject: Re: Cannot connect from outside using Tomcat 7/APR/SSL on
> >>>> AWS Windows system
> >>>>
> >>>> Jeffrey,
> >>>>
> >>>> On 19.1.2014 6:03, Christopher Schultz wrote:
> >>>>>> <Connector address="10.4.1.20" port="443"
> maxHttpHeaderSize="8192"
> >>>>> Could it be as simple as having set the "address" attribute?
> >>>> +1
> >>>>
> >>>> BTW, setting attribute preverIPv4Stack=true on server side doesn't
> >>>> mean anything for the client. The client will try to connect with
> >> the
> >>>> protocol he prefers. The client may also fall back to other
> >>>> protocol (e.g. if IPv6 connection fails several times, try with
> IPv4).
> >>>>
> >>>> I see that access log is not configured. Is there a reason for
> that?
> >>>>
> >>>> Without access log you can't tell if the remote request reaches
> >>>> Tomcat or not. So, for start, I suggest you configure access log
> >>>> for Tomcat 7 and report back if something is logged after you try
> >>>> to connect from the remote host. Note that Tomcat may postpone
> >>>> writes
> >> to
> >>>> the log files, so make sure you stop Tomcat before you check your
> >> logs.
> >>>> If there is no record of remote requests in Tomcat 7 access logs,
> I
> >>>> suggest you analyze what is going on with Wireshark or some other
> >>>> packet analyzer. You can that see if the client:
> >>>>
> >>>> 1. tries to connect using IPv6 or IPv4, 2. is falling back, 3.
> >>>> which exactly IPv4/v6 adress does it use, 4. is TCP three-way
> >>>> handshake successfull.
> >>>>
> >>>> Only when you confirm that three-way handshake is succsessful and
> >>>> that the destionation IP adress is IPv4 "10.4.1.20", you may say
> >> that
> >>>> the request should have reached Tomcat.
> >>>>
> >>>> -Ognjen
> >>> Added the access log.  Absolutely 0 entries from any address that
> is
> >> not the local system.
> >> Can you configure your Tomcat-6 to run under your Java-7 ?
> >> (in the principle, I think that this should work; I don't know about
> >> the practice) This would help determine if the difference resides in
> >> the Java or the Tomcat.
> >>
> > Tried it a different way.  Since TC7 is supposed to support Java 1.6,
> switched my TC7 to use the existing Java6.
> > No luck.
> > Noticed that 7.0.47 is old now.  Going to try 7.0.50.
> >
> Did you try a simple :
> 
> telnet 10.4.1.20 <Tomcat listen port>
> 
> (just to see if 'anything' from outside can connect to your AWS/Tomcat
> port)
> 
Nope, just timeouts.  What's really interesting, I can't seem to get a 
TC6/Java6 to work now either, at least not a newly installed one.  If I 
uncomment the relevant setup from the original and restart it works.  But a 
fresh TC6 install copying the webapps dir and the Service directory in conf and 
the server.xml, and I'm having the same problem.  Time to run from Amazon!!!!!

Reply via email to