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

Manik Surtani (JIRA) jira-events at jboss.com
Mon Oct 9 11:32:41 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBCACHE-799?page=comments#action_12344890 ] 
            
Manik Surtani commented on JBCACHE-799:
---------------------------------------

Fixing this for now, mainly for the 1.4.x tree though.

Pls see (and discuss) link above re: future deprecation of this cache loader.

> 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
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> 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