… 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
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:
- Firefox 3: The Next-Generation Web Browser
- Microsoft Pushes Alternative to AJAX
- Hardy Heron and NVIDIA
- Desktop Java application and image folders
- Reflection in action
More Active Posts:
- javax.servlet.ServletException: Path loginLayout does not start with a "/" character (6)
- HOWTO install , configure and run Resin web server in Ubuntu/Kubuntu (5)
- Linux ads (3)
- Desktop Java application and image folders (2)
- HOWTO add "diggit" and "del.icio.us" links to blogger( not beta , but latest version) (1)
- HOWTO pass request and response from one servlet to another servlet … (1)
- Java is Everywhere -- cool JAVA ad (1)
- New Features in JDBC 4.0 (1)
- AjaxRain (1)




Cool find da.