OOOOOOKKKKK
For all those wondering how to get this beast working!!!!!
Centos did us some real favours
1. Enabled firewall by default
2. Changed firewall name!!!
3. added network manager
4. Default bind for tomcat ipv6
STOP you alfresco
if you specified the "fast" install , then you need to go into
../tomcat/shared/classes/alfresco-global.properties
and setup the address you want to listen on, default is 127.0.0.1
TURN OFF IPV6
go into /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
ADD THIS TO TRY TO BIND TO IPV4 first
…tomcat/bin/setenv.sh
ADD a MIDDLE LINE to the config
JAVA_OPTS="-XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC …….
—->JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true $JAVA_OPTS "
*JAVA_OPTS="-Xms512M -Xmx3835M $JAVA_OPTS " # java-memory-settings
restart server (yes the real one not tomcat)
test that you are listening on IPV4 for tomcat
netstat -lnp | grep 8181 OR netstat -atnp|grep LISTEN
tcp 0 0 0.0.0.0:8181 0.0.0.0:* LISTEN 2130/java
FINALLY
systemctl disable firewalld
systemctl stop firewalld
ALSO check iptables NOT running.
This will get you up and running… it is your responsibility to figure out if the setup is secure and if you want to re-enable ipv6
On the centos 6.x, not all VM environments are the same some bring the network up, others don't also network manager sometimes has its sticky paws in the settings.