Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] STUCK Threads + @Transient behaviour

Hi Mejar,

First steps was to check in thread dump what thread locked java.util.Vector@19ddf650 maybe another user in paralel acquire the lock and you reached a deadlock scenario.

best regards


2012/3/9 Singh, Mejar <mejar.singh@xxxxxxxxxx>



I suspect the problem to be related to cyclic relations, any advice on how to deal with cyclic relations in JPA ?

We have two entites A and B, where B has ManytoOne relation to B – and in the code we have that we go from A->B and then afterwards from B->A on the ManytoOne relation





From: Singh, Mejar
Sent: 8. marts 2012 15:06
To: 'eclipselink-dev@xxxxxxxxxxx'
Subject: STUCK Threads + @Transient behaviour




We get STUCK threads, so would like to know if a JPA entity with:




public boolean isExportEntity() {

return exportEntity;



when calling:

public void setExportEntity(boolean exportEntity) {

this.exportEntity = exportEntity;



will this entity be locked in the L2 cache if we call setExportEntity ?


our log is:



]", which is more than the configured time (StuckThreadMaxTime) of "600"

seconds. Stack trace:

Thread-2281 "[STUCK] ExecuteThread: '340' for queue: 'weblogic.kernel.Default

(self-tuning)'" <alive, suspended, sleeping, priority=1, DAEMON> {












]", which is more than the configured time (StuckThreadMaxTime) of "600"

seconds. Stack trace:

Thread-2287 "[STUCK] ExecuteThread: '346' for queue: 'weblogic.kernel.Default

(self-tuning)'" <alive, suspended, blocked, priority=1, DAEMON> {

    -- Blocked trying to get lock: java.util.Vector@19ddf650[fat lock]







Reproducible: Sometimes



Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

eclipselink-dev mailing list

Back to the top