Setting Oracle 11g Session Timeout

前端 未结 6 927
失恋的感觉
失恋的感觉 2021-01-11 15:56

After rebooting the server, the oracle connection from the Tomcat server times out every night. Prior to the reboot, the connection didn\'t timeout. Now, in the morning, the

6条回答
  •  不要未来只要你来
    2021-01-11 16:04

    Check applications connection Pool settings, rather than altering any session timout settings on the oracle db. It's normal that they time out.

    Have a look here: http://grails.org/doc/1.0.x/guide/3.%20Configuration.html#3.3%20The%20DataSource

    Are you sure that you have set the "pooled" parameter correctly?

    Greetings, Lars


    EDIT:
    Your config seems ok on first glimpse. I came across this issue today. Maybe it is related to your pain:
    "Infinite loop of exceptions if the application is started when the database is down for maintenance"

提交回复
热议问题