Install cartridge in second instance on same machine

User 4140faeba5

23-08-2011 10:26:34

Hi.


I'm trying to install the cartridge into a second Oracle instance that resides on the same machine as the first one. The jchem server runs on the same machine.


The installation seemed to work, but for some reason all jchem calls goes to the first instance.


This is the jcart.properties


#Cartridge Configuration
jchem.server.host=localhost
jchem.server.port=1099
oracle.server.host=localhost
oracle.server.port=1521
oracle.server.instance=star
oracle.server.login=jchem
oracle.server.password=<********>


# license.dir = licenses
logging.config.file = conf/logging.properties
logging.output.dir = logs
reservedMemory=64
# remote.admin.allowed=false
# indexingThreadsPerCall=?
# jcSearchThreadsPerCall=?
# jcReactThreadsPerCall=?
## connection.cached.pool.impl=chx.jchem.cartridge.util.cpools.CommonsDataSource
### url=jdbc\:oracle\:thin\:@localhost\:1521\:mydb
### driver=oracle.jdbc.driver.OracleDriver


What do I need to change to get the connection to go to the calling instance ?


Regards,


Micke

ChemAxon aa7c50abf8

23-08-2011 10:31:34

Hi Micke,


The oracle.server.instance property needs to be set to the name of the second oracle instance. (It is best to restart the JChem Cartridge server for this change to take effect.) (The installer program should have gotten this right...)


Peter

User 4140faeba5

23-08-2011 10:46:20

Hi Peter.


Thanks, I created a secondary "cartridge" subdir and changed the conf file for that.


Regards,


Micke

ChemAxon aa7c50abf8

23-08-2011 10:54:49

Hi Micke,


Just for completeness: The two JChem Cartridge servers also need to use different values for theĀ jchem.server.port property. And this value must be aligned with the value of theĀ rmi.server.1 property in the JC_IDX_PROPERTY table of the second instance's JChem owner schema.


Peter

User 4140faeba5

23-08-2011 11:01:33

Hi Peter.


Yes, I've changed that to reflect the new port for the second jchem server.


Regards,


Micke