Microsoft
Software
Hardware
Network
Question : Configure apache and jboss
What is the problem and where is the problem?
Continual HTTP Error:
[Sun Jun 07 17:35:54 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
[Sun Jun 07 17:35:54 2009] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Sun Jun 07 17:35:54 2009] [error] proxy: AJP: failed to make connection to backend: localhost
[Sun Jun 07 17:36:02 2009] [error] proxy: AJP: disabled connection for (localhost)
[Sun Jun 07 17:36:17 2009] [error] proxy: AJP: disabled connection for (localhost)
[Sun Jun 07 17:36:20 2009] [error] proxy: AJP: disabled connection for (localhost)
[Sun Jun 07 17:36:27 2009] [error] proxy: AJP: disabled connection for (localhost)
[Sun Jun 07 17:36:39 2009] [error] proxy: AJP: disabled connection for (localhost)
[Sun Jun 07 17:36:45 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 07:59:24 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
[Mon Jun 08 07:59:24 2009] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Mon Jun 08 07:59:24 2009] [error] proxy: AJP: failed to make connection to backend: localhost
[Mon Jun 08 07:59:26 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 07:59:47 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:06 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:07 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:09 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:16 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:16 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:21 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:00:30 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
[Mon Jun 08 08:00:30 2009] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Mon Jun 08 08:00:30 2009] [error] proxy: AJP: failed to make connection to backend: localhost
[Mon Jun 08 08:00:39 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:01:14 2009] [error] proxy: AJP: disabled connection for (localhost)
[Mon Jun 08 08:01:18 2009] [error] proxy: AJP: disabled connection for (localhost)
Server version: Apache/2.2.3
Server built: Jan 21 2009 22:00:55
OS: Linux Centos 2.6.18-53.1.21.el5 #1 SMP Tue May 20 09:35:07 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Java/J2EE: jboss-4.2.2.GA using TOMCAT
In proxy_ajp.conf:
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
In httpd.conf:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ServerName xxx.yyy.com
ErrorLog logs/messaging_error_log
CustomLog logs/messaging_access_log common
ProxyPreserveHost On
ProxyPass / ajp://localhost:8009/
# java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
netstat -antup | grep 8009
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:47998 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:47996 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:47995 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:47994 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:47992 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:47988 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:45978 ESTABLISHED 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:38037 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:57274 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50425 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50424 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50423 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50422 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50421 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50420 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50419 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:8009 127.0.0.1:50417 CLOSE_WAIT 9518/java
tcp 0 0 127.0.0.1:47996 127.0.0.1:8009 ESTABLISHED 12904/httpd
tcp 0 0 127.0.0.1:47998 127.0.0.1:8009 ESTABLISHED 12915/httpd
tcp 0 0 127.0.0.1:47992 127.0.0.1:8009 ESTABLISHED 12901/httpd
tcp 0 0 127.0.0.1:47995 127.0.0.1:8009 ESTABLISHED 12903/httpd
tcp 0 0 127.0.0.1:47994 127.0.0.1:8009 ESTABLISHED 12902/httpd
tcp 0 0 127.0.0.1:47988 127.0.0.1:8009 ESTABLISHED 12900/httpd
tcp 0 0 127.0.0.1:45978 127.0.0.1:8009 ESTABLISHED 12941/httpd
Answer : Configure apache and jboss
Hey,
You can refer below link to configure apache with jboss
http://www.jboss.org/
community/
wiki/Using
Modjk12Wit
hJBoss
You have to use mod_jk to connect the apache and jboss with ajp13 connector
Regards,
Pramod
Random Solutions
Network Connection Switches from 1Gbps to 100Mbps for no Reason
the WAS server goes down occasionaly
Call Centre Solution
UP-NO-IKE session Status on IPSEC VPN
2nd domain controller for remote site
How to switch from peer-to-peer adhoc wireless back to wireless network
How to configure default interface for internet ?
NIC status display in Windows XP -- Duplex Status
why would I get a clock change on my ATM interfaces
VPN slows internet conection