I think if you are using server.xml , you don't have to change context.xml and vice versa.
It's enough if you just change the application_name.xml which should be located under
\apache-tomcat-5.5.12\conf\Catalina\localhost\
-Rashmi
----- Original Message ----
From: Wojtek Kusch <w_kusch@(protected)>
To: Tomcat Users List <users@(protected)>
Sent: Tuesday, January 16, 2007 2:42:17 PM
Subject: Re: context.xml in Tomcat 6
I have changed my server.xml (see appBase):
<Host name="localhost" appBase="E:/Development/Tomcat/deploy/apps"
unpackWARs="true"
autoDeploy="false" deployOnStartup="false"
xmlValidation="false" xmlNamespaceAware="false">
From examples I have copy >manager<-Directory to
E:/Development/Tomcat/deploy/apps.
My manager.xml in "tomcat 6.0\conf\catalina\localhost":
<Context path="/manager" docBase="E:/Development/Tomcat/deploy/apps/manager"
debug="0" privileged="true">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="
org.apache.catalina.UserDatabase"/>
</Context>
If I try "localhost:8080" I get a white page. If i try
"localhost:8080/mamager" I get a white page, too.
If i try "localhost:8080/mamager/html" I get a right page (standard page).
I can't undestand this.... Please help!
Wojtek
Caldarale, Charles R schrieb:
>> From: Wojtek Kusch [mailto:w_kusch@(protected)]
>> Subject: context.xml in Tomcat 6
>>
>> in Tomcat 5.x I had my context-file in directory
>> conf/catalina/localhost
>>
>
> The same location is also correct for Tomcat 6, except it's "Catalina",
> not "catalina" (case sensitive).
>
>
>> <Context path="/unleashed" docBase="unleashed" debug="1"
>>
>
> The path attribute must not be used, since the path to the app is
> inferred from the name of the .xml file. (This was also true in the 5.x
> levels, but 6.x may be more picky.)
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
> __________ NOD32 1982 (20070116) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)