Maintenance

  • Home
  • Log in
  • « Beginning the process of migrating Graves and Abstracts
  • More lean-and-meanness »

one tomcat, two webapps directories

Posted by gregster on 10 Nov 2009 in R & D, Activity log

As a test, I set up a local tomcat with two webapps directories.
In server.xml, at the very end, is a stanza like this:

<Host name="localhost"  appBase="webapps"
   unpackWARs="true" autoDeploy="true"
   xmlValidation="false" xmlNamespaceAware="false">
</Host>

If you add another one, with a different name (e.g. name="something.else.com") you can deploy webapps from all over the place. This could be useful when you want to set up a complete Cocoon in a homedir, and not on the server's local disk, as we're doing with mariage v4. I successfully added a webapps directory that was in a folder in my SAN homedir that had been mounted over samba.

Hopefully this means that we can do the same on the web servers. The only issue that might come up is those pesky apachsrv permissions. Not sure how best tot deal with those...

This entry was posted by Greg and filed under R & D, Activity log.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • Multiple blogs done right!