Pluto Spring Portlet Sample

Matthew Ryan <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <7C6166A4864C4E4CA13D88CCDD972B8C02995BBE@wdpmai02.fm.optus.net.au>
Hi all,

Has anyone been able to successfully deploy the 'Pluto Spring Portlet
Sample'?

http://opensource2.atlassian.com/confluence/spring/display/JSR168/Home

I'm using Pluto 1.0.1 with Tomcat 5.5 Bundle & JDK 1.5.

I upload the WAR file, get a message that there are 5 Portlets, I choose 1
Column - 5 Rows and I get the following error;

----------------------------------------------------------------------------
-------------------


14/12/2005 09:55:47 org.apache.catalina.core.ApplicationContext log
SEVERE: ServiceManager: An unidentified error occurred
javax.servlet.UnavailableException: The portlet.xml could not be found in
context Spring Portlet MVC Sample Application (/spring-portlet-sample)
	at
org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefini
tionRegistryServiceContextImpl.loadApplicationDefinition(PortletDefinitionRe
gistryServiceContextImpl.java:154)
	at
org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefini
tionRegistryServiceContextImpl.init(PortletDefinitionRegistryServiceContextI
mpl.java:93)
	at
org.apache.pluto.portalImpl.services.ServiceManager.hotInit(ServiceManager.j
ava:493)
	at
org.apache.pluto.portalImpl.services.ServiceManager.hotInit(ServiceManager.j
ava:407)
	at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:192)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:407)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
	at java.lang.Thread.run(Thread.java:595)
14/12/2005 09:55:47 org.apache.pluto.portalImpl.services.log.LoggerImpl
error
SEVERE: Initialization of PortletDefinitionRegistryService service for hot
deployment failed!
java.lang.Exception: ServiceManager: Services initialized (0/1 successful).
	at
org.apache.pluto.portalImpl.services.ServiceManager.hotInit(ServiceManager.j
ava:540)
	at
org.apache.pluto.portalImpl.services.ServiceManager.hotInit(ServiceManager.j
ava:407)
	at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:192)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:407)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
	at java.lang.Thread.run(Thread.java:595)

----------------------------------------------------------------------------
-------------------


Obviously you would expect that 'portlet.xml' not being found would be a
problem. However, when I deploy the WAR file the portlet.xml is exactly
where it should be, under WEB-INF, and this error .. should not occur.

Any ideas from anyone?


Matthew


*~~~****DISCLAIMER****~~~*
This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this email to anyone without express permission from the sender. The contents of all emails sent to, and received from, Optus may be scanned, stored, or disclosed to others by Optus at Optus' discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.