User 9912280a1f
27-07-2006 08:29:55
Hi Peter,
Is it possible to have multiple installations of the JChem cartridge on the same machine? i.e. effectively have multiple cartridge owners?
Cheers
Paul
ChemAxon aa7c50abf8
27-07-2006 08:36:54
Hi Paul,
It is possible, but I wonder why you would want that.
Cheers,
Peter
User 9912280a1f
27-07-2006 08:41:48
It is down to the design of our application.
It basically needs to create JChem tables dynamically and we also need to run multiple database instances in-house. I cannot get the Oracle .NET data provider to let me log in as SYS to run the scripts (which is the ideal situation). Having multiple cartridge owners is a way around this.
Cheers
Paul
ChemAxon aa7c50abf8
27-07-2006 09:06:50
I am trying to understand your motivation so I can better advise you on the setup. In particular, I am not sure whether I have to recommend separate Tomcat installations for each jchem owner or you can get away with just one.
With the current implementation of JChemStreams (the JChem Cartridge components in Tomcat), JChemStreams instances in the same Tomcat share the same configuration. The configuration is stored in the user's home directory, under whose identity Tomcat has been started. If follows that if you have two JChem Cartridge installations in different Oracle instances, you absolutely need two Tomcats, each started as a different user (if running the same machine).
Normally we recommend to use a dedicated Tomcat installation for JChem Cartridge in order to avoid interference with other WEB-applications. A safe generalization of this principle is to say that a dedicated Tomcat installation is recommended for each JChem Cartridge "instance" -- even if the JChem Cartridge "instances" are installed in the same single Oracle instance.
Cheers
Peter
User 9912280a1f
27-07-2006 09:10:50
Hi Peter,
I wondered if each JChem cartridge instance might require its own instance of TomCat.
This should only be an issue for in-house users I'm guessing, customers should be able to use the cartridge owner directly.
Cheers
Paul