I am doing a proof of concept for Ehcache-RMI Replication.
I am using 2 laptops, both running terracotta server. (And both are in same network). ehcache.xml is configured for Automatic peer discovery using multicast IP.
Both have a stand alone java program.
I ran the main program in one laptop first,Since its a cache miss for first time, it will write into the cache. When I ran program from another laptop, i am getting this exception..
13 Mar, 2012 12:12:15 AM net.sf.ehcache.pool.sizeof.AgentLoader <clinit> INFO: Unavailable or unrecognised attach API : java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine 13 Mar, 2012 12:12:15 AM net.sf.ehcache.pool.sizeof.JvmInformation <clinit> INFO: Detected JVM data model settings of: 32-Bit HotSpot JVM But, on another laptop, it just seems perfect. Its saying,
Mar 13, 2012 12:07:31 AM net.sf.ehcache.pool.sizeof.AgentLoader$1 run INFO: Located valid 'tools.jar' at 'C:\Program Files\Java\jdk1.6.0_24\jre\..\lib\tools.jar' I am really stuck..
Can somebody help!