You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2016/02/02 22:52:39 UTC
[jira] [Resolved] (OWB-1113) Exceptions during Extension
initialization get swallowed on tomcat9
[ https://issues.apache.org/jira/browse/OWB-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-1113.
--------------------------------
Resolution: Fixed
> Exceptions during Extension initialization get swallowed on tomcat9
> -------------------------------------------------------------------
>
> Key: OWB-1113
> URL: https://issues.apache.org/jira/browse/OWB-1113
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.6.2
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.6.3
>
>
> I was running an app using deltaspike-jsf but did not have myfaces installed on my tomcat 9. This did lead to weird problems and it took me a bit to realize that the DeltaSpike JsfExtension could not get loaded as it misses the jsf api classes.
> Sadly the java.util.ServiceLoader does blow up with a java.lang.Error and not with an Exception! In OWB we don't handle those but let them blow up. But sadly Tomcat8 and 9 also seems to simply catch them away without further notice and try to finish the app start.
> We at least need to add some proper logging, otherwise bug hunting will be a nightmare!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)