1 Reply Latest reply on Nov 4, 2013 11:21 AM by Tomaz Cerar

    Jboss4 to Jboss5 migration, No Attribute found with name: HASingleton

    Kim AA Newbie

      Hi,

       

      I am in the process of upgrading my app from Jboss4 to Jboss5 version.

      We currently have both servers running in live and some of the apps have already been migrated to Jboss5.

      I am stuck with this issue where a service was running fine on Jboss4, but doesn't get deployed on Jboss5. It is an .EAR file.

      Below is the error message I get :- I have added all the relevant xml files it should need.

       

      Any idea what it might be?

       

      Error

      2013-11-04 13:47:35,139 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: name=XYZRepair:serv

      ice=HASingleScheduleProvider state=Instantiated mode=Manual requiredState=Configured

      java.lang.RuntimeException: No Attribute found with name: HASingleton for XYZRepair:service=HASingleScheduleProvider, attributes: [TargetName, Period,

      Name, StateString, DateFormat, Repetitions, StartDate, State, TargetMethod, ScheduleManagerName]

              at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142)

              at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)

              at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)

              at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

              at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

              at org.jboss.system.ServiceController.install(ServiceController.java:274)

              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)

              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)