Hey all,
I've browsed the maillist some looking for a solution for this, but didn't really see any topics addressing the issue. If there is already a topic, please point me in the right direction.
I am running Orbeon through Tomcat, which is using Apache Web server (2.x) as the front end to Tomcat (using mod-jk).
I need to serve Orbeon powered forms on 2 different domains (and the forms need to use different model and view files). I would like to set this up so that all of the Orbeon files are in one place, so when new versions of Orbeon are released I only have to update one spot.
I was able to get the multiple domains working with multiple copies of Orbeon. I added another mod-jk controlled virtual host to my Apache config, and then setup the other domain in Tomcat's server.xml config file. Tomcat is pointing to a different application directory for each domain.
I suspect that in order to make this work, Tomcat will need to point to the same WEB-INF folder for Orbeon, and then Orbeon will need to determine (through the pageflow?) which files to serve based on the domain. Is this possible?
Anyone have experience with this and have any better ideas?
Thanks,
Jay -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
If your aim is just to reduce the manual work of updating OPS maybe the best way of approaching this is with an ant script that copies a single reference copy of OPS along with any common files out to all your web applications (or a filesystem/source control system symlink?). This means you don't need to disturb your application config in any way. Adrian Jay Klehr wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Jay Klehr
Hello Jay,
sorry just spotted this - don't have as much time as I would like to spend with OPS and my reading of the maillist is way behind. We run OPS with multiple domains and have discussed this in the past on the list. As you, we run apache2 in front of tomcat5 - except we we use mod-proxy to connect. Since we are using a un*x based system (mac osx) we can have one set of OPS files under WEB-INF and then a separate set of resources for each domain - and use symbolic linking (ln -s) to have local "copies" of the ops files in each domain. We have found we need separate links for each of config, ops and page-flow.xml. Hope that helps Colin On Aug 7, 2006, at 1:36 PM, Jay Klehr wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |