Inetpub is the default folder for IIS
try re-installing tomcat to a new folder and point the docBase to be based off
of catalina.home (which is your new Tomcat folder)
<Context docBase="${catalina.home}/webapps/YourWebAppNameGoesHere"
privileged="true" antiResourceLocking="false" antiJARLocking="false">
</Context>
Martin
______________________________________________
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de
déni et de confidentialité
This message is confidential. If you should not be the intended receiver, then
we ask politely to report. Each unauthorized forwarding or manufacturing of a
copy is inadmissible. This message serves only for the exchange of information
and has no legal binding effect. Due to the easy manipulation of emails we
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
From: [email protected]
To: [email protected]
Date: Thu, 7 May 2009 14:56:24 +0200
Subject: Multiple Context and Websites
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
_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009