Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create folder c:/frevvo/dbconfig
  2. Copy <frevvo-home>\tomcat\webapps\database\WEB-INF\etc\configuration.xml to c:\frevvo\dbconfig\configuration.xml
  3. Edit <frevvo-home>\tomcat\conf\catalina\localhost\context.xml.default. Add this line to context.xml.default (as a Parameter tag):

Code Block
<Parameter name="frevvo.connectors.database.configuration" value="c:/frevvo/dbconfig/configuration.xml" override="false"/>

Be sure to add it OUTSIDE of the manager tags in the file. Also, verify that your path to the configuration file is correct. Here is an example of how the file should look after editing:

Code Block
<Context swallowOutput="true" unloadDelay="40000">
           <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false">
                         <Store className="org.apache.catalina.session.FileStore"/>
           </Manager>
         <Parameter name="frevvo.connectors.database.configuration" value="C:/frevvo/dbconfig/configuration.xml" override="false"/>
</Context>
Note

If is running, when you edit and save this change to context.xml.default, should pickup this change within a couple seconds. If it doesn't, then stop and restart by: Double click <frevvo-home>\stop-frevvo. Wait for it to stop. Then double click <frevvo-home>\start-frevvo

Currently you MUST restart after moving the configuration file location. If you don't restart the connector will return a blank page rather than data and the tomcat log will show an NPE error.

...