Kevin Minder created KNOX-544:
---------------------------------
Summary: Knox process does not exit if startup fails due to
credential store issues
Key: KNOX-544
URL: https://issues.apache.org/jira/browse/KNOX-544
Project: Apache Knox
Issue Type: Bug
Components: Server
Affects Versions: 0.5.0
Reporter: Kevin Minder
Assignee: Kevin Minder
Fix For: 0.7.0
If there is an issue with the credential store configuration the Knox server
process will remain even though the server itself isn't functional. The error
that will be shown in the logs is this.
{code}
2015-05-15 15:34:21,745 FATAL hadoop.gateway
(GatewayServer.java:startGateway(234)) - Failed to start gateway:
java.security.UnrecoverableKeyException: Cannot recover key
{code}
This can be reproduced by:
# Installing the server (ant install-test-home)
# Starting the server (bin/gateway.sh start)
# Stopping the server (bin/gateway.sh stop)
# Renaming __gateway-credentials.jceks (mv
data/security/keystores/__gateway-credentials.jceks
data/security/keystores/__gateway-credentials.jceks_)
# Starting the server (bin/gateway.sh start)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)