IBM Support

Preview does not work in Media gallery after uploading an image

Technote (troubleshooting)


Users can not preview images that are uploaded to Media Gallery


Errors are displayed in the trace.log

PhotoRenditio W init

exception while generating photo renditions

org.apache.commons.httpclient.ProtocolException: Unbuffered entity

enclosing request can not be repeated.







[12/12/11 10:45:49:140 EST] 00000064 SubscriberMan E run

CLFWY0202E: The event handler named PhotoRenditionEventHandler threw an

exception when handling an event. Check nested exception for more



This issue can occur when the default user is changed in the connectionsAdmin account.

Diagnosing the problem

Enable the event handler trace for Files preview generator:*=all

Resolving the problem

1. Create a new Security Role for mediaGalleryAdmin by going to:

Security > Global security > Java Authentication and Authorization Service > JAAS - J2C authentication data.

Select New and set the alias to mediaGalleryAdmin, and add an admin user who can authenticate and exists in the Profiles database.

2. Then add the user from the mediaGallery j2c role, to the Security Role for admin in the Files Application.

3. Also replace the connectionsAdmin role with the newly created mediaGalleryAdmin role to the j2c property in the events-config.xml

<property name="j2calias">mediaGalleryAdmin</property>

Document information

More support for: Lotus End of Support Products
IBM Connections

Software version: 3.0.1

Operating system(s): AIX, Linux, Windows

Reference #: 1575301

Modified date: 13 November 2012