Hello, I have googled around but couldn't found any answers. So I decided post my question here and see if anyone got any idea.
With liferay 5.2.8-EE-SP4 + tomcat 6.0, I deployed a Spring (3.0) portlet (war file) to liferay deploy/ directory, the deployment is executed without error. But I can't find this portlet in the Application list in liferay. Here is the log: 2011-06-30 07:40:16,109 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started 2011-06-30 07:40:16,182 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Thu Jun 30 07:40:16 GMT 2011]; root of context hierarchy 2011-06-30 07:40:16,255 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/context/applicationContext.xml] 2011-06-30 07:40:16,450 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@88ffafa: defining beans [messageSource,viewResolver,defaultExceptionHandlerTemplate,bookService,bookValidator]; root of factory hierarchy 2011-06-30 07:40:16,655 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 544 ms 2011-06-30 07:40:16,975 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.DispatcherPortlet - Initializing portlet 'books' 2011-06-30 07:40:16,982 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.DispatcherPortlet - FrameworkPortlet 'books': initialization started 2011-06-30 07:40:16,984 [DEBUG] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.DispatcherPortlet - Portlet with name 'books' will try to create custom ApplicationContext context of class 'org.springframework.web.portlet.context.XmlPortletApplicationContext', using parent context [Root WebApplicationContext: startup date [Thu Jun 30 07:40:16 GMT 2011]; root of context hierarchy] 2011-06-30 07:40:16,986 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.context.XmlPortletApplicationContext - Refreshing PortletApplicationContext for namespace 'books-portlet': startup date [Thu Jun 30 07:40:16 GMT 2011]; parent: Root WebApplicationContext 2011-06-30 07:40:16,988 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from PortletContext resource [/WEB-INF/context/portlet/books.xml] 2011-06-30 07:40:17,045 [DEBUG] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.context.XmlPortletApplicationContext - Bean factory for PortletApplicationContext for namespace 'books-portlet': org.springframework.beans.factory.support.DefaultListableBeanFactory@6ada7c9a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,portletMultipartResolver,booksController,booksHelpController,org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,portletModeHandlerMapping,defaultExceptionHandler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@88ffafa 2011-06-30 07:40:17,176 [DEBUG] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.context.XmlPortletApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@2d615ef2] 2011-06-30 07:40:17,176 [DEBUG] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.portlet.context.XmlPortletApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@53a07924] 2011-06-30 07:40:17,177 [INFO ] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6ada7c9a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,portletMultipartResolver,booksController,booksHelpController,org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,portletModeHandlerMapping,defaultExceptionHandler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@88ffafa Please refer to attached sample project for more detail. Very appreciate for your time and suggestion Thanks Sam http://maven.40175.n5.nabble.com/file/n4537994/spring-portlet-sample-BK.zip spring-portlet-sample-BK.zip -- View this message in context: http://maven.40175.n5.nabble.com/Missing-porlet-tp4537994p4537994.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
