tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stasa Jerinic" <>
Subject AW: Problem calling the Web-Application by Alias name
Date Thu, 30 Aug 2007 08:50:18 GMT
I'm using only one Host. And I will to call the webapplication not through
but buy that I inserted as a Alias. 



if you are only using one <Host> element in server.xml, then you don't
need any aliases at all, get rid of them. all your requests will go to
that host/app anyway


Stasa Jerinic wrote:
> Hallo,
> I'm using Tomcat 5.0. For my web-application I use Hibernate, Struts and Struts-Layout
> I have following problem:
> By starting my application with http://localhost:8080/app or http://my_computer_name:8080/app
I can normally work with application. I can log me and so on.
> But in server.xml I inserted in <Host ...> part the tag <Alias>domainname</Alias>.
By calling the web-application with dommainame that I inserted in Alias tag, I get the
> web-application but when I try to login me in the application it fails (same behaviour
like as the session is switched off).
> In the browser-URL I get also not more the domainname but the http://my_computer_name:8080/app.
> I tried to see what the problem can be with HTTPWatch. As soon the css with Struts-Layout
is loading the adress is changed from domainname to http://my_computer_name:8080/app.
> Have I forgot some settings in tomcat or the problem is lieing in Struts-Layout.
> Thanks.
> Greetings,
> Jerinic Stasa
> ------------------------------------------------------------------------
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 8/29/2007 8:21 PM

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message