[Bug 669739] Re: unable to setup ip-based virtual hosting due to "Bugzilla 48612"

Benjamin Rampe 669739 at bugs.launchpad.net
Mon Nov 15 23:14:35 GMT 2010

James, thank _you_ for your ongoing interest and contributions.

Hopefully the following informations give answer your requests
(the "undisclosed" parts are meaningful in its original setting. If you want to make sure, without further ado I'm only allowed to provide the files to you in private.):

Tomcat (tomcat6-user):
  Installiert: 6.0.24-2ubuntu1.4
  Kandidat: 6.0.24-2ubuntu1.4
 *** 6.0.24-2ubuntu1.4 0

apt-cache policy sun-java6-jdk
  Installiert: 6.20dlj-0ubuntu1.8.04.1
  Kandidat: 6.20dlj-0ubuntu1.8.04.1
 *** 6.20dlj-0ubuntu1.8.04.1 0
        100 /var/lib/dpkg/status

virtual ip entry in /etc/network/interfaces:
up ip address add undisclosed.service.virtual.ip/22 dev eth0

Changed lines in server.xml (everything else is default):
<Connector port="80" address="virtual.ip.of.service" protocol="HTTP/1.1" 
useIPVHosts="true" />
<Engine name="Catalina" defaultHost="ip.of.undisclosed.service">
<Host name="dns.entry.of.undisclosed.service"  appBase="webapps"
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
prefix="undisclosed_service.access" suffix=".log" pattern="common" resolveHosts="false"/>

This setup works flawless with a self compiled Tomcat6.
The config files of the setups are untouched copies.

the Ubuntu-provided Tomcat works with simple JSPs -- like the introductory example in "Pro Tomcat6"(don't ask me why that makes a difference towards the binding...but that was my first test case) -- but as soon as I try a real webapp (webprotege from Univ. o. Stanford) the setup fails with the Ubuntu-provided Tomcat but works as expected with the compiled one.
If you can't reproduce it and if you are willing to wait, I could try to setup the working setup with the Ubuntu-provided package again and make a test protocol. Just to make sure I didn't hallucinate the test case with the simple JSPs.

I'm willing to help, but might not be able to answer or test daily. So
any delay isn't meant to be a lack of courtesy.


unable to setup ip-based virtual hosting due to "Bugzilla 48612"
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

More information about the Ubuntu-server-bugs mailing list