Use the JDBC-Access Gateway to connect A Reporting Tool (ART) to a Microsoft Access database.
We tested ART with the JDBC-Access Gateway using:
The following instructions assume that:
drive:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0
.art.war
, to the drive:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps
folder.These instructions show how to connect ART to Microsoft Access:
Install the JDBC-Access Gateway into the default folder.
For installation instructions, refer to the JDBC-Access Gateway documentation.
esmdb.jar
from drive:\Program Files\Easysoft Limited\Easysoft JDBC-Access Gateway\32-Bits\Libs
to drive:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\lib
.Path
contains:
drive:\Program Files\Easysoft Limited\Easysoft JDBC-Access Gateway\32-Bits\Libs\
Make sure that this folder appears before C:\Program Files\Easysoft Limited\Easysoft JDBC-Access Gateway\Libs\
in the Path. Otherwise, you will get an "Architecture mismatch" mismatch error when you attempt to connect to Microsoft Access.
http://localhost:8080/art/
Field | Value |
---|---|
Datasource Name | Easysoft |
Database Type | Other |
JDBC Driver | easysoft.sql.esMdbDriver |
JDBC URL |
jdbc:easysoft:mdb?DBQ=database
where |
When you choose OK to save the data source, ART tests the connection. If the connection succeeds you get this output:
Registering driver easysoft.sql.esMdbDriver ... ...OK Testing connection ... ...OK
Field | Value |
---|---|
Name | Easysoft Test |
Status | Active |
Short Description | First Easysoft Test |
Description | Testing the JDBC-Access Gateway with ART and Microsoft Access. |
Contact Person | myperson@mydomain |
Type | Tabular |
Datasource | Easysoft |
Uses Rules | No |
Show Parameters In Output | No |
Display Resultset | 0 |
Source (SQL) |
select * from suppliers
Replace |
If the query succeeds, your Access data will be displayed in a new browser window.