mod-jk

mod_jk problems with connecting apache2 and tomcat6

Hi, I am trying to configure mod_jk to forward requests to my webapp running in tomcat. ( I read else where that mod_proxy_ajp is the way to go but want to get this figured out first). I am new to tomcat and mod_jk. I try to access -- http://www.example.com/test/index.jsp I get a 400 error in my apache logs after I configured mod_jk. ...

mod_jk on windows 64 bit

Anyone know where to get a windows 64 bit shared object for mod_jk. I've just moved to 64 bit machine. It's not where I would expect to find it: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.28/ia64/ ...

mod_jk help with apache2 tomcat6 and railo3 on ubuntu server 9.04

Hello I am trying to setup the coldfusion server railo on tomcat6 and using apache2 to connect to tomcat via mod_jk. I've gotten everything setup except that i would like to be able to have my railo webapp use the /var/www (my default apache directory) as its home directory since not every file need to be processed by railo. What is the ...

JSP deploy problem in jboss

I have Jboss 4.0.4GA setup in Linux. after I start my jboss without problem, I tried to access JSP page in browser, got error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. A name was started with an inva...

Should mod_proxy_ajp or mod_jk be used for a production environment?

I've been searching over the past few days of whether I should use mod_proxy_ajp or mod_jk to connect apache httpd and tomcat. All the sites I find are a few years old and outdated. So, which is best to use for a proper production environment? Is mod_proxy_ajp mature enough to entirely replace mod_jk, or is mod_jk still best if you can ...

Removing Tomcat context from URLs for a virtual host (mod_jk, mod_rewrite)

Hi All, I have a single Tomcat instance containing a number of webapps, each accessible via it's /Context. Tomcat is behind httpd (actually Debian Apache2), configured with virtual hosts to serve each app/Context. Tomcat connectivity is with mod_jk. This works fine when I don't care about removing the context from urls: when the root ...

Configuring mod_rewrite and mod_jk for Apache 2.2 and JBoss 4.2.3

Hello! My problem is as follows: I have JBoss 4.2.3 application server with AJP 1.3 connector running on one host under Windows (192.168.1.2 for my test environment) and Apache 2.2.14 running on another FreeBSD box (192.168.1.10). Apache acts as a "front gate" for all requests and sends them to JBoss via mod_jk. Everything was working fi...

Problem installing mod_jk on Ubuntu karmic apache httpd 2.2.12 and tomcat 6

I have a problem when configuring mod_jk on ubuntu i use apache httpd 2.2.12 and tomcat 6 I installed apache httpd and lib mod_jk from synaptic and use default configuration. Here my mod_jk.conf ------------------------------------------------------------- # Load mod_jk module # Update this path to match your modules location #LoadModu...

tomcat behind 2 apache http server

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 Ajp [Apache A] -------> [Apache B] ----------> [Tomcat] ??? many thanks in advance. ...

Tomcat stops responding to JK requests

Hello. I have a nasty issue with load-balanced Tomcat servers that are hanging up. Any help would be greatly appreciated. The system I'm running Tomcat 6.0.26 on HotSpot Server 14.3-b01 (Java 1.6.0_17-b04) on three servers sitting behind another server that acts as load balancer. The load balancer runs Apache (2.2.8-1) + MOD_JK (1.2.25...

Wicket application + Apache + mod_jk - AJP queues are filling up!

Dear community, We are having a Wicket-based Java application deployed in a production server cluster using Apache (2.2.3) with mod_jk (1.2.30) as load balancing component w/ sticky session and Jboss 5 as application container for the Java application. We are inconsistently seeing an issue in our production environment where our AJP qu...

Apache + Tomcat with mod_jk: maxThread setting upon load balancing

Hi, I have Apache + Tomcat setup with mod_jk on 2 servers. Each server has its own Apache+Tomcat pair, and every request is being served by Tomcat load balancing workers on 2 servers. I have a question about how Apache's maxClient and Tomcat's maxThread should be set. The default numbers are, Apache: maxClient=150, Tomcat: maxThread...

mod_rewrite with mod_jk, rule works on one server, gives a 404 on another

Hi all. I am using mod_jk and mod_rewrite on httpd 2.2.14. I have a rule.... RewriteCond %{REQUEST_URI} !^/video/play\.xhtml.* RewriteRule ^/video/(.*) /video/play.xhtml?vid=$1 [PT] I just want to rewrite something like /video/videoidhere to /video/play.xhtml?vid=videoidhere This works perfectly on my developer machine, but on produ...

How to disable compression in Apache on some response header from mod_jk proxied application server

I have a tomcat server configured (by mod_jk) to work through Apache Httpd server. Apache Httpd server compresses (by mod_deflate) all text/html sent to browser. Some jsp pages are interactive and long running, i.e. display progress or log during execution. If compression turned on, all text on these pages comes at the end of page exec...

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 serve a single request. I am trying to use the forumula here http://people.apache.org/~mt...

Problem getting apache to default to a particular JKMount using mod_jk

Hi, I have an apache instance fronting 4 tomcat webapps, lets call them app1, app2, app3, app4. I'm using mod_jk to act as the connector and I've set up apache with JKMount entries for each and I can happily hit: server:8080/app1 server:8080/app2 server:8080/app3 server:8080/app4 But what i actually want is to have all the traffic ...

Apache's mod_jk vs Oracle WebCache

Hi, What is the difference in the load balancing capabilities of Apache's mod_jk and Oracle's Oracle WebCache ? If my application doesn't have any need for caching (hence no use of caching features of Oracle WebCache), then how do they both rate ? The obvious thing is cost. mod_jk is open source while WebCache isn't. Apart from this, how...

mod_jk connection problems with axis2 requests

Our Apache2 web server is connected to Tomcat6 with mod_jk. The Apache2 web server is running on CentOS Linux and has a VPN connection to the tomcat. Our web application is running fine, but when we try to connect with axis2 it doesn't work. We tried running the Apache web server on a a different (Windows) machine and it worked. Also co...

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 7800 https://bar.com ==> port 7801 My server is currently an old iPlanet box that defines t...

Apache httpd 2.2.x + mod_jk 1.2.30 + tomcat 6 Error : Could not find worker with name 'XXXXX' in uri map post processing.

I am getting the following error while setting up the load balancer with two tomcat instances : Blockquote [info] mod_jk.c (3189): mod_jk/1.2.30 initialized [error] jk_uri_worker_map.c (506): Could not find worker with name 'loadmanager' in uri map post processing. Blockquote Follwoing are configuration settings: httpd.conf ch...