User: user57  
  Date: 02/01/02 20:00:53

  Modified:    src/main/org/jboss/mq/pm/file CacheStore.java
                        PersistenceManager.java
  Log:
   o migrated all components to a new JMX domain name model.  jboss.system
     is now where to core/spine components live.  moved all components that
     were in JBOSS-SYSTEM that did not move into a jboss.* domain into
     jboss (where the server is now registered).  The point was to limit the
     members of jboss.system to core bits only.
   o Created org.jboss.system.Server, which does the work of initialization
     that org.jboss.Main used to do.  Main now only parses the command line,
     sets up basic legecy properties and creates a Server instance.
   o Moved functionality of Shutdown (component not cl tool) into Server (
     which is bound as jboss.system:service=Server)
   o Moved more Runtime access from Info into Server.  Exposed memory info
     as attributes.
   o Logging a WARN everywhere that uses System.getProperty("jboss.system.home")
     as that should go away soon/eventually.
   o Initialized the invokerMap in the harmi impl to avoid NPE
   o Made getopt.jar a member of the lib/* dir instead of adding it to the
     run.jar and shutdown.jars each time.
   o Minor cosmetic changes along the way.
  
  Revision  Changes    Path
  1.2       +2 -1      jbossmq/src/main/org/jboss/mq/pm/file/CacheStore.java
  
  Index: CacheStore.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/pm/file/CacheStore.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CacheStore.java   2001/11/14 04:24:08     1.1
  +++ CacheStore.java   2002/01/03 04:00:53     1.2
  @@ -25,7 +25,7 @@
    *  This class manages the persistence needs of the MessageCache
    *
    * @author     Hiram Chirino 
  - * @version    $Revision: 1.1 $
  + * @version    $Revision: 1.2 $
    */
   public class CacheStore extends ServiceMBeanSupport implements 
org.jboss.mq.pm.CacheStore, CacheStoreMBean {
      String dataDirectory;
  @@ -95,6 +95,7 @@
       * This gets called to start the service. 
       */
      protected void startService() throws Exception {
  +      log.warn("using jboss.system.home property");
         File jbossHome = new File(System.getProperty("jboss.system.home"));
         dataFile = new File(jbossHome, dataDirectory);
         log.debug("Data directory set to: " + dataFile.getCanonicalPath());
  
  
  
  1.13      +2 -1      jbossmq/src/main/org/jboss/mq/pm/file/PersistenceManager.java
  
  Index: PersistenceManager.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/pm/file/PersistenceManager.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- PersistenceManager.java   2001/11/30 18:43:15     1.12
  +++ PersistenceManager.java   2002/01/03 04:00:53     1.13
  @@ -45,7 +45,7 @@
    *  persistence.
    *
    * @author     Paul Kendall ([EMAIL PROTECTED])
  - * @version    $Revision: 1.12 $
  + * @version    $Revision: 1.13 $
    */
   public class PersistenceManager extends ServiceMBeanSupport implements 
PersistenceManagerMBean, org.jboss.mq.pm.PersistenceManager
   {
  @@ -149,6 +149,7 @@
       */
      public void startService() throws Exception
      {
  +      log.warn("using jboss.system.home property");
         File jbossHome = new File(System.getProperty("jboss.system.home"));
         dataDirFile = new File(jbossHome, dataDirectory);
         dataDirFile.mkdirs();
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to