[jira] [Updated] (GEODE-7506) Native client for .net Core error

2019-11-27 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7506:
---
Priority: Trivial  (was: Major)

> Native client for .net Core error
> -
>
> Key: GEODE-7506
> URL: https://issues.apache.org/jira/browse/GEODE-7506
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Trivial
> Fix For: 1.10.0
>
>
> Hi,
> After building .net native client using visual studio 2017, I am getting an 
> error when creating regions:
> {"Method implementation on an interface 'Apache.Geode.Client.IRegion`2' from 
> assembly 'Apache.Geode, Version=0.0.42.0, Culture=neutral, 
> PublicKeyToken=null' must be a final method.":"Apache.Geode.Client.IRegion`2"}
> at: regionFactory.Create(region);
> This only happens in .net Core and not in .net Framework.
> Not sure where the problem lays, with .net Core, with Geode, or with me, not 
> building it for .net Core.
> If it's the last one, then could someone point me to right direction on how 
> to do so?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (GEODE-7506) Native client for .net Core error

2019-11-27 Thread Edgaras (Jira)
Edgaras created GEODE-7506:
--

 Summary: Native client for .net Core error
 Key: GEODE-7506
 URL: https://issues.apache.org/jira/browse/GEODE-7506
 Project: Geode
  Issue Type: Bug
Reporter: Edgaras
 Fix For: 1.10.0


Hi,

After building .net native client using visual studio 2017, I am getting an 
error when creating regions:

{"Method implementation on an interface 'Apache.Geode.Client.IRegion`2' from 
assembly 'Apache.Geode, Version=0.0.42.0, Culture=neutral, PublicKeyToken=null' 
must be a final method.":"Apache.Geode.Client.IRegion`2"}

at: regionFactory.Create(region);

This only happens in .net Core and not in .net Framework.

Not sure where the problem lays, with .net Core, with Geode, or with me, not 
building it for .net Core.

If it's the last one, then could someone point me to right direction on how to 
do so?

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7371:
---
Description: 
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;

DealValues dv = new DealValues();
 dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 EDIT:

these 2 objects are put into the region at the same time (less than 200 ms 
difference).

 

 

  was:
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;

DealValues dv = new DealValues();
 dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 EDIT:

these 2 objects are dropped almost at the same time.

 

 


> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> {quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> DealValues dv = new DealValues();
>  dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  EDIT:
> these 2 objects are put into the region at the same time (less than 200 ms 
> difference).
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7371:
---
Description: 
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;

DealValues dv = new DealValues();
 dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 EDIT:

these 2 objects are dropped almost at the same time.

 

 

  was:
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;

DealValues dv = new DealValues();
dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 


> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> {quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> DealValues dv = new DealValues();
>  dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  EDIT:
> these 2 objects are dropped almost at the same time.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7371:
---
Description: 
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;

DealValues dv = new DealValues();
dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 

  was:
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}DealValues dv = new DealValues();
 IPdxInstance pdx = (IPdxInstance)ev.NewValue;

dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 


> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> {quote}IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> DealValues dv = new DealValues();
> dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7371:
---
Description: 
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:
{quote}DealValues dv = new DealValues();
 IPdxInstance pdx = (IPdxInstance)ev.NewValue;

dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 

  was:
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:

DealValues dv = new DealValues();
{quote}DealValues dv = new DealValues();
 IPdxInstance pdx = (IPdxInstance)ev.NewValue;

dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 


> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> {quote}DealValues dv = new DealValues();
>  IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16961812#comment-16961812
 ] 

Edgaras commented on GEODE-7371:


Also, if run this new MakeDeal process which creates new listeners, those 
listeners run on the main thread. Is there away to run these listeners on a 
different thread from threadpool? Assuming that would help with the problem.

> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> DealValues dv = new DealValues();
> {quote}DealValues dv = new DealValues();
>  IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7371:
---
Priority: Minor  (was: Major)

> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> DealValues dv = new DealValues();
> {quote}DealValues dv = new DealValues();
>  IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-7371:
---
Description: 
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:

DealValues dv = new DealValues();
{quote}DealValues dv = new DealValues();
 IPdxInstance pdx = (IPdxInstance)ev.NewValue;

dv.DealNo = (int)pdx.GetField("DealNo");
 ...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 

  was:
I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152?focusedCommentId=16710918=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16710918

 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:

DealValues dv = new DealValues();
{quote}DealValues dv = new DealValues();
 IPdxInstance pdx = (IPdxInstance)ev.NewValue;

dv.DealNo = (int)pdx.GetField("DealNo");
...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 


> Listener overwriting class instances
> 
>
> Key: GEODE-7371
> URL: https://issues.apache.org/jira/browse/GEODE-7371
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Major
> Fix For: 1.10.0
>
>
> I am having a similar issue to this:
> https://issues.apache.org/jira/browse/GEODE-6152 
> I have a listener and using this method to capture the object:
> {quote}public override void AfterCreate(EntryEvent ev)
> {quote}
>  
> Then I create an new object and manualy fill it in:
> DealValues dv = new DealValues();
> {quote}DealValues dv = new DealValues();
>  IPdxInstance pdx = (IPdxInstance)ev.NewValue;
> dv.DealNo = (int)pdx.GetField("DealNo");
>  ...
> {quote}
>  
> After that, I instanciate a new class and pass in the dv object
> {quote}new MakeDeal(dv);
> {quote}
>  
> Inside MakeDeal, there are new sets of listeners created. Once everything is 
> processed it stops listening and everything stops on that instance.
>  
> The problem:
> The properties of 1st new MakeDeal are being overwriten by the 2nd object 
> being droped and picked up at the top AfterCreate(EntryEvent ev), 
> which also does a new MakeDeal.
> Things I tried:
> setting cache copy-on-read="true"
> _cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY
> Also am using v1.10.0 apache geode server and apachie geode native client in 
> Windows.
>  
> on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
> of memory errors inside listeners.
> I just cant seperate these instances somehow.
> And ofcourse, nothing is static in those instances. Help!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (GEODE-7371) Listener overwriting class instances

2019-10-29 Thread Edgaras (Jira)
Edgaras created GEODE-7371:
--

 Summary: Listener overwriting class instances
 Key: GEODE-7371
 URL: https://issues.apache.org/jira/browse/GEODE-7371
 Project: Geode
  Issue Type: Bug
Reporter: Edgaras
 Fix For: 1.10.0


I am having a similar issue to this:

https://issues.apache.org/jira/browse/GEODE-6152?focusedCommentId=16710918=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16710918

 

I have a listener and using this method to capture the object:
{quote}public override void AfterCreate(EntryEvent ev)
{quote}
 

Then I create an new object and manualy fill it in:

DealValues dv = new DealValues();
{quote}DealValues dv = new DealValues();
 IPdxInstance pdx = (IPdxInstance)ev.NewValue;

dv.DealNo = (int)pdx.GetField("DealNo");
...
{quote}
 

After that, I instanciate a new class and pass in the dv object
{quote}new MakeDeal(dv);
{quote}
 

Inside MakeDeal, there are new sets of listeners created. Once everything is 
processed it stops listening and everything stops on that instance.

 

The problem:

The properties of 1st new MakeDeal are being overwriten by the 2nd object being 
droped and picked up at the top AfterCreate(EntryEvent ev), which 
also does a new MakeDeal.

Things I tried:

setting cache copy-on-read="true"

_cache.CreateRegionFactory(RegionShortcut.PROXY); and CACHING_PROXY

Also am using v1.10.0 apache geode server and apachie geode native client in 
Windows.

 

on v.1.9 I tried multithreading and creating tasks, but that throws all sorts 
of memory errors inside listeners.

I just cant seperate these instances somehow.

And ofcourse, nothing is static in those instances. Help!

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-17 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16842180#comment-16842180
 ] 

Edgaras commented on GEODE-6778:


Okay thanks for all your help.

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-17 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16842001#comment-16842001
 ] 

Edgaras edited comment on GEODE-6778 at 5/17/19 10:52 AM:
--

I am looking for this "Apache.Geode.Client" reference that is mentioned in the 
examples..Where can I get that library from?

I've tried building it from github using CMake, but honestly, I have no idea 
what it built.

I've checked all folders for a .net project or a .dll file, but no luck.

I've read README in example folders, but that didn't help.

Couldn't find in documentation either.


was (Author: valius):
I am looking for this "Apache.Geode.Client" reference that is mentioned in the 
examples..Where can I get that library from?

I've tried building it from gethub using CMake, but honestly, I have no idea 
what it built.

I've checked all folders for a .net project or a .dll file, but no luck.

I've read README in example folders, but that didn't help.

Couldn't find in documentation either.

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-17 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16842001#comment-16842001
 ] 

Edgaras edited comment on GEODE-6778 at 5/17/19 8:37 AM:
-

I am looking for this "Apache.Geode.Client" reference that is mentioned in the 
examples..Where can I get that library from?

I've tried building it from gethub using CMake, but honestly, I have no idea 
what it built.

I've checked all folders for a .net project or a .dll file, but no luck.

I've read README in example folders, but that didn't help.

Couldn't find in documentation either.


was (Author: valius):
I am looking for this "Apache.Geode.Client" reference that is mentioned in the 
examples..Where can I get that library from?

I've tried building it from getting hub using CMake, but honestly, I have no 
idea what it built.

I've checked all folders for a .net project or a .dll file, but no luck.

I've read README in example folders, but that didn't help.

Couldn't find in documentation either.

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-17 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16842001#comment-16842001
 ] 

Edgaras commented on GEODE-6778:


I am looking for this "Apache.Geode.Client" reference that is mentioned in the 
examples..Where can I get that library from?

I've tried building it from getting hub using CMake, but honestly, I have no 
idea what it built.

I've checked all folders for a .net project or a .dll file, but no luck.

I've read README in example folders, but that didn't help.

Couldn't find in documentation either.

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-17 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841968#comment-16841968
 ] 

Edgaras commented on GEODE-6778:


Thank you Jacob, all understood. I will attempt to do everything using Apache 
Geode. 

I will get back here if I still have the issue and update this.

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-16 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841498#comment-16841498
 ] 

Edgaras commented on GEODE-6778:


Sorry if below will seem a bit all over the place, this is my first apache 
geode project that I have to expand.

 

I've downloaded latest 1.9 apache-geode-native, but I can't seem to find 
"gfsh". I assume "native" doesn't include gfsh.

GemFire by Pivotal is like a .NET wrapper (we use C#). They share almost the 
same documentation as apache.

We were able to use this GemFire wrapper since geode 1.2.

I have already contacted the Pivotal support too, but they are not responding.

 

Is there another way to use Apache Geode in .NET (C#)? i.e. 1.9 native?

And back to my problem, can a client application be an ASP.NET application ie, 
a web application?

Thank you for taking your time in helping me.

 

 

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-16 Thread Edgaras (JIRA)


[ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841343#comment-16841343
 ] 

Edgaras commented on GEODE-6778:


Geode 1.5.0

Native Pivotal Gemfire 9.1.1.2
Also tried latest: 9.2.2.1

Can you be more specific in source you need? Actual code that I use?

By source u mean code? If you can be a bit more specific I am happy to provide 
code.

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-16 Thread Edgaras (JIRA)


 [ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-6778:
---
Priority: Minor  (was: Trivial)

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.9.0
>
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-16 Thread Edgaras (JIRA)


 [ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-6778:
---
Priority: Trivial  (was: Minor)

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Trivial
> Fix For: 1.9.0
>
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-16 Thread Edgaras (JIRA)
Edgaras created GEODE-6778:
--

 Summary: Listener doesnt work in ASP.NET
 Key: GEODE-6778
 URL: https://issues.apache.org/jira/browse/GEODE-6778
 Project: Geode
  Issue Type: Bug
Reporter: Edgaras
 Fix For: 1.9.0


I've been stuck on this for 4 days now, posted numerious questions everywhere, 
hoping someone might help here.

 

I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
ev)" when a new objects comes in to the region.

Everything works fine in desktop application (Console Application / WinForms)

But it doesnt work in asp.net applications (MVC / WebForms)

Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
something different when it comes to WEB applications?

Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (GEODE-6778) Listener doesnt work in ASP.NET

2019-05-16 Thread Edgaras (JIRA)


 [ 
https://issues.apache.org/jira/browse/GEODE-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edgaras updated GEODE-6778:
---
Priority: Minor  (was: Major)

> Listener doesnt work in ASP.NET
> ---
>
> Key: GEODE-6778
> URL: https://issues.apache.org/jira/browse/GEODE-6778
> Project: Geode
>  Issue Type: Bug
>Reporter: Edgaras
>Priority: Minor
> Fix For: 1.9.0
>
>
> I've been stuck on this for 4 days now, posted numerious questions 
> everywhere, hoping someone might help here.
>  
> I have a CacheListenerAdapter that calls "AfterCreate(EntryEvent 
> ev)" when a new objects comes in to the region.
> Everything works fine in desktop application (Console Application / WinForms)
> But it doesnt work in asp.net applications (MVC / WebForms)
> Dont know if it's a real bug, or it's not ment to work, or I am suppose to do 
> something different when it comes to WEB applications?
> Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)