[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #ULW-200346]: Trouble with tomcat upgrade



Good morning!

Are you proxying requests from a front end server to tomcat?   
(Given you are attempting to reach your tomcat instance on port 8080 makes me 
think this is probably not the case.)

The reason I ask is you are modifying the AJP port connector (which is used for 
setting up a proxy using the AJP protocol):

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector protocol="AJP/1.3" address="::1" port="8009"
redirectPort="8443" secretRequired="false" />

If you are not doing a proxy, I'd comment it out and ignore it (Tomcat has it 
enabled by default for some reason I never understood).  

That said, the 2 connectors you need to be looking are HTTP/1.1 connectors:

The one listening on port 8080 (also enabled be default):

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

And if you've enabled TLS/SSL (not enabled by default):

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true">
        <SSLHostConfig>
            <Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
                         type="RSA" />
        </SSLHostConfig>
    </Connector>

I am kind of thinking the error in your log files indicates your tomcat server 
received a request for https and it is not currently enabled in your server.xml 
file.

Let's start with this, and if your problem persists after you've enabled https, 
we'll work though it together.

(BTW, we include a guide to set up and get the TDS running on a production 
machine in our docs: 
 https://docs.unidata.ucar.edu/tds/current/userguide/index.html)

Please let me know if you have any questions!

Cheers,
Jennifer



Ticket Details
===================
Ticket ID: ULW-200346
Department: Support THREDDS
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.