Questions tagged [mod-jk]

mod_jk is the connector used to connect the Tomcat servlet container with web servers using AJP protocol.

mod_jk, the Apache Tomcat Connector, is a replacement to the elderly mod_jserv. It is a completely new Tomcat-Apache plug-in that handles the communication between Tomcat and Apache.

422 questions
0
votes
1 answer

Load balancing workers will not function properly

Please refer this question: Centos With Plesk11.x I did same configuration on another VPS but with no luck. Log says: errno=13. Load balancing workers will not function properly Please help me
0
votes
1 answer

Centos With Plesk11.x

I am using Centos with Plesk 11.x and this post How to obtain Apache mod_jk connector for for RHL? helped me to install mod-jk but what's next. I mean how can I integrate it with Tomcat as installation is not enough to bring it up. Is anybody can…
0
votes
2 answers

Tomcat Connectors (mod_jk) make error

I'm trying to install Tomcat Connectors (mod_jk) on my Mac and I'm following the instructions from the following…
Vish
  • 383
  • 2
  • 8
  • 25
0
votes
2 answers

Apache not using desired ports on workers.properties

We've configured Apache to redirect to an instance of tomcat through a diferent port of the AJP default 8009 . It only works for the default port but it's not working with the one we set (8109) on the worker.properties This is our…
Albert Rubio
  • 1
  • 1
  • 1
0
votes
1 answer

mod_jk connector integration

CentOS release 6.7 (Final) Kernel \r on an \m apache-tomcat-7.0.47 jdk1.7.0_45 tomcat-connectors-1.2.41 log shows that mod_jk initialized: # cat /var/log/httpd/mod_jk.log [Wed Oct 07 19:19:31.070 2015] [32013:140147690502112] [info]…
Ghayel
  • 1,113
  • 2
  • 10
  • 19
0
votes
0 answers

Changing the context root of an application

I have two servers (dev1 and dev2) an application with context root app is hosted on both these servers i can access these application by thier url e.g. http://dev1:8080/app http://dev2:8080/app so want is http://dev1/app1 redirect to dev1 app …
Haider
  • 615
  • 1
  • 16
  • 38
0
votes
0 answers

Streaming Video from Tomcat7 through tls and mod_jk

I am trying to stream video from my webapp that is running on Tomcat7. The video stream is initiated by a HTML5 video tag which is also fed by the tomcat webapp. My solution so far is pretty straight forward. When a request for the video file comes…
Thomas
  • 311
  • 2
  • 17
0
votes
1 answer

Apache httpd configuration with clustered jboss eap 6.4 standalone environemnt

I am using JBoss EAP 6.4.0 I am using 2 instances of jboss standalone server in same machine and forming a cluster. When i login into them, it works fine. Now, I am trying to use mod_jk to load balance so that I need not use port to access the…
Swaraj Shekhar
  • 187
  • 1
  • 7
  • 28
0
votes
0 answers

How to integrate mod_jk (apache2) with Wildfly 8.2.0-Final AS

I am migrating an EAR application from JBoss 6.1.0 AS to Wildfly 8.2.0-Final AS. standalone-full-ha.xml is the configuration file used for running the server in standalone mode. mod_jk setup is available utilizing apache2 in the integrated setup…
sridhar
  • 1,117
  • 5
  • 31
  • 59
0
votes
1 answer

Send requests to second tomcat node only in case of failure of first node

I need to have the following setup for an application Apache HTTP Server Tomcat Node A Tomcat Node B I need to load balance the two tomcat instances in such a way that -initially all requests should go to nodeA. -only in case Node A is down,…
0
votes
1 answer

Posting to HttpURLConnection with Apache, Tomcat and modjk from Java web application

I encoutered a problem and i don't know how to solve it. I have a java application deployed on a tomcat. The tomcat is behind an apache using modjk. In the application I'm posting some XML to an URL like this: URLConnection uc =…
stebeg
  • 155
  • 2
  • 12
0
votes
1 answer

mod_slotmem.so: undefined symbol: apr_shm_remove

I am trying to create a jboss cluster as mentioned in the link below.. [https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto][1] I was able to complete upto the installation of apache httpd. But, faced a error when i tried to load the…
Daniccan
  • 2,755
  • 1
  • 18
  • 27
0
votes
1 answer

AJP Connector not working? (404 error)

I'm trying to connect the Apache WebServer (2.4.10) to Tomcat 7, both located in two different VMs. It's my first time using those tools. From what I understood a method to check if the connection is working is to try to access to Tomcat using the…
RVKS
  • 147
  • 3
  • 16
0
votes
1 answer

I have succeeded in connecting apache to tomcat using mod_jk but jsp are not executed rather they are shown as plain text files

I have followed the instructions on this link http://www.avajava.com/tutorials/lessons/how-do-i-connect-apache-to-tomcat-using-the-mod-jk-module.html?page=1 to connect apache to tomcat and i am able to call a jsp page from apache via mod_jk.…
Paul Ngom
  • 319
  • 1
  • 2
  • 16
0
votes
1 answer

how to implement failover of apache httpd that is working as the loadbalancer for multiple tomcat instances

I am implementing almost 3 tomcat instances with the load balanced by apache httpd and mod_jk in on single machine. I also configured session affinity and session replication in the tomcat instances. So, even though, any one of the 3 tomcat…
Shashikanth Komandoor
  • 781
  • 1
  • 11
  • 29