on 10-12-2009 8:47 AM
Hi Experts,
Im trying a JDBC to file scenario.
For MS access i used this blog by sameer
In sender communication channel..I get this error
Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=/usr/sap/trans/pi/PI_Table1.mdb' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=/usr/sap/trans/pi/PI_Tauseef1.mdb': SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'
Can ne one pls help me out...
Am i missing out something?
Regards,
Teja
Hi Ravindra,
if your database is remote, make sure it is visible from the machine XI (if not, you should map the drive)
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravindra,
Have you deployed the necessary drivers to SAP PI?
Check the note Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
If you have aii_af_jmsproviderlib.sda deployed you should have the needed drivers
Regards
Suraj
Hi,
You need to deploy the drivers using this empty stub ( Please note from PI 7.1 onwards these empty stubs are provided).
To check if the driver is already deployed you need to check in some folder under /sap/usr if this stub contains the jar file of your driver.
Please take refrence of this note for deploying drivers using JSPM.
Note no: 1138877
Hope this helps.
Regards,
Siddhesh S.Tawate
Hi Ravindra,
Even in case of MS Access you would need to deploy drivers in my opinion. To access DB server through JDBC you need to have suitable drivers deployed.
One more thing, by "PI 7.0 installed on MS operations itself" you are referring to the database of your PI system.
JDBC is used to connect with specific databases like legacy database etc (databases other than your PI database).
Hope this helps.
Regards,
Siddhesh S.Tawate
Any Ideas guys?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.