Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > BOOK: Professional Apache Tomcat
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 3rd, 2005, 01:51 PM
Registered User
 
Join Date: Oct 2005
Location: Salem, Virginia, USA.
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
  #2 (permalink)  
Old October 24th, 2005, 11:44 PM
Registered User
 
Join Date: Oct 2005
Location: Salem, Virginia, USA.
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:36 PM.


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