<pre>Package:tomcat6<br>Version: 6.0.24-3</pre><pre><br>I am trying to establish apache2 connecting to tomcat6 via libapache2-mod-jk (1:1.2.28-2)
My development machine is ubuntu 10.04 (lucid) and testing machine is debian squeeze. Both have the same configuration files. <br>lucid works fine and squeeze fails to connect with 503 Service Temporarily Unavailable.<br>
<br>== Checking with lsof ==<br>dev@lucid:~$ sudo lsof -ni | egrep 'tomcat|java'<br>java 8308 tomcat6 30u IPv6 309601 0t0 TCP *:http-alt (LISTEN)<br>java 8308 tomcat6 35u IPv6 309608 0t0 TCP *:8009 (LISTEN)<br>
java 8308 tomcat6 36u IPv6 309614 0t0 TCP <a href="http://127.0.0.1:8005">127.0.0.1:8005</a> (LISTEN)<br>java 8308 tomcat6 37u IPv6 311281 0t0 TCP 127.0.0.1:8009-><a href="http://127.0.0.1:56808">127.0.0.1:56808</a> (ESTABLISHED)<br>
dev@lucid:~$ <br><br>uat@squeeze:~# lsof -ni | egrep 'tomcat|java'<br>java 1070 tomcat6 29u IPv6 4267 0t0 TCP *:http-alt (LISTEN)<br>java 1070 tomcat6 38u IPv6 4377 0t0 TCP *:8009 (LISTEN)<br>
java 1070 tomcat6 39u IPv6 4401 0t0 TCP <a href="http://127.0.0.1:8005">127.0.0.1:8005</a> (LISTEN)<br>uat@nsqueeze:~# <br><br>The last line is missing in squeeze.<br><br>== Checking with lynx ==<br>tomcat6 via jk : lucid works and squeeze fails.<br>
tomcat6 via FQDN:8080 - lucid works and squeeze fails.<br>tomcat6 via localhost:8080 - lucid and squeeze works.<br>apache2 via FQDN - lucid and squeeze works.<br><br>== Tomcat6 Server.xml ==<br>Only uncomment 8009 port for libapache2-mod-jk to connect.<br>
<br>== Java Version ==<br>dev@lucid:~$ sudo java -version<br>java version "1.6.0_18"<br>OpenJDK Runtime Environment (IcedTea6 1.8pre) (6b18~pre3-0ubuntu1)<br>OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)<br>
dev@lucid:~$ <br><br>uat@squeeze:~# java -version<br>java version "1.6.0_18"<br>OpenJDK Runtime Environment (IcedTea6 1.8pre) (6b18~pre2-1)<br>OpenJDK Server VM (build 14.0-b16, mixed mode)<br>uat@squeeze:~#<br>
<br><br>And this is a new installation from Squeeze Alpha1 CD.<br><br>Thanks.<br></pre>