Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  Buy Now
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.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 Beijing 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 © 1999-2017 Heng Xing Tian Tai Lab of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap