See SGF-565 [1] for more details and updates on my progress.

Cheers,
John

[1] https://jira.spring.io/browse/SGF-565


On Wed, Nov 9, 2016 at 7:56 AM, John Blum <[email protected]> wrote:

> Hi Dharam-
>
> Good catch and thank you for the feedback.  I am on it.
>
> Cheers,
> John
>
>
> On Wed, Nov 9, 2016 at 2:59 AM, Dharam Thacker <[email protected]>
> wrote:
>
>> Hi John,
>>
>> I was trying with Spring data geode (1.0.0.APACHE-GEODE-INCUBATING-M3)
>> as well as (1.0.0.APACHE-GEODE-INCUBATING) releases. I found that
>> whenever you specify locators property on CacheServerApplication
>> annotation, it gives a problem due to recursive calls bug in
>> AbstractCacheConfiguration class.
>>
>> class AbstractCacheConfiguration {
>>
>> *setLocators*(Integer mcastPort) {
>>  this.mcastPort = mcastPort;
>>  *setMcastPort(DEFAULT_MCAST_PORT);*
>> }
>>
>> *setMcastPort*(String locators) {
>>   this.locators = locators;
>>  * setLocators(DEFAULT_LOCATORS);*
>> }
>>
>> }
>>
>>
>> Example:
>>
>> @SpringBootApplication
>> @CacheServerApplication(autoStartup=true, locators="localhost[9001]")
>> public class MyCacheServiceMain {
>>
>> // Main method as trivial
>>
>> }
>>
>> But with that it gives, stackoverflow error,
>>
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setLocators(AbstractCacheConfiguration.java:685)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setMcastPort(AbstractCacheConfiguration.java:712)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setLocators(AbstractCacheConfiguration.java:685)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setMcastPort(AbstractCacheConfiguration.java:712)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setLocators(AbstractCacheConfiguration.java:685)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setMcastPort(AbstractCacheConfiguration.java:712)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]at
>> org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setLocators(AbstractCacheConfiguration.java:685)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>> at org.springframework.data.gemfire.config.annotation.AbstractC
>> acheConfiguration.setMcastPort(AbstractCacheConfiguration.java:712)
>> ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar:na]
>>
>> Thanks & Regards,
>> - Dharam Thacker
>>
>
>
>
> --
> -John
> 503-504-8657
> john.blum10101 (skype)
>



-- 
-John
503-504-8657
john.blum10101 (skype)

Reply via email to