From owner-freebsd-java Fri Apr 16 1: 5:13 1999 Delivered-To: freebsd-java@freebsd.org Received: from dune-concept.com (bastion.sfeir.com [195.114.85.4]) by hub.freebsd.org (Postfix) with ESMTP id D2485153C4 for ; Fri, 16 Apr 1999 01:04:45 -0700 (PDT) (envelope-from bruno@dune-concept.com) Received: from dune-concept.com (Metz1.francenet.net [193.149.110.17]) by dune-concept.com (8.8.8/8.8.7) with ESMTP id KAA14418; Fri, 16 Apr 1999 10:14:54 +0200 (CEST) (envelope-from bruno@dune-concept.com) Message-ID: <3716F105.45739EE5@dune-concept.com> Date: Fri, 16 Apr 1999 10:12:53 +0200 From: Bruno Robquin X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: "freebsd-java FreeBSD.ORG" , bruno@dune-concept.com Subject: FreeBSD2.2.7 jdk1.1.7_AOUT.V99-3-24 and JDBC problems... Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello everybody, My name is Bruno and I'm subscribe to this mailing list since two day; so I don't known anybody and subjects that have been already treat. I work since 2 years ago on a big Intranet solution in a heterogeneous environment and I would like to extend it to the powerful FreeBSD operating system. I currently test database module that not work properly (see error message) so if someone can give me more info about jdk1.1.7_AOUT.V99-3-24 and JDBC... Best regards B.R ------------------------------------------------------------------- Message returned by system when I try to execute the following code /usr/libexec/ld.so: Undefined symbol "__select" called from java_X:/usr/local/jdk1.1.7/lib/i386/green_threads/libjava.so.1.1.7 at 0x2014c5bc --------------------------------------------------------------------------------------------- This is the sample code I used to connect to Sybase database with jConnect driver (100% java) /** * openConnection(). */ private void openConnection() throws SQLException, IOException, ClassNotFoundException { ../.. /** Load default database connection properties */ Properties dbProp = new Properties(); Properties dbDrvProp = new Properties(); dbProp.load( new FileInputStream( sysenv.getProperty( "LD_PROPERTIES_PATH" ) + "database/database.properties" ) ); /** Set default properties values for jConnect database driver */ dbDrvProp.put( "user", dbProp.getProperty( "dbUserName", "eden" ) ); dbDrvProp.put( "password", dbProp.getProperty( "dbUserPwd", "edenpark" ) ); dbDrvProp.put( "CHARSET", dbProp.getProperty( "dbDriverCharset", "iso_1" ) ); /** Load sybase jConnect driver */ Class.forName( dbProp.getProperty( "dbDriverName", "com.sybase.jdbc.SybDriver" ) ); dbCon = DriverManager.getConnection( dbProp.getProperty( "dbUrl" ), dbDrvProp ); dbCon.setAutoCommit( true ); ../.. } /** End of method openConnection() */ -- Bruno Robquin R&D Dept. --------------------------------------------------- Dune Concept 79, rue La Boétie - 75008 Paris Tél : 0145 616 829 Fax : 0145 616 879 http://www.dune-concept.com --------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message