Installing Presto in an existing Tomcat Installation

SSTWebmaster
User offline. Last seen 1 year 16 weeks ago. Offline
Joined: 02/05/2010
Points: 10

I'm running the following on my laptop which is my main development system.
WindowsXP Pro
Apache 2.2 as the default webserver
ColdFusion 9, which has an integrated version of JRun.
and Tomcat 6
Apache lives under C:\inetpub\wwwroot
Tomcat lives under C:\inetpub\apache-tomcat-6.0.2
The existing Tomcat installation runs on port 8080. How would I install Presto in the existing Tomcat install?

0
Your rating: None
SSTWebmaster
User offline. Last seen 1 year 16 weeks ago. Offline
Joined: 02/05/2010
Points: 10

I wasn't able to get it running with Tomcat 6, what I did was the following:
I moved the Apache 5.52 installation out of the Presto directory to the Inetpub directory which duplicated the existing setup, then deleted the Tomcat 6 install (it was there to install Presto into).

Edited jbenv.bat as follows:

set PRESTO_HOME=C:\inetpub\Presto2.7.0<br />
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_18<br />
set JAVA_OPTS=-server -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M<br />
set APPSERVER_HOME=C:\inetpub\apache-tomcat-5.5.20<br />
set TOMCAT_HOME=C:\inetpub\apache-tomcat-5.5.20<br />
set CATALINA_HOME=C:\inetpub\apache-tomcat-5.5.20<br />
set PRESTO_EC_HOME=C:\inetpub\Presto2.7.0\connectors\event<br />
set APPSERVER_PORT=8080<br />
set PRESTO_CLI_HOME=C:\inetpub\Presto2.7.0\prestocli<br />
set PATH=%JAVA_HOME%\bin;%PATH%<br />

changed line 18 of setup_win.js as follows:

tomcatHome = fso.GetFolder("C:\\inetpub\\apache-tomcat-5.5.20") ;

Then I ran the rest of the setup as documented, results, a running Presto server.

Which brings up the question, has Presto been tested against Tomcat 6?

smitchell
smitchell's picture
User offline. Last seen 19 hours 10 min ago. Offline
Joined: 08/29/2008
Points: 34

We've done some testing, but Presto has not been fully vetted in Tomcat 6 so it is not documented as a supported application server.

 

Sara, technical writer/jackbe