[SourceJammer-users] How to run sourcejammer server under resin
Brought to you by:
robertmacgrogan
From: Catherine D'I. <ca...@pz...> - 2001-12-21 20:56:33
|
I am running apache with resin 2.0.3 as the servlet container. Very easy: 1) Create web-apps for sourcejammer and soap, e.g.: Put the following into your resin.conf (adjusting for paths of course): <web-app id='/sourcejammer' app-dir='C:\sourcejammer\server\webapps\sourcejammer'> ...optional stuff... </web-app> <web-app id='/soap' app-dir='c:\SourceJammer\server\webapps\sourcejammer\soap'> ...optional stuff... </web-app> 2) Make sure that the appropriate libraries are in the /lib/ directories of your web app. For example, I put xerces.jar and soap.jar in C:\sourcejammer\server\webapps\sourcejammer\WEB-INF\lib. 3) Make sure Apache knows to forward along sourcejammer requests to resin (just in case it gets called on port 80 instead of 8080 which is what resin's httpd is running on): httpd.conf is like this: LoadModule caucho_module C:\Resin\resin-2.0.3\srun\win32-1.3.6\mod_caucho.dll CauchoHost localhost 6802 AddHandler caucho-request jsp <Location /servlet/*> SetHandler caucho-request </Location> <Location /sourcejammer/*> SetHandler caucho-request </Location> <Location /soap/*> SetHandler caucho-request </Location> 4) Follow the rest of the steps as described in the readme.txt. The tomcat specific .bat files won't work obviously but sourcejammer should be up and running when you start resin. You might want to play around with resin's web-app settings in order to log things correctly and duplicate the functionality of the server_sourcejammer.xml file: http://www.caucho.com/products/resin/ref/app-config.xtp Cheers! Catie D'Ignazio |