Foros de discusión

Extending Calendar Plugin in Liferay 6.2

thumbnail
Gouse Mohiddin, modificado hace 10 años.

Extending Calendar Plugin in Liferay 6.2

Junior Member Mensajes: 25 Fecha de incorporación: 2/01/14 Mensajes recientes
Hi,
I've gone through posts on "Plugin to extend a plugin" and trying to extend the new Calendar plugin in Liferay 6.2.
Can someone please point me to a simple service-overriding example specifically to extend a plugin (like calendar in liferay 6.2) ?
I'm trying to override Services in Calendar portlet but I'm mixing up the flow and running into BeanLocatorException.

com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context calendar-portlet
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
at $Proxy440.receive(Unknown Source)
at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:76)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context calendar-portlet
at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:46)
at com.liferay.calendar.service.CalendarBookingLocalServiceUtil.getService(CalendarBookingLocalServiceUtil.java:644)
at com.liferay.calendar.service.CalendarBookingLocalServiceUtil.checkCalendarBookings(CalendarBookingLocalServiceUtil.java:364)
at com.liferay.calendar.messaging.CheckBookingsMessageListener.doReceive(CheckBookingsMessageListener.java:29)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
... 11 more

Thanks in advance.
Kranthi Kondu, modificado hace 10 años.

RE: Extending Calendar Plugin in Liferay 6.2

New Member Mensajes: 2 Fecha de incorporación: 14/03/14 Mensajes recientes
I'm also facing the same problem...
Im trying steps from the link below. Initially I got BeanLocatorException when overriding services.
But later my custom service is being called but Calendar portlet disappeared from my portal. Please help.

https://www.liferay.com/web/jamiesammons/blog/-/blogs/customizing-social-office-3-0-using-plugins
thumbnail
Nilesh Gundecha, modificado hace 9 años.

RE: Extending Calendar Plugin in Liferay 6.2

Regular Member Mensajes: 205 Fecha de incorporación: 1/12/09 Mensajes recientes
Hi there,

I also have same issue of BeanLocatorException. I tried extending Calendar plugin & Microblogs plugin. Just overridden the Interpreter classes - and facing this issue. can any one please give some inputs.

- Nilesh