I?ve encountered the same problems with the thin driver when I stated classpath to the driver in each task I got a new loaded class for each sql task call which resulted in a out of memmory error in the end. I had to set classes12.zip in the classpath before starting ant to avoid the problem. Another thing about this is that it was working with jdk1.2.2 but when I changed to jdk1.3.1 I had to make this change. So I?m also interested if there?s another way to solve this.
/Johan -----Original Message----- From: Alban Peignier [mailto:[EMAIL PROTECTED]] Sent: den 30 oktober 2001 18:30 To: [EMAIL PROTECTED] Subject: Oracle OCI JDBC usage Hi, We are trying to use the sqlexec Ant task with the Oracle OCI JDBC Driver. We have two problems : - two consecutive sqlexec calls are executed into two separate ClassLoaders. The OCI JDBC Driver is loaded twice ... and the native library too :( Resulting in a exception at the second call since the native library can't be reloaded . - We can set the java.library.path into a Ant build file and thus we have to set it the LD_LIBRARY_PATH before executing Ant ... Did anybody resolve these problems ? (without using the Thin JDBC Driver :) Banban & FX -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>