Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
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
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
DBF 3.0 Driver and JNIFile for Locking
Patrick
2007-02-13 13:52:47
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
>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
>> 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
>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
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap