1 Reply Latest reply on Dec 19, 2014 12:36 AM by valsaraj viswanathan

    javax.crypto.Cipher dependency issue

    valsaraj viswanathan Master

      2014-12-18 16:32:51,401 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 54) JBAS014612: Operation ("add") failed - address: ([

          ("subsystem" => "security"),

          ("security-domain" => "appSecurityDomain")

      ]): java.lang.RuntimeException: JBAS013303: Runtime Exception:

        at org.jboss.as.security.SecurityDomainAdd.processKeyStore(SecurityDomainAdd.java:596)

        at org.jboss.as.security.SecurityDomainAdd.createJSSESecurityDomain(SecurityDomainAdd.java:482)

        at org.jboss.as.security.SecurityDomainAdd.launchServices(SecurityDomainAdd.java:172)

        at org.jboss.as.security.SecurityDomainAdd$1.execute(SecurityDomainAdd.java:160)

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)

        at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)

        at org.jboss.as.server.AbstractDeploymentChainStep.execute(AbstractDeploymentChainStep.java:51)

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)

        at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)

        at org.jboss.as.server.AbstractDeploymentChainStep.execute(AbstractDeploymentChainStep.java:51)

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)

        at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)

        at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

        at java.lang.Thread.run(Thread.java:722)

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.jboss.security.Util.invokePasswordClass(Util.java:157)

        at org.jboss.security.Util.loadPassword(Util.java:92)

        at org.jboss.security.JBossJSSESecurityDomain.setKeyStorePassword(JBossJSSESecurityDomain.java:286)

        at org.jboss.as.security.SecurityDomainAdd$5.setKeyStorePassword(SecurityDomainAdd.java:484)

        at org.jboss.as.security.SecurityDomainAdd.processKeyStore(SecurityDomainAdd.java:594)

        ... 19 more

      Caused by: java.lang.NoClassDefFoundError: javax/crypto/Cipher

        at org.app.security.auth.PasswordStoreImpl.getPassword(PasswordStoreImpl.java:135)

        at org.app.security.auth.PasswordStoreHolder.getPassword(PasswordStoreHolder.java:59)

        at org.app.security.auth.PasswordStoreEntry.initializeJSSE(PasswordStoreEntry.java:132)

        at org.app.security.auth.PasswordStoreEntry.toCharArray(PasswordStoreEntry.java:105)

        ... 28 more

      Caused by: java.lang.ClassNotFoundException: javax.crypto.Cipher from [Module "com.app.configuration:main" from local module loader @29d54d9a (roots: D:\jboss-as-7.1.2.Final\modules)]

        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

        ... 32 more

       

      Is there any built in module with this class?