在 Tomcat 中的其他 Web 应用程序之前加载 derby.war(derby servlet 服务器)

发布于 2024-11-26 01:10:10 字数 286 浏览 8 评论 0原文

Apache Derby 可以选择将其“网络服务器”作为 servlet 容器 (derby.war) 中的 Web 应用程序运行。

接下来的问题是如何在同一个容器中部署依赖于 derby 的其他应用程序,以便在 derby 加载之后加载(最好在 Tomcat 容器中)。

据我所知,Tomcat 中无法控制 Web 应用程序初始化的顺序。

有人让 derby.war 在多 Web 应用程序环境中工作吗?

Apache Derby has an option to run its "Network Server" as a web application in a servlet container (derby.war).

The problem is then how to deploy other applications that depend on derby in the same container to load after derby loads (preferable in a Tomcat container).

From what I recall there is no way to control the order of web application initialization in Tomcat.

Has anybody gotten derby.war to work in a multiple web application environment?

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

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

发布评论

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

评论(2

漫雪独思 2024-12-03 01:10:10

您可能会发现在其自己的单独独立进程中运行网络服务器更容易、更可靠,而不是作为 Tomcat 进程的一部分。它将使您能够更轻松地独立于应用程序启动、停止、控制和管理 Derby 数据库。

You'll probably find it easier and more reliable to run the Network Server in a separate standalone process of its own, rather than as part of the Tomcat process. It will make it easier to start, stop, control, and administer your Derby databases separately from your applications.

人间不值得 2024-12-03 01:10:10

我也有类似的问题,但是是 HSQLDB。我开始使用独立实例。

I had a similar issue too, but with HSQLDB. I went to using standalone instances.

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