Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
access jdbc from IBM AS400
mike
2007-02-26 12:06:28.0
1. what is the most likely cause of this error message.
rgc-ad/Public/Engineering/Mercury/db1.mdb doesn't exist or can't be
accessed!

2. In trying to use the JDBC driver
from an IBM AS400, is it necessary for me to start the Access Server?
Re:access jdbc from IBM AS400
HXTT Support
2007-02-26 16:14:57.0
>rgc-ad/Public/Engineering/Mercury/db1.mdb
Try jdbc:access:////rgc-ad/Public/Engineering/Mercury/db1.mdb if your path is /rgc-ad/Public/Engineering/Mercury/db1.mdb

>In trying to use the JDBC driver from an IBM AS400, is it necessary for me to start the Access Server?
You needn't. It's a pure Java engine, and it can access your mdb file if java.io.* package can access that file. But if you are accessing a mdb file on Windows from AS400, maybe you will meet security limiation issue, then we will discuss more about it.
Re:Re:access jdbc from IBM AS400
mike
2007-02-27 04:47:49.0
OK, tried jdbc:access:////rgc-ad/Public/Engineering/Mercury/db1.mdb. Still receiving same message.

If i open explorer and type in the following \\rgc-ad\public\Engineering\mercury\db1.mdb the file opens.

If i try to access this path from the AS400, i get invalid Database URL.

I can access this file from my desktop via a java program or just typing in the URL from explorer or from DOS Cmd prompt.

Any other ideas.
Thanks.
Re:Re:Re:access jdbc from IBM AS400
HXTT Support
2007-02-27 06:13:27.0
>OK, tried jdbc:access:////rgc-ad/Public/Engineering/Mercury/db1.mdb. Still
> receiving same message.
>>If i open explorer and type in the following \\rgc-ad\public\Engineering\mercury\db1.mdb the file opens.
I see now. rgc-ad is a host name, then you should use jdbc:access://///rgc-ad/Public/Engineering/Mercury/db1.mdb (five continuous'/')


Re:Re:Re:Re:access jdbc from IBM AS400
mike
2007-02-27 11:08:02.0
I have tried using the five continuous '/' as directed above. Still receiving the 'doesn't exist or can't be accessed message.

I don't know if it matters or not, but i am using JNI functions.

anything else i can try?
Re:Re:Re:Re:Re:access jdbc from IBM AS400
HXTT Support
2007-02-27 16:33:03.0
1. Try JDBC url:
jdbc:access:/\\rgc-ad\public\Engineering\mercury\db1.mdb
In Java code, you can should use two \\ for every \.

2. Try SAMBA url to skip security issue.


Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap