tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: vhost - servlets not available
Date Thu, 13 Jan 2011 16:38:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johannes,

On 1/13/2011 11:34 AM, Johannes Stein wrote:
> <?xml version='1.0' encoding='utf-8'?>
> 
> <Server port="8005" shutdown="SHUTDOWN">
>     <Resource name="UserDatabase" auth="Container"
>               type="org.apache.catalina.UserDatabase"
>               description="User database that can be updated and saved"
>               factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>               pathname="conf/tomcat-users.xml" />
>   </GlobalNamingResources>

I hope this is a copy/paste error: the above is not well-formed.

>   <Service name="Catalina">
>     <Connector port="80" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                URIEncoding="UTF-8"
>                redirectPort="8443" />

NB: If you aren't using SSL, you should remove "redirectPort". It will
only confuse you in the future.

>     <Engine name="Catalina" defaultHost="localhost">
>       <Host name="localhost"  appBase="webapps"
>             unpackWARs="true" autoDeploy="true"
>             xmlValidation="false" xmlNamespaceAware="false">
>       </Host>
> 
>       <Host name="srv2.tudom.de" appBase="tudom"

What files/directories are currently under $CATALINA_HOME/tudom?

>        unpackWARs="true" autoDeploy="true"
>        xmlValidation="false" xmlNamespaceAware="false">
> 	<Alias>srv2.tudom.de</Alias>

<Alias> is not necessary, here: the hostname is already "srv2.tudom.de".

>         </Host>
>     </Engine>
>   </Service>
> </Server>

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0vKncACgkQ9CaO5/Lv0PCYAACdHdKAt5zbbx0eCQldoTE5bnp8
ykkAniPaFOtWeJxdDS3LJI0kpBj9ieSB
=VdAE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message