Jasper JSP Engine On Resin Deployment
From Resin 4.0 Wiki
Contents |
Focus on: deploying Jasper JSP 2 Engine Resin server
Overview
Though we are planning on providing the integration library in release 4.0.31 or later, you can integrate Jasper into earlier versions of Resin using this reference. To get Jasper up and running you will need to download the referenced in prerequisites section software and copy / paste web.xml mapping along with two classes that complete the integration and a few Jasper dependencies residing in Tomcat.
Software Prerequisites
- Resin (Pro) 4.0.29 or later (http://www.caucho.com/download)
- Tomcat 7 for importing the required .jar files( located at http://tomcat.apache.org/download-70.cgi )
Copying the Jar Files
First copy the following jar files from Tomcat to your web app: exporting TOMCAT_HOME and MY_APP will help the copy/paste work on the following script.
cp $TOMCAT_HOME/lib/jasper.jar $MY_APP/WEB-INF/lib/ cp $TOMCAT_HOME/lib/tomcat-api.jar $MY_APP/WEB-INF/lib/ cp $TOMCAT_HOME/lib/tomcat-util.jar $MY_APP/WEB-INF/lib/ cp $TOMCAT_HOME/lib/servlet-api.jar $MY_APP/WEB-INF/lib/ cp $TOMCAT_HOME/lib/ecj-?.?.?.jar $MY_APP/WEB-INF/lib/ cp $TOMCAT_HOME/bin/tomcat-juli.jar $MY_APP/WEB-INF/lib/
==