[英]Jboss 4.2.3 GA additional deploy directory
I have some troubles setting up my jboss 4.2.3 GA.我在设置 jboss 4.2.3 GA 时遇到了一些麻烦。 I want a second deploy directory outside the jboss structure in order to place some ejb jars there.
我想要 jboss 结构之外的第二个部署目录,以便在那里放置一些 ejb jars。 I found a thread with the information but it isn't working.
我找到了一个包含信息的线程,但它不起作用。
I opened the jboss/server/default/conf/jboss-service.xml
我打开了
jboss/server/default/conf/jboss-service.xml
and changed并改变了
<attribute name="URLs">
deploy/
</attribute>
to至
<attribute name="URLs">
deploy/
file:/C:/dev/deploy/
</attribute>
When I restart the server I get this message:当我重新启动服务器时,我收到以下消息:
10:27:44,507 WARN [URLDeploymentScanner] Scan URL, caught java.io.FileNotFoundE
xception: Not pointing to a directory, url: file:/C:/dev/20110803_jboss/server/d
efault/deploy/
file:/C:/dev/deploy/
I am using windows during the development process and later on linux.我在开发过程中使用 windows,后来在 linux 上使用。 The example from this page ( link ) is for linux and not windows.
此页面( 链接)中的示例适用于 linux 而不是 windows。 I also tried
我也试过
file:///C:/dev/deploy/
file:/C:\dev\deploy\
file:/C:\\dev\\deploy\\
file:C:/dev/deploy/
and many other.和许多其他。 Can somebody help me out here?
有人可以帮我吗?
The deployment directories are Comma separated, which is stated in the comment above the attribute you have found:部署目录以逗号分隔,在您找到的属性上方的注释中说明:
<!-- URLs are comma separated and resolve relative to the server home URL
unless the given path is absolute. If the URL ends in "/" it is
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.