You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "krishnadasan T S (JIRA)" <ji...@apache.org> on 2009/02/27 06:08:01 UTC

[jira] Created: (OPENJPA-945) Cache synchronizing in multipele javm on single machine

Cache synchronizing in multipele javm on single machine
-------------------------------------------------------

                 Key: OPENJPA-945
                 URL: https://issues.apache.org/jira/browse/OPENJPA-945
             Project: OpenJPA
          Issue Type: Test
          Components: datacache
         Environment: linux,java 1.5,weblogic10.0
            Reporter: krishnadasan  T S
            Priority: Critical


Hi,


      I am using two managed servers in a cluster in same machine.For Cache synchronization across multiple JVM I tried to use the following settings in persistance.xml.

  <property name="kodo.RemoteCommitProvider" value="tcp(Addresses=192.168.39.23)">

But when i deploy this application into cluster in one of the manged server i am getting a socket connection error.I think it is because of the two manged server in cluster is in same mechine.Both server trying to listen on the same default port. I could able to make it work when i used two managers in to different machine.But from the documentation i can not figure out how i can configure TCP option for remote commit provider in the case of same machine with multiple jvm. I also tried with

    <property name="kodo.RemoteCommitProvider" value="wls-cluster"/>

 this also work fine when they are in two different machine but not working when they are in same machine.


 I could not figure out the remote commit provider for multiple jvm and same machine.

can anyone please help me.....

thanks and regards
Krishnadasan T S

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.