[T24 + jBASE jDLS] - Locks are not getting released

1,097 views
Skip to first unread message

www.t24all.com

unread,
Dec 7, 2011, 1:25:09 AM12/7/11
to jBASE
Hi,

We have installed jDLS as distrubuted lock listener service mode (jDLS
-ibD).

We have 2 application servers Server1 and Server 2

Server 1 is the primary server and Server 2 is the secondary server

As part of maintenance activity we will shutdown the Server 1 for few
hours. During those hours Server 2 will take control the jDLS and all
the locks are managed by Server 2.

After few hours once the Server 1 is brought up, the locks are not
getting released from Server 2. It goes to a dead lock situation.

Any ideas why jBASE jDLS is behaving like this? Any suggestions...

Thanks & Regards

Mansi

unread,
Dec 9, 2011, 4:36:05 AM12/9/11
to jBASE
Hello,

The listener process usually spawns new lock server process to handle
each client lock process from secondary server.
But for local requests there won’t be any new process spawned as the
requests are local. It’s totally internal and can’t be changed..
Try to check if there was any change made in the new releases. Not
sure about it though!

You can actually increase the size jDLS.As it can hold upto 1Lakh
records.

E.g., jDLS -ibs 100000,30

The above allows us to lock one lakh records in 30 groups.
By doing this you can overcome this issue.And also the system probably
wont hang.

Hope this helps.

Regards,
Manasa Urs

Mansi

unread,
Dec 9, 2011, 4:36:33 AM12/9/11
to jBASE
Hello,

The listener process usually spawns new lock server process to handle
each client lock process from secondary server.
But for local requests there won’t be any new process spawned as the
requests are local. It’s totally internal and can’t be changed..
Try to check if there was any change made in the new releases. Not
sure about it though!

You can actually increase the size jDLS.As it can hold upto 1Lakh
records.

E.g., jDLS -ibs 100000,30

The above allows us to lock one lakh records in 30 groups.
By doing this you can overcome this issue.And also the system probably
wont hang.

Hope this helps.

Regards,
Manasa Urs

pat

unread,
Dec 9, 2011, 8:18:29 PM12/9/11
to jBASE
Before bringing Server1 back on line you should stop all T24 processes

The switch to 'Server2' , when Server1 is taken offline, is a 'one way
process'

So existing processes will continue to use 'Server2' ( only ) for
locking

Any new processes, started after Server1 is brought back on line, will
attempt to use BOTH Server1 and Server2 in resilient mode, leading to
'lock contention' and 'mismatches'

Simon Verona

unread,
Dec 14, 2011, 9:28:46 AM12/14/11
to jb...@googlegroups.com
Required to support and develop a mature vb.net front-end / jBase
backend application.

This is a full time role, based in Sheffield, UK.

Please contact me at si...@dmservices.co.uk for more information.

Regards

=======================================
Simon Verona
Director
Dealer Management Services Ltd
========================================

Ramkumar Sreeni

unread,
Jan 1, 2012, 12:01:06 PM1/1/12
to jb...@googlegroups.com
Hi Pat,
 
So the only solution is to bring the server 2 down as part of killing / stopping all T24 processes before bringing up the server 1, and once server 1 is up subsequently the server 2 also needs to be brought up.  Please let me know if my understanding is correct / wrong.
 
Is there any better setup of jdls in server 1 and 2, that is recommended to do away with this problem
 
Regards,
Ramkumar.S

--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply all
Reply to author
Forward
0 new messages