[jira] Commented: (JDO-324) Derby "ERROR 40XL1" in multithreaded
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Commented: (JDO-324) Derby "ERROR 40XL1" in multithreaded




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (JDO-324) Derby "ERROR 40XL1" in multithreaded  
Craig Russell (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-20-06 12:11 AM

[ http://issues.apache.org/jira/brows...ments#action_1=
2443602 ]=20
=20
Craig Russell commented on JDO-324:
-----------------------------------

Looks good. Just a couple of comments.

1. The failOnError should be outside the try...finally block, to make sure =
you see the error messages.

2. The indentation of " if (pntVerify.getX() !=3D 33 " block is off.

3. I think you need to verify the values when doRefresh is false. You might=
not catch an exception but commit the change. I'd put the retrieval of the=
value outside the if(doRefresh) and check the values:

if (doRefresh) {
pntVerify =3D=3D 33, 33
} else {
pntVerify =3D=3D 22, 22
}


> Derby "ERROR 40XL1" in multithreaded test "RefreshAllNoParameterSideEffec=
ts"
> -------------------------------------------------------------------------=
---
>
>                 Key: JDO-324
>                 URL: http://issues.apache.org/jira/browse/JDO-324
>             Project: JDO
>          Issue Type: Bug
>          Components: tck20
>    Affects Versions: JDO 2 rc1
>            Reporter: J=C3=B6rg von Frantzius
>         Assigned To: Michelle Caisse
>         Attachments: derby-dsid-pm-junit.txt, RefreshAllNoParameterSideEf=
fects.java
>
>
> When using latest JPOX nightly (01-Mar-2006 04:21), I get a "ERROR 40XL1:=
A lock could not be obtained within the time requested" Derby error (see n=
ext attachment for log file). This happens while running RefreshAllNoParame=
terSideEffects, which is multithreaded, and it happens for both threads.
> This is with Windows XP SP2 and JDK 1.4.2_09 on a dual core machine. Mayb=
e the fact that it is dual core leads to different timing than single core?

--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:03 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register