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

Configuring Apache 2 & Tomcat 5.0.28

 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to try to configure Tomcat with Apache on a WinXP platform so i did following steps:
- i installed JDK1.5
- i installed Tomcat 5.0.28 (port 8080) (directory: C:\Program Files\Apache Software Foundation\Tomcat 5.0)
- i tested the working of Tomcat via http://localhost:8080/ (it worked)
- i installed Apache 2 (port 80) (directory: C:\Program Files\Apache Group\Apache2)
- i tested the working of Tomcat via http://localhost/ (it worked)
- i downloaded JK2 and placed the mod_jk2.so under %APACHE2_HOME%\modules
- i added to the httpd.conf in the direcory %APACHE2_HOME%\conf
- i made a worker2.properties file and placed it in the direcory %APACHE2_HOME%\conf
content of this file:

- i started the tomcat and then the apache
- i tried following url: http://localhost/struts-examples and i got the webpage, so conclusion: tomcat and apache succesfully configured (or not?)

But now i want to access this struts-app from another pc as mine. So what i have to do? I do have a router and i enabled a virtual host on port 80 on the LAN ip adress of my pc
 
Quick! Before anybody notices! Cover it up with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic