Andrej Koelewijn blogs about hitting a problem when trying to follow the How To Create Secure BC4J Applications with Oracle9i VPD and Oracle 9iAS JAAS Provider article on OTN.
I believe the article is in error. The afterConnect() method should be the prepareSession() method instead, which does get called on each use. If an application module is not eagerly dissociating itself with its database connection at the end of each request (which will occur if jbo.doconnectionpooling=true), then it won't be reconnecting itself each time. I'll mail the PM who wrote the article to get him to correct that.
6:26:58 PM
|