portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APA-68) DefaultHttpReverseProxyServlet swallows Exception if config cannot be loaded
Date Mon, 10 Nov 2014 23:47:35 GMT

    [ https://issues.apache.org/jira/browse/APA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205575#comment-14205575
] 

Woonsan Ko commented on APA-68:
-------------------------------

Thanks for the reporting!
I've just added the cause in ServletException when configuration loading fails.
By the way, this fix was made only in 1.x branch because the trunk (for 2.0) was totally rewritten
and I don't find this kind of problems in trunk (yet).

> DefaultHttpReverseProxyServlet swallows Exception if config cannot be loaded
> ----------------------------------------------------------------------------
>
>                 Key: APA-68
>                 URL: https://issues.apache.org/jira/browse/APA-68
>             Project: Portals Apps
>          Issue Type: Bug
>          Components: apa-webcontent
>    Affects Versions: apa-webcontent-1.3
>            Reporter: Jonas
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: apa-webcontent-1.4
>
>
> DefaultHttpReverseProxyServlet#loadConfiguration has a catch Block for Exceptions occuring
during load of the config (Lines 809-830). Unfortunately, that Exception isn't included in
any way in the ServletException that is thrown (neither Exception message nor stack trace),
which makes troubleshooting difficult.
> Wouldn't it make sense to add the Exception to the ServletException (as cause), or -
if that isn't possible for some reason - to at least log that Exception?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message