Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Error instantiating Filter with name: symmetric-encryption with weblogic 12c

<07-Dec-2018, 12:53:36,571 PM GMT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.coherence.api.internal.CoherenceException: Error instantiating Filter with name: symmetric-encryption
at weblogic.cacheprovider.coherence.CoherenceClusterManager.processException(CoherenceClusterManager.java:837)
at weblogic.cacheprovider.coherence.CoherenceClusterManager.configureClusterService(CoherenceClusterManager.java:291)
at weblogic.cacheprovider.CacheProviderServerService.bootCoherenceFromWLSCluster(CacheProviderServerService.java:229)
at weblogic.cacheprovider.CacheProviderServerService.initCoherence(CacheProviderServerService.java:103)
at weblogic.cacheprovider.CacheProviderServerService.initialize(CacheProviderServerService.java:80)
at weblogic.cacheprovider.CacheProviderServerService.start(CacheProviderServerService.java:74)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:232)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2020)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:762)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:666)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: java.lang.IllegalArgumentException: Error instantiating Filter with name: symmetric-encryption
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.addFilterToMap(LegacyXmlClusterDependencies.java:904)
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.configureFilters(LegacyXmlClusterDependencies.java:737)
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.fromXml(LegacyXmlClusterDependencies.java:173)
at com.tangosol.coherence.component.util.SafeCluster$ParseDependenciesAction.run(SafeCluster.CDB:3)
at java.security.AccessController.doPrivileged(Native Method)
at com.tangosol.coherence.component.util.SafeCluster.configure(SafeCluster.CDB:8)
at weblogic.coherence.service.internal.WLSCoherenceConfigurator.injectConfiguration(WLSCoherenceConfigurator.java:409)
at weblogic.coherence.service.internal.WLSCoherenceConfigurator.configure(WLSCoherenceConfigurator.java:354)
at weblogic.coherence.service.internal.WLSCoherenceConfigurator.configureCoherence(WLSCoherenceConfigurator.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.cacheprovider.coherence.CoherenceClusterManager.configureClusterService(CoherenceClusterManager.java:287)
... 28 more
>
<07-Dec-2018, 12:53:36,617 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<07-Dec-2018, 12:53:36,617 PM GMT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<07-Dec-2018, 12:53:36,621 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
Answers
-
Hi
Can you please provide more information to help diagnositcs?1) Coherence & WebLogic version
2) Config that refers to symmetric-encryption filter.
-
Weblogic version - 12.2.1.2.0
coherence version new - 12.2.1.2.0
coherence version old - 1.4.2_12
-
<?xml version='1.0'?>
<!--
Copyright 2001-2007 by Oracle. All rights reserved.Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
This software is the confidential and proprietary information of
Oracle Corporation. You shall not disclose such confidential and
proprietary information and shall use it only in accordance with the
terms of the license agreement you entered into with Oracle.This notice may not be removed or altered.
--><!DOCTYPE coherence PUBLIC
"-//Oracle Corporation//DTD Oracle Coherence 3.3//EN"
"http://www.tangosol.com/dtd/coherence_3_3.dtd"><!--
Note: This XML is set up for a development mode; search for "Note:"
to find specific notes on changes suggested for production use.
--><coherence>
<cluster-config>
<member-identity>
<!--
Note: All members of the cluster must specify the same cluster name in
order to be allowed to join the cluster.
-->
<cluster-name system-property="tangosol.coherence.cluster"></cluster-name>
<site-name system-property="tangosol.coherence.site"></site-name>
<rack-name system-property="tangosol.coherence.rack"></rack-name>
<machine-name system-property="tangosol.coherence.machine"></machine-name>
<process-name system-property="tangosol.coherence.process"></process-name>
<member-name system-property="tangosol.coherence.member"></member-name>
<role-name system-property="tangosol.coherence.role"></role-name>
<priority system-property="tangosol.coherence.priority"></priority>
</member-identity><unicast-listener>
<!--
Note: Specifying one or more "well known" addresses (WKA) will disable
all multicast communication. In this case, for a member to join the cluster
it will either have to be a WKA or there will have to be at least one WKA
member running.
-->
<well-known-addresses>
<socket-address id="1">
<address system-property="tangosol.coherence.wka">10.29.74.106</address>
<port system-property="tangosol.coherence.wka.port">10088</port>
</socket-address>
<socket-address id="2">
<address system-property="tangosol.coherence.wka">10.29.74.106</address>
<port system-property="tangosol.coherence.wka.port">10089</port>
</socket-address>
</well-known-addresses><!--
Note: The "localhost" setting may not work on systems that define
localhost as the loopback address; in that case, specify the machine
name or the specific IP address.
-->
<address system-property="tangosol.coherence.localhost"></address><port system-property="tangosol.coherence.localport"></port>
<port-auto-adjust system-property="tangosol.coherence.localport.adjust">true</port-auto-adjust>
<packet-buffer>
<maximum-packets>1428</maximum-packets>
</packet-buffer>
<priority>8</priority>
</unicast-listener><multicast-listener>
<address system-property="tangosol.coherence.clusteraddress">224.3.3.0</address>
<port system-property="tangosol.coherence.clusterport">33387</port><!--
Note: For production use, this value should be set to the lowest integer
value that works. On a single server cluster, it should work at "0"; on
a simple switched backbone, it should work at "1"; on an advanced backbone
with intelligent switching, it may require a value of "2" or more. Setting
the value too high can utilize unnecessary bandwidth on other LAN segments
and can even cause the OS or network devices to disable multicast traffic.
-->
<time-to-live system-property="tangosol.coherence.ttl">4</time-to-live><packet-buffer>
<maximum-packets>64</maximum-packets>
</packet-buffer>
<priority>8</priority><!--
Note: For production use, the recommended value is 30000.
-->
<join-timeout-milliseconds>30000</join-timeout-milliseconds><multicast-threshold-percent>25</multicast-threshold-percent>
</multicast-listener><tcp-ring-listener>
<!--
Note: When encountering problems getting Coherence running on a system,
we suggest that this value be set to "false" until all other issues are
resolved in order to simplify trouble-shooting.
-->
<enabled system-property="tangosol.coherence.tcpring">true</enabled><maximum-socket-closed-exceptions>2</maximum-socket-closed-exceptions>
<priority>6</priority>
</tcp-ring-listener><shutdown-listener>
<!--
Note: For production use, the suggested value is "none" (or "false")
unless testing has verified that the behavior on external shutdown is
exactly what is desired.
-->
<enabled system-property="tangosol.coherence.shutdownhook">force</enabled>
</shutdown-listener><packet-speaker>
<priority>8</priority>
</packet-speaker><packet-publisher>
<packet-size>
<maximum-length>1468</maximum-length>
<preferred-length>1468</preferred-length>
</packet-size>
<packet-pool>
<maximum-packets>2048</maximum-packets>
</packet-pool>
<packet-delivery>
<resend-milliseconds>200</resend-milliseconds><!--
Note: For production use, the recommended value is the greater of 60000
and two times the maximum expected full GC duration.
-->
<timeout-milliseconds>60000</timeout-milliseconds><heartbeat-milliseconds>1000</heartbeat-milliseconds>
<flow-control>
<enabled>true</enabled>
<pause-detection>
<maximum-packets>16</maximum-packets>
</pause-detection>
<outstanding-packets>
<maximum-packets>4096</maximum-packets>
<minimum-packets>64</minimum-packets>
</outstanding-packets>
</flow-control>
<packet-bundling>
<maximum-deferral-time>1us</maximum-deferral-time>
<aggression-factor>0</aggression-factor>
</packet-bundling>
</packet-delivery>
<notification-queueing>
<ack-delay-milliseconds>16</ack-delay-milliseconds>
<nack-delay-milliseconds>1</nack-delay-milliseconds>
</notification-queueing>
<burst-mode>
<maximum-packets>0</maximum-packets>
<pause-milliseconds>10</pause-milliseconds>
</burst-mode>
<traffic-jam>
<maximum-packets>8192</maximum-packets>
<pause-milliseconds>10</pause-milliseconds>
</traffic-jam>
<packet-buffer>
<maximum-packets>32</maximum-packets>
</packet-buffer>
<priority>6</priority>
</packet-publisher><incoming-message-handler>
<maximum-time-variance>16</maximum-time-variance>
<packet-pool>
<maximum-packets>2048</maximum-packets>
</packet-pool>
<use-nack-packets>true</use-nack-packets>
<priority>7</priority>
</incoming-message-handler><outgoing-message-handler>
<!--
Note: Uncomment the following section to activate gzip compression
for all network messages, which can help substantially with WAN
and low-bandwidth networks; for more information, see:
http://www.tangosol.com/faq-coherence.jsp#filterconfig
-->
<use-filters>
<!-- <filter-name>gzip</filter-name> -->
</use-filters>
</outgoing-message-handler><authorized-hosts>
<host-address></host-address>
<host-range>
<from-address></from-address>
<to-address></to-address>
</host-range>
</authorized-hosts><services>
<service id="1">
<service-type>ReplicatedCache</service-type>
<service-component>ReplicatedCache</service-component>
<use-filters>
<filter-name/>
</use-filters>
<init-params>
<init-param id="1">
<param-name>standard-lease-milliseconds</param-name>
<param-value>0</param-value>
</init-param>
<init-param id="2">
<param-name>lease-granularity</param-name>
<param-value>thread</param-value>
</init-param>
<init-param id="3">
<param-name>mobile-issues</param-name>
<param-value>false</param-value>
</init-param>
<init-param id="4">
<param-name>request-timeout</param-name>
<param-value system-property="tangosol.coherence.replicated.request.timeout"></param-value>
</init-param>
</init-params>
</service><service id="2">
<service-type>OptimisticCache</service-type>
<service-component>ReplicatedCache.Optimistic</service-component>
<use-filters>
<filter-name/>
</use-filters>
<init-params>
<init-param id="1">
<param-name>request-timeout</param-name>
<param-value system-property="tangosol.coherence.optimistic.request.timeout"></param-value>
</init-param>
</init-params>
</service><service id="3">
<service-type>DistributedCache</service-type>
<service-component>PartitionedService.PartitionedCache</service-component>
<use-filters>
<filter-name/>
</use-filters>
<init-params>
<init-param id="1">
<param-name>standard-lease-milliseconds</param-name>
<param-value>0</param-value>
</init-param>
<init-param id="2">
<param-name>lease-granularity</param-name>
<param-value>thread</param-value>
</init-param>
<init-param id="3">
<param-name>partition-count</param-name>
<param-value>257</param-value>
</init-param>
<init-param id="4">
<param-name>local-storage</param-name>
<param-value system-property="tangosol.coherence.distributed.localstorage">true</param-value>
</init-param>
<init-param id="5">
<param-name>transfer-threshold</param-name>
<param-value system-property="tangosol.coherence.distributed.transfer">512</param-value>
</init-param>
<init-param id="6">
<param-name>backup-count</param-name>
<param-value system-property="tangosol.coherence.distributed.backupcount">1</param-value>
</init-param>
<init-param id="7">
<param-name>backup-storage/type</param-name>
<param-value system-property="tangosol.coherence.distributed.backup">on-heap</param-value>
</init-param>
<init-param id="8">
<param-name>thread-count</param-name>
<param-value system-property="tangosol.coherence.distributed.threads">4</param-value>
</init-param>
<init-param id="9">
<param-name>key-associator/class-name</param-name>
<param-value></param-value>
</init-param>
<init-param id="10">
<param-name>key-partitioning/class-name</param-name>
<param-value></param-value>
</init-param>
<init-param id="11">
<param-name>partition-listener/class-name</param-name>
<param-value></param-value>
</init-param>
<init-param id="12">
<param-name>task-hung-threshold</param-name>
<param-value system-property="tangosol.coherence.distributed.task.hung"></param-value>
</init-param>
<init-param id="13">
<param-name>task-timeout</param-name>
<param-value system-property="tangosol.coherence.distributed.task.timeout"></param-value>
</init-param>
<init-param id="14">
<param-name>request-timeout</param-name>
<param-value system-property="tangosol.coherence.distributed.request.timeout"></param-value>
</init-param>
</init-params>
</service><service id="4">
<service-type>Invocation</service-type>
<service-component>InvocationService</service-component>
<use-filters>
<filter-name/>
</use-filters>
<init-params>
<init-param id="1">
<param-name>thread-count</param-name>
<param-value system-property="tangosol.coherence.invocation.threads">10</param-value>
</init-param>
<init-param id="2">
<param-name>task-hung-threshold</param-name>
<param-value system-property="tangosol.coherence.invocation.task.hung"></param-value>
</init-param>
<init-param id="3">
<param-name>task-timeout</param-name>
<param-value system-property="tangosol.coherence.invocation.task.timeout"></param-value>
</init-param>
<init-param id="4">
<param-name>request-timeout</param-name>
<param-value system-property="tangosol.coherence.invocation.request.timeout"></param-value>
</init-param>
</init-params>
</service><service id="5">
<service-type>LocalCache</service-type>
<service-component>LocalCache</service-component>
<init-params>
<init-param id="1">
<param-name>lock-enforce</param-name>
<param-value>false</param-value>
</init-param>
<init-param id="2">
<param-name>lock-wait</param-name>
<param-value>0</param-value>
</init-param>
</init-params>
</service><service id="6">
<service-type>SimpleCache</service-type>
<service-component>SimpleCache</service-component>
</service><service id="7">
<service-type>Proxy</service-type>
<service-component>ProxyService</service-component>
<use-filters>
<filter-name/>
</use-filters>
<init-params>
<init-param id="1">
<param-name>acceptor-config</param-name>
<param-value></param-value>
</init-param>
<init-param id="2">
<param-name>proxy-config</param-name>
<param-value></param-value>
</init-param>
<init-param id="3">
<param-name>thread-count</param-name>
<param-value system-property="tangosol.coherence.proxy.threads">0</param-value>
</init-param>
<init-param id="4">
<param-name>task-hung-threshold</param-name>
<param-value system-property="tangosol.coherence.proxy.task.hung"></param-value>
</init-param>
<init-param id="5">
<param-name>task-timeout</param-name>
<param-value system-property="tangosol.coherence.proxy.task.timeout"></param-value>
</init-param>
<init-param id="6">
<param-name>request-timeout</param-name>
<param-value system-property="tangosol.coherence.proxy.request.timeout"></param-value>
</init-param></init-params>
</service><service id="8">
<service-type>RemoteCache</service-type>
<service-component>RemoteCache</service-component>
<init-params>
<init-param id="1">
<param-name>initiator-config</param-name>
<param-value></param-value>
</init-param>
</init-params>
</service><service id="9">
<service-type>RemoteInvocation</service-type>
<service-component>RemoteInvocation</service-component>
<init-params>
<init-param id="1">
<param-name>initiator-config</param-name>
<param-value></param-value>
</init-param>
</init-params>
</service>
</services><filters>
<filter id="1">
<filter-name>gzip</filter-name>
<filter-class>com.tangosol.net.CompressionFilter</filter-class>
<init-params>
<init-param id="1">
<param-name>strategy</param-name>
<param-value>gzip</param-value>
</init-param>
<init-param id="2">
<param-name>level</param-name>
<param-value>default</param-value>
</init-param>
</init-params>
</filter><filter id="2">
<filter-name>symmetric-encryption</filter-name>
<filter-class>com.tangosol.net.security.PasswordBasedEncryptionFilter</filter-class>
<init-params>
<init-param id="1">
<param-name>password</param-name>
<param-value system-property="tangosol.coherence.security.password"></param-value>
</init-param>
</init-params>
</filter><filter id="3">
<filter-name>pkcs-encryption</filter-name>
<filter-class>com.tangosol.net.security.ClusterEncryptionFilter</filter-class>
<init-params>
<init-param id="1">
<param-name>store</param-name>
<param-value system-property="tangosol.coherence.security.keystore">./keystore.jks</param-value>
</init-param>
<init-param id="2">
<param-name>keyAlias</param-name>
<param-value>local</param-value>
</init-param>
<init-param id="3">
<param-name>keyPassword</param-name>
<param-value system-property="tangosol.coherence.security.password"></param-value>
</init-param>
</init-params>
</filter>
</filters>
</cluster-config><logging-config>
<destination system-property="tangosol.coherence.log">stderr</destination>
<severity-level system-property="tangosol.coherence.log.level">5</severity-level>
<message-format>{date} {product} {version} <{level}> (thread={thread}, member={member}): {text}</message-format>
<character-limit system-property="tangosol.coherence.log.limit">1048576</character-limit>
</logging-config><configurable-cache-factory-config>
<class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
</init-param>
</init-params>
</configurable-cache-factory-config><management-config>
<!--
Note: Setting this value to 'local-only', 'remote-only or 'all' will require the
javax.management.* classes be available on the classpath.
-->
<managed-nodes system-property="tangosol.coherence.management">none</managed-nodes><!--
Note: Setting this value to 'true' will require the Enterprise Edition license.
-->
<allow-remote-management system-property="tangosol.coherence.management.remote">false</allow-remote-management><read-only system-property="tangosol.coherence.management.readonly">false</read-only>
<default-domain-name></default-domain-name>
<service-name>Management</service-name>
</management-config><security-config>
<enabled system-property="tangosol.coherence.security">false</enabled>
<login-module-name>Coherence</login-module-name>
<access-controller>
<class-name>com.tangosol.net.security.DefaultController</class-name>
<init-params>
<init-param id="1">
<param-type>java.io.File</param-type>
<param-value system-property="tangosol.coherence.security.keystore"></param-value>
</init-param>
<init-param id="2">
<param-type>java.io.File</param-type>
<param-value system-property="tangosol.coherence.security.permissions"></param-value>
</init-param>
</init-params>
</access-controller>
<callback-handler>
<class-name/>
</callback-handler>
</security-config><license-config>
<edition-name system-property="tangosol.coherence.edition">GE</edition-name>
<license-mode system-property="tangosol.coherence.mode">dev</license-mode>
</license-config>
</coherence> -
You are definitely using an older version of coherence with recent WLS 12.2.1.2.0.
Is there a reason you are using this old version? WLS comes with a version of coherence that is in $MW_HOME/coherence/lib and automatically loaded.
Have you tried using this version?
Tim