[Building Sakai] JForum ClassCastException
Curtis Van-Osch
curtis.van-osch at hec.ca
Fri Jan 31 10:17:15 PST 2014
Thanks Murthy, your suggestion helped us figure this out.
The compile is fine, but we realised that etudes-jforum-api-x.jar was
present in three places:
* webapps/etudes-jforum-tool/WEB-INF/lib
* components/etudes-jforum-pack/WEB-INF/lib
* shared/lib
Same thing for etudes-util-api-x.jar. By adding <scope>provided</scope>
to the dependencies in the pom.xml files for jforum-impl and jforum-tool
(and etudes-util), we were able to eliminate the problem (leaving the
apis only in shared/lib).
Last question: is there a version of JForum (and Etudes Util) that we
should be running with Sakai 2.9.1? We just kept our old 2.8.1 version,
but I noticed svn has a 2.9 tag. Would that possibly work better for
us? Does it need the latest etudes-util (1.0.20 tag I assume)?
Thanks again!
<http://www.hec.ca>
Curtis Van Osch
Analyste-Programmeur
Direction des technologies de l'information
hec.ca <http://www.hec.ca>
Agréments
3000, chemin de la Côte-Sainte-Catherine, Montréal (Québec) H3T 2A7
Téléphone : 514 340-6000, poste 2029
recyclez
Pensons à l'environnement
avant d'imprimer
-------- Message original --------
Sujet: Re: [Building Sakai] JForum ClassCastException
De : Murthy Tanniru <murthy at etudes.org>
Pour : Curtis Van-Osch <curtis.van-osch at hec.ca>, sakai-dev Developers
<sakai-dev at collab.sakaiproject.org>
Date : 2014-01-30 17:37
> Hi Curtis,
>
> Did you see any errors while compiling? Obviously you deployed it so I
> am assuming it compiled fine. Check the duplicates of jforum files in
> tomcat/shared/lib and components/components/etudes-jforum-packWEB-INF/lib
>
> Thanks
>
> Murthy Tanniru
> Senior Learning Systems Developer
> Etudes Inc. <http://etudes.org>
> On 1/30/2014 12:37 PM, Curtis Van-Osch wrote:
>> Hello,
>> We're using JForum 2.8.1 on our Sakai 2.9.1 instance at HEC Montréal
>> and we encounter a weird exception when JForum tries to retrieve
>> JForumGBService :
>>
>> jForumGBService =
>> (JForumGBService)ComponentManager.get("org.etudes.api.app.jforum.JForumGBService");
>>
>> Caused by: java.lang.ClassCastException:
>> org.etudes.component.app.jforum.JForumGBServiceImpl cannot be cast to
>> org.etudes.api.app.jforum.JForumGBService
>> at
>> org.etudes.jforum.view.admin.CategoryAction.removeEntryFromGradeBook(CategoryAction.java:1033)
>> at
>> org.etudes.jforum.view.admin.CategoryAction.editSave(CategoryAction.java:375)
>> ... 51 more
>>
>> We have upgraded gradebook-service to v1.2.3. Could this be the
>> reason of the problem ?
>>
>> Thanks for your help.
>> --
>> <http://www.hec.ca>
>>
>> Curtis Van Osch
>> Analyste-Programmeur
>> Direction des technologies de l'information
>> hec.ca <http://www.hec.ca>
>> Agréments
>> 3000, chemin de la Côte-Sainte-Catherine, Montréal (Québec) H3T 2A7
>> Téléphone : 514 340-6000, poste 2029
>>
>>
>> recyclez
>> Pensons à l'environnement
>> avant d'imprimer
>>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email tosakai-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/20140131/96430bc3/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HEC_149px.png
Type: image/png
Size: 2554 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hecca.png
Type: image/png
Size: 345 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3A-2008.png
Type: image/png
Size: 2335 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Feuille_25px.jpg
Type: image/jpeg
Size: 20493 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2554 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 345 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2335 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment-0005.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20493 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140131/96430bc3/attachment.jpe
More information about the sakai-dev
mailing list