[jboss-jira] [JBoss JIRA] Created: (JBCACHE-799) Bug in RmiDelegatingCacheLoader class

Tomas Topinka (JIRA) jira-events at jboss.com
Mon Oct 9 03:31:42 EDT 2006


Bug in RmiDelegatingCacheLoader class
-------------------------------------

                 Key: JBCACHE-799
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-799
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Cache loaders
    Affects Versions: 1.4.0.SP1
         Environment: Windows XP Prof. SP2
            Reporter: Tomas Topinka
         Assigned To: Manik Surtani


When the class RmiDelegatingCacheLoader is configured via XML file, the method "public void setConfig(Properties props)" is called and RMI cacheloader initializion failed, because of bug within this method.

original code:
      if(this.port == null || this.port.length() == 0) {
         this.port = "1098";
      }
      this.port = props.getProperty("bindName");
should be:
      this.bindName= props.getProperty("bindName");


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list