User 4140faeba5
08-05-2006 09:00:24
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'm trying to calculate pka (strongest and second strongest)
The following works.
select jc_evaluate('OC(=O)c1c2ccccc2nc3ccccc13','pka("1")') from dual;
JC_EVALUATE('OC(=O)C1C2CCCCC2NC3CCCCC13','PKA("1")')
----------------------------------------------------
6.81196975
But when I try the following
select jc_evaluate('OC(=O)c1c2ccccc2nc3ccccc13','pka("2")') from dual;
select jc_evaluate('OC(=O)c1c2ccccc2nc3ccccc13','pka("2")') from dual
*
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at "JCHEM.EVALUATE_FUNC", line 10
What am I missing ?
/Mikael
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'm trying to calculate pka (strongest and second strongest)
The following works.
select jc_evaluate('OC(=O)c1c2ccccc2nc3ccccc13','pka("1")') from dual;
JC_EVALUATE('OC(=O)C1C2CCCCC2NC3CCCCC13','PKA("1")')
----------------------------------------------------
6.81196975
But when I try the following
select jc_evaluate('OC(=O)c1c2ccccc2nc3ccccc13','pka("2")') from dual;
select jc_evaluate('OC(=O)c1c2ccccc2nc3ccccc13','pka("2")') from dual
*
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at "JCHEM.EVALUATE_FUNC", line 10
What am I missing ?
/Mikael