Problem with configuration Jboss and mod_cluster 1.3.1 on Ubuntu 14.04
echo89 Mar 7, 2016 5:59 PMHi to all, I have a lot of headache with this problem. I'm installing JBoss with mod_cluster for an university project, and for a week I have the same problem:
INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command INFO to proxy 192.168.122.228/192.168.122.228:6666: java.net.SocketTimeoutException: Read timed out
[Server:ha-server-2] at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_79]
[Server:ha-server-2] at java.net.SocketInputStream.read(SocketInputStream.java:152) [rt.jar:1.7.0_79]
[Server:ha-server-2] at java.net.SocketInputStream.read(SocketInputStream.java:122) [rt.jar:1.7.0_79]
[Server:ha-server-2] at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_79]
[Server:ha-server-2] at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_79]
[Server:ha-server-2] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_79]
[Server:ha-server-2] at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_79]
[Server:ha-server-2] at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_79]
[Server:ha-server-2] at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_79]
[Server:ha-server-2] at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_79]
[Server:ha-server-2] at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:668)
[Server:ha-server-2] at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:367)
[Server:ha-server-2] at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:347)
[Server:ha-server-2] at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:460)
[Server:ha-server-2] at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:239)
[Server:ha-server-2] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.0.13.Final.jar:]
[Server:ha-server-2] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337) [jbossweb-7.0.13.Final.jar:]
[Server:ha-server-2] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) [jbossweb-7.0.13.Final.jar:]
[Server:ha-server-2] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) [jbossweb-7.0.13.Final.jar:]
[Server:ha-server-2] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
[Server:ha-server-2]
^C[Server:ha-server-2] 23:24:00,414 INFO [org.jboss.as.controller] (MSC service thread 1-2) JBAS014774: Service status report
[Server:ha-server-2] JBAS014775: New missing/unsatisfied dependencies:
[Server:ha-server-2] service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication (missing) dependents: [service jboss.server.controller.management.security_realm.ApplicationRealm]
[Server:ha-server-2]
For what I see online, this is a bug of mod_cluster, resolved in this discussion: JBoss errors after moving to Apache 2.4 and mod_cluster 1.2.1.Final
But I think that in the binaries file this problem stiil there.
I have configured all well I think, and I have all firewall off. I configured Jboss in domain mod, with JBoss 7.1. Is all ok, I followed this guide:http://middlewaremagic.com/jboss/?p=2147
and I set-up all well. Now I'm in this big problem, and I don't know really how to resolve it.
I have 3 machine. One master, one slave, and one for httpd request where I have installed mod_cluster. The admin of mod_cluster give this response:
mod_cluster/1.3.1.Final
start of "httpd.conf" configuration
mod_proxy_cluster.c: OK
mod_sharedmem.c: OK
Protocol supported: http AJP
mod_advertise.c: OK
Server: 192.168.122.228
Server: ubuntu-server-jboss-2 VirtualHost: *:80
Server: ubuntu-server-jboss-2 VirtualHost: 192.168.122.228:6666 Advertising on Group 224.0.1.105 Port 23364 for http://192.168.122.228:6666 every 5 seconds
end of "httpd.conf" configuration
And nothing else.
Apache logs of mod_cluster are:
[Mon Mar 07 23:23:19.387735 2016] [:debug] [pid 1757] mod_manager.c(2987): manager_handler INFO processing: ""
[Mon Mar 07 23:23:19.387738 2016] [:debug] [pid 1757] mod_manager.c(3038): manager_handler INFO OK
[Mon Mar 07 23:23:24.534572 2016] [authz_core:debug] [pid 1771] mod_authz_core.c(802): [client 192.168.122.1:44401] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:24.534752 2016] [authz_core:debug] [pid 1771] mod_authz_core.c(802): [client 192.168.122.1:44401] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:24.535995 2016] [deflate:debug] [pid 1771] mod_deflate.c(849): [client 192.168.122.1:44401] AH01384: Zlib: Compressed 928 to 453 : URL /mod_cluster-manager
[Mon Mar 07 23:23:24.682893 2016] [proxy:debug] [pid 1830] proxy_util.c(1694): AH00925: initializing worker proxy:reverse shared
[Mon Mar 07 23:23:24.684552 2016] [proxy:debug] [pid 1830] proxy_util.c(1734): AH00927: initializing worker proxy:reverse local
[Mon Mar 07 23:23:24.685255 2016] [proxy:debug] [pid 1830] proxy_util.c(1785): AH00931: initialized single connection worker in child 1830 for (*)
[Mon Mar 07 23:23:24.686066 2016] [:debug] [pid 1830] mod_proxy_cluster.c(1054): update_workers_node starting
[Mon Mar 07 23:23:24.686804 2016] [:debug] [pid 1830] mod_proxy_cluster.c(1066): update_workers_node done
[Mon Mar 07 23:23:24.687680 2016] [:debug] [pid 1830] mod_proxy_cluster.c(1054): update_workers_node starting
[Mon Mar 07 23:23:24.687711 2016] [:debug] [pid 1830] mod_proxy_cluster.c(1066): update_workers_node done
[Mon Mar 07 23:23:24.687743 2016] [:debug] [pid 1830] mod_proxy_cluster.c(1054): update_workers_node starting
[Mon Mar 07 23:23:24.687755 2016] [:debug] [pid 1830] mod_proxy_cluster.c(1066): update_workers_node done
[Mon Mar 07 23:23:39.015869 2016] [:debug] [pid 1773] mod_manager.c(2271): manager_trans INFO
[Mon Mar 07 23:23:39.016318 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016333 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016387 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016391 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016415 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016418 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016427 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016430 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016449 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016452 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016461 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016464 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016478 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:39.016481 2016] [authz_core:debug] [pid 1773] mod_authz_core.c(802): [client 192.168.122.227:56772] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:39.016489 2016] [:debug] [pid 1773] mod_manager.c(2987): manager_handler INFO processing: ""
[Mon Mar 07 23:23:39.016493 2016] [:debug] [pid 1773] mod_manager.c(3038): manager_handler INFO OK
[Mon Mar 07 23:23:49.413717 2016] [:debug] [pid 1754] mod_manager.c(2271): manager_trans INFO
[Mon Mar 07 23:23:49.414422 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.416487 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.416717 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.416773 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.416863 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.416892 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.416952 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.416970 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.416997 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.417013 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.417101 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.419039 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.419145 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:23:49.419182 2016] [authz_core:debug] [pid 1754] mod_authz_core.c(802): [client 192.168.122.130:51645] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:23:49.419219 2016] [:debug] [pid 1754] mod_manager.c(2987): manager_handler INFO processing: ""
[Mon Mar 07 23:23:49.419247 2016] [:debug] [pid 1754] mod_manager.c(3038): manager_handler INFO OK
[Mon Mar 07 23:24:29.006369 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:24:29.006580 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:24:29.006653 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:24:29.006661 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:24:29.007257 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:24:29.007271 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of <RequireAny>: granted
[Mon Mar 07 23:24:29.008705 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of Require all granted: granted
[Mon Mar 07 23:24:29.008720 2016] [authz_core:debug] [pid 1755] mod_authz_core.c(802): [client 192.168.122.130:51654] AH01626: authorization result of <RequireAny>: granted
From here, with log level debug, I don't see anything strange. I don't know really what I can do. I tried also to reset all configuration, and try again to redo all. Jboss works very well, but I can't configure it with mod_cluster.
I hope that anyone can help me.
Best regards to all,
Ivan