• 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

Problem in connecting Apache with tomcat.

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have been trying to connect Apache [1.3.*] with Tomcat [5.5.9] using mod_jk.
But have not been succesfull in it. I have tried to configure everything as the tutorial on apache site says. but when i start Apache it says


I dont know which library does it need more. Any ideas?

Any help in this regard will be appreciated.
I can provide more informtion if needed.

Thanks,
Anupam Bhatt
 
Anupam Bhatt
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, i have just been able to connect apache with tomcat by placing the workers.properties and mod_jk2.dll both in libexec directory.

Apache startsup and works fine but when i give the url like http://localhost/anupam/ it throws a BLANK page. although i have a application called "anupam" in webapps folder of Tomcat.

Any clues please?

Thanks in advance for the help.
 
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you made sure to edit your httpd.conf file in your Apache/conf subdirectory? You should have a line that looks like

JkMount /anupam/* ajp13

which tells Apache to forward calls to http://localhost/anupam/* to the worker and therefore to Tomcat.

See if that helps.
reply
    Bookmark Topic Watch Topic
  • New Topic