]
Brian Stansberry updated WFLY-3935:
-----------------------------------
Assignee: Paul Ferraro (was: Jason Greene)
cluster-ha-singleton fails to deploy when the server is started with
the debug flag
-----------------------------------------------------------------------------------
Key: WFLY-3935
URL:
https://issues.jboss.org/browse/WFLY-3935
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 8.1.0.Final
Reporter: Euan Mapham
Assignee: Paul Ferraro
When a clustered-ha-singleton is deployed to a wildfly server that was started using the
--debug option, a org.jboss.msc.service.ServiceNotFoundException occurrs.
I am using the quickstart/cluster-ha-singleton found on github:
https://github.com/wildfly/quickstart/tree/master/cluster-ha-singleton
Wildfly version 8.1.0.Final
I start the server with this command:
./bin/standalone.sh --debug -server-config=standalone-ha.xml -Djboss.node.name=jb.node1
I then deploy the wildfly-cluster-ha-singleton-service.jar.
The exception that occurrs is:
15:03:31,803 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001:
Failed to start service
jboss.deployment.unit."wildfly-cluster-ha-singleton-service.jar".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."wildfly-cluster-ha-singleton-service.jar".INSTALL:
JBAS018733: Failed to process phase INSTALL of deployment
"wildfly-cluster-ha-singleton-service.jar"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_20]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
org.jboss.msc.service.ServiceNotFoundException: Service service
jboss.clustering.singleton.builder.server.default not found
at
org.jboss.as.server.deployment.service.ServiceActivatorProcessor.deploy(ServiceActivatorProcessor.java:72)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
... 5 more
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service
jboss.clustering.singleton.builder.server.default not found
at
org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:668)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.DelegatingServiceRegistry.getRequiredService(DelegatingServiceRegistry.java:46)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.HATimerServiceActivator.install(HATimerServiceActivator.java:51)
at
org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.HATimerServiceActivator.activate(HATimerServiceActivator.java:44)
at
org.jboss.as.server.deployment.service.ServiceActivatorProcessor.deploy(ServiceActivatorProcessor.java:70)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
... 6 more
When I remove the "--debug" option from the command to start the server,
everything works fine.
This means we cannot debug our applications if we use this feature.
Regards,
Euan