Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
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 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 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:1.5.0.18, 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.

Code:
<!-- 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"/>
</host>
p.s Should the path parameter be other than "" also? If so what?

Thanks.

Last edited by sefs; March 26th, 2009 at 11:11 PM..
 
Old April 1st, 2009, 12:44 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Following links have information you seek
http://tomcat.apache.org/connectors-...hosthowto.html
http://www.ex-parrot.com/~pete/tomcat-vhost.html
http://www.howtoforge.com/apache2_tomcat5_mod_jk

Hope it helps!
__________________
- Rakesh
http://iam-rakesh.blogspot.com





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 03:49 PM
ASP not reading all XML tags! jeffm_22 XML 4 July 4th, 2003 01:43 AM





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