From: Raghuram D. <dra...@gm...> - 2008-10-16 16:37:43
|
On Thu, Oct 16, 2008 at 11:53 AM, Raghuram Devarakonda <dra...@gm...> wrote: > Traceback (most recent call last): > File "./rman.py", line 116, in <module> > main() > File "./rman.py", line 0, in main > File "./rman.py", line 73, in __init__ > db = apply(zxJDBC.connectx, ("oracle.jdbc.pool.OracleDataSource",), params) > zxJDBC.DatabaseError: unable to instantiate datasource With some tweaking of the Connectx.java to print the real java exception, I found that the actual java error is "java.lang.ClassNotFoundException: oracle/jdbc/pool/OracleDataSource". How ever, this class is very much accessible from the same jython script. I confirmed it by running the script with "-i" flag and then importing the oracle.jdbc.pool.OracleDataSource class. I am not sure why zxJDBC is having trouble finding it. Any ideas? Thanks, Raghu |