[
https://issues.jboss.org/browse/WFLY-5612?page=com.atlassian.jira.plugin....
]
Paul Ferraro commented on WFLY-5612:
------------------------------------
Couple things:
# Under which server profile does this test run?
# org.wildfly.clustering.server is a private module. Singleton services should be created
using the public module. e.g.
https://github.com/wildfly/wildfly/blob/9.x/testsuite/integration/cluster...
UnsupportedOperationException on SingletonService.getValue()
------------------------------------------------------------
Key: WFLY-5612
URL:
https://issues.jboss.org/browse/WFLY-5612
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 9.0.2.Final
Reporter: Thomas Diesler
Assignee: Paul Ferraro
{code}
java.lang.IllegalStateException: java.lang.UnsupportedOperationException
at java.util.Collections$1.remove(Collections.java:4684)
at
org.wildfly.clustering.server.singleton.SingletonService$SingletonDispatcher.getValueRef(SingletonService.java:266)
at
org.wildfly.clustering.server.singleton.SingletonService.getValue(SingletonService.java:225)
at
org.wildfly.clustering.server.singleton.SingletonService.getValue(SingletonService.java:69)
at
org.wildfly.clustering.service.AsynchronousServiceBuilder.getValue(AsynchronousServiceBuilder.java:92)
at
org.jboss.msc.service.ServiceControllerImpl.awaitValue(ServiceControllerImpl.java:1166)
at
org.wildfly.camel.test.singleton.SingletonRouteTest.testSingletonService(SingletonRouteTest.java:138)
{code}
This is happening when I try to provide a code example for a singleton service like
[
this|https://github.com/wildfly-extras/wildfly-camel/blob/master/itests/s...]
CrossRef:
https://github.com/wildfly-extras/wildfly-camel/issues/77
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)