I use terracotta to make a cluster with tomcat,when the terracotta sever down,the tomcat instance will connect the teeracotta server but it can not connet it so the application will not work.Worse is that i can not run the terracotta server again unless i down all the tomcat instance.
This is a single-point problem,how can i solve it?
the exception while run terracotta before tomcat shutdown:
java.io.IOException: Unable to delete 'D:\tools\Terracotta\terracotta-2.3.0\samp
les\..\lib\dso-boot\dso-boot-hotspot_win32_150_11.jar'
at com.tc.object.tools.BootJarHandler.copyFile(BootJarHandler.java:176)
at com.tc.object.tools.BootJarHandler.createFinalBootJar(BootJarHandler.
java:120)
at com.tc.object.tools.BootJarHandler.announceCreationEnd(BootJarHandler
.java:85)
at com.tc.object.tools.BootJarTool.generateJar(BootJarTool.java:344)
at com.tc.object.tools.BootJarTool.main(BootJarTool.java:1913)
*************** ERROR ***************
* ERROR creating boot jar
*************************************
You can run the Terracotta servers in a HA mode with 1 active and any number of standbys - See "how to cluster Terracotta servers" at http://forums.terracotta.org/forums/posts/list/264.page - so, you could for example run 2 terracotta servers on different ports and indicate that in the config.
Thanks
Sreeni Iyer.