雄猫--> Glassfish /lib 目录

发布于 2025-01-01 18:30:01 字数 291 浏览 4 评论 0原文

我正在尝试将我的网络应用程序服务器从 Tomcat6 迁移到 Glassfish。我有一系列想要移动的 Web 应用程序,但其中一些使用存储在各自 .war 目录之外的属性和配置文件。

我可以很容易地在 glassfish 中部署 .war 文件,但我需要将这些配置文件放在与 Tomcats lib 目录等效的“某个地方”。

我在科学 Linux 服务器(~RHEL)上,tomcat lib 目录如下:/usr/share/tomcat6/lib。

Glassfish 有等效的目录吗?

非常感谢!

I'm trying to migrate my web apps server from Tomcat6 to Glassfish. I have a series of webapps that I'd like to move over, but some of them use property and config files that are stored outside of their respective .war directories.

I can deploy the .war files in glassfish easy enough, but I need to put those config files 'somewhere' equivalent to Tomcats lib directory.

I'm on a scientific linux server (~RHEL) and the tomcat lib directory is as follows: /usr/share/tomcat6/lib.

Does Glassfish have an equivalent directory?

Many thanks!

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

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

发布评论

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

评论(2

各空 2025-01-08 18:30:01

配置是干什么用的?数据源的 JNDI 名称?

如果是的话,Glassfish(以及所有 Java EE 应用服务器)都有自己独特的方式来设置此类内容。 WebLogic 有一个优雅的管理控制台; JBOSS 要求您编辑 XML 配置文件。您必须深入研究 Glassfish 文档才能弄清楚他们希望您如何做到这一点。 (我会建议你该怎么做,但我不使用 Glassfish。我不知道有人使用过。)

What's the config for? JNDI names for data sources?

If yes, Glassfish (and all Java EE app servers) have their own idiosycratic ways to set up such things. WebLogic has an elegant admin console; JBOSS requires that you edit XML configuration files. You'll have to dig into the Glassfish docs to figure out how they want you to do it. (I'd advise you on what to do, but I don't use Glassfish. I don't know anyone who does.)

夏了南城 2025-01-08 18:30:01

对于 glassfish3 / 3.1 : glassfishv3/glassfish/domains/domain1/lib/ext。
您使用哪个版本?

For glassfish3 / 3.1 : glassfishv3/glassfish/domains/domain1/lib/ext.
Which version are you using?

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