Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  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 ACCESS
Access jdbc Driver bug on linux (debian) machines
Jean-Baptiste Guillois
2008-09-19 09:13:49
Hello,
We are using the access jdbc driver on linux (debian) machines and the driver reports it cannot find the access database file even if the file really exist on the file system.

Our system logs the following

[2008-09-19 19:57:57,007] [DEBUG] [http-8080-Processor21] [com.cvsft.sal.reftable] - Current Working directory: /srv/cvsft/server/webapps/converso-server/work/interview/7F000101-011C7BB87591-1D07-0079E32F/7F000101-011C7BB87588-69B5-01AF1934
[2008-09-19 19:57:57,007] [DEBUG] [http-8080-Processor21] [com.cvsft.sal.reftable] - Using database URL: jdbc:access://srv/cvsft/server/webapps/converso-server/work/interview/7F000101-011C7BB87591-1D07-0079E32F/7F000101-011C7BB87588-69B5-01AF1934/marquesmodeles.mdb
[2008-09-19 19:57:57,007] [DEBUG] [http-8080-Processor21] [com.cvsft.sal.reftable] - Connecting to reference table datasource (url=jdbc:access://srv/cvsft/server/webapps/converso-server/work/interview/7F000101-011C7BB87591-1D07-0079E32F/7F000101-011C7BB87588-69B5-01AF1934/marquesmodeles.mdb)...
[2008-09-19 19:57:57,007] [ERROR] [http-8080-Processor21] [com.cvsft.sal.reftable] - SQL Error when trying to connect/access to Access database jdbc:access://srv/cvsft/server/webapps/converso-server/work/interview/7F000101-011C7BB87591-1D07-0079E32F/7F000101-011C7BB87588-69B5-01AF1934/marquesmodeles.mdb
[2008-09-19 19:57:57,007] [ERROR] [http-8080-Processor21] [com.cvsft.sal.reftable] - java.sql.SQLException: srv/cvsft/server/webapps/converso-server/work/interview/7F000101-011C7BB87591-1D07-0079E32F/7F000101-011C7BB87588-69B5-01AF1934/marquesmodeles.mdb doesn't exist or can't be accessed. If you're using mapped drives to access database files, you may need to check the security permissions.

Please note that the driver tries to access the file "srv/cvsft/server/webapps/converso-server/work/interview/7F000101-011C7BB87591-1D07-0079E32F/7F000101-011C7BB87588-69B5-01AF1934/marquesmodeles.mdb", which does not have anymore the "/" character at the begining which is the root cause of the error!!!

Many thanks for your help

Best Regards
Re:Access jdbc Driver bug on linux (debian) machines
HXTT Support
2008-09-22 21:46:48
Please check your jdbc url. For unix, you should use jdbc:access:////srv/... Four / is necessary.

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