Home > Ubuntu/Linux, java > HOWTO install , configure and run Resin web server in Ubuntu/Kubuntu

HOWTO install , configure and run Resin web server in Ubuntu/Kubuntu

I wanted to try a new web server and learn to use it.

The webserver is Resin.lets try.

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.

  • Share/Bookmark
Categories: Ubuntu/Linux, java
  1. August 13th, 2007 at 07:02 | #1

    Cool find da.

  2. yuri
    May 13th, 2008 at 15:35 | #2

    thank you it help me very much.

  3. July 29th, 2008 at 18:53 | #3

    Thanks for the tip!

  4. Ablemorghon
    September 6th, 2008 at 08:38 | #4

    Excellent, just what I was looking for. Thnx:)

  5. reza abdurahman
    October 14th, 2008 at 06:40 | #5

    Thanks for the tip!

  1. No trackbacks yet.