Mantis - Resin
Viewing Issue Advanced Details
1578 minor always 01-22-07 09:09 06-18-07 12:04
ferg  
ferg  
normal  
closed 3.1.0  
no change required  
none    
none  
0001578: pluto compatibility
(rep by Yidong Fang)

I've tried but I failed to do it.(Resin 3.0.17,pluto-1.1.0-beta2)
Here's the error message:

[21:51:37.536] Root WebApplicationContext: initialization completed in 1382 ms
[21:51:37.536] Starting up Pluto Portal Driver. . .
[21:51:37.917] Initializing Portlet Container. . .
[21:51:37.957] Portlet Container [Pluto Portal Driver] created.
[21:51:37.957] Portlet Container [Pluto Portal Driver]: Container initialized successfully.
[21:51: 37.957] Pluto portlet container started.
[21:51:37.957] ********** Pluto Portal Driver Started **********
[21:51:37.957]
[21:51:37.957]
[21:51:38.177] AboutPortlet: init
[21:51:40.761] javax.servlet.ServletException : Unable to resolve portlet 'AboutPortlet'
[21:51:40.761] at org.apache.pluto.core.PortletSe
rvlet.init(PortletServlet.java:108)
[21:51:40.761] at javax.servlet.GenericServlet.init(GenericServlet.java :69)
[21:51:40.761] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600)
[21:51:40.761] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:152)
[21:51: 40.761] at com.caucho.server.webapp.Application.start(Application.java:1599)

Notes
(0001741)
ferg   
01-22-07 09:12   
After serval days of pain,I managed to get pluto 1.1 working with resin-3.0.

The key is the castor-1.0 library.Here's the steps:

1.Modify the property file 'pluto/WEB-INF/classes/castor.properties' and set the content as following:

org.exolab.castor.parser.validation=false
org.exolab.castor.parser.namespaces=false
org.exolab.castor.indent=false
org.exolab.castor.debug=false

2.Copy jars in ${PLUTO_ROOT}/shared/lib into pluto/WEB-INF/lib.

3.Remove context '/testsuite' related elements from the file 'pluto/WEB-INF/pluto-portal-driver-config.xml' because here we

deploy application 'pluto' only (resin doesn't seem to support cross context dispatching).Set <render-config default="Test

Page"> to <render-config default="About Pluto">.

4.Remove element 'security-constraint','login-config' and 'security-role' from 'pluto/WEB-INF/web.xml'.(I don't know how to

map roles on resin :-)

5.Copy director 'pluto' into ${RESIN_ROOT}/webapps.

6.Run resin and type the url 'http://localhost:8080/pluto' [^] in IE/FF.