On 15/12/2011 20:56, David kerber wrote: > I am trying to figure out how to access .dbf files that are on a > networked drive from my TC 5.5.xx server. I have no trouble with the > coding; it all works fine from my Eclipse dev environment. I believe > the issue is tomcat's contexts on the production server. I've seen > plenty of suggestions for just reading and streaming files from outside > the docbase, but nothing for accessing them for database purposes. I'm > using the Microsoft DBF driver. > > As I said above, it all works fine in my dev environment through > Eclipse, connection to the dbf files in their real home on the network. > However, when I try to do it from my production server, I get the > following log entries: > > 2011-12-15 14:47:53: debugValue = 32: In WraDbfJdbc: Connect params: > urlPrefix=jdbc:odbc:DRIVER={Microsoft dBase Driver (*.dbf)};DBQ=, > databaseName = //172.17.47.9/dbase/customer/delta > > Thu Dec 15 14:47:53 EST 2011: Exception in class: > com.wra.websira.WraDbfJdbc, Msg: 'Creating database: > //172.17.47.9/dbase/customer/delta', Exception: java.sql.SQLException: > [Microsoft][ODBC Driver Manager] Data source name not found and no > default driver specified > > > I belive that means it can't get to the UNC name listed as the database. > > Any hints? I've been googling and reading for a couple of hours now, > and haven't come up with anything.
Obvious first question: file permissions? p -- [key:62590808]
signature.asc
Description: OpenPGP digital signature