如何更改 JRun 会话超时?

发布于 2024-07-17 23:14:56 字数 66 浏览 2 评论 0原文

如果您尝试启动 JRun 服务器并且初始化时间超过 30 秒,则启动会失败。 有什么办法可以增加这个30秒的限制吗?

If you try to launch a JRun server and initialization takes more than 30 secs, the launch fails. Is there any way to increase this 30 second limit?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忘东忘西忘不掉你 2024-07-24 23:14:56

假设您在 Windows 下运行 JRun,您可以调整 Windows 服务管理器等待的时间。 请参阅如何调试 Windows 服务并搜索该页面“30 秒”。 在其正下方,您将看到一个可以编辑的注册表项。

基本上,您将添加创建一个新的 DWORD 键:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServicesPipeTimeout 

该键的值将是服务应启动的毫秒数。 这是一个全局设置,不仅仅适用于 JRun 服务。

Assuming you are running JRun under Windows, you can tune how long the Windows Service manager will wait. See How to debug Windows services and search that page for "30 seconds". Immediately below that you'll see a registry key you can edit.

Basically, you'll be adding creating a new DWORD key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServicesPipeTimeout 

the value of this key will be the number of milliseconds in which services should start. This is a global setting, not just for the JRun service.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文