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

Rewriting (hiding) jsp extension brakes servlets

I'm trying to remove/hide .jsp extensions in my URLs with the following rewrite: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.jsp [PT,L] It works for jsp fine but brakes my servlets that I use with Ajax in my jsp…
Myroslav Tedoski
  • 301
  • 3
  • 14
0
votes
1 answer

Please help in mod_jk/apache2/JBoss EAP 6.3

I'm trying to use mod_jk for getting a result something like localhost/hello should display result as same as http://localhost:8081/hello My next goal is LoadBalancing but I'm stuck with my 1st step because: localhost:8081/hello -…
raj_jboss
  • 69
  • 2
0
votes
0 answers

apache, tomcat8, long polling using jquery and async servlet, jquery timeouts every minute

I am trying to add longpolling using jquery and aysnc servlet, the javascript ajax request is timing out every minute, there by creating a new request, servlet sets timeout for 10 minutes but jquery ajax times out in one minute, this happens…
user884424
  • 573
  • 1
  • 12
  • 33
0
votes
2 answers

Serve static page until tomcat app is up using Apache

I have setup Tomcat behind Apache server and have connected them using mod_jk. Now, I need to serve a static file for time being the war is being deployed on tomcat and services are up and running. I am not able to find a way to do this. EDIT:…
Nitesh Kumar Anand
  • 621
  • 1
  • 6
  • 18
0
votes
1 answer

Route two domains to same JBoss instance

I have two public websites (foo.com and bar.com) that are pointed to a hardware load balancer. This hardware forwards the traffic to my server as follows: http://foo.com ==> port 7700 https://foo.com ==> port 7701 http://bar.com ==> port…
0
votes
1 answer

mod_jk hybris loadbalancer

I have two apache 2.4 web servers and 2 hybris 5.7.3 appservers. I decided to configure mod_jk 1.2.41 in both web servers with app server loadbalancing. Appservers will run on https only, Can you anyone help me to configure mod_jk for…
0
votes
1 answer

Is Session Affinity maintained by apache load balancer after one instance down

I deployed my project in 3 tomcats named tomcat1,tomcat2,tomcat3. Those are configured with tomcat cluster. Session Affinity works fine if all tomcats are up and running. If Tomcat1 down and it contain session,if client requests that session those…
0
votes
2 answers

Use mod_jk without Tomcat

Is it possible to use mod_jk as reverse proxy without installing Tomcat? I have Apache and JBoss installed, I don't see why I should install Tomcat? Thanks.
hawarden_
  • 1,904
  • 5
  • 28
  • 48
0
votes
1 answer

Configure mod_proxy apache https server with tomcat 7 https server

I am new to web server configurations, here is the scenario, we have a hybris tomcat server which is running on 9002 for https and 9001 for http. I need to configure apache web server with mod_proxy server which will open https and http through 80…
0
votes
1 answer

URL redirection from Apache to Tomcat using mod_jk

My apache document root is /srv/www/htdocs/ and my url is https://internal.net/ My requirement is to open a URL https://internal.net/jenkins-project/ which should have document root as /usr/share/tomcat7/webapps/jenkins-project/ rather than looking…
Vijay
  • 1
  • 1
0
votes
1 answer

Apache not serving Static Files + Ubuntu

When I have enable mod_jk in Apache with Tomcat for web application. After then Apache will not be able to serve static files from Apache directories. Any Idea what is wrong in configuration. Thanks in advance.
Gparmar
  • 548
  • 1
  • 5
  • 9
0
votes
1 answer

302 redirect, Tomcat behind Apache for hybris

I've configured hybris and apache,mod_jk using below blog article. www.facebook.com/permalink.php?id=317609748375071&story_fbid=680730588729650 hybris is completely running fine on tomcat ports http on 9001 and https on 9002. one of developer has…
Gparmar
  • 548
  • 1
  • 5
  • 9
0
votes
2 answers

Setting up Apache mod_jk in ssl VirtualHost

I'm having problems moving my Apache mod_jk configuration form its own VirtualHost configuration into my main ssl VirtualHost configuration. Tomcat is working ok using its own domain using mod_jk and a VirtualHost configuration - working…
Brian
  • 83
  • 1
  • 7
0
votes
1 answer

Maximum number of concurrent connections jBoss

We are currently developing a servlet that will stream large image files to a client. We are trying to determine how many Jboss nodes we would need in our cluster with an Apache mod_jk load balancer. I know that it takes roughly 5000 milliseconds to…
cozmokramer8
  • 203
  • 1
  • 6
  • 13
0
votes
1 answer

Tomcat, Httpd : Running both at same time and calling based upon URL.

I am working on Debian X64 where I have tomcat with multiple webapps hosted which works fine. I have an Apache webserver running which is hosting a CMS and which I would like to open when for example www.domain-cms.com is called. Right now, the…
We are Borg
  • 5,117
  • 17
  • 102
  • 225