cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple configurations - dynamic change of app conf

walle
Champ in-the-making
Champ in-the-making
Hi,

we are using OpenWorkdesk with different ECM Systems (develop, testing, CMIS, native connection, different IPs, differnet implementations…). In webapp/WEB-INF/web.xml you can configure which "adaptor" (configuration set) the web-app should use.

Is there a way to change the "adaptor" (configuration set: owbootstrap.xml, owmimetable.xml, owplugins.xml, conf folder) dynamically, without editing every time the web.xml  Smiley Surprisedops:

I found the class:
 
/**
*<p>
* Utility class to handle adaptor selection.
*</p>
*
*<p><font size="-2">
* WeWebU OpenWorkdesk<br/>
* Copyright © WeWebU Software AG, Herzogenaurach/Germany<br/>
* All rights reserved.<br/>
* licensing@wewebu.com<br/>
* For licensing information read the license.txt file or<br/>
* go to: http://www.wewebu.com/en/editions<br/>
*</font></p>
*@since 3.2.0.0
*/
public class OwAdaptor
{
    private static final String SAVE_NODES_PARAMETER_NAME = "saveNodes";
    private static final String GET_EDIT_NODES_PARAMETER_NAME = "getEditNodes";
How can I use this approach?  :mrgreen:
1 REPLY 1

chfi
Champ in-the-making
Champ in-the-making
Hi,

we have an internal solution for this requirement that is not part of the product (neither Community nor Enterprise Edition) => just send me your eMail adress and we will provide you the solution ==> this approach allows you to select the adaptor during the startup of OpenWorkdesk ==> all adaptors from your "WEB-INF/conf" folder will then be displayed as a choicelist ==> you can easily select the adaptor you want to start.

Bye
Christian