Trinidad
From Resin 3.0
(Difference between revisions)
m |
(→Step by Step (Trinidad blank demo)) |
||
Line 1: | Line 1: | ||
− | == Step by Step (Trinidad | + | == Step by Step (Trinidad Blank Application and Trinidad Demo Application) == |
''[Tested with Resin 3.1.5 and Trinidad 1.2.5]'' | ''[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. | + | Resin reaches Trinidad milestone. Below are the steps to deploy Trinidad Blank Application and Trinidad Demo Application on Resin. |
+ | |||
+ | |||
+ | === Deploying Trinidad Blank Application === | ||
<ol> | <ol> | ||
<li>Download Resin from http://caucho.com/download | <li>Download Resin from http://caucho.com/download | ||
<li>Unzip Resin into /usr/local/share/resin | <li>Unzip Resin into /usr/local/share/resin | ||
− | <li>Create a web app directory for Trinidad Blank | + | <li>Create a web app directory for Trinidad Blank Application in /usr/local/share/resin/webapps/trinidad-blank |
<li>Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html | <li>Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html | ||
<li>Unzip trinidad-1.2.5-example.zip into a temporary directory | <li>Unzip trinidad-1.2.5-example.zip into a temporary directory | ||
Line 22: | Line 25: | ||
<li>cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar | <li>cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar | ||
<li>Browse to http://localhost:8080/trinidad-blank | <li>Browse to http://localhost:8080/trinidad-blank | ||
+ | </ol> | ||
+ | |||
+ | |||
+ | |||
+ | === Deploying Trinidad Demo Application === | ||
+ | |||
+ | <ol> | ||
+ | <li>Download Resin from http://caucho.com/download | ||
+ | <li>Unzip Resin into /usr/local/share/resin | ||
+ | <li>Create a web app directory for Trinidad Demo in /usr/local/share/resin/webapps/trinidad-demo | ||
+ | <li>Download Apache MyFaces Trinidad 1.2.5 Example (zip) from http://myfaces.apache.org/trinidad/download.html | ||
+ | <li>Unzip trinidad-1.2.5-example.zip into a temporary directory | ||
+ | <li>Copy file trinidad-demo-1.2.5.war into /usr/local/share/resin/webapps/trinidad-demo | ||
+ | <li>cd into /usr/local/share/resin/webapps/trinidad-demo and issue jar -xf trinidad-demo-1.2.5.war | ||
+ | <li>Delete file trinidad-demo-1.2.5.war | ||
+ | <li>Change to /usr/local/share/resin/webapps/trinidad-demo/WEB-INF/lib | ||
+ | <li>Delete jars myfaces-api-1.2.0.jar and myfaces-impl-1.2.0.jar | ||
+ | <li>cd into /usr/local/share/resin and start Resin with java -jar lib/resin.jar | ||
+ | <li>Browse to http://localhost:8080/trinidad-demo | ||
+ | </ol> | ||
+ | |||
+ | |||
+ | == Known issues: == | ||
+ | <ol> | ||
+ | <li>Some demos will fail due to JSP Compilation Error affecting pages with large number of actions: [http://bugs.caucho.com/view.php?id=2347 bug report] | ||
</ol> | </ol> |
Latest revision as of 20:46, 14 February 2008
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