Calculator license keys not found

User 4140faeba5

28-03-2006 09:10:44

Hi.


JCHEM_CORE_PKG.GETENVIRONMENT()


--------------------------------------------------------------------------------


Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bi


PL/SQL Release 10.1.0.5.0 - Production


CORE 10.1.0.5.0 Production


TNS for Linux: Version 10.1.0.5.0 - Production


NLSRTL Version 10.1.0.5.0 - Production


NLSRTL Version 10.1.0.5.0 - Production


JChem version in the database: 3.1.5


JChem version in the Tomcat server: 3.1.5


java.vm.version: 1.5.0_06-b05


java.vm.vendor: Sun Microsystems Inc.


Apache Tomcat/5.5.15





JCHEM_CORE_PKG.GETENVIRONMENT()


--------------------------------------------------------------------------------


Major JDBC version in Tomcat: 10


Minor JDBC version in Tomcat: 2








I've installed the marvin calculator licensekeys in


.chemaxon/license.dat





Whe I try the following from sqlplus


select


jc_evaluateb(cd_structure,'logp') logp,


jc_evaluateb(cd_structure,'logd("7.4")') logd


from


jcscreenmol_moltable


where


rownum < 500;





This is the error I get.


select


*


ERROR at line 1:


ORA-29532: Java call terminated by uncaught Java exception:


java.lang.RuntimeException: The following exception has been thrown by the


servlet:


Exception: Error while evaluating expression:


logp


No valid license key has been found for logPPlugin.


The maximal number of calls (1) without a license key has been reached.


Please contact sales _at_ chemaxon.com to obtain a license key.


Students and academic researchers can obtain license keys for free


through our Academic Package, for more information


please visit: http://www.chemaxon.com.


No valid license key has been found for logPPlugin.


The maximal number of calls (1) without a license key has been reached.


Please contact sales _at_ chemaxon.com to obtain a license key.


Students and academic researchers can obtain license keys for free


through our Academic Package, for more information


please visit: http://www.chemaxon.com.


ORA-06512: at "JCHEM.JCHEM_BLOB_PKG", line 13


ORA-06512: at "JCHEM.EVALUATE_FUNCB", line 10





What I am doing wrong ?


/Mikael

ChemAxon aa7c50abf8

28-03-2006 11:02:34

You apparently use the wrong filename. license in the filename should be in plural form:


Code:
.chemaxon/licenses.dat

User 4140faeba5

28-03-2006 11:09:38

It is licenses.dat (in plural)


/Mikael

ChemAxon aa7c50abf8

28-03-2006 11:37:20

I suggest to check if the .chemaxon directory is in the appropriate location.





Please, point your WEB-browser to the JChemStreams URL of your JChem Cartridge installation (e.g. http://morgo:8090/jchemstreams/) and follow the link Check Java system properties here... Check the "user.home" system property. The value of this property is the path to a directory on the machine which hosts Tomcat. This directory should be the parent directory of the .chemaxon directory

User 4140faeba5

28-03-2006 13:02:06

Hi.


Thankyou, by setting it to the right user and restarting


Tomcat, I got it to work.


/Mikael