The mod-jk tag has no wiki summary.
0
votes
1answer
109 views
Connection from Apache to Tomcat via mod_jk not working
I would like to connect apache to tomcat via mod_jk (same machine).
The ajp connector in tomcat is listening on port 8009, the worker settings are:
worker.worker1.port=8009
...
0
votes
0answers
14 views
JBoss 7 + IIS 6 web application configuration
Good morning!
I successfully bound my iis 6.0 to my jboss 7 web application following tutorials like this: http://www.techstacks.com/howto/iis_and_isapi_redirect.html
I used my application before ...
1
vote
1answer
43 views
IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP
I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service:
java.io.IOException: Socket read failed
at ...
1
vote
1answer
19 views
When is necessary integrate Apache httpd with apache tomcat (mod_jk)?
Apache sites, recommend the integration of httpd and tomcat(mod_jk). The first for static and the second for dynamic content. What about the case that the entire page is dynamic. Does it still make ...
0
votes
1answer
80 views
JSP: Trying to configure Apache2 + Tomcat6 using mod_jk
I'm trying to configure Apache2 + Tomcat using the mod_jk on an Ubuntu 10.04.
I installed everything and configured, but it always returns the source code of my JSP files. I've read around that the ...
1
vote
0answers
17 views
tomcat/mod_jk- error trying to configure mod_jk with tomcat+apache web server
I am trying to configure mod_jk so that http://domain.com/ is served by Apache while http://app.domain.com/ is served by Tomcat. Now when I go to app.domain.com, I can see Tomcat message, however I am ...
1
vote
1answer
40 views
tomcat7 beginner- using mod_jk with multiple different domains
I am setting up a server where "domain1.com" and "domain2.com" should be served by Apache HTML/PHP server, while "app.domain1.com" and "domain3.com" should be served by Apache Tomcat.
I want to ...
0
votes
1answer
202 views
Apache mod_jk Setting for Tomcat - workers.properties
I am trying to direct files with .jsp extensions to tomcat. Otherwise I want apache to serve the file directly (no tomcat). Currently I have a test.jsp which is supposed to create an HTML page with ...
0
votes
0answers
56 views
Apache/Jboss Issue - is this connection timeout?
We have an application. The architecture is as below
1 load balancer (apache), which redirects to 2 app servers (jboss). The site is working fine and I am able to access it fine. But sometimes, ...
0
votes
3answers
186 views
SSL connection to Tomcat (behind Apache - mod_jk)
The SSL connection is working for every page on the Apache server except these served to Tomcat. Tomcat works well on http connection.
The setup:
Apache/2.2.21
Tomcat-7.0.23
mod_jk to connect them
...
0
votes
0answers
76 views
mod_jk fails to detect error state because JBoss gives 404, not 500
Configuration:
Apache + mod_jk, several workers on other machines (load balancing).
When JBoss fails to deploy an application for example because of failed connection to the database, requests to ...
0
votes
0answers
109 views
SOAP messages getting cut Apache2->mod-jk->tomcat6 with axis2
I have a tomcat6 server with axis2, that provides web services. This server get connections through an apache2 server using mod_jk.
Most connections are ok, but sometimes I get exceptions like this ...
1
vote
0answers
110 views
mod_jk logs errors but users report none
We have an apache server load balancing requests for downloads to two different servers. The mod_jk error log is filled with the following kind of errors
[Mon Feb 13 16:59:02.948 2012] ...
1
vote
1answer
110 views
setting up workers.properties file for mod_jk
I'm trying to create a workers.properties file to get mod_jk communicating with Apache webserver 2.2.x. The GlassFish 3.1 Administration Document includes the following example for worker.properties:
...
0
votes
1answer
105 views
Putting varnish in front of a mod_jk balanced Glassfish cluster
I am just trying to get varnish in front of Glassfish instances, which are load balanced with the mod_jk connector in Apache. But I don't really know how to combine them. The AJP_Ports for instances ...
0
votes
0answers
91 views
Blazeds with Jboss Clustering ( Mod_JK with SSL )
We are running our flex application in jboss clustering environment with the help of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We are using the SecureAMFChannel as we deploy ...
0
votes
0answers
61 views
Apache2 mod_jk JKManager - false Access-Values?
We have multiple servers using with Apache2 and mod_jk/1.2.28. Because this version of mod_jk has several bugs which are fixed in the new version 1.2.32 i have updated the mod_jk on one server to ...
0
votes
1answer
119 views
Apache 500 on parallels plesk + mod_jk: Could not find a worker for worker name
For a long time I had 3 Java web apps running on box with Parallels Plesk panel. Everything was fine until yesterday.
Without any reason I started to get 500 on all apps running throe mod_jk - php ...
1
vote
1answer
112 views
Apache + Tomcat: Connection, but not via mod_jk
I am tasked with installing a new system to take over the job of an old system. The old system is a Ubuntu installation running Apache and Tomcat, as well as a few other services. The new system will ...
1
vote
1answer
195 views
Tomcat mod_jk cluster skip 404 http status
I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
1answer
138 views
JkMount outside of the <VirtualHost> using /sites-enabed/
I have an Ubuntu 11.10 with Apache2 that is hosting some sites. I would like to add a site that is hosted in tomcat, so I installed mod_jk and set it up. The tomcat site is hosted under /app over ...
0
votes
1answer
399 views
Apache2 mod_jk LoadBalancer + Tomcat7 - Performance-Tuning
we have a very high load System with round about 8.5 Million User per day. Actually we have 8 Apache2 Loadbalancer (Ubuntu 10.04.3 LTS x64 via DNS-RoundRobin) which are sending the traffic via AJP1.3 ...
1
vote
1answer
150 views
Apache & Tomcat & mod_jk SSL redirection on certain pages only
We have a single Windows server running Apache and Tomcat with mod_jk enabled. The Tomcat app runs perfectly fine as does the separate PHP app (under Apache). We installed a commercial SSL cert ...
0
votes
1answer
103 views
Can I compile Passenger (mod_rails/mod_rack) to make a statically linked Apache httpd?
I prefer to disable httpd dynamic module loading on my production server.
I've been using mod_jk linked statically into httpd for quite a long time and it proved to be stable.
Now I would like to ...
1
vote
2answers
75 views
apache and jboss load balancing setup
In a normal load balancing setup with apache(mod_jk) and jboss what part of the total processing is done by apache and what part of it is done by jboss. If apache only balances the load then, in ...
0
votes
1answer
82 views
apache custom-log format with regex expression
We have apache webserver as "entry" for incoming traffic it then delegates to tomcats with mod_jk.
We want to log the HTTP digest username, sample header:
Authorization: Digest username="Mufasa",
...
0
votes
1answer
98 views
URL Rewrite and mod_jk
I want to redefine the base URL of a Tomcat webservice, mounted with JkMount. I tried the following:
JkMount /myapp/* ajp13_worker
RewriteRule ^/service/v1/(.*)$ /myapp/$1 [PT,QSA]
The original ...
0
votes
0answers
58 views
Detect stopped servlet on Tomcat 7 using mod_jk connector
We are currently testing a new cluster designed based on Apache 2.3 with mod_jk 1.2.32 connecting to Tomcat 7.0.20. The main problem we are running into right now is when a Tomcat server is running as ...
0
votes
1answer
50 views
mod_jk between apache and tomcat: making sure 8080 requests still go to tomcat
This question follows a mod_jk configuration question asked earlier. I have managed to to have http://mywebsite.com/MyTomcatApp/ go to Tomcat while having http://mywebsite.com/ go to Apache.
However, ...
0
votes
1answer
93 views
mod_jk configuration for both Apache and Tomcat on same server
I am trying to set-up a proper configuration to have Apache serve some static html pages and to pass other requests for dynamic pages to Tomcat. So far, I have installed Apache2 and Tomcat6 ...
0
votes
0answers
67 views
How can i redirect domains with mod_jk ?
I have 2 domains. olddomain.com and newdomain.com. Whenever users access olddomain.com will be redirected to newdomain.com. My setup is Apache + Mod_jk + Tomcat
I tried to use mod_rewrite, but it cant ...
0
votes
3answers
123 views
Mapping mod_jk to application with different name from alias
We have an internet app called X which is being replaced by a new app called Y.
We use Tomcat instances fronted by Apache to serve X and Y, with communications through mod_jk. There is one Tomcat ...
2
votes
1answer
414 views
Glassfish behind Apache reverse proxy: Mod-jk or HTTP?
I am planning a large deployment of a Glassfish-powered web application:
A number of nodes running multiple Glassfish 3.1.1 instances are running the web application.
The web application consists of ...
0
votes
1answer
86 views
Deploying war with custom context in Tomcat
I have a Tomcat server fronted by Apache with comms using AJP. The configuration uses JkMount for mapping URLs on Apache to the Tomcat node.
I am helping in the deployment of an application which is ...
0
votes
1answer
110 views
Virtual Hosts with Tomcat + Mod JK
I have set up Apache and Tomcat on my system and I want to combine both using Mod_JK.
I have created a mod_jk worker (ajp13_worker) and added a virtual host to my Apache config:
<VirtualHost ...
0
votes
1answer
588 views
Farm Deployer not working in Tomcat Cluster
I have setup apache-tomcat clustering(Ubuntu Server) and I used tomcat supported clustering technique with mod_jk following the link. I've setup with One Load Balancer and Two web servers.
The major ...
0
votes
1answer
212 views
Tomcat web application high availability
I have setup apache-tomcat clustering(Ubuntu Servers) and I used tomcat supported clustering technique with mod_jk following the link which is clear and easy to follow.
I did this in my LAN with ...
0
votes
0answers
276 views
tomcat stopped working
Not sure what happened here. The app was working just fine until today. I am getting a 503 Service temporarily unavailable error when trying to connect to a tomcat site using Apache as the front end ...
0
votes
0answers
191 views
Installing Apache Tomcat connector
I'm trying to install the Tomcat Apache connector without success.
I downloaded the first Apache Tomcat connector listed: tomcat-connectors-1.2.32-windows-i386-httpd-2.0.x.zip
After adding mod_jk.so ...
0
votes
2answers
126 views
Is this weird Apache access log a security risk?
Below is a copy of a weird access log I found in my Apache logs folder:
127.0.0.1 - - [24/Oct/2010:13:49:45 +0200] "GET /x64 HTTP/1.1" 301 229
127.0.0.1 - - [24/Oct/2010:13:49:48 +0200] "GET /x64/ ...
1
vote
1answer
109 views
multiple loadbalancers in modjk configuration in Apache Webserver for JBoss Instance Load-balancing
In most of the cases, we will have
1)only one worker defined of type 'lb' (Loadbalancer)
2)we will have multiple member workers (target application server instances defined)
3)We will map those target ...
0
votes
1answer
103 views
Is there any reason to use Apache as a proxy between my users and Glassfish?
I've seen a lot of discussion on the best way to use Apache as a proxy (either mod_proxy or mod_jk) with Glassfish (and other Java application servers), but I haven't seen anybody really explain why.
...
0
votes
2answers
43 views
partial shutdown of loadbalanced app
I have a pair of tomcat servers sitting behind an apache server running modjk2. the apache server load balances sessions to the tomcat servers (using x.sticky_session=True). This all works fine, ...
1
vote
0answers
102 views
mod_jk with Tomcat 6 and HTTP Authentication
Are there any gotchas using ModJK to forward to an application protected by standard HTTP Authentication?
We have two web apps installed on our Tomcat 6.0.14, one is the standard Tomcat Manager while ...
0
votes
1answer
139 views
mod_jk to forward to tomcat installed on other server?
Is it possible to forward the request from IBM HTTP server installed on solaris machine to Tomcat installed on windows machine using mod_jk?
IHS is installed on solaris and I have attached mod_jk ...
0
votes
0answers
114 views
mod_jk sticky sessions with Tomcats 5 and 6
We have instances of Tomcat 5 (JDK1.5) and Tomcat 6 (JDK1.6) running quite happily on a RHEL 4 machine. They are fronted by Apache 2.2.8 with mod_jk.
The Tomcat 5 instances are configured in the ...
0
votes
1answer
561 views
apache mod_jk loadbalancing issue for glassfish cluster instances
I have a JEE ear application deployed on 2 clusters with 2 instances each on Glassfish v3.1. These are load balanced by an Apache server running on the same machine. My problem is that I am frequently ...
1
vote
1answer
144 views
JBoss 5.1.0 GA with Apache Load Balancer
I've followed the tutorial here: http://community.jboss.org/wiki/UsingModjk12WithJBoss
All my files as configured as it says there but then I try to access http://localhost/jmx-console I get
Proxy ...
0
votes
1answer
507 views
Large concurrent user performance issues for Apache + mod_jk + GlassFish v3.1 clusters
I am running a java ee 6 ear application on a GlassFish v3.1 ( 2 clusters with 2 instances each) load balanced by an Apache v2.2 with mod_jk - all on the same server (Windows Server 2003 R2, Intel ...
0
votes
0answers
158 views
Spring Security, Apache 2 fronting Tomcat6. Can't login / immediatly logs out
I deployed my GWT app, that uses SpringSecurity, and have a problem.
After feeding the credentials it logs out immediately. If I put in the wrong credentials, it says 'wrong credentials', but when I ...