Actually, I am already using a "single" WAR as discussed in the article "Using
a single WAR file with multiple configurations". I had forgotten that the title
is very confusing because in the end you are using 2 WARS ... that are
identical except:
1. One is named magnoliaAuthor and the other magnoliaPublic
2. One has a WEB-INF/config/magnoliaAuthor/magnolia.properties and the other
WEB-INF/config/magnoliaPublic/magnolia.properties
3. One has jackrabbit-bundle-oracle-search.xml with its two <Persistence>
blocks configured with schemaObjectPrefix=auth_${wsp.name}_" and "auth_version"
and the other schemaObjectPrefix=pub_${wsp.name}_" and "pub_version".
That's it. Curiosly, if I use a different database schema in both WARs for the
"version" database, I can at least start tomcat and install magnoliaAuthor, but
the install of magnoliaPublic fails. However, if I use the same database schema
for both, tomcat doesn't even start, I get the Oracle and
"NoSuchWorkspaceException" errors.
Any help much appreciated. This is a show-stopper.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=88a535b3-5264-4fdb-86d0-4022a4abf52d
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------