Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem to run Servelet with mod_jk

 
adam paul
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.


 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic