portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhardage <bhard...@harding.edu>
Subject Re: Problem deploying Spring Portlet MVC webapp
Date Thu, 09 Jul 2009 16:22:16 GMT

Well, I've checked all the relevant log files, and they all report an error
but I can't locate the source.

jetspeed-deployment.log

2009-07-09 11:12:21,328 [Timer-3] ERROR deployment - Unable to start portlet
application after 10 retries:
org.apache.jetspeed.components.portletregistry.RegistryException: Error
starting portlet application petportal
org.apache.jetspeed.components.portletregistry.RegistryException: Error
starting portlet application petportal
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.attemptStartPA(PortletApplicationManager.java:677)
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.tryStartPortletApplication(PortletApplicationManager.java:244)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy13.tryStartPortletApplication(Unknown Source)
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.retryStartPortletApplication(PortletApplicationManager.java:214)
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPortletApplication(PortletApplicationManager.java:195)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
	at $Proxy13.startPortletApplication(Unknown Source)
	at
org.apache.jetspeed.container.JetspeedContainerServlet.attemptStart(JetspeedContainerServlet.java:191)
	at
org.apache.jetspeed.container.JetspeedContainerServlet$1.run(JetspeedContainerServlet.java:162)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)

localhost.2009-07-09.log

...

Jul 9, 2009 11:12:21 AM org.apache.catalina.core.ApplicationContext log
SEVERE: JetspeedContainerServlet: initialization failed for Portlet
Application at: /petportal
org.apache.jetspeed.components.portletregistry.RegistryException: Error
starting portlet application petportal
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.attemptStartPA(PortletApplicationManager.java:677)
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.tryStartPortletApplication(PortletApplicationManager.java:244)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy13.tryStartPortletApplication(Unknown Source)
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.retryStartPortletApplication(PortletApplicationManager.java:214)
	at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPortletApplication(PortletApplicationManager.java:195)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
	at $Proxy13.startPortletApplication(Unknown Source)
	at
org.apache.jetspeed.container.JetspeedContainerServlet.attemptStart(JetspeedContainerServlet.java:191)
	at
org.apache.jetspeed.container.JetspeedContainerServlet$1.run(JetspeedContainerServlet.java:162)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
Jul 9, 2009 11:12:21 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jul 9, 2009 11:12:22 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'springapp'
Jul 9, 2009 11:12:26 AM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at:
/j2-admin
Jul 9, 2009 11:12:26 AM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /j2-admin

The petportal.log file reports no errors, however.

2009-07-09 11:18:14,812 INFO [org.springframework.web.context.ContextLoader]
- Root WebApplicationContext: initialization started
2009-07-09 11:18:14,828 INFO
[org.springframework.web.context.support.XmlWebApplicationContext] -
Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@199c55a:
display name [Root WebApplicationContext]; startup date [Thu Jul 09 11:18:14
CDT 2009]; root of context hierarchy
2009-07-09 11:18:14,875 INFO
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading
XML bean definitions from ServletContext resource
[/WEB-INF/context/common.xml]
2009-07-09 11:18:14,890 INFO
[org.springframework.web.context.support.XmlWebApplicationContext] - Bean
factory for application context
[org.springframework.web.context.support.XmlWebApplicationContext@199c55a]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@17470d0
2009-07-09 11:18:14,937 INFO
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] -
Loading properties file from ServletContext resource
[/WEB-INF/pets.properties]
2009-07-09 11:18:14,953 INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@17470d0:
defining beans
[petService,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,messageSource,viewResolver,defaultExceptionHandler];
root of factory hierarchy
2009-07-09 11:18:14,968 INFO [org.springframework.web.context.ContextLoader]
- Root WebApplicationContext: initialization completed in 156 ms

Any ideas would me much appreciated.

Thanks,
B.J.
-- 
View this message in context: http://www.nabble.com/Problem-deploying-Spring-Portlet-MVC-webapp-tp24399589p24413251.html
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message