java.lang.IllegalStateException: Service can not be restarted on a thread owned by the service
(Doc ID 2311449.1)
Last updated on AUGUST 16, 2024
Applies to:
Oracle SOA Suite - Version 12.2.1.0.0 and laterInformation 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: <userID>] [ecid: <ecid>] [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)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |