Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Tomcat

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Am using Apache Tomcat 4.1.18. I find it to be dead slow. Takes a long time to load pages and execute. Any idea, apart from freeing the work folder?

Thanks in advance.

Cheers,
Swamy
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
integrate tomcat with apache web server or IIS. the performance will definitly improve.
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Adeel,

Could u plz expand on this? Like how do i go about this?

Cheers,
Swamy
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tomcat 5 is supposed to be faster, in addition to having improved management capabilities. I am surprised you find Tomcat 4 "dead slow" - my timing tests with my mock exam servlet shows responses done within 10 milliseconds. Perhaps you are just seeing the initial compile time of a JSP?
Bill
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ramaswamy,

Start here:

tomcat

and here:

jk connector

and here:

connector config how-to

and finally, here:



Apache web server and

here:
another apache connectors help page.

Not necessarily in this order.

Read a lot, try things (not on a live server), read some more, try more things, come back here and ask specific questions, etc.

Good luck and hope this helps.

Getting the right combination of versions of Apache, Tomcat, and the connector is half the battle.

Barbara
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We actually have a Tomcat forum.

Moving this thread to that forum.

Mark
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark,

Sorry, I didn't notice the Tomcat Forum. Sorry for the Inconvenience.

Hi Barbara,

Thanks a lot for the links. I am going thru them and shall get back to you.
By the way, could you clarify on more thing?, like, I have a web application. That contains several JSPs. If i want to make the default page, to be loaded when the application is called,say Login.jsp must be loaded. What am i supposed to do?

My Folder Structure:

c:\Tomcat\webapps\Track - jsp's
c:\Tomcat\webapps\Track\web-inf\classes\ -Servlets and Beans.

Now my point is to load the Login.jsp when i call
localhost:8080/Track

Kindly help.....

Thanks in advance........
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ppl,

This is to remind you, to kindly provide some inputs on my previous post in this topic.

Cheers,
Swamy
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My interpretation of your problem is that you want login.jsp to automatically be displayed if the URL ends in /Track without naming a page. For this, Tomcat uses the welcome-file-list - see this typical entry in the default web.xml.

Bill
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill....

Thanks a lot. Shall try it out and tell you.

Cheers,
Swamy
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill,

Thanks a lot for you help man, that's really working fine....Thanks......

 
Dinner will be steamed monkey heads with a side of tiny ads.
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic