Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Pablo Raguenes
Unable to use Asset Publisher in production
25 de noviembre de 2011 8:24
Respuesta

Pablo Raguenes

Ranking: Junior Member

Mensajes: 62

Fecha de incorporación: 18 de noviembre de 2010

Mensajes recientes

Hello everybody,

We'd like to use the Asset Publisher portlet from Liferay 6.0.5 but we're unable to display it on a page without getting a timeout (or worse killing Tomcat). Indeed we have more than 2,500 web contents (journal articles) and, by default, when adding an Asset Publisher, it tries to display a summary of all our journal articles, thus the timeout/overload. emoticon
Once configured, it can be set to display only a category of articles (what we're trying to do), but we can't access the configuration screen since the page never renders.
Is there a way to configure an Asset Publisher before adding it to a page ?

Regards,

Pablo
Nagendra Kumar Busam
RE: Unable to use Asset Publisher in production
25 de noviembre de 2011 9:19
Respuesta

Nagendra Kumar Busam

Ranking: Liferay Master

Mensajes: 653

Fecha de incorporación: 7 de julio de 2009

Mensajes recientes

Can you please cross check once by adding Web Content List to another page.

Apart from web content items(2500), do you have any other assets which are more in number
Pablo Raguenes
RE: Unable to use Asset Publisher in production
25 de noviembre de 2011 9:41
Respuesta

Pablo Raguenes

Ranking: Junior Member

Mensajes: 62

Fecha de incorporación: 18 de noviembre de 2010

Mensajes recientes

Hello and thanks for your answer,

I have no problem adding a Web Content List portlet to another page since this one appears empty by default and needs to be configured first (which is the exact behaviour I would like for Asset Publisher emoticon ).

Apart from web content items, we have a few hundreds pictures (around 500), 100+ documents (PDF), but no Wiki/forum.

Problem is the Web Content List doesn't provide filtering (categories, tags) like the Asset Publisher, and doesn't have a nice look... I mean as nice as Asset Publisher emoticon
Nagendra Kumar Busam
RE: Unable to use Asset Publisher in production
25 de noviembre de 2011 12:30
Respuesta

Nagendra Kumar Busam

Ranking: Liferay Master

Mensajes: 653

Fecha de incorporación: 7 de julio de 2009

Mensajes recientes

whether is it only rendering problem or not at all adding?

Can you post log message if it is throwing any error
Pablo Raguenes
RE: Unable to use Asset Publisher in production
28 de noviembre de 2011 5:42
Respuesta

Pablo Raguenes

Ranking: Junior Member

Mensajes: 62

Fecha de incorporación: 18 de noviembre de 2010

Mensajes recientes

The portlet is correctly added to the page (I can see it in the Layout table), there's actually no error in the logs, just that the page is so long to render that we get a timeout (or sometimes tomcat process dies).
We've tried in our integration environment (which has far less content), the page is displayed after some time with the Asset Publisher portlet containing a summary of all our articles

Is there a way to change default configuration of the Asset Publisher portlet ? Maybe with a hook but I've never done it
Nagendra Kumar Busam
RE: Unable to use Asset Publisher in production
28 de noviembre de 2011 8:12
Respuesta

Nagendra Kumar Busam

Ranking: Liferay Master

Mensajes: 653

Fecha de incorporación: 7 de julio de 2009

Mensajes recientes

I have created a simple hook for solve loading issue. By default asset selection i changed to manual in init.jsp of asset_publisher. Hope it helps emoticon

Please find the attachment for the hook
Adjunto

archivos adjuntos: 2011-11-28_2138.png (26,3k), asset-publisher-loading-hook.zip (7,6k)
Pablo Raguenes
RE: Unable to use Asset Publisher in production
9 de diciembre de 2011 1:56
Respuesta

Pablo Raguenes

Ranking: Junior Member

Mensajes: 62

Fecha de incorporación: 18 de noviembre de 2010

Mensajes recientes

Thanks a lot for the hook, I'm going to try it emoticon
Pablo Raguenes
RE: Unable to use Asset Publisher in production
9 de diciembre de 2011 5:01
Respuesta

Pablo Raguenes

Ranking: Junior Member

Mensajes: 62

Fecha de incorporación: 18 de noviembre de 2010

Mensajes recientes

It works wonderfully and yet it's so simple ! Thanks again ! emoticon

I hope Liferay will make it the default configuration for the upcoming version
Nagendra Kumar Busam
RE: Unable to use Asset Publisher in production
10 de diciembre de 2011 3:56
Respuesta

Nagendra Kumar Busam

Ranking: Liferay Master

Mensajes: 653

Fecha de incorporación: 7 de julio de 2009

Mensajes recientes

Good to hear it helped you emoticon