We're running into an odd problem with the Session being null when we
try accessing a webapp as a virtual host. If the URL specifies the
webapp, a Session is created and the app works as expected. For
example...

The server.xml virtual host entry looks like:

<Host name="registration.mydomain.com" debug="0" appBase="webapps"
      unpackWARs="true" autoDeploy="true">

    <Context path="" docBase="mywebapp" debug="0"/>
</Host>

The first thing the webapp's index.jsp does is call getSession(true).

When using a URL like the following, the webapp loads normally:

http://registration.mydomain.com/mywebapp

When the URL is like this one, the Session is null:

http://registration.mydomain.com/

We obviously don't have something configured quite right, but have been
unable to determine what. Any assistance you can provide is greatly
appreciated.

Thanks,
Kurt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to