connectionscentres
Programmer
ok, we've written a nice little jsp webapp and got it deployed on tomcat 5.5 on a development machine. It works great and loads fine on
When it comes to deploying it online it has to go on another machine which will host it with tomcat installed (exact same version). It has happily been deployed and is accessible via
We own a domain and are planning on redirecting people going to apname.ourdomain.com to the IP address of the tomcat web app. However we are reluctant to expose the server where tomcat is installed directly to the internet. Therefore we have apname.ourdomain.com directing users to
which in turn proxy passes any request for the directory tree to the relevant directory on i.e.
.
When you go to the URL
it loads up our webapp's login screen. You can log in successfully and it is performing database lookups ok which seems to suggest tomcat is working. However, as soon as you are logged in it immediately forgets the session attributes. So whatever info you store as a session.setAttribute is lost. This is the case throughout the application when accessed via this new address.
So the question is, why does it work ok for
but not so well for
In theory it should. Maybe??
Any help would really be appreciated.
When it comes to deploying it online it has to go on another machine which will host it with tomcat installed (exact same version). It has happily been deployed and is accessible via
We own a domain and are planning on redirecting people going to apname.ourdomain.com to the IP address of the tomcat web app. However we are reluctant to expose the server where tomcat is installed directly to the internet. Therefore we have apname.ourdomain.com directing users to
which in turn proxy passes any request for the directory tree to the relevant directory on i.e.
.
When you go to the URL
it loads up our webapp's login screen. You can log in successfully and it is performing database lookups ok which seems to suggest tomcat is working. However, as soon as you are logged in it immediately forgets the session attributes. So whatever info you store as a session.setAttribute is lost. This is the case throughout the application when accessed via this new address.
So the question is, why does it work ok for
but not so well for
In theory it should. Maybe??
Any help would really be appreciated.