You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2013/06/27 20:17:22 UTC

[jira] [Resolved] (AMBARI-2511) NPE in AmbariServer startup with HTTPS configured.

     [ https://issues.apache.org/jira/browse/AMBARI-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar resolved AMBARI-2511.
-----------------------------------

    Resolution: Fixed

Committed to trunk and branch 1.2.5.
                
> NPE in AmbariServer startup with HTTPS configured.
> --------------------------------------------------
>
>                 Key: AMBARI-2511
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2511
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.5
>            Reporter: Dmitry Sen
>            Assignee: Dmitry Sen
>            Priority: Critical
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2511_branch_1.2.5.patch, AMBARI-2511.patch
>
>
>     ambari-server setup
>     create cert (with no private key password) 
>     ambari-server setup-https - point to cert from above; no password
>     ambari-server START
>     NPE in logs (server not running)
>     22:16:52,181  INFO Server:266 - jetty-7.6.7.v20120910
>     22:16:52,285  INFO ContextHandler:744 - started o.e.j.s.ServletContextHandler{/,file:/usr/lib/ambari-server/web/}
>     22:16:55,580  WARN AbstractLifeCycle:204 - FAILED SslContextFactory@1d262f7c(/var/lib/ambari-server/keys/keystore.p12,/var/lib/ambari-server/keys/keystore.p12): java.lang.NullPointerException
>     java.lang.NullPointerException
>             at org.eclipse.jetty.util.ssl.SslContextFactory.getKeyManagers(SslContextFactory.java:1080)
>             at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:291)
>             at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>             at org.eclipse.jetty.server.ssl.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:612)
>             at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>             at org.eclipse.jetty.server.Server.doStart(Server.java:286)
>             at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>             at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:345)
>             at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:438)
>     22:16:55,582  WARN AbstractLifeCycle:204 - FAILED SslSelectChannelConnector@0.0.0.0:8443: java.lang.NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira