2 Replies Latest reply on Apr 28, 2011 3:41 AM by mo_

    JBoss work directory location

    mo_

      I have JBoss 4.2.3.GA running on Solaris 10. I'm attempting to have the "work" directory created in a custom location by setting the "jboss.work.dir" system variable to the custom path, however, the work directory is still being created under the server/<server_name>/work directory:

       

      > find .

      .

      ./jboss.web

      ./jboss.web/localhost

      ./jboss.web/localhost/_

      ./jboss.web/localhost/_/tldCache.ser

      ./jboss.web/localhost/invoker

      ./jboss.web/localhost/invoker/tldCache.ser

      ./jboss.web/localhost/jbossws

      ./jboss.web/localhost/jbossws/tldCache.ser

      ./jboss.web/localhost/juddi

      ./jboss.web/localhost/juddi/tldCache.ser

      ./jboss.web/localhost/web-console

      ./jboss.web/localhost/web-console/tldCache.ser

      ./jboss.web/localhost/jmx-console

      ./jboss.web/localhost/jmx-console/tldCache.ser

      ./jboss.web/localhost/jmx-console/org

      ./jboss.web/localhost/jmx-console/org/apache

      ./jboss.web/localhost/jmx-console/org/apache/jsp

      ./jboss.web/localhost/jmx-console/org/apache/jsp/inspectMBean_jsp.java

      ./jboss.web/localhost/jmx-console/org/apache/jsp/inspectMBean_jsp.class

      ./jboss.web/localhost/jmx-console/org/apache/jsp/index_jsp.java

      ./jboss.web/localhost/jmx-console/org/apache/jsp/index_jsp.class

      ./jboss.web/localhost/jmx-console/org/apache/jsp/displayMBeans_jsp.java

      ./jboss.web/localhost/jmx-console/org/apache/jsp/displayMBeans_jsp.class

      ./jboss.web/localhost/jmx-console/org/apache/jsp/displayOpResult_jsp.java

      ./jboss.web/localhost/jmx-console/org/apache/jsp/displayOpResult_jsp.class

      ./jboss.web/localhost/jbossmq-httpil

      ./jboss.web/localhost/jbossmq-httpil/tldCache.ser

       

      I dont want to use symlinks to redirect the output and would rather do this through configuration inside the container. Please advise if you require any further information.