• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Apache/Tomcat Configuration

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am running win98 and jdk1.3. I have successfully installed Apache 1.3.19 and Tomcat 3.2.1 (I can use them independently). Now I need to configure Apache and Tomcat so that Apache will handle the static content and Tomcat will handle the jsps/servlets. From the Tomcat-Apache howto, it appears I need to modify (1)Apache's httpd.conf file, (2)Install a webserver adapter(I guess its talking about mod_jk) and (3)modify Tomcat's server.xml file. I must admit after reading the instructions, I'm not sure what to do (To me, the Howto Says a lot but then again doesn't say anything). I hate asking these types of questions. Can anyone help me or direct me to a more straight forward (easier to follow) howto? I really would like to get to some programming.
Thanks In Advance,
Clyde
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have successfully configured it.
I just needed the apache-tomcat howto to do it.
U just follow what is said in the how to.
If foe instance the howto says to edit a file.Edit it as it says.
Further if you are not able to loacte the file, simly use "find".
It took me some time to do this but the how to was sufficient.
If you need specific help, then come out with a specific question.
I am afraid if someone can give a better help than the one howto gives.
Pankaj
 
clyde jones
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pankaj,
Thanks for your reply. Yeah, I can be specific. Here goes:
I will start with the server.xml file today. The "setting up the contexts" on page 4 (I printed the Howto). I guess the links under the Running Examples on page 3 are not suppose to show a page (unless you have a SlifkaWorld class in the appropriate directories). I've searched for SlifkaWorld starting at the Tomcat directory and could not find anything. I copied the context path tags pages 4-5 and pasted it at the bottom of the server.xml file before the </Server> tag. I wonder why aren't there ending context tags (</context> ). While in the server.xml file, I notice there were already two context tags:
<Context path="/examples"
docBase="webapps/examples"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
and
<Context path="/admin"
docBase="webapps/admin"
crossContext="true"
debug="0"
reloadable="true"
trusted="false" >
</Context>
Do I need another one? I'm a little confused. I know I can deliver servlets by placing the class in the path tomcat/root/web-inf/classes directory. I have not tested for html pages yet. I would appreciated if you would let me know if my server.xml is configured. Tomorrow the web server adapter.
Forgive me for the long explanation.
Thanks,
Clyde
 
clyde jones
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
For those who are struggling with this as I am, this site may help http://www.webappcabaret.com/javachina/tomcathowto.htm. In spite of it All, Have a Good Time.

Clyde
 
clyde jones
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is the correct link.
http://www.webappcabaret.com/javachina/tomcathowto.htm
Clyde
 
Then YOU must do the pig's work! Read this tiny ad. READ IT!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic