This content has been marked as final. Show 2 replies
Here's what I do. Let's say JBoss is installed at J:\jboss-4.0.2 and your server is at M:\jboss-4.0.2\server\my-default.
-Djboss.home.dir=j:/jboss-4.0.2 -Djboss.home.url=file:j:/jboss-4.0.2 -Djboss.server.base.dir=m:/jboss-4.0.2/server -Djboss.server.base.url=file:m:/jboss-4.0.2/server
Pass "-c my-default" to run.bat (or to org.jboss.Main) to specify which server you want JBoss to run.
That did the trick!