留言板

Announcements-portlet not working

Jimit Shah,修改在9 年前。

Announcements-portlet not working

Junior Member 帖子: 62 加入日期: 14-2-5 最近的帖子
Hi all,
I downloaded and deployed Announcement-portlet in my liferay-portal-6.2-ee-sp3 version. It gets deployed properly, however it is not working properly and this is the error that i get:

12:52:56,134 ERROR [RuntimePageImpl-14][AnnouncementsViewPanelsController:112] SystemException : impossible to get announcementPanels by groupId and vocabularyIdPref


My console looks like this:

12:51:15,439 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing Announcements.lpkg
12:51:15,458 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployListener:51] Extracting Liferay package for C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\deploy\Announcements.lpkg
12:51:15,459 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployer:89] Extracting Announcements-portlet-6.2.0.1.war from Announcements.lpkg
12:51:15,487 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployer:89] Extracting liferay-marketplace.properties from Announcements.lpkg
12:51:15,501 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployListener:57] Liferay package for C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\deploy\Announcements.lpkg extracted successfully. Deployment will start in a few seconds.
12:51:16,636 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing Announcements-portlet-6.2.0.1.war
12:51:16,639 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:79] Copying portlets for C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\deploy\Announcements-portlet-6.2.0.1.war
12:51:17,155 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:859] Deploying Announcements-portlet-6.2.0.1.war
12:51:17,498 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:962] Updating Announcements from version 6.2.0.1 to version 6.2.0.1
  Expanding: C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\deploy\Announcements-portlet-6.2.0.1.war into C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499
  Copying 1 file to C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499\WEB-INF
  Copying 1 file to C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499\WEB-INF\classes
  Copying 1 file to C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499\WEB-INF\classes
  Copying 1 file to C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499\WEB-INF\jsp
12:51:23,109 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2383] Modifying Servlet 2.4 C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499\WEB-INF\web.xml
  Copying 184 files to C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\webapps\Announcements-portlet
  Copying 1 file to C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\webapps\Announcements-portlet
  Deleting directory C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\temp\20140826125117499
