Foros de discusión

WSRP plugin is not working in my liferay 6.0.6

thumbnail
Anil T, modificado hace 11 años.

WSRP plugin is not working in my liferay 6.0.6

Expert Mensajes: 313 Fecha de incorporación: 14/01/12 Mensajes recientes
Hi friends,
When I start my liferay 6.0.6 the WSRP portlet was deployed successful into tomcat. When I access from control panel then it's showing me a error message like "WSRP is temporarily unavailable".
I am getting below exception in the tomcat server as,

An exception occurred processing JSP page /admin/consumers.jspf at line 22

19: headerNames="name"
20: iteratorURL="<%= portletURL %>"
21: >
22: <liferay-ui:search-container-results
23: results="<%= WSRPConsumerLocalServiceUtil.getWSRPConsumers(company.getCompanyId(), searchContainer.getStart(), searchContainer.getEnd()) %>"
24: total="<%= WSRPConsumerLocalServiceUtil.getWSRPConsumersCount(company.getCompanyId()) %>"
25: />

Can anyone tell me how to resolve this issue ??

Thanks,
Anil
Siby Mathew, modificado hace 11 años.

RE: WSRP plugin is not working in my liferay 6.0.6

Expert Mensajes: 268 Fecha de incorporación: 4/03/11 Mensajes recientes
Do you see any detail about the exception ? If not, try to invoke the same method inside your portlet and see the error stacktrace.

Thanks,
Siby
Gautam Sharma, modificado hace 11 años.

RE: WSRP plugin is not working in my liferay 6.0.6

Junior Member Mensajes: 92 Fecha de incorporación: 30/04/12 Mensajes recientes
Hi

Could you please post complete stack trace

Thanks
Gautam
thumbnail
Anil T, modificado hace 11 años.

RE: WSRP plugin is not working in my liferay 6.0.6

Expert Mensajes: 313 Fecha de incorporación: 14/01/12 Mensajes recientes
Hi,
Getting below exception while starting tomcat,

18:37:15,711 ERROR [PortalInitThread:39] com.liferay.portal.kernel.bean.BeanLocatorException: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.liferay.wsrp.service.WSRPConsumerPortletLocalService' is defined
com.liferay.portal.kernel.bean.BeanLocatorException: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.liferay.wsrp.service.WSRPConsumerPortletLocalService' is defined
at com.liferay.portal.bean.BeanLocatorImpl.locate(BeanLocatorImpl.java:59)
at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:43)
at com.liferay.wsrp.service.WSRPConsumerPortletLocalServiceUtil.getService(WSRPConsumerPortletLocalServiceUtil.java:306)
at com.liferay.wsrp.service.WSRPConsumerPortletLocalServiceUtil.initWSRPConsumerPortlets(WSRPConsumerPortletLocalServiceUtil.java:289)
at com.liferay.wsrp.servlet.PortalInitThread.run(PortalInitThread.java:34)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.liferay.wsrp.service.WSRPConsumerPortletLocalService' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1075)
at com.liferay.portal.bean.BeanLocatorImpl.doLocate(BeanLocatorImpl.java:105)
at com.liferay.portal.bean.BeanLocatorImpl.locate(BeanLocatorImpl.java:56)
... 4 more