oc4j 企业管理器控制台会话超时?
如何更改 OC4J 企业管理器控制台的会话超时? 我们的开发环境中的部署之间超时的速度太快了。
How can I change the session timeout for the OC4J Enterprise Manager console?
It times out too quickly between deployments in our development environment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
OC4J 中应用程序的默认会话超时为20 分钟。如果您需要对应用程序进行相同的更改,则必须在 web.xml 中显式设置会话超时值。
这甚至对于作为应用程序ascontrol部署的企业管理器也适用。 ascontrol 的 web.xml 文件位于 $ORACLE_HOME/j2ee/OC4J_INSTANCE/config/applications/ascontrol/ascontrol/WEB-INF/web.xml。您必须在此文件中的适当位置(通常在末尾)引入会话超时元素,以便 XML 有效。需要重新启动 OC4J 实例。
请注意,这没有任何保证,最好通过 Oracle 支持确认是否支持此配置更改。
或者,您可以使用 admin_client.jar 或 admin.jar部署您的应用程序。
The default session timeout of an application in OC4J is 20 minutes. If you need to change the same for an application, you have to explicitly set the session timeout value in web.xml.
This holds good even for Enterprise Manager as well, which is deployed as the application ascontrol. The web.xml file of ascontrol will be available at $ORACLE_HOME/j2ee/OC4J_INSTANCE/config/applications/ascontrol/ascontrol/WEB-INF/web.xml. You will have to introduce the session-timeout element in this file at the appropriate location (usually at the end), so that the XML is valid. A restart of the OC4J instance is required.
Do note that, this comes with no guarantees, and it is better to confirm via Oracle Support if this configuration change is supported.
Alternatively, you can use admin_client.jar or admin.jar to deploy your application.