Opened 14 years ago

Closed 14 years ago

#3457 closed defect (fixed)

MapServer throws internal server error when ora-28002 returns from Oracle connection

Reported by: msmitherdc Owned by: aboudreault
Priority: normal Milestone: 6.0 release
Component: Input - Native Oracle Spatial Support Version: svn-trunk (development)
Severity: normal Keywords: oracle, ora-28002, pasword, warning, error
Cc: dmorissette

Description

ORA-28002 is a warning error message that the password is expiring. However, MapServer reports no error in the debug log and throws a 500 internal server error.

Change History (3)

comment:1 by msmitherdc, 14 years ago

Owner: changed from aboudreault to dmorissette

comment:2 by dmorissette, 14 years ago

Cc: dmorissette added
Owner: changed from dmorissette to aboudreault

I'll reassign to Alan to look into this. Hopefully there is an easy way to force the password expiration to reproduce and test this.

comment:3 by aboudreault, 14 years ago

Resolution: fixed
Status: newclosed

Since we're supposed to be able to use the connection in the grace period, I've taken a look if we couldn't allow it in MapServer. Unfortunately, the C API seems to consider this as an error and set the OCIEnv as invalid. The way I've found to by-pass that error would be to use an OCISession with a OCISessionBegin() call before the login... but we're not using them at all in our code. I don't think it's worth to change much code for that. Let me know if you don't agree.

Now, the error is reported and MapServer exits gracefully.

Fixed and comitted in r10195.

Note: See TracTickets for help on using tickets.