You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

First read this http://tomcat.apache.org/tomcat-5.0-doc/config/host.html

If you want tomcat to accept requests for different hosts e.g., www.myhostname.com then you must

0. create ${catalina.home}/www/appBase , ${catalina.home}/www/deploy, and ${catalina.home}/conf/Catalina/www.myhostname.com

  1. add a host entry in the server.xml file
  <Host appBase="www/appBase" name="www.myhostname.com"/>

2. Create the the following file under conf/Catalina/www.myhostname.com/ROOT.xml

<?xml version="1.0" encoding="UTF-8"?>
<Context
    path="/"
    docBase="www/deploy/mywebapp.war"
    reloadable="true" antiJARLocking="true">
</Context>

Add any parameters specific to this hosts webapp to this context file

3. put your war file in ${catalina.home}/www/deploy

When tomcat starts, it finds the host entry, then looks for any context files and will start any apps with a context

To add more sites just repeat and rinse, all webapps can share the same war file location and appbase
[http://karin.bravepages.com/4.html housewife latina] | [http://attiring.kogaryu.com/2.html amateur black ass] | [http://homepage.mac.com/souffle2/28.html amateur cock webcam] | [http://mephitical.kogaryu.com/96.html krystal stel hardcore] | [http://brushwork.00freehost.com/97.html xrated celebrity photos] | [http://dissuasive.ibnsites.com/64.html flaccid penis] | [http://closures.bravepages.com/36.html daughter riding cock] | [http://chipolata.exactpages.com/54.html teenie cum shots] | [http://optimist.wtcsites.com/55.html bangkok whore mpeg] | [http://paramecium.100freemb.com/12.html wife suck dick] | [http://patty.00freehost.com/44.html teen chat webcams] | [http://bastille.freecities.com/21.html diana upskirt pics] | [http://leviers.ibnsites.com/7.html solarium webcam] | [http://rummer.dreamstation.com/50.html fuck housewife] | [http://futurisms.o-f.com/55.html petite webcam girls] | [http://homepage.mac.com/hungered/55.html fuck adult lingerie] | [http://chatterer.1sweethost.com/26.html transexual high school] | [http://homepage.mac.com/lifeblood/27.html webcam upskirt] | [http://wright.100freemb.com/70.html adult webcam paypal] | [http://zircons.741.com/37.html ffm beach] | [http://astutely.angelcities.com/43.html hairy sexy women] | [http://homepage.mac.com/cruelly/ webcam dick shot] | [http://homepage.mac.com/pdq3/12.html amateur webcam captures] | [http://forgiver.1accesshost.com/49.html hairy indian fuck] | [http://homepage.mac.com/hungered/39.html young asian cheerleader] | [http://homepage.mac.com/ammeter/85.html teen webcam strippers] | [http://sweetbrier.150m.com/97.html kimberly nude webcam] | [http://susses.envy.nu/54.html webcam modeling nude] | [http://combined.angelcities.com/47.html webcam real girls] | [http://homepage.mac.com/creamery2/1.html girls on webcams] | [http://homepage.mac.com/arks2/2.html creative notebook webcam] | [http://homepage.mac.com/anal1/36.html webcam nudity] | [http://homepage.mac.com/gaiter/96.html big busty plumpers] | [http://brushwork.00freehost.com/7.html double penetration tips] | [http://homepage.mac.com/counselor4/75.html webcam little boy] | [http://lapwing.exactpages.com/46.html cheyenne indian enemy] | [http://elfish.ibnsites.com/54.html webcam pictures gay] | [http://vertices.1sweethost.com/49.html granny free porno] | [http://vacillates.wtcsites.com/94.html sex blowjobs handjobs] | [http://opart.100freemb.com/78.html grannies cock suck] | [http://homepage.mac.com/purchaser8/10.html teenage lesbian licking] | [http://eluded.1accesshost.com/55.html chinese virgins] | [http://yeshivoth.150m.com/59.html 8 function facial machine] | [http://pagodas.freewebpages.org/60.html ebony live webcam] | [http://miro.wtcsites.com/65.html mamimi panty shot] | [http://gospel.9cy.com/27.html free mpeg tranny] | [http://saran.freewebsitehosting.com/93.html giantess insertion] | [http://homepage.mac.com/keyring/9.html erotic sex webcam] | [http://homepage.mac.com/fares4/27.html fat sex reality]

  • No labels