Is it possible to put a context.xml file inside the .war file that
will deploy to the ${CATALINA_HOME}/conf/localhost/<webapp>.xml file
that will include the resouce links for the JDBC connection information?
I want to keep the webapp setup so that I can build one war file and
rename it to either magnoliaPublic or magnoliaAuthor and have the
same war file become either the public or the author instance (since
the mechanism that does the bootstrapping looks at the webapp name)
I suppose if this isn't possible to include a context file that has
two context paths in one file - I can build maven targets that would
build each war file (the author and then the public war)
Anyone know how to set this up? I have tried putting a context.xml
file inside of META-INF/ but it didn't seem to work.
I also don't know how to put two <Context path="/magnoliaSomething">
nodes inside a valid xml file... since I don't know what the root
node would be. (Is it possible to have a context file that describes
two contexts at different paths?)
If anyone has done this, let me know.
Ryan
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------