Trinidad
From Resin 3.0
Contents |
Step by Step (Trinidad Blank Application and Trinidad Demo Application)
[Tested with Resin 3.1.5 and Trinidad 1.2.5]
Resin reaches Trinidad milestone. Below are the steps to deploy Trinidad Blank Application and Trinidad Demo Application on Resin.
Deploying Trinidad Blank Application
- Download Resin from http://caucho.com/download
- Unzip Resin into /usr/local/share/resin
- Create a web app directory for Trinidad Blank Application in /usr/local/share/resin/webapps/trinidad-blank
- Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html
- Unzip trinidad-1.2.5-example.zip into a temporary directory
- Copy file trinidad-blank-1.2.5.war into /usr/local/share/resin/webapps/trinidad-blank
- cd into /usr/local/share/resin/webapps/trinidad-blank and issue jar -xf trinidad-blank-1.2.5.war
- Delete file trinidad-blank-1.2.5.war
- Open WEB-INF/web.xml for editing and comment MyFaces listener needed for Jetty.
<!--listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener-->
- cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar
- Browse to http://localhost:8080/trinidad-blank
Deploying Trinidad Demo Application
- Download Resin from http://caucho.com/download
- Unzip Resin into /usr/local/share/resin
- Create a web app directory for Trinidad Demo in /usr/local/share/resin/webapps/trinidad-demo
- Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html
- Unzip trinidad-1.2.5-example.zip into a temporary directory
- Copy file trinidad-demo-1.2.5.war into /usr/local/share/resin/webapps/trinidad-demo
- cd into /usr/local/share/resin/webapps/trinidad-demo and issue jar -xf trinidad-demo-1.2.5.war
- Delete file trinidad-demo-1.2.5.war
- Change to /usr/local/share/resin/webapps/trinidad-demo/WEB-INF/lib
- Delete jars myfaces-api-1.2.0.jar and myfaces-impl-1.2.0.jar
- cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar
- Browse to http://localhost:8080/trinidad-demo
Known issues:
- Some demos will fail due to JSP Compilation Error affecting pages with large number of actions: bug report