You can have your custom jboss server deployment completely outside jboss 
server. The configuration described here works for JBoss 4.0.1SP1

Try to set following parameter in start script in java command to start jboss

Copy your jboss-service.xml to some folder say c:/foo and have complete server 
deployment directory structure underneath it 
e.g. 
        c:/foo/config/jboss-service.xml
        |
                |_ deploy
                |
                |_.......

Edit jboss-service.xml and search for 

        


Modify URL attribute as follow 

                
             deploy/,
             file:/${custom.deploy.folder}/deploy
      


Now in start script run.bat /run.sh in java command for org.jboss.Main, 

1. Give program argument as full path to jboss-service.xml file
        -Djboss.server.root.deployment.filename=c:/foo/config/jboss-service.xml

2. Define your custom.deploy.folder as VM argument
        -Dcustom.deploy.folder="<c:/foo>"
        
I hope this helps

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885002#3885002

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885002


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to