5 Replies Latest reply on Nov 14, 2011 7:43 AM by Vinicius Carvalho

    JBoss 7 and SunPKCS11

    Vinicius Carvalho Newbie

      Hello,

       

      I'm migrating an application from Tomcat 6 to JBoss AS 7.

      I'm using the same jdk, jdk1.6.0_29.

       

      I have the following problem:

      java.lang.NoClassDefFoundError: sun/security/pkcs11/SunPKCS11

         ...

         ...

      Caused by: java.lang.ClassNotFoundException: sun.security.pkcs11.SunPKCS11 from [Module "deployment.my-app.war:main" from Service Module Loader]

       

      The jar sunpkcs11.jar is in /jre/lib/ext.

       

      Apparently, JBoss does not load the jars in /jre/lib/ext.

       

      There is something to be done to load the jars in that path?

       

       

      Thanks