Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT DBF
DBF 3.0 Driver and JNIFile for Locking
Patrick
2007-02-13 13:52:47.0
Hi,
I'm running DBF_JDBC30.jar on Linux (i386 RHEL 4) using the Sun 1.6.0 JDK.
I'm getting the following error:

java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.UnsatisfiedLinkError: no JNIFile in java.library.path

If I read the HXTT FAQ Concurrence question 5 it says: "If you are using JDBC3.0 package with JVM1.4.X or JVM1.5.X, you needn't that library."

I'm including the following properties while trying to make a connection:

properties.setProperty("lockType", "VFP");
properties.setProperty("versionNumber", "30");

Is there a JNIFile library for Linux somewhere or is there another problem?
Re:DBF 3.0 Driver and JNIFile for Locking
HXTT Support
2007-02-13 15:43:32.0
>properties.setProperty("lockType", "VFP");
First, you needn't to set that connection property on Linux, if you haven't run VFP on Linux, and you haven't run HXTT DBF from two different Java VM.

>"If you are using JDBC3.0 package with JVM1.4.X or JVM1.5.X, you needn't that library."
Secondly, we enabled that library temporarily because we found JDK1.4.X on SCO Unix Open Server 5.X( and 6.0) is lame to use NIO lock.

>Is there a JNIFile library for Linux somewhere or is there another problem?
If you login into Download Page, then you will find a JNIFile.zip file, which includes that library for Linux, SCO Unix, Win64, Win32, and OS2.
Re:Re:DBF 3.0 Driver and JNIFile for Locking
Patrick
2007-02-13 15:55:29.0
>> properties.setProperty("lockType", "VFP");
> First, you needn't to set that connection property on Linux, if you haven't
> run VFP on Linux, and you haven't run HXTT DBF from two different Java VM.

I do not understand what you are saying. My Java program is running on Linux and accessing a Visual FoxPro database from a Windows shared folder. Several Windows clients are simultaneously using the same database using a Visual FoxPro-developed application. So my program will be the only Java program accessing the database using the HXTT database drivers...


>> Is there a JNIFile library for Linux somewhere or is there another problem?
> If you login into Download Page, then you will find a JNIFile.zip file,
> which includes that library for Linux, SCO Unix, Win64, Win32, and OS2.

OK, I found this and I am trying to add the .so file to the classpath now...
Re:Re:Re:DBF 3.0 Driver and JNIFile for Locking
HXTT Support
2007-02-13 16:14:41.0
>Several Windows clients are simultaneously using the same database
You're correct. You should use lockType=VFP connection property:)

>OK, I found this and I am trying to add the .so file to the classpath now...
:)

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap