Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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 Display Modes
  #1 (permalink)  
Old March 26th, 2009, 08:23 PM
Registered User
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default I need a lil assistance with the appbase and docbase tags of server.xml

JAVA:, OS:Ubuntu 8.04.2, TC:5.5.25

i have a virutal host set up in apache at /home/testdomain, and the associated domain is testdomain.lan

I want all jsp files to be run from the /home/testdomain/public_html/jsp directory

I do not know what to put for appbase or docBase in the host part of server.xml can someone tell me.

<!-- testdomain.lan -->
<host name="testdomain.lan" appBase="WHAT_GOES_HERE?" unpackWARs="true" autoDeploy="true">
<context path="" docBase="WHAT_GOES_HERE?" debug="0" reloadable="true"/>
<valve className="org.apache.catalina.valves.AccessLogValve" directory="/var/log/virtualmin"  prefix="testdomain.lan.tomcat_access_" suffix=".log" pattern="common" resolveHosts="false"/>
p.s Should the path parameter be other than "" also? If so what?


Last edited by sefs; March 26th, 2009 at 11:11 PM.
Reply With Quote
  #2 (permalink)  
Old April 1st, 2009, 12:44 AM
Friend of Wrox
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

Following links have information you seek

Hope it helps!
- Rakesh
Reply With Quote

Thread Tools
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
regarding deleting tags in an xml abhi.prince4u XML 0 July 14th, 2007 12:16 AM
Replacing tags within xml using xslt patelgaurav85 XSLT 0 June 19th, 2007 12:34 PM
Generating XML tags on the fly francislang XSLT 3 September 6th, 2004 05:21 AM
Renaming with XML tags? johrik XSLT 1 February 12th, 2004 02:49 PM
ASP not reading all XML tags! jeffm_22 XML 4 July 4th, 2003 01:43 AM

All times are GMT -4. The time now is 04:19 AM.

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