Wrox Programmer Forums
|
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 3rd, 2005, 01:51 PM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Manager/Admin context path problem

Greetings,
Chapter 15, pg. 322-323 talks about changing the context path for the Manager and Admin apps in Tomcat. I am running Tomcat 5.5.9 (as is the rest of the class I am in), and can not get this to work. The text says to make the change in admin.xml and manager.xml. We all have done this, but it seems to make no difference. We would certainly appreciate any suggestions to get this to work.

Thank you
 
Old October 24th, 2005, 11:44 PM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, we figured it out. For anyone that should need to know, if you place this into server.xml in conf:

    <Context path="/yourPath" docBase="../server/webapps/admin" privileged="true">
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>
    <Context path="/yourPath" docBase="../server/webapps/manager" privileged="true">
        <ResourceLink global="UserDatabase" name="users" type="org.apache.catalina.UserDatabase"/>
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>

... with the other context paths nested in <host>...</host>, it will work. Where you see path="/yourPath", substitute whatever you want your context path to be.

Hope this helps someone down the road,
Veg






Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Explorer context menu path? Hannibal C# 2005 8 January 4th, 2007 03:13 AM
Linked Table Manager path in Visual Basic AstridVM BOOK: Access 2003 VBA Programmer's Reference 3 December 29th, 2006 10:34 AM
Implementing the all-path shortest path problem bitwords XSLT 1 December 6th, 2006 11:37 AM
Admin and Manager don't start up IronStar Apache Tomcat 3 November 29th, 2006 07:04 AM
changing root path in file manager codergirl BOOK: ASP.NET Website Programming Problem-Design-Solution 3 November 11th, 2004 04:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.