Liferay Symposium 2016 | Reserve your seat today.
1. Installation / Deployment / Setup
(Opens New Window)
Mark as an Answer
Deploying Liferay to existing Glassfish cluster - domain.xml overwritten
March 27, 2013 10:17 AM
Rank: Junior Member
Join Date: January 29, 2013
I've set up a Glassfish cluster, and been able to deploy Liferay to the cluster successfully. I'm now trying to set up synchronized caching per the Liferay High Availability guide.
When I attempt to deploy to the cluster, I get one of two warnings, which appear to be caused by the following exception:
java.lang.RuntimeException: the type of the stack (IPv6) and the user supplied addresses (IPv4) don't match: localhost/127.0.0.1, /22.214.171.124.
Use system props java.net.preferIPv4Stack or java.net.preferIPv6Addresses to pick the correct stack
I have added <jvm-options>-Djava.net.preferIPv4Stack=true</jvm-options> to the domain.xml file for my admin host, and I have confirmed that the changes I make there propagate to the remote nodes.
When I deploy, these changes seem to be overwritten. Are there any special steps I need to take to ensure that this settings change remains permanent?
Sign in to vote.
Please sign in to flag this as inappropriate.