[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
Fri Jun 21 11:08:09 PDT 2013
I created https://jira.sakaiproject.org/browse/SAK-23738
Attached is a contributed patch file to fix this issue.
Cindy @ UVa
________________________________
From: Steve Swinsburg [steve.swinsburg at gmail.com]
Sent: Wednesday, June 19, 2013 7:14 PM
To: Matthew Jones
Cc: Gast, Cynthia (cmw6s); sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Two versions of jsf-api and jsf-impl jars for 2.9.x 'sakai-user-tool-admin-prefs' in tomcat?
Also note they are actually separate webapps so it's not a huge deal. I filed a Jira for the multiple webapps in site manage to be merged into one webapp since there is so much duplication and resource waste. Not sure if it will be addressed or not though.
Cheers
Steve
Sent from my iPhone
On 20/06/2013, at 7:30, Matthew Jones <matthew at longsight.com<mailto:matthew at longsight.com>> wrote:
Sure, file a jira. I believe these *should* have all been cleaned up for 2.9.0 by https://jira.sakaiproject.org/browse/SAK-19282 but likely this tool/pom was missed.
On Wed, Jun 19, 2013 at 5:20 PM, Gast, Cynthia (cmw6s) <cmw6s at eservices.virginia.edu<mailto:cmw6s at eservices.virginia.edu>> wrote:
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
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130621/da1b2c59/attachment.html
More information about the sakai-dev
mailing list