Grails portlets deployment Issue

此生再无相见时 提交于 2019-12-11 05:38:52

问题


I'm running one grails portlet on liferay 5.2.3 successfully, now i developed another grails portlet and hot deployed, but the portlet showed me some errors and not working says "portlet is temporarily available" .

I tried restart server but still only one portlet is running and other is not running .

This is the log when deployed another portlet (log cropped).

10-02-16 19:36:59:484 - { INFO} com.liferay.portal.plugin.PluginPackageUtil Finished checking for available updates in 63 ms
java.lang.NullPointerException at org.codehaus.grails.portlets.container.AbstractPortletContainerAdapter.getInstance(AbstractPortletContainerAdapter.java:27) at org.codehaus.grails.portlets.GrailsPortletApplicationContext.initPortletContainerAdapter(GrailsPortletApplicationContext.java:37) at org.codehaus.grails.portlets.GrailsPortletApplicationContext.setPortletContext(GrailsPortletApplicationContext.java:28) at org.springframework.web.portlet.FrameworkPortlet.createPortletApplicationContext(FrameworkPortlet.java:339) at org.springframework.web.portlet.FrameworkPortlet.initPortletApplicationContext(FrameworkPortlet.java:291) at org.springframework.web.portlet.FrameworkPortlet.initPortletBean(FrameworkPortlet.java:264) at org.springframework.web.portlet.GenericPortletBean.init(GenericPortletBean.java:115) at javax.portlet.GenericPortlet.init(GenericPortlet.java:107) at com.liferay.portlet.InvokerPortletImpl.init(InvokerPortletImpl.java:250) at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:853) at java.lang.Thread.run(Thread.java:619) 10-02-16 19:37:02:333 - {ERROR} portal-web.docroot.html.portal.render_portlet.jsp java.lang.NullPointerException

Could any one tell me whats going wrong and how can we run multiple grails portlets on Liferay.

thanks in advance .

来源:https://stackoverflow.com/questions/2272120/grails-portlets-deployment-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!