[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: gauravsh  XML
Profile for gauravsh -> Messages posted by gauravsh [3]
Author Message
hello,
I am Using Bigmemory Max to set up a 2active-2mirror System.

There are 2 clients that are connected to this system.

One initializes a cacheEventListener and the other adds,updates and removes some Elements to the cache. Both the clients are configured to act on the same Ehcache and CacheManager.

Now the Problem i have is with this Listener.
The put and remove operations are calling the notifyElementPut() and notifyElementRemove() methods respectively, but the update operation is not calling the notifyElementUpdate() method. It is Calling the notifyElementPut() as well.

I have checked the data in the Cache using the TMC, and have verified that it is updating the existing element, but not calling the correct method.


My cache listener config in the .xml file is as follows :-


<cacheEventListenerFactory class="net.sf.ehcache.event.TerracottaCacheEventReplicationFactory" properties="replicatePuts=true, replicateUpdates=true, replicateRemovals=true "/>


I believe i have initialized the listeners properly as the other listener methods are being invoked properly.


Also Note that all the 4 servers are actually being implemented on a single machine( using one virtual box OS ), so if this problem can also be generated due to excessively filled of RAM and swap , then please do tell.
yes , I found that after reading the documentation once more, that either the tsa-port or the tsa-group-port need to Specified with the TMC.

Now the only problem is that even they do not connect. It always shows a read timed out error.

The structure of my machine is as follows :-
one Active and Mirror server group is running on my local machine and another Active and mirror server group is running in a VirtualBox inside the local machine.

now the problem is that when i try to run the TMC from the VirtualMachine it fetches the correct Configuration File and shows servers running on the Virtual machine in online state and the servers on the local machine in offline state even when it is online. and when i try to run the TMC from the local machine, it just does not fetch the Configuration file and always shows a "READ TIMED OUT" error.


ps : i'm running CentOS version 6.5 on both the machines.
I am Setting up a TSA with 2 mirror groups each containing an active and a mirror server.
My TSA starts up normally but the TMC console is unable to read the state os the TSA and always shows it in offline state even though the TSA has started.


it shows the following error in the TMC console :-




The action could not be performed.
Impossible to connect to the agent
Details :
Invalid Http response
Help!


Gaurav Shah
 
Profile for gauravsh -> Messages posted by gauravsh [3]
Go to:   
Powered by JForum 2.1.7 © JForum Team