[jboss-user] [Management, JMX/JBoss] - Re: dynamic deployment directory

jaikiran do-not-reply at jboss.com
Mon Apr 14 03:41:16 EDT 2008


The jboss.server.home.dir System property points to the home dir of the server. Ex: D:\JBoss\server\default. To get to the deploy folder, you can do something like this:

String homeDir = System.getProperty("jboss.server.home.dir");
  | String deployDir = homeDir + "/" + "deploy";

Other JBoss properties are available at http://wiki.jboss.org/wiki/JBossProperties (for some reason, at this moment, this wiki page is not showing up).


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

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



More information about the jboss-user mailing list