[richfaces-issues] [JBoss JIRA] (RF-13548) Clean using of guava dependency across framework

Juraj Húska (JIRA) issues at jboss.org
Wed Feb 19 04:51:48 EST 2014


    [ https://issues.jboss.org/browse/RF-13548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945858#comment-12945858 ] 

Juraj Húska commented on RF-13548:
----------------------------------

Showcase and Metamer can not be deployed to Tomcat 8, that is what I have noticed.

I can not find the root cause of the problem, since there is no meaningful error logged to Tomcat log files (_catalina.out_, _localhost.log_) - I have also tried to increase logging level in apache-tomcat-8.0.3/conf/logging.properties. But still there is only:

{code}
19-Feb-2014 10:19:00.168 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Error listenerStart
19-Feb-2014 10:19:00.177 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/richfaces-showcase-tomcat6] startup failed due to previous errors
{code}

Which says basically nothing.

The behavior is slightly different (have no clue why) when I am trying to deploy showcase via Arquillian test to Tomcat 8. Error described in [this|https://community.jboss.org/thread/236951] thread is thrown.

You said that it is related to guava, but IMHO it is related to something else because:

* Tomcat 8 does not bundle guava.jar and does not contain classes from that library. I have used:
{code}
find -name "*.java" -exec grep "import com.google.common" {} \; | sort | uniq -c
find -name "*.java" -exec grep "ListeningExecutorService" {} \; | sort | uniq -c
{code}
over Tomcat 8 sources with no results.
* I have tried to deploy showcase with various guava libraries bundled (16, 15, 13), but still the same error.

Should I file another issue specifically for Showcase deployment ?
                
> Clean using of guava dependency across framework
> ------------------------------------------------
>
>                 Key: RF-13548
>                 URL: https://issues.jboss.org/browse/RF-13548
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: compatibility, core, third-party
>    Affects Versions: 5.0.0.Alpha3
>         Environment: Guava dependency and Tomcat 8
>            Reporter: Juraj Húska
>            Assignee: Lukáš Fryč
>
> As per [this|https://community.jboss.org/message/857397?et=watches.email.thread#857397] discussion we should do something with _Guava_ dependency.
> * We should investigate whether _maven shade_ plugin will be for any good
> * Investigate on refactoring the code so it does not contain dependencies from Guava marked as {{@Beta}}
> It seems that this blocks using of Tomcat 8 properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list