English 中文(简体)
在网上记录仪中从战争档案中分离财产档案
原标题:Separating property-files from war-file in WebLogic

我正在为网络记录仪建造一个战争应用程序。

I have some property files I would like to keep separate from the war-file, so I can deploy the same war in different environments.

我试图通过搁置解决该问题。

<>Class-Path:>/opt/myapp/config

in the war MANIFEST, and then put the property-files in that directory, but that doesnt seem to work in WebLogic? The property-files apparently are not found by the application...

I read some posts, that not all Java EE-containers implement this feature. Is it correct that WebLogic does not (we are using 10.3.0), or is this supposed to work?

如果没有,解决这一问题的最佳途径是什么?

最佳回答

如果财产在系统分类中找到,那么你的选择就是

(1) 在该条道路上将财产档案存放在地产上: WEBLOGIC_HOME/user_projects/domains/YOURDOMAIN

2) Use the Weblogic feature of Generic File Loading Overrides: http://download.oracle.com/docs/cd/E21764_01/web.1111/e13702/config.htm#i1066493

问题回答

暂无回答




相关问题
Export to pdf on the client or server side?

My client side application is using jqgrid that requests the server side, which in its turn queries MySQL and sends back the resultSet in XML format. I m willing to add the export to PDF ...

Image generator

I d like to be able to generate an image with overlaying text (that is inputted by the user) such as how it is done on www.depressiondog.info. Can someone show/link me to some code that will do that. ...

Where should I put this configuration setting?

I m designing a fairly small web application which will run on a Sun application server (v9.1). It only has a few pages, no database of its own, and will retrieve/update data via web services. There s ...

服务器面与用户对用户的MVC在网络信号中

我最近找到了一种与《伙伴关系协定》有关的有趣的替代办法。 NET MVC,我目前做的是:静态超文本,配有先进的 Java本式服务电话(大多数例子使用开放式雷达)。 例如,见此或......。

MySQL Users and All Privileges

Ok, I m trying to add a user to a MySQL database. This user should be able to add other users to the database it has privileges for. So I did this: GRANT ALL privileges ON thedbname.* TO topuser @ % ...

Doesn t get into Debug Mode

When I Press F5 on my VS2005 to debug the application, it launches the web app window but it is coming out of debug mode. When I tried to trace the Error in the EventViewer, this was the error: ...

热门标签