Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.135
  Buy Now
  HXTT Cobol 5.0.135
  HXTT DBF 7.1.136
  HXTT Excel 6.1.139
  HXTT Json 1.0.107
  HXTT Paradox 7.1.135
  HXTT PDF 2.0.135
  HXTT Text(CSV) 7.1.135
  HXTT Word 1.1.135
  HXTT XML 4.0.136
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)

Access jdbc Driver bug on linux (debian) machines
Jean-Baptiste Guillois
2008-09-19 09:13:49.0
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.0
Please check your jdbc url. For unix, you should use jdbc:access:////srv/... Four / is necessary.

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap