The trustAnchors parameter must be non-empty on Windows Server












0















I have installed Java SE Runtime Environment 8 Update 65 (64 bit) on Windows Server 2012 r2 x64 (for specific requirements of web application)



list of applications involved:




  • apache-tomcat-8.0.30

  • postgresql-9.4.5-3-windows-x64

  • jre-8u65-windows-x64


environment variable:



JAVA_HOME c:Program FilesJavajre 1.8.0_65


This error comes out when trying to access to webapp:



javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
org.apache.axis.AxisFault.makeFault(101)
org.apache.axis.transport.http.HTTPSender.invoke(154)
org.apache.axis.strategies.InvocationStrategy.visit(32)
org.apache.axis.SimpleChain.doVisiting(118)
org.apache.axis.SimpleChain.invoke(83)
org.apache.axis.client.AxisClient.invoke(165)
org.apache.axis.client.Call.invokeEngine(2784)
org.apache.axis.client.Call.invoke(2767)
org.apache.axis.client.Call.invoke(2443)
org.apache.axis.client.Call.invoke(2366)
org.apache.axis.client.Call.invoke(1812)
com.onesystem.siceomaslib.ngc.
PuntosAccesoNgcImplServiceSoapBindingStub.registrarPuntoAcceso(468)
com.onesystem.siceomaslib.ngc.PuntosAccesoNgcProxy
.registrarPuntoAcceso(62)
com.onesystem.onepvd.ngc.
EnviarInformacionNgcImpl.registrarPuntoAcceso(561)
com.onesystem.onepvd.ctl.LicenciaCtl.onClick$btnAceptar(279)
sun.reflect.NativeMethodAccessorImpl.invoke0(-2)
sun.reflect.NativeMethodAccessorImpl.invoke(-1)
sun.reflect.DelegatingMethodAccessorImpl.invoke(-1)
java.lang.reflect.Method.invoke(-1)
org.zkoss.zk.ui.event.GenericEventListener.onEvent(88)
org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
org.zkoss.zk.ui.AbstractComponent.service(2713)
org.zkoss.zk.ui.AbstractComponent.service(2654)
org.zkoss.zk.ui.impl.EventProcessor.process(136)
org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
org.zkoss.zk.ui.impl.EventProcessingThreadImpl.sendEvent(126)
org.zkoss.zk.ui.event.Events.sendEvent(338)
org.zkoss.zk.ui.event.Events.sendEvent(348)
org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(3180)
org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
org.zkoss.zk.ui.AbstractComponent.service(2713)
org.zkoss.zk.ui.AbstractComponent.service(2654)
org.zkoss.zk.ui.impl.EventProcessor.process(136)
org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(461)









