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
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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 26th, 2009, 09: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 27th, 2009 at 12:11 AM.
Reply With Quote
  #2 (permalink)  
Old April 1st, 2009, 01:44 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
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
Reply With Quote
Reply


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 01:16 AM
Replacing tags within xml using xslt patelgaurav85 XSLT 0 June 19th, 2007 01:34 PM
Generating XML tags on the fly francislang XSLT 3 September 6th, 2004 06: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 02:43 AM



All times are GMT -4. The time now is 11:47 AM.


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