Ticket #3759 (new defect)
Using Mapserver with OCI
|Reported by:||hmonglee||Owned by:||sdlime|
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.