… though i have a reason to choose Resin over Tomcat , i wanted to try a new web server and learn to use (It may help me in future.)

so here is the steps
Prerequisite: JDK 5.0 or later version.(i didn try with 1.4 , so i am not sure.)
1.Download Resin from Caucho .( ofcourse :) )

2.Unzip the .tar.gz file.( yes, for linux download the .tar.gz file)

3.Open a command prompt and navigate into the resin folder .

4.In the command prompt type ./configure

Resin configure

if u get an error “checking for C compiler default output file name… configure: error: C compiler cannot create executables” .

the solution is

for Ubuntu/Kubuntu on 32 bit processor : instal glibc-devel.

for Ubuntu/Kubuntu on 64 bit processor : instal libc6-dev-amd64.

5. in the command prompt type make (if your ./configure command was succesful.)

6. in the command prompt type make install.

If everything goes fine till here then the installation of Resin web server is complete.

To start the server , in the command prompt navigate into the bin folder and the type the command ./httpd.sh.

Open your favourite web browser and type http://localhost:8080.You should get the welcome page.

If you get an error that “tools.jar is not in the classpath” , open resin.conf file placed inside conf folder and

replace the tag

<java compiler="internal" compiler-args=""/>;

with

<java compiler='javac'/>

This should solve the problem.

Restart the server and check in the web browser , you should get the welcome page.

You Should Also Check Out This Post:

More Active Posts: