java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)    at java.security.KeyStore.load(KeyStore.java:1185)                               at org.ejbca.core.model.ca.catoken.SoftCAToken.loadKeyStore(SoftCAToken.java:144)                                                                                                                    at org.ejbca.core.model.ca.catoken.SoftCAToken.activate(SoftCAToken.java:119)    at org.ejbca.core.model.ca.catoken.CATokenContainerImpl.activate(CATokenContainerImpl.java:302)                                                                                                      at org.ejbca.core.ejb.ca.caadmin.CAAdminSessionBean.activateCAToken(CAAdminSessionBean.java:3007)                                                                                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                  

sourceforge.net | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    EJBCA, JEE PKI Certificate Authority / Discussion / Help:Upgrade from 38.1 to 3.11.1 didn't go s...

    sourceforge.net | 8 months ago
    java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)    at java.security.KeyStore.load(KeyStore.java:1185)                               at org.ejbca.core.model.ca.catoken.SoftCAToken.loadKeyStore(SoftCAToken.java:144)                                                                                                                    at org.ejbca.core.model.ca.catoken.SoftCAToken.activate(SoftCAToken.java:119)    at org.ejbca.core.model.ca.catoken.CATokenContainerImpl.activate(CATokenContainerImpl.java:302)                                                                                                      at org.ejbca.core.ejb.ca.caadmin.CAAdminSessionBean.activateCAToken(CAAdminSessionBean.java:3007)                                                                                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                  
  2. 0

    [GLASSFISH-11482] Web Start fails with IOException, EOFException, NullPointerException - Java.net JIRA

    java.net | 2 years ago
    java.io.IOException: Failed to read jar: at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:112) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:83) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:73) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:42) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83)
  3. 0

    [Tomcat-users] Re: Question: Tomcat SSL configuration issue - Grokbase

    grokbase.com | 12 months ago
    java.io.IOException: Alias name tomcat does not identify a key entry at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:546) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:481) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:156) at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176) at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) at org.apache.catalina.core.StandardService.initialize(StandardService.java:703) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838) at org.apache.catalina.startup.Catalina.load(Catalina.java:538) at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nullpointer Exception on Startup of Netbeans 4.1RC2 after refresh of a Platform

    Netbeans Bugzilla | 1 decade ago | botte
    java.io.IOException: Missing configuration at org.netbeans.modules.kjava.j2meplatform.PlatformConvertor.instanceCreate(PlatformConvertor.java:114) [catch] at org.netbeans.modules.java.platform.DefaultJavaPlatformProvider.getInstalledPlatforms(DefaultJavaPlatformProvider.java:59) at org.netbeans.api.java.platform.JavaPlatformManager.getInstalledPlatforms(JavaPlatformManager.java:89) at org.netbeans.modules.java.platform.queries.PlatformSourceForBinaryQuery.findSourceRoots(PlatformSourceForBinaryQuery.java:62) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots(SourceForBinaryQuery.java:64) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation$SFBQListener.getResult(MergedClassPathImplementation.java:326) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addResources(MergedClassPathImplementation.java:363) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassPathResources(MergedClassPathImplementation.java:354) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassPath(MergedClassPathImplementation.java:293) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.initEntries(MergedClassPathImplementation.java:239) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassPath(MergedClassPathImplementation.java:288) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.updateEntries(MergedClassPathImplementation.java:248) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.access$200(MergedClassPathImplementation.java:36) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation$2.pathsAdded(MergedClassPathImplementation.java:75)
  6. 0

    I'm unable to lunch any app-client using Web Start. I don't know in which "subcomponent" fill the bug, and maybe it should be a P1. Tested with both Glassfish 3.0 (as bundled with NetBean 6.8), GF 3.0.1 (file glassfish-v3u1-b01.zip), GF 3.1 (build 2010-01-24). After having deployed (using the CLI) the NetBeans sample LotteryAnnotation (but the same happens with a my custom EAR application), when I try to execute the appclient (using javaws) I receive this error message on console: java.io.IOException: Failed to read jar:http://localhost:8080/___JWSappclient/___app/LotteryAnnotation/glassfish/modules/gf-client-module.jar!/META-INF/inhabitants/default at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:112) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:83) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:73) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:42) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066) at com.sun.javaws.Launcher.run(Launcher.java:116) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:180) at java.io.DataInputStream.readFully(DataInputStream.java:152) at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:105) ... 23 more Error launching or running the application java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:448) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:443) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:48) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066) at com.sun.javaws.Launcher.run(Launcher.java:116) at java.lang.Thread.run(Thread.java:619) What is the problem? Is there a work-around? Regards, Daniele

    Java.net JIRA | 7 years ago | dbenegiamo
    java.io.IOException: Failed to read jar:http://localhost:8080/___JWSappclient/___app/LotteryAnnotation/glassfish/modules/gf-client-module.jar!/META-INF/inhabitants/default at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:112) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:83) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:73) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:42) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      PKCS12 key store mac invalid - wrong password or corrupted file.    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)    at java.security.KeyStore.load(KeyStore.java:1185)                               at org.ejbca.core.model.ca.catoken.SoftCAToken.loadKeyStore(SoftCAToken.java:144)                                                                                                                    at org.ejbca.core.model.ca.catoken.SoftCAToken.activate(SoftCAToken.java:119)    at org.ejbca.core.model.ca.catoken.CATokenContainerImpl.activate(CATokenContainerImpl.java:302)                                                                                                      at org.ejbca.core.ejb.ca.caadmin.CAAdminSessionBean.activateCAToken(CAAdminSessionBean.java:3007)                                                                                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                  

      at sun.reflect.NativeMethodAccessorImpl.invoke()
    2. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      1 frame