Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Intermedia Annotator

Re: Intermedia Annotator

From: kishori_sharan <member45339_at_dbforums.com>
Date: Wed, 22 Oct 2003 23:20:33 -0400
Message-ID: <3513568.1066879233@dbforums.com>

There is a bug in class
oracle.ord.media.annotator.handlers.db.JDBCAdapter. This is class is bundled in annotator.jar file. This class has a method named initiParams() and the last line of that method reads as:

 m_szURL = m_szJDBCProt + ":" + ":@" + s;

You can note that it is adding an extra colon(:). That is, before @ there should be only one colon and not two. You are getting "No suitable driver" problem because of this. Suppose you use kishori as service name for JDBC OCI driver then it is using

jdbc:oracle:oci8::@kishori as connection URL as opposed to

using jdbc:oracle:oci8:@teja

There is same problem if you use JDBC this driver.

To fix this problem, you can create a class decompile the class file

oracle.ord.media.annotator.handlers.db.JDBCAdapter and remove the extra colon from initParams() method, compile it. If you don't want to place it back in annotator.jar file then just place this first in your classpath so that annotator gui will pick up this corrected class.

I have used it with JDK 1.4.2 on windows XP pro , Oracle 9i. It took me 5 days (about 40 hours) to figure out the problem. I have reported this bug to oracle. Let me (kishori_sharan_at_yahoo.com) know if you need help running it.

--
Posted via http://dbforums.com
Received on Wed Oct 22 2003 - 22:20:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US