Upgrade jchem cartridge on 2 hosts

User 8ef5099b33

12-03-2010 21:11:00

Hi,


What are the steps to upgrade the jchem cartridge with 2 hosts.


The online guide is greate for a single host system.


But what do I do with 2 hosts? (separate host for Jchem cartridge server).


 


Cheers,


Guy

ChemAxon aa7c50abf8

13-03-2010 19:11:49

Hi Guy,


With JChem 5.3.0-5.3.1 (and assuming you're upgrading from 5.0 or later):



  1. Execute upgrade steps 1., 2. and 3. as described in the Upgrading from JChem Cartridge version 5.0 or later subsection of the Software-guided upgrade section of the documentation.

  2. Copy the jcart.properties file from the cartridge/conf directory of the previous installation to the cartridge/conf directory of the new version.

  3. Copy the license file(s) from the cartridge/licenses directory of the previous installation to the cartridge/licenses directory of the new version.

  4. Change the operating system service configuration so that it points to the new version. (If JChem Server is running on Windows and you let JChem Cartridge install the service for you during the original installation, the relevant Windows Registry values under HKEY_LOCAL_MACHINE / SOFTWARE / Apache Software Foundation / Procrun 2.0 / JChemCartridgeService / Parameters have to be changed to point to the the new JChem version. In particular, Java:Classpath, Java:Options, Log:StdError, Log:StdOutput, Start:WorkingPath, Stop:WorkingPath values need to be changed.)

  5. Start JChem Server

  6. Execute the remaining steps (from step 4. to step 7.) of the single host upgrade.


Step 2., 3. and (for Windows users) step 4. will be automated soon.


Peter

User 8ef5099b33

14-03-2010 01:04:56











Hi Peter,


I must be missing something very basic with the 2 host upgrade.


Jchem cartridge is installed on a linux server (A) --> jchem1. (ver 5.2)


Oracle is installed on another host linux server (B) --> ora1. (ver 10g2)


ORACLE_HOME is not defined on the Jchem cartridge server.



  1. Stop the old JChem Server version.

  2. Copy the jcart.properties file from the cartridge/conf directory of the
    previous installation to the cartridge/conf directory of the new
    version.

  3. Copy the license file(s) from the cartridge/licenses directory of the
    previous installation to the cartridge/licenses directory of the new
    version.

  4. Change your current working directory to the cartridge
    directory of the new JChem version.

  5. Start the script upgrade-evol.sh


Upgrade step #5


>> bash upgrade-evol.sh
ORACLE_HOME environment variable has to be set.


How do I get pass this step? ORACLE_HOME was not required in the orignal 2 host installation.


bash upgrade-evol.sh --jcserver-only


does not appear to be currently implemented.


 


Cheers,


Guy


 


pkovacs wrote:



Hi Guy,


With JChem 5.3.0-5.3.1 (and assuming you're upgrading from 5.0 or later):



  1. Execute upgrade steps 1., 2. and 3. as described in the Upgrading from JChem Cartridge version 5.0 or later subsection of the Software-guided upgrade section of the documentation.

  2. Copy the jcart.properties file from the cartridge/conf directory of the previous installation to the cartridge/conf directory of the new version.

  3. Copy the license file(s) from the cartridge/licenses directory of the previous installation to the cartridge/licenses directory of the new version.

  4. Change the operating system service configuration so that it points to the new version. (If JChem Server is running on Windows and you let JChem Cartridge install the service for you during the original installation, the relevant Windows Registry values under HKEY_LOCAL_MACHINE / SOFTWARE / Apache Software Foundation / Procrun 2.0 / JChemCartridgeService / Parameters have to be changed to point to the the new JChem version. In particular, Java:Classpath, Java:Options, Log:StdError, Log:StdOutput, Start:WorkingPath, Stop:WorkingPath values need to be changed.)

  5. Start JChem Server

  6. Execute the remaining steps (from step 4. to step 7.) of the single host upgrade.


Step 2., 3. and (for Windows users) step 4. will be automated soon.


Peter


ChemAxon aa7c50abf8

14-03-2010 10:50:48

Hi Guy


Steps described for the single host installation have to be performed on the Oracle host.


Cheers


Peter

ChemAxon aa7c50abf8

19-04-2010 16:36:14

Step 2., 3. and (for Windows users) step 4. will be automated soon.

JChem 5.3.2 has been released with these improvements/fixes.


Peter