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

ASF subversion and git services commented on ISIS-2758:
-------------------------------------------------------

Commit 1e7948ac550dbc14fe73ae5303fc1dd2f3f405ad in isis's branch 
refs/heads/ISIS-2758 from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=1e7948a ]

ISIS-2758: also create RequestContextListener as a bean


> Initial fixture scripts can fail to load due to JSF not present exception.
> --------------------------------------------------------------------------
>
>                 Key: ISIS-2758
>                 URL: https://issues.apache.org/jira/browse/ISIS-2758
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Core
>    Affects Versions: 2.0.0-M5
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Major
>             Fix For: 2.0.0-M6
>
>
> stack trace due to: ExceptionInInitializerError 
> "java.util.MissingResourceException: Can't find javax.faces.LogStrings bundle 
> from"
> where call to currentUserName() brings in ImpersonatedUserHolder and 
> ultimately its proxy results in going down a code path to attempt to bring in 
> JSF:
> {code:java}
> public abstract class RequestContextHolder {
>    private static final boolean jsfPresent =    
>        ClassUtils.isPresent("javax.faces.context.FacesContext",
>                             RequestContextHolder.class.getClassLoader());
>   {code}
> this class is part of 
> {code:java}
> <dependency>
>     <groupId>javax</groupId>
>     <artifactId>javaee-api</artifactId>
> </dependency>
>   {code}
> referenced by both isis-commons and isis-applib.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to