Take Java Software Easy

Download Java: take Java Software easy!

Go to the first page of Download-Java.com
Home
Go to the first page of JavaFAQ.nu
Java FAQ site
A lot of Java Code Examples, categorized by API, package, class A lot of Java Code Examples, categorized by API, package, class
Code Examples
Java Forums Java Forums
Java Forum
Categorized Java Tips Categorized Java Tips
All Java Tips
Free Java Books  on the site
Books
Submit your news, Java Code Examples Submit your news, Java Code Examples Submit your news, Java Code Examples
Submit News, Code...
Search the site here...
Search...
 
News

Take Java Software Easy: Java Tools and Software

Search on This Topic:   
[ Go to Home | Select a New Topic ]

How to Tomcat 5, Part 2

Java Tools and Software

How to Tomcat 5, Part 2
By Alexandre Patchine

How do we install one Tomcat server to share it between many users?

After default (with default parameters offered by an installation program) installation of Tomcat for single user you get such directory structure under $CATALINA_HOME directory:

bin - contains startup and binary files
common - contains all the external libraries which are used by Tomcat (not Tomcat classes here, look for them at server directory)
common/classes
common/endorsed
common/i18n
common/lib
conf - all major configuration files are here
logs - here you find "famous" catalina.out log file and saved previous catalina.out and more logs, like manager.log, admin.log, host-manager.log
server - here are Tomcat class files, packed in jar files and plus configuration files for host-manager and manager. Who are them? Read later
shared - here shared classes should be
temp - place for some temp things... Do not know exactly what it is. On my machine I see bugzilla37035-safeToDelete.tmp file with 0 bytes length here.
webapps - place where your web applications are/will be.
work - here Tomcat will place class files after the compilation. As you probably know, Tomcat "compiles" first JSP pages into servlet java code and then compiles those servlets into class files. That's why Tomcat named servlet container, not JSP container Smile

Now, when you got an overview on Tomcat structure, we are ready to go further.

Read More... | 6272 bytes more | comments? | Printer Friendly Page  Send to a Friend | Score: 4.75

Posted by jalex on Wednesday, May 31, 2006 (05:15:09) (3210 reads)

How to Tomcat 5? Part 1

Java Tools and Software

How to Tomcat 5? Part 1

I had no problem with Tomcat installation and all installation packages which I tried, worked fine for me. I will not describe all installation steps, you always can find the details on it on the home site for Apache Tomcat.

It was a few years ago, when Tomcat had version 4.1.0. My first impression was that I am swimming in a swamp, so slow Tomcat was. The whole memory on my computer was consumed by Tomcat, every click on my program interface resulted in freezing the whole machine for second. The prstat (program in Solaris to supervise processes status, in Linux it is top command) indicated that CPU jumped to 100%.

After 5 years with Apache server I was completely disappointed...

Read More... | 4691 bytes more | comments? | Printer Friendly Page  Send to a Friend | Score: 4.25

Posted by jalex on Wednesday, May 31, 2006 (05:12:34) (2428 reads)


Get Firefox!
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster
Interactive software released under GNU GPL, Code Credits, Privacy Policy