将 JBoss 端口存储在数据库中

发布于 2024-12-27 05:32:57 字数 242 浏览 2 评论 0原文

我一直在研究如何在数据库中存储端口信息(例如 RMI、http 端口等),而不是存储在 system/env 变量或 jboss-service.xml 中。但是,我找不到任何。 我知道我可以存储、从数据库获取端口信息,然后将端口信息转储到系统/环境变量中。但是我想知道是否有任何内置和/或第 3 方 lib/api 已经能够从数据库获取端口信息,并且 jboss 可以自动获取并且无需设置为系统/环境变量。 希望有人能帮助解决这个难题。

谢谢 -一个

I have been doing research on how I can store ports info (e.g RMI, http port etc) in database instead of storing in system/env variable or in jboss-service.xml. However, I am unable to find any.
I understand I can store, get port info from DB and then dump port info into system/env variables. however I would like to know if there are any built-in and/or 3rd party lib/api which already have the capability to get port info from a DB and jboss can auto pick up and no need to set as system/env variables.
Hope someone can help solving the puzzle.

Thanks
-A

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

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

发布评论

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

评论(1

梦太阳 2025-01-03 05:32:57

不太可能存在用于此类特定任务的现成工具。

如果目的是简化配置过程,那么您可能更喜欢使用一些配置 管理工具。其中最好的一位是 Chef

It's unlikely that some ready-out-of-the-box tool exists for such specific task.

If the intent is to simplify the process of configuration then you might prefer to use some configuration management tool. One of the best is Chef.

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