• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat

 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • 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
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Adeel,

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

Cheers,
Swamy
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
 
Barbara Norway
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • 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
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Hi Bill,

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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic