[Building Sakai] Two versions of jsf-api and jsf-impl jars for 2.9.x 'sakai-user-tool-admin-prefs' in tomcat?
Gast, Cynthia (cmw6s)
cmw6s at eservices.virginia.edu
Wed Jun 19 14:20:06 PDT 2013
Hello:
I see two different versions of two JSF jars deployed to tomcat in our 2.9.1 Sakai (versions 1.1.01 and 1.1_02), for component "sakai-user-tool-admin-prefs".
Under /usr/local/tomcat/ :
$ find -L | grep jsf- | grep 1.1 | grep jar | grep user
./webapps/sakai-user-tool-prefs/WEB-INF/lib/jsf-impl-1.1_02.jar
./webapps/sakai-user-tool-prefs/WEB-INF/lib/jsf-api-1.1_02.jar
./webapps/sakai-user-tool-admin-prefs/WEB-INF/lib/jsf-api-1.1.01.jar
./webapps/sakai-user-tool-admin-prefs/WEB-INF/lib/jsf-api-1.1_02.jar
./webapps/sakai-user-tool-admin-prefs/WEB-INF/lib/jsf-impl-1.1.01.jar
./webapps/sakai-user-tool-admin-prefs/WEB-INF/lib/jsf-impl-1.1_02.jar
All other components, including the "sakai-user-tool-prefs", contain only the "1.1_02" jar versions.
The pom file for 'user-tool-admin-prefs' shows a dependency for the older "1.1.01" version -- user-tool-admin-prefs/admin-prefs/pom.xml:
<dependency>
<groupId>jsf</groupId>
<artifactId>jsf-impl</artifactId>
<version>1.1.01</version>
</dependency>
<dependency>
<groupId>jsf</groupId>
<artifactId>jsf-api</artifactId>
<version>1.1.01</version>
</dependency>
Tool is: Administrator's Preferences Tool (sakai.admin.prefs)
We appear to not be using this tool here. Removing the above 2 dependencies results in this tomcat content, what I'd expected based on all the other tools:
./webapps/sakai-user-tool-prefs/WEB-INF/lib/jsf-impl-1.1_02.jar
./webapps/sakai-user-tool-prefs/WEB-INF/lib/jsf-api-1.1_02.jar
./webapps/sakai-user-tool-admin-prefs/WEB-INF/lib/jsf-impl-1.1_02.jar
./webapps/sakai-user-tool-admin-prefs/WEB-INF/lib/jsf-api-1.1_02.jar
Thank-you for any comments. I did not find a JIRA about these duplicate jars, so happy to create one if it is needed, or contribute the patch we create here.
Thanks,
Cindy @ UVa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130619/7e206561/attachment.html
More information about the sakai-dev
mailing list