Faqts

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

30 of 48 people (63%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do you configure Apache to run with Tomcat 4.0?

Dec 16th, 2009 17:53
forum net tr, Taksh Verdhan, Dipak Khandelwal, joh kong, free musicpoint, Adam John, sahar martin, siraj khan, John Martin, engatoo engatoo, seo webmaster, osama said, i can do it, Dave Goose, Tim Cooke, Raymond Monroe, Dave Goose


A. Install the JDK. Make sure you have JDK 1.3 or 1.4 installed and 
your
PATH set so that both 
   "java -version" and "javac -help" give a result. 
B. Configure Tomcat: 
1. Download the software: 
   Go to http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/
and download and unpack the zip file for the 
   latest version (4.1.24 as of last revision of this page). 
2. Enable the ROOT context. Edit install_dir/conf/server.xml and
uncomment this line: <Context path="" 
   docBase="ROOT" debug="0"/>. Not necessary in Tomcat 4.0.3 and
earlier. In Tomcat 5.0.3, the element is missing the 
   trailing slash and you need to add it. 
3. Enable the invoker servlet. Go to install_dir/conf/web.xml and
uncomment the servlet-mapping element that maps the 
   invoker servlet to /servlet/*. Not necessary prior to Tomcat 
4.1.12. 
4. Change the port to 80. Edit install_dir/conf/server.xml and change
the port attribute of the Connector element 
   from 8080 to 80. 
5. Turn on servlet reloading. Edit install_dir/conf/server.xml and add 
a
DefaultContext subelement to the main 
   Service element and supply true for the reloadable attribute. 
6. Set the JAVA_HOME variable. Set it to refer to the base JDK
directory, not the bin subdirectory. 
7. Change the DOS memory settings. If you get an "Out of Environment
Space" error message when you start the server, 
   right-click on install_dir/bin/startup.bat, select Properties, 
select
Memory, and change the Initial Environment 
   entry from Auto to at least 2816. Repeat the process for
install_dir/bin/shutdown.bat. 
8. Set the CATALINA_HOME variable. Optionally, set CATALINA_HOME to
refer to the top-level Tomcat installation directory. 
C. Test the server:
1.Verify that you can start the server. Double-click
install_dir/bin/startup.bat and try accessing http://localhost/. 
2. Check that you can access your own HTML & JSP pages. Drop some 
simple
HTML and JSP pages into 
   install_dir/webapps/ROOT and access them with 
http://localhost/filename. 
D. Set up your development environment:
1. Create a development directory. Put it anywhere except within the
Tomcat installation hierarchy. 
2. Make shortcuts to the Tomcat startup & shutdown Scripts. Put
shortcuts to install_dir/bin/startup.bat and 
   install_dir/bin/shutdown.bat in your development directory and/or on
your desktop. 
3. Set your CLASSPATH. Include the current directory ("."),
install_dir/common/lib/servlet.jar, and the 
   main development directory. 
4. Bookmark the servlet & JSP javadocs. Add
install_dir/webapps/tomcat-docs/servletapi/index.html to your 
   bookmarks/favorites list. 
E. Compile and test some simple servlets:
1. Test a packageless servlet. Compile a simple servlet, put the .class
file in install_dir/webapps/ROOT/WEB-INF/classes, 
   and access it with http://localhost/servlet/ServletName. 
2. Test a servlet that uses packages. Compile the servlet, put the
.class file in install_dir/webapps/ROOT/WEB-INF
   /classes/packageName, and access it with
http://localhost/servlet/packageName.ServletName. 
3. Test a servlet that uses packages and utility classes. Follow the
same procedure as the second step above. 
   This third step verifies that the CLASSPATH includes the top level 
of
your development directory. 
F. Establish a simplified deployment method:
1. Copy to a shortcut. Make a shortcut to install_dir/webapps/ROOT. 
Copy
packageless .class files directly there. 
   With packages, copy the entire directory there. 
2. Use the -d option of javac. Use -d to tell Java where the deployment
directory is. 
3. Let your IDE take care of deployment. Tell your IDE where the
deployment directory is and let it copy the 
   necessary files. 
4. Use ant or a similar tool. Use the Apache make-like tool to automate
copying of files.
Dave
http://www.webhosting-rated.com
-------------------------------
History of the ROM machine
The ROM Machine is the brainchild of John Pitre, hailed by many as 
America s leading surrealist and social commentary painter, selling 
more prints worldwide than any other artist. His paintings addressed 
the themes of over population, drugs, and ecological deterioration 
already during the 60s and 70s, well before they became obvious 
problems of our times. In addition to being a talented artist, John 
Pitre is often called a modern day DaVinci, holding over thirty 
patents 
to his name. Through his scrupulous study of human anatomy in the arts 
he has also designed the world s most advanced fitness equipment, 
the 
ROM cross trainer which was awarded the Best of What's new in 1993 by 
Popular Science Magazine.
The ROM machine was conceived of and designed while Pitre was living 
in 
Telluride, CO. In the winters, he would ski to keep in shape, and in 
the summers hiking provided ample opportunity for fitness training. 
However, in spring, the snow would melt, but the trails were too 
treacherous for hiking, so staying in shape became difficult. In John 
Pitre: The Art and Works of a Visionary, he writes:  This challenged 
my 
creativity and passion for invention, so I analyzed what I could put 
together to prevent us from getting totally out of shape before summer 
came. Within short order, pulleys, ropes, iron bars and other 
interesting leftover parts borrowed from the mines around Telluride 
began to appear in my barn, which I slowly transformed into a gym of 
sorts. [..] In time, I discovered that if the weight declined at 
precisely the same rate the user s muscles lost strength, he or she 
could continue the exercise well past the point when the muscles 
normally failed.  
This eventually evolved into what John Pitre called The Time Machine, 
reflecting the time savings benefit that the ROM cross trainer offered 
its users. In 1990 John Pitre approached Alf Temme to manufacture the 
ROM machine. Temme had a long history of working in the health and 
fitness industry. After undergoing changes in the industrial design of 
the ROM machine which streamlined it for easier manufacturing, the ROM 
cross trainer took the shape it has today, and for the most part the 
design hasn t changed much in the last 19 years.
The first years of manufacturing and marketing the ROM machine were 
filled with challenges, including the heavy skepticism on the part of 
consumers. The ROM cross trainer s claims of a 4 minute workout were 
just too hard for many people to swallow. However in 1993 Popular 
Science Magazine awarded the machine and its makers the prestigious 
Best of What s New awarded, which granted the machine more 
credibility. 
The company began to sell more and more of the machines, and referral 
sales became a great source of continued sales. However, the 
scientific 
community still remained skeptical of the revolutionary fitness claims 
of the ROM machine. This was soon to change, though.
In 1996, a Japanese scientist by the name of Nishimura Tabata 
published 
a study "Effects of moderate-intensity endurance and high-intensity 
intermittent training on anaerobic capacity and VO2max," which is now 
recognized as one of the foundations of the high-intensity interval 
training, also known as HIIT, exercise strategy. The studies of Tabata 
and other proponents of HIIT have shown that this method of exercise 
can be more effective at burning fat and maintaining, or building 
muscle mass than high-volume, lower intensity work-outs. Finally the 
high-intensity short duration physiology behind the ROM machine was 
supported by studies in the scientific community. Further studies have 
proven that HIIT increases the resting metabolic rate for the 
following 
24 hours due to excess post-exercise oxygen consumption, which 
explains 
how a user can burn a similar amount of calories after working out 4 
minutes on the ROM cross trainer as they would as a result of 
performing a traditional cardio workout like jogging or cycling.
As a result from the increasing acceptance of the validity of HIIT 
fitness and growing sales because of word of mouth, demand for the 
machines increased so much that in 2003, the company had to move its 
production facility to an 82,000 square foot factory in North 
Hollywood, CA. The ROM machine s components are fabricated at this 
location from raw materials (sheets of metal, bar, tubing, etc) and 
assembled, the final product being crated in custom wooden crates, 
waiting to be delivered to their final
http://www.freeukcasino.com/
*************************************************
Do surf and get useful info.
=======================================================================
OTHER FEATURED LINKS
--------------------
HOROSCOPE 2010
We are prompt to provide 2010 astrology information about daily
horoscope and love horoscopes including zodiac compatibility reports for
all zodiac signs
http://www.horoscopes2010.com
DAILY HOROSCOPE
Are you wondering what your horoscope sign means? Are you eager to know
if your horoscope sign describes you best? Read all about the horoscope
signs and what they mean.
http://www.dailyhoroscope.co.in
=======================================================================
full program full oyun http://www.forumnettr.com
full forum http://www.forumnettr.com/forum 
secilmis youtube videolari http://www.youtubevideolari.net youtube videos
online video tr tube http://www.videotrtube.com
firmalar sirketler rehberi http://www.sirketfirmarehberi.com firma
sirket rehberi adres telefon bilgileri
online vieo izle videoturk izle http://www.videoturk.gen.tr