繁体   English   中英

Jboss 4.2.3 GA 附加部署目录

[英]Jboss 4.2.3 GA additional deploy directory

我在设置 jboss 4.2.3 GA 时遇到了一些麻烦。 我想要 jboss 结构之外的第二个部署目录,以便在那里放置一些 ejb jars。 我找到了一个包含信息的线程,但它不起作用。

我打开了jboss/server/default/conf/jboss-service.xml

并改变了

  <attribute name="URLs">
     deploy/ 
  </attribute>

  <attribute name="URLs">
     deploy/ 
 file:/C:/dev/deploy/
  </attribute>

当我重新启动服务器时,我收到以下消息:

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/

我在开发过程中使用 windows,后来在 linux 上使用。 此页面( 链接)中的示例适用于 linux 而不是 windows。 我也试过

file:///C:/dev/deploy/
file:/C:\dev\deploy\
file:/C:\\dev\\deploy\\
file:C:/dev/deploy/

和许多其他。 有人可以帮我吗?

部署目录以逗号分隔,在您找到的属性上方的注释中说明:

  <!-- 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM