java.lang.IllegalStateException: Service can not be restarted on a thread owned by the service

(Doc ID 2311449.1)

Last updated on OCTOBER 02, 2017

Applies to:

Oracle SOA Suite - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.0.0 version, BPEL Service Engine

Coherence encounters some unknown failure and is no longer present on the Enterprise Manager navigation tree. Subsequent deploy/undeploy actions fail. Restarting all managed servers resolves the problem. 

ERROR
-----------------------
...
####  <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <[severity-value: 1] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] >
#### <[ACTIVE] ExecuteThread: '24' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <[STUCK] ExecuteThread: '65' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "699" seconds working on the request "Http Request Information: weblogic.servlet.internal.ServletRequestImpl@5053ad7f[POST /soa-infra/deployer]
", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
java.lang.Object.wait(Native Method)
oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.submitRequestAndWaitForCompletion(CoherenceCompositeDeploymentCoordinatorImpl.java:618)
oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.submitRequestAndWaitForCompletion(CoherenceCompositeDeploymentCoordinatorImpl.java:604)

...

 

[2017-01-30T09:26:36.758-07:00] [XXXX] [ERROR] [] [oracle.integration.platform.blocks.deploy.coordinator] [tid: ReplicatedCache:SOAReplicatedCache:EventDispatcher] [userId: SAFunTfsDeployer] [ecid: 402fc357-8947-48c9-a210-39cd1bc1b6bf-00000002,0:2:81209] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception:[[
java.lang.IllegalStateException: Service can not be restarted on a thread owned by the service
at com.tangosol.coherence.component.util.SafeNamedCache.ensureRunningNamedCache(SafeNamedCache.CDB:16)
at com.tangosol.coherence.component.util.SafeNamedCache.getRunningNamedCache(SafeNamedCache.CDB:7)
at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.handleNewDeploymentCommand(CoherenceCompositeDeploymentCoordinatorImpl.java:1222)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.access$200(CoherenceCompositeDeploymentCoordinatorImpl.java:57)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl$2.entryInserted(CoherenceCompositeDeploymentCoordinatorImpl.java:197)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms