Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 1999 10:12:53 +0200
From:      Bruno Robquin <bruno@dune-concept.com>
To:        "freebsd-java FreeBSD.ORG" <freebsd-java@FreeBSD.ORG>, bruno@dune-concept.com
Subject:   FreeBSD2.2.7 jdk1.1.7_AOUT.V99-3-24 and JDBC problems...
Message-ID:  <3716F105.45739EE5@dune-concept.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3716F105.45739EE5>