I have 2 9.8 IS’s installed along with Terracotta for clustering purposes only. I have Terracotta starting up just fine on both IS’s. However during IS startup on both IS’s I’m getting the following:
Could not fetch configuration data from 2 different configuration sources. The sources we tried were: the server at ‘yvm6batchstg01..com:9510’, and the server at 'yvm6batchstg02..com:9510’. Fetch attempt duration: 60 seconds.
Yes Terracotta is up and running on both cluster servers
I first get this on the server.log:
2015-07-27 16:51:07 CDT [ISS.0017.0001E] An error was encountered parsing SoftwareAG-IS-Core.xml: net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory. Initial cause was org.terracotta.toolkit.ToolkitInstantiationException: java.lang.RuntimeException: Unable to create toolkit.
then eventually in the stack trace you see this:
Caused by: java.lang.RuntimeException: com.tc.config.schema.setup.ConfigurationSetupException:
Could not fetch configuration data from 2 different configuration sources. The sources we tried were: the server at ‘wm9batchstg01..com:9510’, and the server at 'wm9batchstg02..com:9510’. Fetch attempt duration: 60 seconds.
To correct this problem specify a valid configuration location using the -f/–config command-line options.
I have this working on another sandbox cluster and tried telneting to that server at port 9510 and it was successful. Then I tried doing the same for the servers giving me issues and I get Connection refused. These are brand new Linux VMs, so just wondering if something could be missing when they built them causing the IS to not be able to communicate with Terracotta? Or am I way off on this?
If you are unable to telnet on new linux vm’s there might be some network block or port needs to be opened (meanwhile include the network admin team also)
Also check and confirm the hotspot JDK version on your OS.
And also restarting the terracotta server might help you.
Thanks for all your replies, what happened was that we had tar’d up an existing cluster IS that was working and laid it down on a new VM, modified everything for the new VM and then started up Terracotta and then the IS’s. Discovering the hard way that server-data directory contents in the bin directory for Terracotta are built for the IS at startup time the first time and it obviously contains pertinent data for that IS. Once I deleted that directory and started things back up the clustering worked.