Opened 13 years ago
Last modified 13 years ago
#3759 new defect
Using Mapserver with OCI
Reported by: | hmonglee | Owned by: | sdlime |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer CGI | Version: | 5.6 |
Severity: | major | Keywords: | |
Cc: |
Description
On RedHat system, I have compile GDAL/OGR with OCI Support and Mapserver. When I test my mapfile (with browser or QGIS) with a layer which connect to Oracle Database I have this error : msDrawMap(): Image handling error. Failed to draw layer named 'THEME20'. msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `THEME20'. File not found or unsupported format. When I do ogrinfo --formats, I have OCI in the list. And when I test database connection with ogrinfo OCI:user/pass@host:port/SID, the connection is successfull.
I have made the same thing in Ubuntu and it's works. I'm not sure that the OS is the problem. But I don't know why mapserver doesn't want to connect to Oracle.
Has this been taken to the MapServer mailing list? This doesn't sound like a MapServer bug (yet). -Steve