User 2f347cbe91
12-05-2006 09:20:33
I have installed JCHEM 3.1.6 on my Oracle 9.2.0 Production database. I can make the following query from the JCHEM and PTB schema but not from my own user even though I have made a JCHEM_USER role that has all privilegies that PTB has and granted the role to my user.
SELECT /*+ CHOOSE */ STR.COMPOUND.MOLFILE
FROM JCHEM.MOLTABLE, STR.COMPOUND
WHERE ((jc_containsb(JCHEM.MOLTABLE.CD_STRUCTURE, (select bmolfile from PTB.tempmolfile where pkey = 27062153)) = 1)) AND JCHEM.MOLTABLE.STR_ID=STR.COMPOUND.COMPOUNDID
ORA-29902: error in executing ODCIIndexStart() routine
ORA-29532: Java call terminated by uncaught Java exception: java.lang.RuntimeException: The following exception has been thrown by the servlet:
Exception: ORA-00942: table or view does not exist
ORA-06512: at "JCHEM.JCHEM_BLOB_PKG", line 0
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 468
I can select from all tables involved in the query and I’ve made the following grants.
grant SELECT ANY TABLE to JCHEM_USER;
grant SELECT ANY SEQUENCE to JCHEM_USER;
grant DELETE ANY TABLE to JCHEM_USER;
grant CREATE ANY TABLE to JCHEM_USER;
grant CREATE ANY INDEX to JCHEM_USER;
grant CREATE ANY SEQUENCE to JCHEM_USER;
grant CREATE ANY TRIGGER to JCHEM_USER;
grant INSERT ANY TABLE to JCHEM_USER;
grant UPDATE ANY TABLE to JCHEM_USER;
grant DROP ANY TABLE to JCHEM_USER;
grant DROP ANY SEQUENCE to JCHEM_USER;
grant DROP ANY TRIGGER to JCHEM_USER;
I'm really out of ideas here so I would appreciate some input very much!
SELECT /*+ CHOOSE */ STR.COMPOUND.MOLFILE
FROM JCHEM.MOLTABLE, STR.COMPOUND
WHERE ((jc_containsb(JCHEM.MOLTABLE.CD_STRUCTURE, (select bmolfile from PTB.tempmolfile where pkey = 27062153)) = 1)) AND JCHEM.MOLTABLE.STR_ID=STR.COMPOUND.COMPOUNDID
ORA-29902: error in executing ODCIIndexStart() routine
ORA-29532: Java call terminated by uncaught Java exception: java.lang.RuntimeException: The following exception has been thrown by the servlet:
Exception: ORA-00942: table or view does not exist
ORA-06512: at "JCHEM.JCHEM_BLOB_PKG", line 0
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 468
I can select from all tables involved in the query and I’ve made the following grants.
grant SELECT ANY TABLE to JCHEM_USER;
grant SELECT ANY SEQUENCE to JCHEM_USER;
grant DELETE ANY TABLE to JCHEM_USER;
grant CREATE ANY TABLE to JCHEM_USER;
grant CREATE ANY INDEX to JCHEM_USER;
grant CREATE ANY SEQUENCE to JCHEM_USER;
grant CREATE ANY TRIGGER to JCHEM_USER;
grant INSERT ANY TABLE to JCHEM_USER;
grant UPDATE ANY TABLE to JCHEM_USER;
grant DROP ANY TABLE to JCHEM_USER;
grant DROP ANY SEQUENCE to JCHEM_USER;
grant DROP ANY TRIGGER to JCHEM_USER;
I'm really out of ideas here so I would appreciate some input very much!