This discussion is archived
6 Replies Latest reply: Jan 29, 2013 1:42 PM by Sid_Middleware RSS

Unexpected CryptoAPI failure generating seed

859327 Newbie
Currently Being Moderated
when i log on to the weblogic admin console i am getting this msg

Servlet Exception occured including template: java.lang.InternalError: Unexpected CryptoAPI failure generating seed




Error opening /jsp/contentheader/ContentMenu.jsp.
The source of this error is:
javax.servlet.ServletException: java.lang.InternalError: Unexpected CryptoAPI failure generating seed
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
     at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
     at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
     at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
     at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
     at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
     at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
     at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
     at jsp_servlet._framework._skeletons._wlsconsole.__nolayout._jspService(__nolayout.java:119)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
     at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
     at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
     at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
     at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
     at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
     at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
     at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
     at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
     at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
     at jsp_servlet._framework._skeletons._wlsconsole.__twocollayout._jspService(__twocollayout.java:205)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
     at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
     at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
     at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
     at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
     at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
     at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
     at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
     at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
     at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
     at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
     at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.InternalError: Unexpected CryptoAPI failure generating seed
     at sun.security.provider.NativeSeedGenerator.getSeedBytes(NativeSeedGenerator.java:43)
     at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117)
     at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
     at java.security.SecureRandom.generateSeed(SecureRandom.java:495)
     at com.bea.security.utils.random.AbstractRandomData.ensureInittedAndSeeded(AbstractRandomData.java:91)
     at com.bea.security.utils.random.AbstractRandomData.getRandomBytes(AbstractRandomData.java:105)
     at com.bea.security.utils.random.AbstractRandomData.getRandomBytes(AbstractRandomData.java:100)
     at com.bea.console.utils.CSRFUtils.getSecret(CSRFUtils.java:56)
     at jsp_servlet._jsp._contentheader.__contentmenu._jspService(__contentmenu.java:271)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     ... 95 more
     
Caused by:
java.lang.InternalError: Unexpected CryptoAPI failure generating seed
     at sun.security.provider.NativeSeedGenerator.getSeedBytes(NativeSeedGenerator.java:43)
     at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117)
     at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
     at java.security.SecureRandom.generateSeed(SecureRandom.java:495)
     at com.bea.security.utils.random.AbstractRandomData.ensureInittedAndSeeded(AbstractRandomData.java:91)
     at com.bea.security.utils.random.AbstractRandomData.getRandomBytes(AbstractRandomData.java:105)
     at com.bea.security.utils.random.AbstractRandomData.getRandomBytes(AbstractRandomData.java:100)
     at com.bea.console.utils.CSRFUtils.getSecret(CSRFUtils.java:56)
     at jsp_servlet._jsp._contentheader.__contentmenu._jspService(__contentmenu.java:271)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
     at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
     at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
     at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
     at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
     at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
     at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
     at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
     at jsp_servlet._framework._skeletons._wlsconsole.__nolayout._jspService(__nolayout.java:119)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
     at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
     at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
     at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
     at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
     at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
     at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
     at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
     at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
     at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
     at jsp_servlet._framework._skeletons._wlsconsole.__twocollayout._jspService(__twocollayout.java:205)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
     at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
     at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
     at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
     at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
     at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
     at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
     at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
     at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
     at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
     at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
     at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
  • 1. Re: Unexpected CryptoAPI failure generating seed
    832621 Newbie
    Currently Being Moderated
    Hi there
    Did you ever resolve this please?
    Thanks - Chris
  • 2. Re: Unexpected CryptoAPI failure generating seed
    832621 Newbie
    Currently Being Moderated
    I have just experienced the same problem, and the most unexpected thing happened... it just disappeared.

    Explanation provided by Oracle Support sounds just as credible as anything else I have to offer...

    Looking at error, the server was trying to generate a seed at machine level and it could be possible at that point of time the entropy on the machine was not sufficient enough to generate the seed (this could be one of many reasons)

    HTH
  • 3. Re: Unexpected CryptoAPI failure generating seed
    832621 Newbie
    Currently Being Moderated
    Just to close out the loop, the support people pointed me at a bug report here:
    http://bugs.sun.com/view_bug.do?bug_id=6366924
    Note that there is a LINUX workaround, but it uses a different randomness system, and there is debate as to the appropriateness / dangers of doing so, which I suspect is largely academic, especially for a weblogic instance that is behind a firewall. You can get to the OTHER workaround by following the link back to the original report at
    http://bugs.sun.com/view_bug.do?bug_id=6202721
    The key to this is that I am running an instance on Windows, so Linux workarounds are not necessarily appropriate. The one I followed was to change the setting in java.security

    "Alternatively, set securerandom.source to file:/dev/./urandom " Turns out this setting is found in java.security file. I found two of them, and changed it in both.

    There is some choice comment below the bug report which I found rather amusing.

    HTH - CP
  • 4. Re: Unexpected CryptoAPI failure generating seed
    927670 Newbie
    Currently Being Moderated
    Hi, Chris:

    Have you resolved your problem?

    I met the same problem in Windows 2008 R2:
    java.lang.InternalError: Unexpected CryptoAPI failure generating seed
    at sun.security.provider.NativeSeedGenerator.getSeedBytes(NativeSeedGenerator.java:43

    Is this a JDK or windows problem, or just a temporary windows problem that can be fixed after restart the computer?
    Or is there any workaround to fix this problem?

    Thanks for any reply and help.
  • 5. Re: Unexpected CryptoAPI failure generating seed
    fledicu Newbie
    Currently Being Moderated
    I face the same problem on Windows 2008 R2!?

    Any help is appreciated!
  • 6. Re: Unexpected CryptoAPI failure generating seed
    Sid_Middleware Explorer
    Currently Being Moderated
    Try this support document in oracle support: Attempt to Navigate WebLogic Server Console Fails with java.lang.InternalError: Unexpected CryptoAPI failure generating seed [ID 1492450.1]

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points