You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Yidong Fang <fa...@gmail.com> on 2007/01/21 16:48:03 UTC
Managed to get pluto 1.1 work with resin-3.0
After serval days of pain,I managed to get pluto 1.1 work 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.
Enjoy!
2007-1-21
Yidong Fang<fangyidong at gmail.com>
--
JSON: Action in AJAX!
JSON - http://www.json.org
JSON.simple - http://www.json.org/java/simple.txt