Hello, Something stupid to me, but it will not works. I want to have several webapps managed by Manager.
Tomcat1.de and tomcat2.de point to the same Tomcat 6.0.18 server (edit
Windows hosts-File).
In the /conf/Catalina/localhost/ there are tomcat1.xml with this code:
<?xml version='1.0' encoding='utf-8'?>
<Context path="/tomcat1" reloadable="true"
docBase="C:\Inetpub\tomcat\Webseite1" distributable="true"></Context>
and tomcat2.xml :
<?xml version='1.0' encoding='utf-8'?>
<Context path="/tomcat2" reloadable="true"
docBase="C:\Inetpub\tomcat\Webseite2" distributable="true"></Context>
In the server.xml I add this lines:
<Host name="tomcat1.de"
appBase="/tomcat1" unpackWARs="true"
autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false">
<Valve
className="org.apache.catalina.valves.FastCommonAccessLogValve"
directory="logs"
prefix="tomcat1_access_log." suffix=".txt"
pattern="combined" resolveHosts="false"/>
</Host>
But a http://tomcat1.de:8080/ results a 400 Error but a
http://localhost:8080/tomcat1/ show me the content of the Application.
What´s wrong?
I target is to have multiple Applications, that can be restarted with Tomcat
Manager and will be opened by the URL http://tomcat1.de/ (without the
/tomcat1 Prefix)
Greetings
Alexander
smime.p7s
Description: S/MIME cryptographic signature
