Customers
User information
 Loading ...
Show article in Knowledge Base

 Upgrade from VisionFlow 2.4.2 to VisionFlow 3.0 Export knowledge base Export     SubscribeSubscribe      Show article info

First of all; take a backup copy of your current installation!

Both the directory in the Tomcat webapp and the database!

Unzip the vp_installed_3_0_upgrade_from_2_4_2.zip anywhere on your disk

Start to update your VisionFlow database by running the SQL script 'upgrade_from_2_4_2_to_3.0.sql' located in the directory: '\WEB-INF\internal_docs\installed version\db_scripts\v3.0\Upgrade_from_2.4.2'.

Take a copy of the file web-inf\struts-config.xml.

Then you can copy your unzipped files from 1. into your VisionFlow webapp.

A new struts-config.xml has been copied into your VisionFlow installation and you now need to review the sections at the end regarding "plug-ins". Make sure that you have these plugin-sections:


  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
        <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
    </plug-in>

    <plug-in className="se.visionera.VisionFlow.util.PropertiesPoolInitializerPlugIn">
        <set-property property="poolConfigPath" value="web-inf/classes/VisionFlow_database.properties"/>
    </plug-in>

    <plug-in className="se.visionera.VisionFlow.web.CacheInitializerPlugIn">
    </plug-in>
   
    <plug-in className="se.visionera.VisionFlow.jobscheduler.JobSchedulerInitializerPlugIn">
        <set-property property="allowMoreThanOneInstance" value="true"/>
    </plug-in>


The database connection settings has been removed to a new file named 'VisionFlow_database.properties' in the 'web-inf/classes' directory. The settings that you previously had in your struts-config.xml, have to be moved to this new file instead!

 


User comments
 Loading ...