Hi,


I’m having a lot of trouble with maintaining a session in a Virtual Host
environment on 8.0.9. I installed Tomcat through apt-get on an Ubuntu 14.04
server

My application is a JRuby padrino bundled with Warbler, with 2 steps for
logging in, a login page and a challenge page.



The session persists from Login through to challenge, but appears to be
dropped without any errors or warnings when I try to proceed from the
Challenge page.



I configured the virtual host using the following format:



      <Host name="virtual1" appBase="virtual1" unpackWARs="true"
autoDeploy="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"

               prefix="test_access_log" suffix=".txt"

               pattern="%h %l %u %t &quot;%r&quot; %s %b" />

            <Alias>testsitex.site.io</Alias>

      </Host>



No other configuration was done to the server.



When I run the site on my local Windows environment without Virtual
Hosting, the session is maintained and I can log in. Is there something
else I need to configure to ensure that the session is being maintained?



Thanks,

R Kelly

Reply via email to