User a18e201107
29-08-2013 17:08:55
Hello
I am running into an issue when trying to create an index on a structure table using the cartridge. We are migrating our oracle instance, and I have done the following:
- Installed Oracle and copied over existing schemas
- Installed Jchem Cartridge and recreated the jchem schema in oracle during the install
- Cheked the cartridge install as per "Testing the JChem Cartridge Installation" section of the Admin docs
- granted my "Compound" user the JCC_BASIC_ROLE
With the user compound I tried the following index creation:
create index jc_idx on compounds_22956690 (cd_smiles) INDEXTYPE IS jchem.jc_idxtype
I got the following error message
Error starting at line 5 in command:
create index jc_idx on compounds_22955250 (cd_smiles) INDEXTYPE IS jchem.jc_idxtype
Error at Command Line:5 Column:14
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 105
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 20
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
The index does seem to be created, but is not useable if I try the following:
select structureid from compounds_22955250 where jchem.jc_compare(cd_smiles, ('CCC'),'t:s maxHitCount:5000')=1
I receive the following mesage:
ORA-20101: Please, create domain index on the column referenced in the operator JC_COMPARE of the table with DATA_OBJECT_ID=76245. You can find out the name of the table by executing:
SELECT owner, object_name INTO schema_name, table_name
FROM sys.dba_objects WHERE DATA_OBJECT_ID = 76245
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 131
ORA-06512: at "JCHEM.EXEC_FUNC", line 11
ORA-06512: at "JCHEM.COMPARE_FUNC", line 7
Not sure how to proceed here, I am assuming this may be an install isssue?
Thank you for your assistance