I'm doing some performance testing and I'm running into problem making connections to the DB under Solaris. The odd thing is that I've gotten it to work under Windows without any problems. I've noticed that in DBConfig.java a // is insert before the hostname. Is that a standard for JDBC URLs? When I am using the Weblogic OCI driver for Oracle the following URL works
jdbc:weblogic:oracle:localhost However I get this error under Solaris (and only Solaris) ConnectionObject: e=java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError: /export/home/oracle/app/bea/wlserver6.1/lib/solaris/oci817_8/libweblogicoci3 7.so: ld.so.1: /usr/java1.3.1/bin/../bin/sparc/native_threads/java: fatal: /export/home/oracle/app/bea/wlserver6.1/lib/solaris/oci817_8/libweblogicoci3 7.so: corrupt or truncated fileurl = jdbc:weblogic:oracle://localhost As you can see there is an extra // For the oracle OCI driver (and thin driver as well) the following URL works correctly jdbc:oracle:oci8:@localhost But on Solaris (and only Solaris) I get the following error: ConnectionObject: e=java.sql.SQLException: Invalid Sytnax or Database name is nu llurl = jdbc:oracle:oci8://localhost In this case the Oracle URL uses the @ symbol before the host name. Like I said before the way it is coded in JMeter right now works fine on Windows, but not on Solaris. Also, do you think it makes more sense for all the items that use JDBC to allow the user to enter the full JDBC URL directly, rather than splitting it between sub-protocol and Database URL boxes? I think this will allow for JMeter to handle pretty much any JDBC driver and its particular syntax. Thanks Amith Documentation on using Oracle JDBC driver Thin: http://www.orafaq.com/faqjdbc.htm#THIN OCI: http://www.orafaq.com/faqjdbc.htm#OCI Documentation on using Weblogics OCI driver for Oracle http://e-docs.bea.com/wls/docs61/oracle/API_joci.html#1142626 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
