[
https://issues.jboss.org/browse/ISPN-7493?page=com.atlassian.jira.plugin....
]
Srinivas ev commented on ISPN-7493:
-----------------------------------
Hi Sebastian, i am facing below error,
My application is being deployed in 10.1.0-Final version and happens only when jars are
being deployed in active-active mode/wildfly clustering. Let me know on this,
2018/12/11 11:31:29,207+05:30 INFO [org.jboss.as.server] (management-handler-thread - 1)
WFLYSRV0010: Deployed "myproject-plf-core-fm-services-mba-18.05.jar"
(runtime-name : "myproject-plf-core-fm-services-mba-18.05.jar")
2018/12/11 11:31:47,975+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 247)
WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service
'myproject-plf-core-fm-services-mba-18.05.jar#dacPersistenceUnit'
2018/12/11 11:31:47,976+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 247)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'myproject-plf-core-fm-services-mba-18.05.jar#dacPersistenceUnit'
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) Exception
in thread "ServerService Thread Pool -- 249" java.lang.IllegalStateException:
ISPN000371: Cannot remove cache configuration 'myprojectfmMbaAACache' because it
is in use
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
org.infinispan.manager.DefaultCacheManager.undefineConfiguration(DefaultCacheManager.java:402)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
org.jboss.as.clustering.infinispan.DefaultCacheContainer.undefineConfiguration(DefaultCacheContainer.java:88)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.stop(ConfigurationBuilder.java:84)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
org.wildfly.clustering.service.AsynchronousServiceBuilder$2.run(AsynchronousServiceBuilder.java:130)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
java.lang.Thread.run(Thread.java:748)
2018/12/11 11:31:47,978+05:30 ERROR [stderr] (ServerService Thread Pool -- 249) at
org.jboss.threads.JBossThread.run(JBossThread.java:320)
2018/12/11 11:31:47,979+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0028: Stopped deployment myproject-plf-core-fm-services-mba-18.05.jar
(runtime-name: myproject-plf-core-fm-services-mba-18.05.jar) in 20ms
2018/12/11 11:31:47,984+05:30 INFO [org.jboss.as.clustering.infinispan] (MSC service
thread 1-1) WFLYCLINF0003: Stopped myprojectfmMbaAACache cache from
myprojectFMMBAActiveAlarmStore container
2018/12/11 11:31:47,985+05:30 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1)
ISPN000080: Disconnecting JGroups channel myprojectFMMBAActiveAlarmStore
2018/12/11 11:31:47,985+05:30 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1)
ISPN000082: Stopping the RpcDispatcher for channel myprojectFMMBAActiveAlarmStore
2018/12/11 11:31:48,052+05:30 WARN [org.jboss.as.controller] (management-handler-thread -
3) WFLYCTL0357: Notification of type deployment-undeployed is not described for the
resource at the address []
2018/12/11 11:31:48,053+05:30 INFO [org.jboss.as.repository] (management-handler-thread -
3) WFLYDR0002: Content removed from location
/opt/myproject/MBA_EmFmTm/wildfly/standalone/data/content/ba/89eb9c84638f73637193c06b6fca862269bc08/content
2018/12/11 11:31:48,053+05:30 INFO [org.jboss.as.server] (management-handler-thread - 3)
WFLYSRV0009: Undeployed "myproject-plf-core-fm-services-mba-18.05.jar"
(runtime-name: "myproject-plf-core-fm-services-mba-18.05.jar")
Cannot remove cache configuration while performing Rolling Update
-----------------------------------------------------------------
Key: ISPN-7493
URL:
https://issues.jboss.org/browse/ISPN-7493
Project: Infinispan
Issue Type: Bug
Components: Cloud, Core
Affects Versions: 9.0.0.CR1
Environment: * OpenShift {{v1.5.0-alpha.2+e4b43ee}}
* Infinispan Server 9.0.0.Beta2
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Priority: Major
Fix For: 9.0.0.CR2
When I was performing [Spring Session and Kubernetes Rolling Update
demo|https://bluejeans.com/s/pYKUg/] I encountered a couple of problems.
One of the is this:
{noformat}
[transactions-repository-1-ds1ks] *** JBossAS process (81) received TERM signal ***
[transactions-repository-1-ds1ks] 09:50:49,010 INFO [org.jboss.as.server] (Thread-2)
WFLYSRV0220: Server shutdown has been requested via an OS signal
[transactions-repository-1-ds1ks] 09:50:49,060 WARN [org.jboss.msc.service.fail] (MSC
service thread 1-6) MSC000004: Failure during stop of service
jboss.datagrid-infinispan.clustered.transactional.config: java.lang.IllegalStateException:
ISPN000371: Cannot remove cache configuration 'transactional' because it is in
use
[transactions-repository-1-ds1ks] at
org.infinispan.manager.DefaultCacheManager.undefineConfiguration(DefaultCacheManager.java:391)
[transactions-repository-1-ds1ks] at
org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.undefineConfiguration(AbstractDelegatingEmbeddedCacheManager.java:49)
[transactions-repository-1-ds1ks] at
org.infinispan.server.infinispan.SecurityActions$4.run(SecurityActions.java:120)
[transactions-repository-1-ds1ks] at
org.infinispan.server.infinispan.SecurityActions$4.run(SecurityActions.java:117)
[transactions-repository-1-ds1ks] at
org.infinispan.security.Security.doPrivileged(Security.java:76)
[transactions-repository-1-ds1ks] at
org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:64)
[transactions-repository-1-ds1ks] at
org.infinispan.server.infinispan.SecurityActions.undefineContainerConfiguration(SecurityActions.java:124)
[transactions-repository-1-ds1ks] at
org.jboss.as.clustering.infinispan.subsystem.AbstractCacheConfigurationService.stop(AbstractCacheConfigurationService.java:89)
[transactions-repository-1-ds1ks] at
org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
[transactions-repository-1-ds1ks] at
org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
[transactions-repository-1-ds1ks] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[transactions-repository-1-ds1ks] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[transactions-repository-1-ds1ks] at java.lang.Thread.run(Thread.java:745)
{noformat}
Full logs from Rolling Update process might be found here:
https://gist.github.com/slaskawi/2308b4c5e9bbf523fb3e02a7cc45fa24
Steps to reproduce:
* Start local OpenShift Cluster
* invoke `./init_infrastructure.sh` from
https://github.com/slaskawi/presentations/tree/ISPN-7487-reproducer
* invoke `cd transaction-creator && mvn fabric8:run`
* Start Spring Session Demo `cd session-demo && mvn fabric8:run`
* Create a client which inserts data (`watch -n 0.5 curl
http://<spring-session-demo-pod-ip>/sessions`) and at the same time invoke the
rolling update: `oc deploy transactions-repository --latest -n myproject`
* Observe logs `kubetail -l environment=infrastructure`
--
This message was sent by Atlassian Jira
(v7.12.1#712002)