share|improve this question





























    0















    I have installed Java SE Runtime Environment 8 Update 65 (64 bit) on Windows Server 2012 r2 x64 (for specific requirements of web application)



    list of applications involved:




    • apache-tomcat-8.0.30

    • postgresql-9.4.5-3-windows-x64

    • jre-8u65-windows-x64


    environment variable:



    JAVA_HOME c:Program FilesJavajre 1.8.0_65


    This error comes out when trying to access to webapp:



    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    org.apache.axis.AxisFault.makeFault(101)
    org.apache.axis.transport.http.HTTPSender.invoke(154)
    org.apache.axis.strategies.InvocationStrategy.visit(32)
    org.apache.axis.SimpleChain.doVisiting(118)
    org.apache.axis.SimpleChain.invoke(83)
    org.apache.axis.client.AxisClient.invoke(165)
    org.apache.axis.client.Call.invokeEngine(2784)
    org.apache.axis.client.Call.invoke(2767)
    org.apache.axis.client.Call.invoke(2443)
    org.apache.axis.client.Call.invoke(2366)
    org.apache.axis.client.Call.invoke(1812)
    com.onesystem.siceomaslib.ngc.
    PuntosAccesoNgcImplServiceSoapBindingStub.registrarPuntoAcceso(468)
    com.onesystem.siceomaslib.ngc.PuntosAccesoNgcProxy
    .registrarPuntoAcceso(62)
    com.onesystem.onepvd.ngc.
    EnviarInformacionNgcImpl.registrarPuntoAcceso(561)
    com.onesystem.onepvd.ctl.LicenciaCtl.onClick$btnAceptar(279)
    sun.reflect.NativeMethodAccessorImpl.invoke0(-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(-1)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(-1)
    java.lang.reflect.Method.invoke(-1)
    org.zkoss.zk.ui.event.GenericEventListener.onEvent(88)
    org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
    org.zkoss.zk.ui.AbstractComponent.service(2713)
    org.zkoss.zk.ui.AbstractComponent.service(2654)
    org.zkoss.zk.ui.impl.EventProcessor.process(136)
    org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
    org.zkoss.zk.ui.impl.EventProcessingThreadImpl.sendEvent(126)
    org.zkoss.zk.ui.event.Events.sendEvent(338)
    org.zkoss.zk.ui.event.Events.sendEvent(348)
    org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(3180)
    org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
    org.zkoss.zk.ui.AbstractComponent.service(2713)
    org.zkoss.zk.ui.AbstractComponent.service(2654)
    org.zkoss.zk.ui.impl.EventProcessor.process(136)
    org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
    org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(461)









    share|improve this question



























      0












      0








      0








      I have installed Java SE Runtime Environment 8 Update 65 (64 bit) on Windows Server 2012 r2 x64 (for specific requirements of web application)



      list of applications involved:




      • apache-tomcat-8.0.30

      • postgresql-9.4.5-3-windows-x64

      • jre-8u65-windows-x64


      environment variable:



      JAVA_HOME c:Program FilesJavajre 1.8.0_65


      This error comes out when trying to access to webapp:



      javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
      org.apache.axis.AxisFault.makeFault(101)
      org.apache.axis.transport.http.HTTPSender.invoke(154)
      org.apache.axis.strategies.InvocationStrategy.visit(32)
      org.apache.axis.SimpleChain.doVisiting(118)
      org.apache.axis.SimpleChain.invoke(83)
      org.apache.axis.client.AxisClient.invoke(165)
      org.apache.axis.client.Call.invokeEngine(2784)
      org.apache.axis.client.Call.invoke(2767)
      org.apache.axis.client.Call.invoke(2443)
      org.apache.axis.client.Call.invoke(2366)
      org.apache.axis.client.Call.invoke(1812)
      com.onesystem.siceomaslib.ngc.
      PuntosAccesoNgcImplServiceSoapBindingStub.registrarPuntoAcceso(468)
      com.onesystem.siceomaslib.ngc.PuntosAccesoNgcProxy
      .registrarPuntoAcceso(62)
      com.onesystem.onepvd.ngc.
      EnviarInformacionNgcImpl.registrarPuntoAcceso(561)
      com.onesystem.onepvd.ctl.LicenciaCtl.onClick$btnAceptar(279)
      sun.reflect.NativeMethodAccessorImpl.invoke0(-2)
      sun.reflect.NativeMethodAccessorImpl.invoke(-1)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(-1)
      java.lang.reflect.Method.invoke(-1)
      org.zkoss.zk.ui.event.GenericEventListener.onEvent(88)
      org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
      org.zkoss.zk.ui.AbstractComponent.service(2713)
      org.zkoss.zk.ui.AbstractComponent.service(2654)
      org.zkoss.zk.ui.impl.EventProcessor.process(136)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.sendEvent(126)
      org.zkoss.zk.ui.event.Events.sendEvent(338)
      org.zkoss.zk.ui.event.Events.sendEvent(348)
      org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(3180)
      org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
      org.zkoss.zk.ui.AbstractComponent.service(2713)
      org.zkoss.zk.ui.AbstractComponent.service(2654)
      org.zkoss.zk.ui.impl.EventProcessor.process(136)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(461)









      share|improve this question
















      I have installed Java SE Runtime Environment 8 Update 65 (64 bit) on Windows Server 2012 r2 x64 (for specific requirements of web application)



      list of applications involved:




      • apache-tomcat-8.0.30

      • postgresql-9.4.5-3-windows-x64

      • jre-8u65-windows-x64


      environment variable:



      JAVA_HOME c:Program FilesJavajre 1.8.0_65


      This error comes out when trying to access to webapp:



      javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
      org.apache.axis.AxisFault.makeFault(101)
      org.apache.axis.transport.http.HTTPSender.invoke(154)
      org.apache.axis.strategies.InvocationStrategy.visit(32)
      org.apache.axis.SimpleChain.doVisiting(118)
      org.apache.axis.SimpleChain.invoke(83)
      org.apache.axis.client.AxisClient.invoke(165)
      org.apache.axis.client.Call.invokeEngine(2784)
      org.apache.axis.client.Call.invoke(2767)
      org.apache.axis.client.Call.invoke(2443)
      org.apache.axis.client.Call.invoke(2366)
      org.apache.axis.client.Call.invoke(1812)
      com.onesystem.siceomaslib.ngc.
      PuntosAccesoNgcImplServiceSoapBindingStub.registrarPuntoAcceso(468)
      com.onesystem.siceomaslib.ngc.PuntosAccesoNgcProxy
      .registrarPuntoAcceso(62)
      com.onesystem.onepvd.ngc.
      EnviarInformacionNgcImpl.registrarPuntoAcceso(561)
      com.onesystem.onepvd.ctl.LicenciaCtl.onClick$btnAceptar(279)
      sun.reflect.NativeMethodAccessorImpl.invoke0(-2)
      sun.reflect.NativeMethodAccessorImpl.invoke(-1)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(-1)
      java.lang.reflect.Method.invoke(-1)
      org.zkoss.zk.ui.event.GenericEventListener.onEvent(88)
      org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
      org.zkoss.zk.ui.AbstractComponent.service(2713)
      org.zkoss.zk.ui.AbstractComponent.service(2654)
      org.zkoss.zk.ui.impl.EventProcessor.process(136)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.sendEvent(126)
      org.zkoss.zk.ui.event.Events.sendEvent(338)
      org.zkoss.zk.ui.event.Events.sendEvent(348)
      org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(3180)
      org.zkoss.zk.ui.AbstractComponent.onEvent(2742)
      org.zkoss.zk.ui.AbstractComponent.service(2713)
      org.zkoss.zk.ui.AbstractComponent.service(2654)
      org.zkoss.zk.ui.impl.EventProcessor.process(136)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(534)
      org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(461)






      apache-http-server java windows-server-2012-r2 postgresql tomcat






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 22 at 22:25







      ajcg

















      asked Jan 17 at 14:13









      ajcgajcg

      237211




      237211






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395399%2fthe-trustanchors-parameter-must-be-non-empty-on-windows-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395399%2fthe-trustanchors-parameter-must-be-non-empty-on-windows-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How do I know what Microsoft account the skydrive app is syncing to?

          When does type information flow backwards in C++?

          Grease: Live!