2 instances :2 installations of JChemCartridge cause problem

User 247a2c5018

15-12-2014 10:00:05

Hi,


 


I have 2 instances :


 


CNBD : I install JchemCartridge with install.sh script and it creates the file jcart.properties


CNBDPROD : I install JchemCartridge with install.sh script and it erase the file jcart.properties created for CNBD instance and create the file For CNBDPROD


Can you confirm me this problem?


 


Can I put in the same file jcart.properties : 2 instances?


# Name of the Oracle database (sid)


oracle.server.instance=CNBDPROD

ChemAxon 25dcd765a3

15-12-2014 12:34:12

If I understand right you want two cartridges for two different oracle instances. These should be two separate cartridges which has two JChem backends, but this two backends reside on the same physical machine?


In this case you need two separate installations for the cartridge, with two separate jchem backend (two separate directory) and two different jcart properties.

User 247a2c5018

15-12-2014 13:16:54

Thanks for the answer.is it possible to have 2 instances for the same cartridge on the same server?if yes please send me the protocol to parameter.


 


Now i install for each instance a new jchem cartridge.it is the same physical machine.

User 247a2c5018

15-12-2014 14:53:22

If for each oracle instance, i install Jchemcartridge, it will be also 2 jchemserver running one for CNBD and the other one for CNBDPROD?

User 247a2c5018

16-12-2014 08:37:58

Hello,


 


could you confirm that if i install JCartridge for CNBD, then for CNBDPROD on the same physical server, 2 jchemserver will run ?


 


Kiet 

ChemAxon 25dcd765a3

16-12-2014 10:09:23

could you confirm that if i install JCartridge for CNBD, then for CNBDPROD on the same physical server, 2 jchemserver will run ?

If I understand correctly your setup Yes.


Create two separate directory (cart1, cart2) with the jchemXX.zip unzipped into them.


Change dir to cart1 and install the cartridge for CNBD. 


Change dir to cart2 and install the cartridge for CNBDPROD,


Please make sure that the two cartridges are



In this case your two jchem servers will be located on the same physical server with no interaction with each other.

User 247a2c5018

16-12-2014 11:01:04

How is it possible to check that the 2 cartridge use two different jchem port?


Normally it is the port 1521.


The same question for cache id.


 


Best regards


 


Kiet


 


 

ChemAxon abe887c64e

16-12-2014 11:51:28

You should check \jcart1\cartridge\conf\jcart.properties and \jcart2\cartridge\conf\jcart.properties files.


Rest regards,


Krisztina

User 247a2c5018

16-12-2014 13:03:59

Now the jchemserver port is the same for the 2 cartridges.


jchem.server.port=1099


which other port should i have to set for CNBDPROD ((for CNBD, jchem.server.port=1099)


 


the same problem for structure.cache.id=JCC1


I set JCC1 for the two cartridges


So which value should I set for CNBDPROD for example (for CNBD, structure.cache.id=JCC1)

ChemAxon abe887c64e

16-12-2014 15:27:24

You can set  e.g.: 1100 (or any other free port above 1024)  as port,  and e.g.:  JCC2 as cache id for cart2.


best regards

User 247a2c5018

17-12-2014 08:30:35

thanks!


it works