• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Under Apache in Windows

 
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hei friends, I m usinf Tomcat under windows 2000 Server and want to know abt installing+configuring Apache+Tomcat under windows to run servlets/jsp...
I guess the steps should be ----
(1) Download apache and tomcat(i have already)
(2) Install apapche in a drive
(3) Install Tomcat (but where?)
(4) Configure Apache to run Tomcat
(5) Configure tomcat to work under Apache
Are my all guesses true? Then tell me how should i exercise the steps. And also any useful link....

------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ashik
For a development environment why not just run Tomcat as a stand-alone web app server/servlet container? rather than both Apache and Tomcat?
heres an interesting series of articles that may help with your doubts from a good source for Win 2000
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html
all the best - Jim
 
Ashik Uzzaman
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thnx Jim, very good link indeed! I'll check them.
Actually I m using Tomcat under win2k in my house and that works fine.... ...i was just curious how can i install & configure Apache and Tomcat to work together under my win2k server. Just curious....
------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jim,
Thanks for those excellent links! The "Deploying Web Applications" article is exactly what I was looking for.
I really appreciate it!
--liz
 
Jim Petersen
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cheers Liz and Ashik!
Its always nice to get appreciation!

-------------------------
- Jim Petersen SCJP
-------------------------
[This message has been edited by Jim Petersen (edited November 30, 2001).]
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For those who are still searching!
This is a good howto:
http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/bWebServer.html

uhon
 
Ashik Uzzaman
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good link Urs, thanks!
 
Peter Franz
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately it didn't work.
But here is the oficial mod_jk/mod_jk2 documentation from Apache:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
It's very dificult to find, if you don't know the name of the module you have to use.
but as it comes from apache.org, this configuration should work (i think). I'll try it out tonight
Have a nice day!
Urs
 
Ashik Uzzaman
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you know JK and now JK2? Why the name was JK? Jakarta or Java K??
I'll use it to integrate Apache and Tomcat instead of the backdated mod_jserv.
 
Ashik Uzzaman
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been trying to use mod_jk as Apache2 and Tomcat4 connector and added the following line in my apahce conf/httpd.conf file.
Include C:/Progarm/Tomcat4/conf/jk/mod_jk.conf-auto
But when I try to restart my apache web server under win2k, it gives the following error in system log file.

The Apache2 service terminated with service-specific error 1.

And according to the following tutorial http://atlassw1.phy.bnl.gov/jakarta-tomcat/mod_jk-howto.html#s8 , I don't find any AutoWebApp element in Tomcat's server.xml after which I should have used the ApacheConfig element.
I have also copied the mod_jk2.0.43.dll module in apache modules directory. Any hint about where am i missing?
[ December 28, 2002: Message edited by: Ashik uzzaman ]
 
Ashik Uzzaman
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am successfully using JK to connect Apache and Tomcat...hurrah
I'll now try to use JK2 instead of JK and later post the steps I followed.
Till then, bye.
reply
    Bookmark Topic Watch Topic
  • New Topic