Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Service has been terminated exception for coherence distributed cache on TomEE server

MukeshKondeJun 19 2019 — edited Jun 19 2019

Hi,

We are using oracle coherence distributed cache in our project from last 10 years. We have application which are running on Jboss server which are use the distributed coherence cache to store the most frequently data.  Now are migreting our Jboss to TomEE server. The same distibuted cache are use by both Jboss and TomEE server. But on TomEE server we getting exception for coherence cache which are not seen for Jboss server. The near cache is continuously restarting on TomEE server. On Jboss servers near cache restart count very smaller than TomEE server. We have below configuration on TomEE servers.

TomEE version : apache-tomee-plus-7.0.4

Java :  jdk1.8.0_11

Coherence Version : 3.7.0

New Exception only on TomEE server:

java.lang.RuntimeException: Service has been terminated

STACKTRACE:

com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.onMissingStorage(DistributedCache.CDB:9)

com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.ensureRequestTarget(DistributedCache.CDB:34)

com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.get(DistributedCache.CDB:16)

com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1522)

com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.get(DistributedCache.CDB:1)

com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)

com.tc.cache.frontend.CAChannelMapInfo.getSalesChannel(CAChannelMapInfo.java:171)

com.tc.cache.frontend.CAChannelMapInfo.getSalesChannel(CAChannelMapInfo.java:152)

com.tc.coreweb4.filter.util.Web4FilterUtils.setRequestSalesChannelData(Web4FilterUtils.java:62)

com.tc.coreweb4.filter.impl.Web4ShoppingRequestBaseFilter.convertInboundContent(Web4ShoppingRequestBaseFilter.java:115)

com.tc.coreweb4.filter.impl.Web4ShoppingFilter.convertInboundContent(Web4ShoppingFilter.java:76)

com.tc.coreservices.filter.RequestResponseFilter.processInbound(RequestResponseFilter.java:177)

com.tc.coreservices.main.MsgProcessor.processCoreServicesMsg(MsgProcessor.java:201)

com.tc.coreservices.main.QueueReaderProcessor.processMessage(QueueReaderProcessor.java:240)

com.tc.coreservices.main.CoreServicesServerMDB.onMessage(CoreServicesServerMDB.java:99)

sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:483)

org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205)

org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186)

org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181)

org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:100)

sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:483)

org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205)

org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186)

org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85)

org.apache.openejb.core.mdb.MdbContainer._invoke(MdbContainer.java:488)

org.apache.openejb.core.mdb.MdbContainer.invoke(MdbContainer.java:462)

org.apache.openejb.core.mdb.EndpointHandler.deliverMessage(EndpointHandler.java:233)

org.apache.openejb.core.mdb.EndpointHandler.invoke(EndpointHandler.java:174)

com.tc.coreservices.main.CoreServicesServerMDB$$LocalBeanProxy.onMessage(com/tc/coreservices/main/CoreServicesServerMDB.java)

com.fiorano.mq.ra.inbound.FMQServerSession.onMessage(FMQServerSession.java:149)

fiorano.jms.runtime.ptp.FioranoQueueSession.deliverMessage(FioranoQueueSession.java:3249)

fiorano.jms.runtime.common.FioranoSession.deliverMessage(FioranoSession.java:1128)

fiorano.jms.runtime.ptp.FioranoQueueConnectionConsumerJob.execute(FioranoQueueConnectionConsumerJob.java:130)

fiorano.jms.runtime.ptp.FioranoQueueSession.run_Consumers(FioranoQueueSession.java:1150)

fiorano.jms.runtime.ptp.FioranoQueueSession.run(FioranoQueueSession.java:1237)

fiorano.jms.runtime.common.FioranoSession.run(FioranoSession.java:1073)

com.fiorano.mq.ra.inbound.FMQServerSession.run(FMQServerSession.java:107)

org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:366)

org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

java.lang.Thread.run(Thread.java:745)

Comments
Post Details
Added on Jun 19 2019
1 comment
608 views