Include conf/httpd-ssl5/*.conf is there any thing there?
Try first without SSL between httpd and jboss, comment out the SSLProxy* directive.
Thanks for the reply. I've pared the config file way down and made a discovery. If I comment out "ServerAdvertise On", it starts up fine. If I uncomment it, it hangs again. Here's the full config I'm using now:
LogFormat "%V %h %l %u %t \"%r\" %>s %b" common-vhost
LoadModule proxy_module modules/mod_cluster/mod_proxy.so
LoadModule slotmem_module modules/mod_cluster/mod_slotmem.so
LoadModule manager_module modules/mod_cluster/mod_manager.so
LoadModule proxy_cluster_module modules/mod_cluster/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_cluster/mod_advertise.so
LoadModule ssl_module modules/mod_ssl.so
CustomLog "/var/log/httpd/ssl/access" common-vhost
1 of 1 people found this helpful
Hi there! If you comment it out the default gets used and the default is off. So looks like the problem is somewhere in the UDP multicasting.
So to workaround if you want to use mod_cluster before this issue is resolved you can use on your JBoss instance the proxyList parameter.
Oddly enough, it only works if I comment out the directive entirely:
ServerAdvertise On - hangs
ServerAdvertise Off - hangs
#ServerAdvertise On - does not hang
I'm using proxyList now as a workaround but it would be nice to have this working on Apache instances that need mod_ssl for serving secure content to users. I've tried building a clean environment on another physical server and I get the same result. Bug?
I know UDP multicasting works though: if I disable mod_ssl, then mod_cluster with ServerAdvertise On starts up fine and autodiscovery works as expected. I'm curious whether anyone else using Solaris 10 is/isn't experiencing this problem.
So if I understand correctly the issue is ONLY when using mod_ssl and mod_cluster with ServerAdvertise On? Also is this ONLY on Solaris or on RHEL/Fedora too?
If only you could provide a test case :-(
"Solaris 10 SPARC
Apache/2.2.19 --with-mpm=worker --enable-nonportable-atomics=yes (also tried Apache/2.2.15)"
Could you try without the "--enable-nonportable-atomics=yes" ?
In fact if you have the ServerAdvertise On/Off commented out the Advertise thread won't be started. The only thing I see is "--enable-nonportable-atomics=yes" that may interacts with threads.
Seems like a reasonable theory...though I'd rather specify web servers manually with proxyList than go without "--enable-nonportable-atomics=yes" (optimizations for SPARC). Next time I build Apache I'll try it without that for testing purposes and report the results back to this thread. Thanks everyone!