Trinidad

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(Initial State)
 
m
Line 13: Line 13:
 
<li>Copy file trinidad-blank-1.2.5.war into /usr/local/share/resin/webapps/trinidad-blank
 
<li>Copy file trinidad-blank-1.2.5.war into /usr/local/share/resin/webapps/trinidad-blank
 
<li>cd into /usr/local/share/resin/webapps/trinidad-blank and issue jar -xf trinidad-blank-1.2.5.war
 
<li>cd into /usr/local/share/resin/webapps/trinidad-blank and issue jar -xf trinidad-blank-1.2.5.war
<li>delete file trinidad-blank-1.2.5.war
+
<li>Delete file trinidad-blank-1.2.5.war
<li>open WEB-INF/web.xml for editing and comment MyFaces listener needed for Jetty.
+
<li>Open WEB-INF/web.xml for editing and comment MyFaces listener needed for Jetty.
 
<code><pre>
 
<code><pre>
 
   <!--listener>
 
   <!--listener>

Revision as of 19:40, 31 January 2008

Step by Step (Trinidad blank demo)

[Tested with Resin 3.1.5 and Trinidad 1.2.5]

Resin reaches Trinidad milestone. Below are the steps to deploy Trinidad Blank Demo on Resin.

  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 Demo 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
Personal tools