Questions tagged [mod-jk]

174 questions
1
vote
1 answer

Apache mod_jk serves JSP through HTTP but fails to server JSP via HTTPS protocol?

I am running a application on JBoss4.0.3(using Tomcat AJP on ports 8009 and 8443) and I just setup a Apache HTTPS server that is listening on both port 443 and port 80. Everything works fine via port 80: Apache seems to process JSP pages handled…
djangofan
  • 4,182
  • 10
  • 46
  • 59
1
vote
1 answer

Apache mod_jk replacing mod_rewrite rules

We have a slightly complex Apache 2.2 setup in front of a Tomcat 6.0 instance. The main Tomcat webapp is deployed in: /opt/tomcat/webapps/ROOT But we also have static content that we update semi-regularly. We didn't want to force a new build and…
organicveggie
  • 1,071
  • 3
  • 15
  • 27
1
vote
1 answer

How to map a web application to the root of a virtualhost?

I wrote a MVC Servlet + JSP web application and deployed in Apache+Tomcat. I don't call JSP directly, but I use them as view and I call them from the Servlets. To make it visible in a virtual host, I mapped it using JkMount: JkMount /MyApplication/*…
stivlo
  • 749
  • 3
  • 10
  • 24
1
vote
1 answer

Virtualhost Apache and Tomcat

I have Tomcat and Apache web server. by MOD_JK I configure Apache to send request for http://127.0.0.1/cas to Tomcat. http://127.0.0.1/cas works correctly and Tomcat response to it. now I want this https://127.0.0.1/cas to work, (SSL). I search it…
Mohammad Ali Akbari
  • 1,763
  • 5
  • 20
  • 24
1
vote
1 answer

Apache HTTPD - Segmentation fault when loading mod_jk module

I just set up mod_jk with my Apache httpd 2.0.52 installation, but now when I try to start Apache, it has a segmentation fault. I've checked that I am using the mod_jk compiled for 2.0.x.. built against the same version I have, in fact. I've also…
Jon Gauthier
  • 153
  • 7
1
vote
3 answers

Answering all requests with a maintenance page without restarting Apache HTTP server

let say we have the following picture: A Apache HTTP server is serving the users' requests. It forwards all (or a part of) requests to a Tomcat server using mod_jk. Let's say we want to shutdown our application on Tomcat for two hours for…
Igor Mukhin
  • 175
  • 3
  • 6
1
vote
2 answers

How do I properly run Tomcat alongside Apache?

I have installed Apache Tomcat and Apache Webserver on a Ubuntu 10.04 Server system. I basically followed these steps to configure the mod-jk connector and my webserver now seems to redirect all traffic to Tomcat. This means regardless of wether I…
mfellner
  • 113
  • 1
  • 3
1
vote
3 answers

Apache + tomcat + jnlp

We have an instance of Tomcat behind an Apache. We use mod_jk. The module config is: LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel info …
Maxfer
  • 193
  • 10
1
vote
1 answer

Apache module "mod_jk". Setup rewrite condition for using https for specific url/context

I do have a "simple" question that probably can be answered by you in seconds ;) I setup an apache webserver (v2.2), this apache server serves as balancer with "mod_jk" enabled. 2 different applications are hosted on this server, called "low" and…
tim.kaufner
  • 113
  • 1
  • 4
1
vote
1 answer

Mod_jk Tomcat VirtualHost

I have two applications in Tomcat app1 and app2. I have mod_jk configured for Apache front end and I am able to get the Tomcat index.jsp Now I created two virtualhosts for app1 and app2 so that app1.domain.com will point to app1 in tomcat and…
user37143
  • 171
  • 1
  • 4
  • 14
1
vote
2 answers

Apache Virtual host not recognized

I've been using one server, then I reinstalled everything on another server, and the mod_jk stopped working. Here is the situation: apache 2.0 sitting "in front" mod_jk used to connect to the apache to tomcat tomcat 6.0.26 used to server the actual…
Bozho
  • 819
  • 1
  • 7
  • 13
1
vote
2 answers

Nginx as a proxy to Jetty

Pardon me, this is my first attempt at Nginx-Jetty instead of Apache-JK-Tomcat. I deployed myapp.war file to $JETTY_HOME/webapps/, and the app is accessible at the url: http://myIP:8080/myapp I did a default installation of Nginx, and the default…
None
1
vote
1 answer

tomcat9 shibboleth+mod_jk authentication forbidden

I have a Spring Boot application running currently under Tomcat 8.5 that has a shibboleth-based SSO integrated. Shibboleth and tomcat are connected using apache2 mod_shib and mod_jk, using default Debian 9 packages. I am now trying to upgrade the…
P.Péter
  • 569
  • 2
  • 6
  • 24
1
vote
1 answer

Apache mod_jk SSL & appBase

I'm setting up mod_jk for Apache to use with Tomcat and there are two issues I've ran into. SSL I have SSL enabled on Apache and all traffic is going through HTTPS, including the requests forwarded to Tomcat. Does Tomcat also need to be configured…
stripies
  • 25
  • 4
1
vote
2 answers

Apache filling up with connections in state "Reading Request"

I have a problem with an apache who's stalling with too much requests. When I take a look at the server-status page I can see that most of the connections are in state "Reading Request", but do not finish. When I do a graceful restart, all of the…
Christian
  • 4,703
  • 2
  • 24
  • 27