User 952e1d9361
08-07-2010 15:44:22
Hello,
We're having a problem where sometimes jcf.hitColorAndAlign does not return a coloured result. It may be platform related as it seems to work on some machines but not others, when using the same data.
It works on Windows Server 2003 and Linux (Oracle Enterprise Linux) but seems to fail on Windows Server 2008 and Mac OS X 10.6. This may of course be a red herring so I'm not saying this is definitely the problem.
When I run this query :
select count(*)
from TEST_DB.STRUCTURES
where jc_compare(TEST_DB.STRUCTURES.STRUCTURE, 'C1=CC=CC=C1', 't:s') = 1
looking in the log I can see :
Search mode: SUBSTRUCTURE
Structure table: TEST_DB.STRUCT_JCHEM_IDX_JCX
Query: C1=CC=CC=C1
Screened: 3
Hits: 3
Total time: 50 ms Screening: 0 ms
Processing threads: 2
Current / peak / maximum searches per minute: 2 / 4 / Unlimitedwhich is correct.
But when I run :
select subst_id, jcf.molconvertb(b, 'jpeg:w240')
from test_db.structures,
table(jcf.hitColorAndAlign('TEST_DB', 'STRUCTURES', 'structure',
'C1=CC=CC=C1',
rowid,
't:s', 'alignmentMode:rotate coloring:y hitColor:cyan')) x
where jc_compare(TEST_DB.STRUCTURES.STRUCTURE, 'C1=CC=CC=C1', 't:s') = 1
I can see the where clause generating : (same as above)
Thu Jul 08 16:38:48 BST 2010
Search mode: SUBSTRUCTURE
Structure table: TEST_DB.STRUCT_JCHEM_IDX_JCX
Query: C1=CC=CC=C1
Screened: 3
Hits: 3
Total time: 22 ms Screening: 0 ms
Processing threads: 2
Current / peak / maximum searches per minute: 9 / 9 / Unlimited
but then later in the log file :Search mode: SUBSTRUCTURE
Structure table: TEST_DB.STRUCT_JCHEM_IDX_JCX
Query: C1=CC=CC=C1
Screened: 0
Hits: 0
Total time: 17 ms Screening: 0 ms
Processing threads: 2
Current / peak / maximum searches per minute: 10 / 10 / Unlimited
which doesn't look right to me?Or am I going about this all wrong?Any help on tracking this down is much appreciated.JChem release is 5.2.6 across all platforms and Oracle is always 10.2.0.4. Java is 1.6.0_20 or 1.6.0_13.Thanks,Steve H