Home »
Public Forums »
archive »
Re: IDL-Java bridge problem
Re: IDL-Java bridge problem [message #43759] |
Wed, 27 April 2005 07:36 |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
dszlucha@gmail.com wrote:
> I am having a problem with the IDL-Java bridge and JDBC. I am using IDL
> 6.1 on Windows 2000 and have written a small java program that
> registers an Oracle driver and inserts a record. It works fine with a
> "test" main function in my java app, but in an IDL session, the Oracle
> driver is never found. I am using the default idljavabrc file and
> setting my CLASSPATH environment variable to point to my java class'
> jar file and the Oracle JDBC zip file. Thanks.
>
> David Szlucha
>
Make sure that the library is included in the "JVM Classpath" option of
the .idljavabrc file. If you have included $CLASSPATH there, this
should be okay, but it never hurts to include it specifically when
debugging something like this. For example:
JVM Classpath = $CLASSPATH:/path/to/oracle/ojdbc14.jar:/path/to/jar.jar
At the very bottom of the .idljavabrc file are two options, "Log
Location" and "Bridge Logging". These set the directory where IDL-Java
Bridge log files are written and amount of information logged. Set the
"Bridge Logging" to "CONFIGFINE" and take a look at the log after
attempting to run your program. This output should give you a clue
what's happening.
-Mike
|
|
|
Current Time: Wed Oct 08 19:17:35 PDT 2025
Total time taken to generate the page: 0.00589 seconds