Thanks Massi, I have it working now, although I ran into issues with the H2
approach, I'm using MySQL instead and it works perfectly.

Colm.

On Wed, Jan 6, 2016 at 3:05 PM, Massimiliano Perrone <
[email protected]> wrote:

>
>
> Il 06/01/2016 15:58, Colm O hEigeartaigh ha scritto:
>
>
> I'm aware of that :-) Obviously the Tomcat instances are on different
> ports. I want to know if there is a way around the
> "openjpa.RemoteCommitProvider" configuration, as you can't specify a port
> per IP address here.
>
>
> Hi Colm,
> I found this [1], as you can read at paragraph 2.1.2 TCP you can configure
> the addresses and the port for the openjpa.RemoteCommitProvider property.
>
> Regards,
> Massi
>
> [1]
> http://openjpa.apache.org/builds/1.2.3/apache-openjpa/docs/ref_guide_event.html
>
>
> Colm.
>
> On Wed, Jan 6, 2016 at 1:04 PM, Leonardo K. Shikida < <[email protected]>
> [email protected]> wrote:
>
>> I think you cannot have 2 instances of anything in the same machine
>> sharing the same port
>>
>> []
>>
>> Leo
>>
>> On Wed, Jan 6, 2016 at 10:58 AM, Colm O hEigeartaigh <
>> <[email protected]>[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I want to set up a trivial Syncope cluster on my machine (to test a
>>> CXF-based client using CXF's failover feature). I had thought of just
>>> setting up two Tomcat instances on different ports using a shared H2
>>> database file sitting on the hard drive.
>>>
>>> Is it still necessary to set a value for "openjpa.RemoteCommitProvider"
>>> as per:
>>>
>>>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Setup+a+Syncope+cluster
>>>
>>> ? If so how does it work when I have two instances on the same machine,
>>> and presumably sharing the same port? Or is this whole approach invalid?
>>>
>>> Thanks,
>>>
>>> Colm.
>>>
>>> --
>>> Colm O hEigeartaigh
>>>
>>> Talend Community Coder
>>> http://coders.talend.com
>>>
>>
>>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>
>
> --
> Massimiliano Perrone
> Tel +39 393 9121310
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> "L'apprendere molte cose non insegna l'intelligenza"
> (Eraclito)
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to