LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Tomcat

[ILUG] Tomcat

Tim McAuley mcauleyt at tcd.ie
Tue Oct 23 22:49:38 IST 2001


> I'm just setting up Tomcat here on a Slackware 8.0 box. It's installed an
> running fine however the default port it accepts requests on is 8080
> (http://10.1.0.1:8080); is it possible to set up Tomcat it will accept
> requests for servlets without having to go through port 8080? ie
> http://10.1.0.1/servlet/RequestInfoExample
>
> I remember hearing about some kind of mod_jsp for apache which would
> obviously be much better.
>

Which version of Tomcat is it?

If it is 3.2.3 (i.e. 3.x.x) then you can use mod_jk (see the Jakarta site
for that)
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html

If it 4.0 then you might have difficulty, or I did at any rate. I'm not sure
if there is a suitable adapter for Apache available at the moment... of
course I might have been half asleep when I was trying to get it working
(what ever IT was?).

An alternative is to disable Apache (or other web server) and modify Tomcat
to use port 80. I'm sure it is easy to do. One of the xml file in the conf
directory should have the setting.

Cya

Tim

PS... and remember to run a servlet directly, you need to add the
appropriate entry to the web.xml file in your context folder.






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell