Web Hosting Talk







View Full Version : How to run servlets on linux server


jolly
03-04-2001, 01:30 AM
I want to run servlets on linux server. Can anyone guide me.

jayglate
03-04-2001, 01:51 AM
Do you want to support virtual sites or just yourself. If it is just yourself go with tomcat, jakarta.apache.org it is a nice combination of jsp 1.1, servlets 2.2. If you want to use it for virtual/shared hosting, go with jserv 1.1.2 and gnujsp 1.01. it is more geered for virtual hosting and won't use as many server resource, as tomcat would in the same situation.


If you need help or consultation, you can contact me offline, I might be able to help.

mpkapadia
03-04-2001, 09:06 AM
Jolly,

For just servlets you can install just "apache mod jserv 1.2"

It just works when installed directly from the rpm , i was not able to configure tomcat, Jserv is very very simple to configure , i am using it on virtual hosting on Rh 6.2 box.

I am trying for gnujsp without much sucess.

jayglate can you throw some light on how gnujsp is configured in your linux box(i want to run it on virtual hosts)

Regards
Manish Kapadia

MattF
03-04-2001, 12:21 PM
Resin! http://www.caucho.com much better than Jakarta.

mpkapadia
03-04-2001, 12:29 PM
MattF

Yes i know that resin is good and i had tested that out on winnt on a local lan,
But problem is that my server is already live on linux which uses servlets on Jserv and so i cannot just tinker around with it,
Gnujsp being an addon to jserv should not have problems i feel.

And besides i do not think resin is free.

I think i would really have to go with gnujsp only.

Regards
Manish Kapadia
Bombay-India

jayglate
03-04-2001, 01:58 PM
Resin is much better, than jakarata, but I believe that for some uses it is commercial. Also serveatlanta i think makes one also.

In terms of helping you out with gnujsp,you have one jsp.properties, that contains all the info for all your jsp clients. you map /gnujsp/gnujsp as the executable in the httpd.conf for jsp, just like you would miva. It is hard to explain, I have done it a few times without any problems, just the details are hard to get right from memory. I think I can try to set it up again on one of my demo boxen, soon, if you would like and then document it , step by step.