Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Anil T
WSRP plugin is not working in my liferay 6.0.6
November 12, 2012 11:49 AM
Answer

Anil T

Rank: Expert

Posts: 294

Join Date: January 14, 2012

Recent Posts

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
RE: WSRP plugin is not working in my liferay 6.0.6
November 13, 2012 1:40 AM
Answer

Siby Mathew

Rank: Expert

Posts: 267

Join Date: March 4, 2011

Recent Posts

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
RE: WSRP plugin is not working in my liferay 6.0.6
November 13, 2012 3:00 AM
Answer

Gautam Sharma

Rank: Junior Member

Posts: 68

Join Date: April 30, 2012

Recent Posts

Hi

Could you please post complete stack trace

Thanks
Gautam
Anil T
RE: WSRP plugin is not working in my liferay 6.0.6
November 13, 2012 10:41 AM
Answer

Anil T

Rank: Expert

Posts: 294

Join Date: January 14, 2012

Recent Posts

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