File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes About server.xml in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "About server.xml in Tomcat" Watch "About server.xml in Tomcat" New topic

About server.xml in Tomcat

bulent yuce

Joined: Jul 29, 2007
Posts: 4

* I haven't any problem but i want to learn something about tomcat.
What is Engine?What does it do?
What happened when we use 2 Engine in one server.xml?
What is advantage and disadvantages about 2 Engine?
There are 2 Engines default in server.xml.
Have i use only one Engine?or can i use more tha one?

* Can i create server base datasource?
Or only create application base?

* Where tomcat firstly look for context.xml
What is the sequence of looking context.xml in tomcat.
Like that firstly look server.xml in the application.
Next look common context.xml file in TOMCAT/conf, then that's go on.
Have someone have any idea?

* How is thread pool in tomcat?
How can we change its configurations?
Are there any file about that?
or in which file, configuration take place.

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15081

That's a lot of questions... You can find the answer to most of those questions by carefully reading the Tomcat documentation. Especially the Apache Tomcat Server Configuration Reference explains in detail how the server.xml configuration file works.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: About server.xml in Tomcat
It's not a secret anymore!