You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2014/10/10 23:59:34 UTC
[jira] [Resolved] (KNOX-365) NPE when using xinetd for port
forwarding to Knox
[ https://issues.apache.org/jira/browse/KNOX-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Minder resolved KNOX-365.
-------------------------------
Resolution: Duplicate
Discovered and fixed the root cause in KNOX-439 where default ports 80 and 443 were being dropped for request URL in one of the servlet spec APIs.
> NPE when using xinetd for port forwarding to Knox
> -------------------------------------------------
>
> Key: KNOX-365
> URL: https://issues.apache.org/jira/browse/KNOX-365
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Kevin Minder
> Fix For: 0.5.0
>
> Attachments: logs.zip, rewrite.xml.diff
>
>
> Has anyone had any success using a port forwarder (like xinetd) to forward 443 to knox gateway 8443?
> I keep getting this exception:
> 2014-05-13 17:41:13,976 ERROR hadoop.gateway (GatewayServlet.java:service(122)) - Failed to execute filter: javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: java.security.PrivilegedActionException: javax.servlet.ServletException: java.lang.NullPointerException
> My initial thought is that the knox url rewriting mechanism is expecting the port '8443' to exist?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)