雄猫--> Glassfish /lib 目录
我正在尝试将我的网络应用程序服务器从 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
配置是干什么用的?数据源的 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.)
对于 glassfish3 / 3.1 : glassfishv3/glassfish/domains/domain1/lib/ext。
您使用哪个版本?
For glassfish3 / 3.1 : glassfishv3/glassfish/domains/domain1/lib/ext.
Which version are you using?