Combination View Flat View Tree View
Threads [ Previous | Next ]
Dave F
Deploying Liferay to existing Glassfish cluster - domain.xml overwritten
March 27, 2013 10:17 AM
Answer

Dave F

Rank: Junior Member

Posts: 30

Join Date: January 29, 2013

Recent Posts

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:

1java.lang.RuntimeException: the type of the stack (IPv6) and the user supplied addresses (IPv4) don't match: localhost/127.0.0.1, /239.255.0.1.
2Use 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?

Thanks.