Questions tagged [mod-jk]
174 questions
0
votes
1 answer
Apache 2.2.17 + Tomcat 7 on Windows Server?
What's the most painless way for a newbie to get Tomcat 7 and Apache 2.2.17 running together on Windows Server 2008 R2? I want Apache to handle all the static content and for Tomcat to handle the grunt work. So far both work separately, just…

user67856
- 129
- 1
- 6
0
votes
3 answers
SSL redirect problem with JBoss 4.2.3, Apache mod_jk and a hardware load balancer
We are currently experiencing some problems with a network setup we have not used so far and I hope to get some more input how to work around this.
The network of a customer of us uses 4 JBoss instances on different servers all running the same…

Daniel Bleisteiner
- 103
- 1
- 4
0
votes
1 answer
Rewriting URL for tomcat through an apache AJP connector
I've tried several attempts to resolve this, but all have come up naught.
Currently I have apache setup to forward all urls at and past the /portal/ tag to tomcat. Unfortunately, tomcat receives these requests through /portal/appName, a subdirectory…

StudentKen
- 207
- 1
- 3
- 10
0
votes
2 answers
Remote servlet by mod_jk?
I have remote servlet for example: htps://[ip_address]/servlet (htps://[ip_address]/ - Tomcat main page) that i need to configure on local Apache HTTPd server. My mod_jk configuration looks like below, but doesn't work. Something works, because when…

marioosh
- 133
- 1
- 1
- 7
0
votes
1 answer
One SSL certificate (one domain) for two servers?
I have two servers. On SERVER1 i have configured SSL certificate (on Apache) for domain htps://somedomain.com. I need to connect to my working domain some app that exists on remote server SERVER2 - working app for example:…

marioosh
- 133
- 1
- 1
- 7
0
votes
2 answers
Apache+mod_jk and a specific 404 handler
I have a relatively simple Apache httpd + Tomcat via mod_jk setup that works well, but I need to have Tomcat handle certain 404 conditions. Basically, the httpd service will handle images and PDF files and the occasional IIS hacking attempt. However…

Alice
- 1
- 1
0
votes
1 answer
What configuration changes needed on tcServer to work with Apache Web server
I have Apache Webserver 2.2.17 and tcServer-6.0.20 and I want to dispatch requests from apache to tcserver.
I am using mod_jk.so and I have the following in httpd.conf
LoadModule jk_module modules/mod_jk.so
JkWorkersFile…

aos37
- 3
- 2
0
votes
1 answer
trouble running multiple domains on tomcat behind apache via mod_jk
I am having trouble setting up tomcat6 with 2 virtual hosts, behind apache2.
if i have just one host defined in tomcat, and one jk worker, everything works fine. as soon as i define another jk worker and a corresponding tomcat host i get this error…

mkoryak
- 171
- 10
0
votes
3 answers
How to get html/css/jpg pages server by both apache & tomcat with mod_jk
I've apache2 and tomcat6 both running on port 80 with mod_jk setup on ubutnu servers. I had to setup an error document 503 ErrorDocument 503 /maintenance.html in the apache configuration and somehow I managed to get it work and the error page is…

user53864
- 1,723
- 11
- 37
- 66
0
votes
1 answer
0
votes
1 answer
How to use Apache to redirect to IIS on a different port?
I have Apache configured with jk_mod to redirect to several instances of tomcat. Apache is listening on port 80, and depending on the URL it receives it will redirect to a different tomcat instance (each tomcat instance listens on a different port).…

Beedlebumm
- 1
- 1
0
votes
1 answer
mod_jk/isapi_redirect not loading settings
I'm setting up the IIS version of mod_jk so I can redirect requests to a Tomcat instance. Running IIS 6 on Win2k3 server on a Xeon 64-bit CPU. I'm running the AMD64 version of isapi_redirect.dll.
It seems that for some reason the .dll is not…

Mason
- 111
- 2
0
votes
1 answer
multiple webapps in tomcat -- what is the optimal architecture?
I am maintaining a growing base of mainly Cocoon-2.1-based web applications [http://cocoon.apache.org/2.1/], deployed in a Tomcat servlet container [http://tomcat.apache.org/], and proxied with an Apache http server…

rvdb
- 319
- 1
- 5
- 14
0
votes
2 answers
tomcat behind 2 apache http servers
I have this architecture:
http Ajp
[Apache A] -------> [Apache B] ----------> [Tomcat]
there is a way to configure [Apache B] to forward an ajp request in order to achive this:
Ajp …

user40747
- 23
- 2
0
votes
0 answers
mod_jk - 2 JkMount Directives with the same URL but different workers
I have a question. How would the following mod_jk directives be interpreted?
ServerName backend.example.com
...
JkMount /api/prod worker1
JkMount /api/prod/* worker1
JkMount /api/prod worker2
JkMount…