0 Replies Latest reply on May 17, 2013 8:07 AM by laumarot

    java.lang.SecurityException: cannot verify signature block file META-INF/JSAFEJCE

      Hello,

       

      Runing Jboss 7.1.1.

       

      Server crashed at launch time when putting JsafeJCE lin in jre/lib/ext.

       

      Any clue to solve this problem ?

       

      Thanks a lot

       

       

      C:\jboss-as-7.1.1.Final\bin>standalone.bat
      Calling "C:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
      ===============================================================================

        JBoss Bootstrap Environment

        JBOSS_HOME: C:\jboss-as-7.1.1.Final

        JAVA: C:\Program Files\Java\jdk1.6.0_45\bin\java

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx51
      2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se
      rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war
      ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c
      onfig=standalone.xml

      ===============================================================================

      Exception in thread "main" java.lang.ExceptionInInitializerError
      Caused by: java.lang.SecurityException: cannot verify signature block file META-INF/JSAFEJCE
              at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVeri
      fier.java:202)
              at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier
      .java:176)
              at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
              at java.util.jar.JarVerifier.update(JarVerifier.java:199)
              at java.util.jar.JarFile.initializeVerifier(JarFile.java:327)
              at java.util.jar.JarFile.getInputStream(JarFile.java:395)
              at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnec
      tion.java:144)
              at java.net.URL.openStream(URL.java:1010)
              at org.jboss.modules.Main.<clinit>(Main.java:356)
      Could not find the main class: org.jboss.modules.Main. Program will exit.