2011-08-13 57 views
0

我有一些麻煩設置我的JBoss 4.2.3 GA。我想要在jboss結構之外的第二個部署目錄中放置一些ejb jar。 我發現一個信息的線程,但它不工作。Jboss 4.2.3 GA額外部署目錄

我打開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/ 

我在開發過程中以及在Linux上使用Windows。這個頁面的示例(link)適用於Linux,而不適用於Windows。我也試過

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

和許多其他。有人可以幫助我嗎?

+1

我figuered出來。在部署後有一個「,」失蹤 – Hauke

回答

3

部署目錄是逗號分隔的,這是在屬性上面的註釋說明你已經發現:

<!-- 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 
相關問題