我在设置我的 jboss 4.2.3 GA 时遇到了一些麻烦。我想要 jboss 结构之外的第二个部署目录,以便在那里放置一些 ejb jar。我找到了一个包含信息的线程,但它不起作用。
我打开了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/
和许多其他。有人可以帮我吗?