Revision [2064]
This is an old revision of coccaregistry made by JulianDemarchi on 2009-07-21 19:06:38.
My journeys with cocca registry (The Debian Way...). Thanks Luke!
Guide I used is at - http://www.coccaregistry.net/images/stories/espresso/quick-install.pdf
I start of with a base install of debian squeeze. I then installed postgresql-8.3 using apt-get install postgresql-8.3. The system now needs java. I first tried apt-get install openjdk-6-jdk, but this gave me dependancy errors. I had to run apt-get -f install to fix(I am using a XEN guest as my test system). Download the Debian resin package from http://www.caucho.com/download/resin_4.0.0-i386.deb, and install it using dpkg -i.
Copy contents of /etc/resin/conf to /usr/local/resin/conf. Edit /usr/local/resin/conf/resin.xml and find references to 127.0.0.1 and change to your IP address. Issue /etc/init.d/resin start. To test resin is working, point your browser to http:<your-ip-address>:6600 (remember to stop it once you have tested) , if you get a resin error page congrats. If not, issue the command /usr/local/resin/bin/resin.sh and troubleshoot the error you get.
Now Download http://downloads.cocca.org.nz/Registrar.war into /usr/local/resin/webapps. Also download http://downloads.cocca.org.nz/demo.coccaregistry.keystore into the same dir. Now cd to /usr/local/resin/lib and download http://downloads.cocca.org.nz/postgresql-8.3-604.jdbc3.jar into it.
This way failed for me, as I got bloody java errors.... Why can't Java log better....
I am now downloading the resin source from http://www.caucho.com/download/resin-4.0.0-src.zip and am going to compile it against the Java I donwloaded off the net and try again. The java instructions are below under the heading old.
Old
Java JDK needs to be installed (6_u14 as of 20/07/09) from http://java.sun.com/javase/downloads/index.jsp. Install the JDK like this sh ./jdk-6u14-linux-i586.bin --prefix=/usr/.