Trinidad

From Resin 3.0

Revision as of 20:46, 14 February 2008 by Alex (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

  1. Download Resin from http://caucho.com/download
  2. Unzip Resin into /usr/local/share/resin
  3. Create a web app directory for Trinidad Blank Application in /usr/local/share/resin/webapps/trinidad-blank
  4. Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html
  5. Unzip trinidad-1.2.5-example.zip into a temporary directory
  6. Copy file trinidad-blank-1.2.5.war into /usr/local/share/resin/webapps/trinidad-blank
  7. cd into /usr/local/share/resin/webapps/trinidad-blank and issue jar -xf trinidad-blank-1.2.5.war
  8. Delete file trinidad-blank-1.2.5.war
  9. 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-->
    
  10. cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar
  11. Browse to http://localhost:8080/trinidad-blank


Deploying Trinidad Demo Application

  1. Download Resin from http://caucho.com/download
  2. Unzip Resin into /usr/local/share/resin
  3. Create a web app directory for Trinidad Demo in /usr/local/share/resin/webapps/trinidad-demo
  4. Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html
  5. Unzip trinidad-1.2.5-example.zip into a temporary directory
  6. Copy file trinidad-demo-1.2.5.war into /usr/local/share/resin/webapps/trinidad-demo
  7. cd into /usr/local/share/resin/webapps/trinidad-demo and issue jar -xf trinidad-demo-1.2.5.war
  8. Delete file trinidad-demo-1.2.5.war
  9. Change to /usr/local/share/resin/webapps/trinidad-demo/WEB-INF/lib
  10. Delete jars myfaces-api-1.2.0.jar and myfaces-impl-1.2.0.jar
  11. cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar
  12. Browse to http://localhost:8080/trinidad-demo


Known issues:

  1. Some demos will fail due to JSP Compilation Error affecting pages with large number of actions: bug report
Personal tools