12:51:28,682 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:91] Portlets for C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\deploy\Announcements-portlet-6.2.0.1.war copied successfully. Deployment will start in a few seconds.
Aug 26, 2014 12:51:32 PM org.apache.catalina.startup.HostConfig deleteRedeployResources
INFO: Undeploying context [/Announcements-portlet]
Aug 26, 2014 12:51:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
12:51:33,112 INFO  [XmlWebApplicationContext:1002] Closing Root WebApplicationContext: startup date [Mon Aug 25 13:01:00 GMT 2014]; root of context hierarchy
12:51:33,113 INFO  [DefaultListableBeanFactory:422] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1e74919: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,agreementController,announcementController,currencyController,panelController,announcementsEditPanelsController,announcementsViewPanelsController,typeController,announcementViewController,viewResolver]; root of factory hierarchy
12:51:33,799 INFO  [XmlPortletApplicationContext:1002] Closing PortletApplicationContext for namespace 'announcementsmanagement-portlet': startup date [Mon Aug 25 13:01:04 GMT 2014]; parent: Root WebApplicationContext
12:51:33,799 INFO  [DefaultListableBeanFactory:422] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2cfce0: defining beans [portletModeHandlerMapping,org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,portletModeParameterHandlerMapping,parameterMappingInterceptor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e74919
12:51:33,800 INFO  [XmlPortletApplicationContext:1002] Closing PortletApplicationContext for namespace 'announcementsportlet-portlet': startup date [Mon Aug 25 13:01:03 GMT 2014]; parent: Root WebApplicationContext
12:51:33,800 INFO  [DefaultListableBeanFactory:422] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@28eac0: defining beans [portletModeHandlerMapping,org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,portletModeParameterHandlerMapping,parameterMappingInterceptor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e74919
12:51:33,803 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployEvent:130] Plugin Announcements-portlet requires marketplace-portlet
12:51:33,806 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PortletHotDeployListener:523] Unregistering portlets for Announcements-portlet
12:51:33,825 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PortletHotDeployListener:563] 2 portlets for Announcements-portlet were unregistered
12:51:33,830 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HookHotDeployListener:944] Hook for Announcements-portlet was unregistered
Aug 26, 2014 12:51:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
12:51:33,844 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PluginPackageUtil:1016] Reading plugin package for Announcements-portlet
Aug 26, 2014 12:51:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Liferay 6.2 sp3 without hardening\liferay-developer-studio\liferay-portal-6.2-ee-sp3\tomcat-7.0.42\webapps\Announcements-portlet
12:52:07,385 INFO  [localhost-startStop-5][HotDeployEvent:130] Plugin Announcements-portlet requires marketplace-portlet
12:52:07,386 INFO  [localhost-startStop-5][HotDeployImpl:198] Deploying Announcements-portlet from queue
12:52:07,386 INFO  [localhost-startStop-5][PluginPackageUtil:1016] Reading plugin package for Announcements-portlet
Loading file:/C:/Liferay%206.2%20sp3%20without%20hardening/liferay-developer-studio/liferay-portal-6.2-ee-sp3/tomcat-7.0.42/temp/14-Announcements-portlet/WEB-INF/classes/portlet.properties
Loading file:/C:/Liferay%206.2%20sp3%20without%20hardening/liferay-developer-studio/liferay-portal-6.2-ee-sp3/tomcat-7.0.42/temp/14-Announcements-portlet/WEB-INF/classes/service.properties
Aug 26, 2014 12:52:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/C:/Liferay%206.2%20sp3%20without%20hardening/liferay-developer-studio/liferay-portal-6.2-ee-sp3/tomcat-7.0.42/temp/14-Announcements-portlet/WEB-INF/classes/portlet.properties
Loading file:/C:/Liferay%206.2%20sp3%20without%20hardening/liferay-developer-studio/liferay-portal-6.2-ee-sp3/tomcat-7.0.42/temp/14-Announcements-portlet/WEB-INF/classes/service.properties
Loading file:/C:/Liferay%206.2%20sp3%20without%20hardening/liferay-developer-studio/liferay-portal-6.2-ee-sp3/tomcat-7.0.42/temp/14-Announcements-portlet/WEB-INF/classes/service.properties
Aug 26, 2014 12:52:14 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
12:52:14,728 INFO  [ContextLoader:194] Root WebApplicationContext: initialization started
12:52:14,898 INFO  [XmlWebApplicationContext:456] Refreshing Root WebApplicationContext: startup date [Tue Aug 26 12:52:14 GMT 2014]; root of context hierarchy
12:52:15,045 INFO  [XmlBeanDefinitionReader:315] Loading XML bean definitions from ServletContext resource [/WEB-INF/portletApplicationContext.xml]
12:52:16,197 INFO  [DefaultListableBeanFactory:557] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c52a5c: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,agreementController,announcementController,currencyController,panelController,announcementsEditPanelsController,announcementsViewPanelsController,typeController,announcementViewController,viewResolver]; root of factory hierarchy
12:52:16,468 INFO  [ContextLoader:221] Root WebApplicationContext: initialization completed in 1711 ms
12:52:16,470 INFO  [localhost-startStop-5][HookHotDeployListener:687] Registering hook for Announcements-portlet
12:52:16,556 INFO  [localhost-startStop-5][HookHotDeployListener:814] Hook for Announcements-portlet is available for use
12:52:16,603 INFO  [localhost-startStop-5][PortletHotDeployListener:343] Registering portlets for Announcements-portlet
12:52:17,810 INFO  [DispatcherPortlet:98] Initializing portlet 'announcementsportlet'
12:52:17,829 INFO  [DispatcherPortlet:263] FrameworkPortlet 'announcementsportlet': initialization started
12:52:17,837 INFO  [XmlPortletApplicationContext:456] Refreshing PortletApplicationContext for namespace 'announcementsportlet-portlet': startup date [Tue Aug 26 12:52:17 GMT 2014]; parent: Root WebApplicationContext
12:52:17,841 INFO  [XmlBeanDefinitionReader:315] Loading XML bean definitions from PortletContext resource [/WEB-INF/portlet-spring/announcement-portlet.xml]
12:52:17,888 INFO  [DefaultListableBeanFactory:557] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a18453: defining beans [portletModeHandlerMapping,org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,portletModeParameterHandlerMapping,parameterMappingInterceptor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c52a5c
12:52:18,011 INFO  [DispatcherPortlet:282] FrameworkPortlet 'announcementsportlet': initialization completed in 181 ms
12:52:18,012 INFO  [DispatcherPortlet:119] Portlet 'announcementsportlet' configured successfully
12:52:18,166 INFO  [DispatcherPortlet:98] Initializing portlet 'announcementsmanagement'
12:52:18,174 INFO  [DispatcherPortlet:263] FrameworkPortlet 'announcementsmanagement': initialization started
12:52:18,175 INFO  [XmlPortletApplicationContext:456] Refreshing PortletApplicationContext for namespace 'announcementsmanagement-portlet': startup date [Tue Aug 26 12:52:18 GMT 2014]; parent: Root WebApplicationContext
12:52:18,177 INFO  [XmlBeanDefinitionReader:315] Loading XML bean definitions from PortletContext resource [/WEB-INF/portlet-spring/management-portlet.xml]
12:52:18,208 INFO  [DefaultListableBeanFactory:557] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19c3f46: defining beans [portletModeHandlerMapping,org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,portletModeParameterHandlerMapping,parameterMappingInterceptor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c52a5c
12:52:18,217 INFO  [DispatcherPortlet:282] FrameworkPortlet 'announcementsmanagement': initialization completed in 42 ms
12:52:18,217 INFO  [DispatcherPortlet:119] Portlet 'announcementsmanagement' configured successfully
Loading file:/C:/Liferay%206.2%20sp3%20without%20hardening/liferay-developer-studio/liferay-portal-6.2-ee-sp3/tomcat-7.0.42/temp/14-Announcements-portlet/WEB-INF/classes/portlet.properties
12:52:18,488 INFO  [localhost-startStop-5][PortletHotDeployListener:495] 2 portlets for Announcements-portlet are available for use
12:52:55,857 ERROR [RuntimePageImpl-14][JDBCExceptionReporter:82] Unknown column 'type.order' in 'order clause'
12:52:56,134 ERROR [RuntimePageImpl-14][AnnouncementsViewPanelsController:112] SystemException : impossible to get announcementPanels by groupId and vocabularyIdPref


Could someone help me with this please

Thank you.