Setting Oracle 11g Session Timeout

前端 未结 6 883
失恋的感觉
失恋的感觉 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:25

    That's generally controlled by the profile associated with the user Tomcat is connecting as.

    SQL> SELECT PROFILE, LIMIT FROM DBA_PROFILES WHERE RESOURCE_NAME = 'IDLE_TIME';
    
    PROFILE                        LIMIT
    ------------------------------ ----------------------------------------
    DEFAULT                        UNLIMITED
    
    SQL> SELECT PROFILE FROM DBA_USERS WHERE USERNAME = USER;
    
    PROFILE
    ------------------------------
    DEFAULT
    

    So the user I'm connected to has unlimited idle time - no time out.

提交回复
热议问题