19-07-2005 15:29:43
I would like to upgrade to a newer version of JChem.
Please let me know what steps should I make ?
19-07-2005 15:29:43
I would like to upgrade to a newer version of JChem.
Please let me know what steps should I make ?
ChemAxon 9c0afc9aaf
19-07-2005 16:09:56
User 34fa07fa99
31-10-2005 23:11:39
ChemAxon 9c0afc9aaf
01-11-2005 10:32:12
Code: |
jcman u |
User 77bcbbb206
01-04-2009 18:26:42
Code: |
[size=12]Error: ORA-29902: error in executing ODCIIndexStart() routine [/size] |
Code: |
[size=12]ORA-29532: Java call terminated by uncaught Java exception: java.lang.RuntimeException: The index on table 'JCHEM.RMS_STRUCTURE' contains obsolete data. (Current index version: 24, index version for 'JCHEM.RMS_STRUCTURE': 5020005.) Please recreate the index with the 'regenerateTable' option.[/size] |
Code: |
[size=12]ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: The structure table contains newer data version that this program version can handle. Please use a later version. ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 0 ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 17[/size] |
ChemAxon 9c0afc9aaf
01-04-2009 19:27:49
User 77bcbbb206
01-04-2009 21:21:25
Code: |
SQL> call jchem_core_pkg.use_password('JCHEM'); call jchem_core_pkg.use_password('JCHEM') * ERROR at line 1: ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: Problem connecting to JChemServer: rmi://localhost:1099: Connection refused |
ChemAxon 9c0afc9aaf
01-04-2009 21:29:54
User 77bcbbb206
01-04-2009 22:02:22
ChemAxon 9c0afc9aaf
01-04-2009 22:38:17
Quote: |
Have you moved here or just visiting? |
User 77bcbbb206
06-04-2009 21:05:18
Hello Again,
I'm still workingm still not finished. It looks as if the cartridge itself has been installed/updated correctly but the for some reason the index that I've created isn't hitting the data in the structure table. From the queries below you should be able to see the size of the table, the correct functioning of the cartridge, but the lack of functioning of the index (although it's being used). Do I have to somehow rebuild the index or pass in some parameters to tell it to use the existing rows as a base? I couldn't find anything in the documentation regarding this.
Thanks in advance,
Jim
SQL*Plus: Release 9.2.0.1.0 - Production>Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL> select count(*) from rms_structure;
COUNT(*)
----------
552290
SQL> select count(*) from rms_structure where CD_SMILES = 'Cc1ccccc1Br';
COUNT(*)
----------
1
SQL> select substr(jc_molconvert('C1cccccC1', 'sdf:-a -2'), 0, 255) from dual;
SUBSTR(JC_MOLCONVERT('C1CCCCCC1','SDF:-A-2'),0,255)
--------------------------------------------------------------------------------
Marvin 04060913592D
7 7 0 0 0 0 999 V2000
0.8566 1.3632 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.5999 1.0053 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7834 0.2009 0.0000 C
SQL> DROP INDEX JCHEM$CD_SMILES$X;
Index dropped.
SQL> CREATE INDEX JCHEM$CD_SMILES$X>Index created.
SQL> set timing>SQL> set autotrace traceonly
SQL> select CD_ID from RMS_STRUCTURE where jc_compare(CD_SMILES, 'Cc1ccccc1Br', 't:p exactIsotopeMatching:y exactChargeMatching:y')=1;
no rows selected
Elapsed: 00:00:00.03
Execution Plan
----------------------------------------------------------
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=3 Card=23878 Bytes=48281316)
1 0 TABLE ACCESS (BY INDEX ROWID) OF 'RMS_STRUCTURE' (Cost=3 Card=23878 Bytes=48281316)
2 1 DOMAIN INDEX OF 'JCHEM$CD_SMILES$X'
Statistics
----------------------------------------------------------
851 recursive calls
22 db block gets
776 consistent gets
0 physical reads
0 redo size
248 bytes sent via SQL*Net to client
372 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
13 sorts (memory)
0 sorts (disk)
0 rows processed
SQL> exit
ChemAxon aa7c50abf8
06-04-2009 21:26:35
Hi Jim,
Not sure, if this is our Forum which is broken again...but the index creation statement looks suspicious:
SQL> CREATE INDEX JCHEM$CD_SMILES$X>Index created.
I'd expect to see also some INDEXTYPE IS ...JC_IDXTYPE at the end of the statement (I am unable to copy-paste the relevant URL here -- sorry). (I am sending you a mail separately with the URL.)
Thanks
Peter
User 77bcbbb206
06-04-2009 21:31:41
Sorry. I was trying to format it correctly. Here is the unformatted copy. Not that the index creation took a very short time.
-------------------------------------------------------
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Apr 6 14:29:42 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL> select count(*) from rms_structure;
COUNT(*)
----------
552290
SQL> select count(*) from rms_structure where CD_SMILES = 'Cc1ccccc1Br';
COUNT(*)
----------
1
SQL> select substr(jc_molconvert('C1cccccC1', 'sdf:-a -2'), 0, 255) from dual;
SUBSTR(JC_MOLCONVERT('C1CCCCCC1','SDF:-A-2'),0,255)
--------------------------------------------------------------------------------
Marvin 04060914302D
7 7 0 0 0 0 999 V2000
0.8566 1.3632 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.5999 1.0053 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7834 0.2009 0.0000 C
SQL> DROP INDEX JCHEM$CD_SMILES$X;
DROP INDEX JCHEM$CD_SMILES$X
*
ERROR at line 1:
ORA-01418: specified index does not exist
SQL> set timing on
SQL> CREATE INDEX JCHEM$CD_SMILES$X ON RMS_STRUCTURE(CD_SMILES) INDEXTYPE IS jc_idxtype;
Index created.
Elapsed: 00:00:00.00
SQL> set autotrace traceonly
SQL> select CD_ID from RMS_STRUCTURE where jc_compare(CD_SMILES, 'Cc1ccccc1Br', 't:p exactIsotopeMatching:y exactChargeMatching:y')=1;
no rows selected
Elapsed: 00:00:00.08
Execution Plan
----------------------------------------------------------
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=3 Card=23878 Bytes=4
8281316)
1 0 TABLE ACCESS (BY INDEX ROWID) OF 'RMS_STRUCTURE' (Cost=3 C
ard=23878 Bytes=48281316)
2 1 DOMAIN INDEX OF 'JCHEM$CD_SMILES$X'
Statistics
----------------------------------------------------------
853 recursive calls
22 db block gets
785 consistent gets
0 physical reads
0 redo size
248 bytes sent via SQL*Net to client
372 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
13 sorts (memory)
0 sorts (disk)
0 rows processed
SQL> exit
ChemAxon aa7c50abf8
07-04-2009 20:19:17
This discussion is being carried on off line. Topic will be updated -- at the latest -- with the final findings.
ChemAxon aa7c50abf8
16-04-2009 12:11:10
Part of the problem was that there were two JChem indexes (one on the cd_structure column and one on the cd_smiles column) and only one of them was upgraded. The following upgrade sequence was successful:
install msi.
cd c:\program files\chemaxon\jchem\cartridge\
set ORACLE_HOME=D:\oracle\ora92
upgrade.bat jchem/jchem@krms
log in as sys
sqlplus "xxx/xxx@krms as sysdba"
call jchem.privman_pkg.public_syns_for_jcobjs('JCHEM');
CREATE ROLE JCC_BASIC_ROLE;
call dbms_java.grant_permission( 'JCC_BASIC_ROLE', 'SYS:java.net.SocketPermission', 'servername', 'connect,resolve');
call dbms_java.grant_permission( 'JCC_BASIC_ROLE', 'SYS:java.net.SocketPermission', 'servername:1099', 'connect,resolve');
call jchem.privman_pkg.grants_on_jcobjs('JCHEM', 'JCC_BASIC_ROLE');
commit;
exit
loadjava -grant JCC_BASIC_ROLE -user jchem/jchem@krms jcart.jar
log in as sys
sqlplus "sys/oracle@krms as sysdba"
grant JCC_BASIC_ROLE to DBUSER;
commit;
exit
cd C:\Program Files\ChemAxon\JChem\cartridge
install-interact.bat --jcserver-only
modify jcart.properties file with OraHome/Users and License File locations
Switch it to automatic and start service
sqlplus jchem/jchem@krms
select jchem.jchem_core_pkg.getenvironment() from dual;
DROP INDEX JCHEM$CD_STRUCTURE$X;
DROP INDEX JCHEM$CD_SMILES$X;
Log into jcman and upgrade table (look on desktop)
CREATE INDEX JCHEM$CD_STRUCTURE$X ON RMS_STRUCTURE(CD_STRUCTURE) INDEXTYPE IS jc_idxtype;
CREATE INDEX JCHEM$CD_SMILES$X ON RMS_STRUCTURE(CD_SMILES) INDEXTYPE IS jc_idxtype;