Open brianoliver opened 10 years ago
@brianoliver said: A few things that may help resolving the issue:
The stack trace seems to be incomplete, especially the top of it.
Can you provide a clear step-by-step example of how to reproduce the issue and/or perhaps add a new functional test to the AbstractPushReplicationTest class?
eg: i). start two storage enabled cluster members using a specified configuration. ii). insert/update/remove an entry. iii). destroy/kill one of the storage enabled cluster members. iv). insert/update/remove an entry (the previous entry)
@brianoliver said: It appears this issue is caused by missing @OnArrived and @OnDeparting annotations on the CoherenceEventChannelSubscription and JMSEventChannelControllerConfiguration LiveObjects.
Interestingly I could only reproduce this reliably when running on a later (unreleased) version of Coherence, but regardless it is an issue.
This will be resolved in the next patch Coherence Incubator release (patch) 12.2.1
@naheedmk said: Brian, I tested with 12.2.1 SNAPSHOT, now my application is failing with following exception. It is failing even for the previously successful usecases.
The exception is Caused by: (Wrapped) java.io.NotSerializableException: com.tangosol.coherence.config.scheme.ClassScheme
Use case details :
Put a Pojo to a cache that has cache scheme configured to pushreplication publishing cache store. And push replication has 2 channels one is cachestore channel and another is remote cluster channel.
Inside Update billing profile is com.intuit.schema.enterprisecommerce.billing.profile.v1.BillingProfile@1299da96[billingProfileId=TRN-58XV6BR, preferred=false, name=TRN-58XV6BR, customerAccountNumber=845093002, accountId=
thanks Naheed
@brianoliver said: Hi Naheed,
Are you using Coherence 12.1.2.0.1+? In 12.1.2.0.0 the class wasn't serializable. In 12.1.2.0.1+ it is.
– Brian
@naheedmk said: Brian, I am using Bundle-Version: 12.1.2.1
Thanks Naheed
@naheedmk said: Brian, I tried with version 12.1.2.0.2 and got the same exception
Thanks Naheed
@brianoliver said: Hi Naheed,
Can you attach your Cache Configuration file and possibly your CacheStore?
– Brian
@naheedmk said: I have created a test case to reproduce the issue, sent it via your email.
Thanks Naheed
@brianoliver said: (from Kunnummal Naheed Madathummal naheedmk@yahoo.com)
@brianoliver said: Hi Naheed,
If you change the
I'll update the documentation for this issue and raise an issue against the Coherence Product to make
Thanks for you helps locating this issue.
– Brian
@brianoliver said:
After looking at this in terms of making
Instead what we'll do is "re-write" / "transform" uses of
This issue was imported from JIRA COHINC-106
Reported by naheedmk
I see an issue on even processor framework when I tested fail over cases, not sure if that due to any incorrect configuration. I ran 2 separate cache server jvm and did an update, it worked correctly. Killed one of the cache server JVMs, and tested the updated use case, it failed with following exception. Expectation is the other JVM needs to process that, but it throws the error as below
re Cache}, controllerDependencies=AbstractEventChannelController.Dependencies
{ch annelName=cachestore Cache, externalName=Site1:cluster:0xA6DB:UpdateBillingProfi leEntity:cachestore Cache, eventChannelBuilder=com.oracle.coherence.patterns.eve ntdistribution.channels.CacheStoreEventChannelBuilder@65582116, transformerBuild er=null, startingMode=ENABLED, batchDistributionDelayMS=1000, batchSize=100, res tartDelay=10000, totalConsecutiveFailuresBeforeSuspended=-1, eventPollingDelay=1 000}
, cacheName=UpdateBillingProfileEntity, resolver=com.tangosol.config.express ion.ScopedParameterResolver@7ce45f54}] at com.oracle.coherence.common.liveobjects.LiveObjectEventInterceptor.on Event(LiveObjectEventInterceptor.java:215) at com.tangosol.net.events.internal.NamedEventInterceptor.onEvent(NamedE ventInterceptor.java:258) at com.tangosol.net.events.internal.AbstractEvent.nextInterceptor(Abstra ctEvent.java:116) at com.tangosol.net.events.internal.AbstractEvent.dispatch(AbstractEvent .java:154) at com.tangosol.net.events.internal.AbstractEventDispatcher$4.proceed(Ab stractEventDispatcher.java:270) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g rid.PartitionedService$Continuations$Task.run(PartitionedService.CDB:6) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$E ventDispatcher.onNotify(Service.CDB:26) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:51) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.oracle.coherence.common.liveobjects.LiveObjectEventInterceptor.on Event(LiveObjectEventInterceptor.java:211) ... 8 more Caused by: java.lang.NullPointerException at com.oracle.coherence.patterns.eventdistribution.distributors.coherenc e.CoherenceEventChannelSubscription.onEntryUpdated(CoherenceEventChannelSubscrip tion.java:271) ... 13 more