[Building Sakai] JForum difficulties with avatars in a clustered environment

Murthy Tanniru murthy at etudes.org
Fri Jan 22 14:50:35 PST 2010


Kathy,
It looks like you didn't copy files from jforum-images/var/jforum_images 
to avatar path.

Thanks
Murthy
Murthy Tanniru wrote:
> Kathy,
> When I got to https://sakai.uri.edu/jforum-images/  I see the below 
> page. Did you copy the jforum-images.xml to 
> tomcat/conf/Catalina/localhost? Make sure the docBase path should be 
> the path given in SystemGlobals.properties
>
>
>   HTTP Status 404 - /jforum-images/
>
> ------------------------------------------------------------------------
>
> *type* Status report
>
> *message* _/jforum-images/_
>
> *description* _The requested resource (/jforum-images/) is not available._
>
> ------------------------------------------------------------------------
>
>
>       Apache Tomcat/5.5.26
>
>
>
>
>
>
>
> Murthy Tanniru wrote:
>> Kathy,
>> It seems  you have "etudes.jforum.avatar.clustered = true" in 
>> WEB-INF/config/SystemGlobals.properties. May be the apache is not 
>> allowing to this context. What kind of setup do you have?
>>
>> Thanks
>> Murthy
>> Murthy Tanniru wrote:
>>> Kathy,
>>> Looks like the avatar's are saved. Do you have the property 
>>> etudes.jforum.avatar.clustered = true in 
>>> WEB-INF/config/SystemGlobals.properties?
>>>
>>> Thanks
>>> Murthy
>>> Vivie Sinou wrote:
>>>> Kathy - I'll have our Jforum lead get in touch with you to help you out. 
>>>>
>>>> But, I wanted to take the opportunity to mention that we have removed the
>>>> use of Jboss cache in our latest Jforum version (2.7.x). We've been running
>>>> it in production since December 28 without cache successfully. I'll be
>>>> putting this release out to Sakai (as well as Melete) shortly - today or
>>>> Monday. 
>>>>
>>>> Best,
>>>> Vivie
>>>>
>>>> --
>>>> Vivie Sinou
>>>> Executive Director, Etudes, Inc.
>>>>
>>>> http://etudes.org
>>>> https://myetudes.org
>>>>
>>>>
>>>>
>>>>
>>>>   
>>>>> -----Original Message-----
>>>>> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-
>>>>> bounces at collab.sakaiproject.org] On Behalf Of kfaella
>>>>> Sent: Friday, January 22, 2010 12:28 PM
>>>>> To: sakai-dev at collab.sakaiproject.org
>>>>> Subject: [Building Sakai] JForum difficulties with avatars in a
>>>>> clustered environment
>>>>>
>>>>>
>>>>> We have just upgraded our Sakai to 2.5.x (in time for Spring Semester)
>>>>> and
>>>>> are trying to install JForum.  We have a clustered environment with
>>>>> multiple
>>>>> instances over a couple of different physical machines.  We have been
>>>>> successfully sharing files over the instances since last semester.
>>>>>
>>>>> In our new production environment, we seem to be able to choose an
>>>>> avatar
>>>>> and successfully store it in the shared area as seen below:
>>>>>
>>>>> [root at artlake]# ls -la /sakaimisc/jforum/avatars/images/avatar/
>>>>> total 60
>>>>> drwxrwxr-x 3 sakai sakai 4096 Jan 22 14:23 .
>>>>> drwxrwxr-x 4 sakai sakai 4096 Jan 20 12:02 ..
>>>>> -rw-r--r-- 1 sakai sakai 3653 Jan 22 14:23
>>>>> 1679091c5a880faf6fb5e6087eb1b2dc.jpg
>>>>> -rw-r--r-- 1 sakai sakai 3653 Jan 22 12:55
>>>>> a87ff679a2f3e71d9181a67b7542122c.jpg
>>>>> -rw-r--r-- 1 sakai sakai 6364 Jan 22 12:33
>>>>> eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg
>>>>> -rw-rw-r-- 1 sakai sakai  128 Jan 20 12:02 index.html
>>>>>
>>>>> I will focus on the one beginning "eecbc ..."  stored just this
>>>>> afternoon at
>>>>> 12:33.
>>>>>
>>>>> When I try to see the avatar in the My Profile or in a message, I just
>>>>> get
>>>>> the default AVATAR.  If I right click to view the avatar (in my
>>>>> profile), I
>>>>> get this path:
>>>>> https://sakai.uri.edu/jforum-
>>>>> images/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg
>>>>>
>>>>> and
>>>>> HTTP Status 404 -
>>>>> /jforum-images/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg
>>>>>
>>>>> What the heh?  Sakai can write the avatar but not read it?!!??
>>>>>
>>>>> Associated file contents:
>>>>>
>>>>> [root at artlake ]# more
>>>>> /usr/local/apache-tomcat-5.5.26.beta1/conf/Catalina/localhost/jforum-
>>>>> images.xml
>>>>>  <Context path="/jforum-images" docBase="/sakaimisc/jforum/avatars">
>>>>>  </Context>
>>>>>
>>>>> and
>>>>>
>>>>> [root at artlake ]# grep sakaimisc
>>>>> /usr/local/apache-tomcat-5.5.26.beta1/webapps/etudes-jforum-tool/WEB-
>>>>> INF/config/SystemGlobals.properties
>>>>> local.config.dir=/sakaimisc/jforum/config
>>>>> avatar.path = /sakaimisc/jforum/avatars
>>>>> packaging.path=/sakaimisc/jforum/packagefiles
>>>>>
>>>>> Can someone help me??  I have beat my head on this and ....
>>>>>
>>>>> Thanks,
>>>>> Kathy Faella
>>>>> University of Rhode Island
>>>>>
>>>>> --
>>>>> View this message in context: http://old.nabble.com/JForum-
>>>>> difficulties-with-avatars-in-a-clustered-environment-
>>>>> tp27279539p27279539.html
>>>>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>>>>>
>>>>> _______________________________________________
>>>>> sakai-dev mailing list
>>>>> 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 with a subject of "unsubscribe"
>>>>>     
>>>>
>>>> _______________________________________________
>>>> sakai-dev mailing list
>>>> 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 with a subject of "unsubscribe"
>>>>   
>>>
>>>
>>> -- 
>>> Murthy Tanniru
>>> Senior Learning Systems Developer
>>> Etudes Inc
>>> http://etudes.org
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> 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 with a subject of "unsubscribe"
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> sakai-dev mailing list
>> 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 with a subject of "unsubscribe"
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> sakai-dev mailing list
> 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 with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100122/87bb5f12/attachment.html 


More information about the sakai-dev mailing list