changing location for continuum.xml

View: New views
3 Messages — Rating Filter:   Alert me  

changing location for continuum.xml

by Marc Lustig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have some config-issue here which I cannot explain.

In continuum.war/WEB-INF/classes/META-INF/continuum/continuum-configuration.xml
I have the following entry:
<xml fileName="/mypath/continuum1.xml" config-optional="true"
       config-forceCreate="true" config-name="org.apache.continuum"/>
<xml fileName="/mypath/continuum-user1.xml" config-optional="true"  config-name="org.apache.continuum.user"/>

yet, when I call the webapp and edit the "Configuration" page, the values are placed into $appserver.home/conf/continuum.xml

i couldn't grep any 'conf/continuum.xml' string in the whole webapp.
Perhaps it is statically defined in a jar ?? Or cached in system-temp-dir?

Re: changing location for continuum.xml

by Marc Lustig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think this is the last obstacle in order to run multiple Continuum-webapps in a single container-instance.
When it is solved I am ready to contribute a HOWTO.


Marc Lustig wrote:
I have some config-issue here which I cannot explain.

In continuum.war/WEB-INF/classes/META-INF/continuum/continuum-configuration.xml
I have the following entry:
<xml fileName="/mypath/continuum1.xml" config-optional="true"
       config-forceCreate="true" config-name="org.apache.continuum"/>
<xml fileName="/mypath/continuum-user1.xml" config-optional="true"  config-name="org.apache.continuum.user"/>

yet, when I call the webapp and edit the "Configuration" page, the values are placed into $appserver.home/conf/continuum.xml

i couldn't grep any 'conf/continuum.xml' string in the whole webapp.
Perhaps it is statically defined in a jar ?? Or cached in system-temp-dir?

Re: changing location for continuum.xml

by rogelgarcia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is written at /META-INF/spring-context.xml
inside the jar continuum-configuration-1.2.3.jar


I think this is the last obstacle in order to run multiple Continuum-webapps in a single container-instance.
When it is solved I am ready to contribute a HOWTO.


Marc Lustig wrote:
I have some config-issue here which I cannot explain.

In continuum.war/WEB-INF/classes/META-INF/continuum/continuum-configuration.xml
I have the following entry:
<xml fileName="/mypath/continuum1.xml" config-optional="true"
       config-forceCreate="true" config-name="org.apache.continuum"/>
<xml fileName="/mypath/continuum-user1.xml" config-optional="true"  config-name="org.apache.continuum.user"/>

yet, when I call the webapp and edit the "Configuration" page, the values are placed into $appserver.home/conf/continuum.xml

i couldn't grep any 'conf/continuum.xml' string in the whole webapp.
Perhaps it is statically defined in a jar ?? Or cached in system-temp-dir?