Preview does not work in Media gallery after uploading an image

Technote (troubleshooting)


Problem

Users can not preview images that are uploaded to Media Gallery

Symptom

Errors are displayed in the trace.log

PhotoRenditio W

com.ibm.lconn.media.renditions.PhotoRenditionEventHandler init

exception while generating photo renditions

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

enclosing request can not be repeated.

at

org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequest

Body(EntityEnclosingMethod.java:483)

at

org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase

.java:1973)

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

com.ibm.lconn.events.internal.spi.async.SubscriberManager run

CLFWY0202E: The event handler named PhotoRenditionEventHandler threw an

exception when handling an event. Check nested exception for more

details.

Cause

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:

com.ibm.lconn.media.renditions.*=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>


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Connections
Communities

Software version:

3.0.1

Operating system(s):

AIX, Linux, Windows

Reference #:

1575301

Modified date:

2012-11-13

Translate my page

Machine Translation

Content navigation