简体   繁体   中英

Jboss 4.2.3 GA additional deploy directory

I have some troubles setting up my jboss 4.2.3 GA. I want a second deploy directory outside the jboss structure in order to place some ejb jars there. I found a thread with the information but it isn't working.

I opened the 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. The example from this page ( link ) is for linux and not 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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