1 Reply Latest reply on Dec 24, 2015 12:27 PM by Subhajit -Oracle

    Problems upgrading to Coherence incubator 12.3.1

    Subhajit -Oracle

      I am new to using coherence. When trying to upgrade from v 3.7 and the corresponding incubator version am facing the following issue in server startup. Any pointers as to why this would come up will help me narrow down where I have to look.

       

      Exception in thread "Thread-5" java.lang.IllegalArgumentException: ensureCache cannot find a scheme for cache coherence.patterns.processing.taskprocessordefinitions

        at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:220)

        at com.oracle.coherence.patterns.processing.internal.task.DefaultTaskProcessorDefinitionManager.onDependenciesSatisfied(DefaultTaskProcessorDefinitionManager.java:261)

        at com.oracle.coherence.patterns.processing.internal.ProcessingPattern.start(ProcessingPattern.java:170)

        at com.oracle.coherence.patterns.processing.internal.ProcessingPattern.ensureInfrastructureStarted(ProcessingPattern.java:123)

        at com.oracle.coherence.patterns.processing.internal.LifecycleInterceptor$1.run(LifecycleInterceptor.java:59)

        at java.lang.Thread.run(Thread.java:724)

       

      Realized that cache configs of the incubator are not getting loaded. Cannot understand where to reference them for being loaded. The following difference exists from the older logs:

       

      2015-12-24 11:49:59.446/9.086 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/D:/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/pas.web/WEB-INF/lib/coherence.patterns.processing-1.4.2.jar!/coherence-processingpattern-cache-config.xml"

      2015-12-24 11:49:59.478/9.118 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/D:/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/pas.web/WEB-INF/lib/coherence.common-2.1.1.jar!/coherence-common-cache-config.xml"

       

       

      I am using the following versions:

       

      <dependency>

        <groupId>com.oracle.coherence</groupId>

        <artifactId>coherence</artifactId>

        <version>12.1.3-0-0</version>

      </dependency>

      <dependency>

        <groupId>com.oracle.coherence.incubator</groupId>

        <artifactId>coherence-processingpattern</artifactId>

        <version>12.3.1</version>

      </dependency>

        • 1. Re: Problems upgrading to Coherence incubator 12.3.1
          Subhajit -Oracle

          Problem has been resolved. Its the changes to the extensibility aspect. The coherence override xml in the older version is deprecated and no longer used. Added the following namespaces for the thing to work.

          <cache-config xmlns:processing="class://com.oracle.coherence.patterns.processing.config.xml.ProcessingPatternNamespaceHandler"

          xmlns:element="class://com.oracle.coherence.common.namespace.preprocessing.XmlPreprocessingNamespaceHandler"

          element:introduce-cache-config="coherence-cache-config.xml">