Friday, April 20, 2007

Installation of Resin 3.1.0 - steps

the order of the steps as mentioned in the Resin Documentation is very very important. The logging system of the httpd process is all but helpful and you won't be able to figure out what went wrong.
For the sake of brevity -
-- if you have any previous version of resin installed as a NT service, you should remove that NT service by running "httpd -remove"
1. install JDK that you want to use. it is advisable to remove the versions that you don't want to use any more.
2. download and unzip resin to root folder (i.e. c:\resin-3.1.0) . Do not try installing it on the desktop as the httpd daemon has a hard time with long folder names
3. make sure that jdk-xxx\bin folder is in the environment PATH variable
4. make sure that the jdk-xxx\lib\tools.jar is in the CLASSPATH
5. setup JAVA_HOME
6. setup RESIN_HOME
7. (you should not have even opened the MSDOS prompt window yet. This is because the addition of environment variable do not take effect in already open DOS prompts
8. now open a new MSDOS prompt
9. go to the resin folder and run "httpd" to start resin
10. or, run "httpd -install" to install it as a NT service

No comments: