Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Problem to run Servelet with mod_jk

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using tomact on centos.

I have installed apache and apache tomcat both on my server.

I want to run my tomcat and apache both on port 80
that's why i implemented mod_jk connector.
I want to run all my jsp and servlet file from the examples folder only.
for that i have use Jkmount point as /examples/* my_workers_property_name

when i run .war file it does not work.
what more settings i have to do.


 
Marshal
Posts: 22396
121
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Can you tell us what goes wrong? ItDoesntWorkIsUseless. Does your Tomcat run on port 8080*? If so, does the WAR file work on that without going through Apache HTTPD? If not, what do the Tomcat logs say?


* Tomcat can't run on port 80 if Apache HTTPD does. That's what the mod_jk is for, to get Tomcat to work through Apache HTTPD.
 
adam paul
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
>>Does your Tomcat run on port 8080*?

Yes , It works well on port 8080.


>>does the WAR file work on that without going through Apache HTTPD?

Yes i am able to deploy .war file in webapps directory on port 8080 it works fine but not in the examples directory on port 8080

I have configured the jkmount point to /examples/ * my_property_name but i am enable deploy a .war file in examples folder.
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic