| Author |
Problem to run Servelet with mod_jk
|
adam paul
Greenhorn
Joined: Jun 11, 2012
Posts: 2
|
|
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
Joined: Oct 27, 2005
Posts: 19232
|
|
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.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
adam paul
Greenhorn
Joined: Jun 11, 2012
Posts: 2
|
|
>>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.
|
 |
 |
|
|
subject: Problem to run Servelet with mod_jk
|
|
|