[PIM] Redhat, ipv6 and tomcat/proxy recording not working (12.9+)

Discussion created by Simon_Naunton Employee on Nov 18, 2015

I have had a couple of cases recently where customers have reported proxy recording not working. This turned out to be due to redhat/java preferring to use ipv6 and not giving tomcat a port on ipv4 addresses. My solution to add address="" to the connector port in /opt/CA/AccessControlServer/apache-tomcat-7.0.54/conf/server.xml from the Re: PIM: Proxy Recording "It's not recording!" Checklist  thread did not work.


Here is a another solution, run the following commands:


echo CATALINA_OPTS=\"\" >> /opt/CA/AccessControlServer/apache-tomcat-7.0.54/bin/
chmod +x /opt/CA/AccessControlServer/apache-tomcat-7.0.54/bin/


This will create a file, or append to it if it already exists, called /opt/CA/AccessControlServer/apache-tomcat-7.0.54/bin/ with the line:



This will tell java to use ipv4 instead of ipv6 when starting tomcat. You need to restart tomcat after doing this, of course.


You could of course use an editor like vi to create or edit, but who wants to use vi...?