2 Replies Latest reply on Feb 3, 2011 1:09 PM by Shaun Smith

    JBoss Password Masking Error - Enum must be fully qualified: messaging

    Shaun Smith Newbie

      Good Afternoon,

       

      I was wondering if anyone has any insight on the issue listed below. I am trying to implement the password masking utilizing the steps here: http://community.jboss.org/wiki/MaskingPasswordsinJBossASXMLConfiguration

       

      I repeatedly keep getting the following error:

       

      java.lang.RuntimeException: Error creating annotation for @org.jboss.security.integration.password.Password(securityDomain=messaging, methodName=setSuckerPassword)
          at org.jboss.beans.metadata.plugins.AbstractAnnotationMetaData.getAnnotationInstance(AbstractAnnotationMetaData.java:128)
          at org.jboss.kernel.plugins.dependency.KernelScopeInfo.updateAnnotations(KernelScopeInfo.java:319)
          at org.jboss.kernel.plugins.dependency.KernelScopeInfo.updateClassAnnotations(KernelScopeInfo.java:151)
          at org.jboss.kernel.plugins.dependency.KernelScopeInfo.updateMetaData(KernelScopeInfo.java:123)
          at org.jboss.dependency.plugins.AbstractScopeInfo.addMetaData(AbstractScopeInfo.java:140)
          at org.jboss.kernel.plugins.metadata.basic.BasicKernelMetaDataRepository.addMetaData(BasicKernelMetaDataRepository.java:70)
          at org.jboss.kernel.plugins.dependency.PreInstallAction.installActionInternal(PreInstallAction.java:97)
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.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.dependency.plugins.AbstractController.install(AbstractController.java:1633)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
          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:1440)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1179)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1099)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:782)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
          at org.jboss.Main.boot(Main.java:221)
          at org.jboss.Main$1.run(Main.java:556)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Enum must be fully qualified: messaging
          at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:213)
          at org.jboss.annotation.factory.ast.ASTIdentifier.jjtAccept(ASTIdentifier.java:37)
          at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:116)
          at org.jboss.annotation.factory.ast.ASTMemberValuePair.jjtAccept(ASTMemberValuePair.java:37)
          at org.jboss.annotation.factory.AnnotationCreator.createAnnotation(AnnotationCreator.java:402)
          at org.jboss.annotation.factory.AnnotationCreator.createAnnotation(AnnotationCreator.java:448)
          at org.jboss.beans.metadata.plugins.AbstractAnnotationMetaData.getAnnotationInstance(AbstractAnnotationMetaData.java:119)
          ... 53 more

       

      My Messaging-JBoss-Beans.xm is as follows:

      <annotation>@org.jboss.security.integration.password.Password(securityDomain=messaging,  methodName=setSuckerPassword)</annotation>

       

      Any help or guidance would be greatly appreciated, I have gone through the steps several times only to have the same result...