3 Replies Latest reply on Jan 20, 2014 2:55 PM by Wolf-Dieter Fink

    Migrate EAR from EAP6.1.0GA to AS 7.1.1, clustering singleton exception

    V V Newbie

      Dear Forum,

       

      I have EAR archive which was build to and runs in JBOSS EAP 6.1.0 GA.
      I was trying to deploy it in JBOSS AS 7.1.1 final and got exception:
      java.lang.NoSuchMethodError: org.jboss.as.clustering.singleton.SingletonService.build(Lorg/jboss/msc/service/ServiceTarget;)Lorg/jboss/msc/service/ServiceBuilder;

       

      Will it be possible to resolve this exception by means of configuration without rebuilding the library as advised by Tomaz Cerar in this discussion https://community.jboss.org/thread/223550?_sscc=t?

       

      Thank you!

       

      Excerpt from the server.log file:
      =========================================
      11:28:12,477 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC00001: Failed to start service jboss.deployment.subunit."signing.ear"."com.rk.pah.signing.server.jar".INSTALL:
      org.jboss.msc.service.StartException in service jboss.deployment.subunit."signing.ear"."com.rk.pah.signing.server.jar".INSTALL: Failed to process phase INSTALL of subdeployment "com.rk.pah.signing.server.jar" of
      deployment "signing.ear"
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]
          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
      Caused by: java.lang.NoSuchMethodError: org.jboss.as.clustering.singleton.SingletonService.build(Lorg/jboss/msc/service/ServiceTarget;)Lorg/jboss/msc/service/ServiceBuilder;
          at com.rk.pah.jboss.ha.singleton.HASingletonActivator.activate(HASingletonActivator.java:25)
          at org.jboss.as.server.deployment.service.ServiceActivatorProcessor.deploy(ServiceActivatorProcessor.java:62) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          ... 5 more
      =========================================