This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155213 - encountering the intermittent update problem while testing the application
Summary: encountering the intermittent update problem while testing the application
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Winston Prakash
Depends on:
Reported: 2008-12-11 10:59 UTC by runa
Modified: 2009-05-25 21:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Project Attached (164.77 KB, text/plain)
2008-12-11 10:59 UTC, runa
Project Attached (4.38 MB, text/plain)
2008-12-11 11:07 UTC, runa

Note You need to log in before you can comment on or make changes to this bug.
Description runa 2008-12-11 10:59:00 UTC
Entering this for external customer from the Sun Developer Expert Assistance program:

The customer is following the tutorial:

The customer is encountering the intermittent update problem while testing the application.
That is the users click "update" successfully for five times, and then encounter the Example case below.
The server log gives no errors, notice that if you put a system.out.println in the add and update buttons, that the
message does not print when the update problem occurs - as if the button is never clicked.  Yet the form refresh takes

My production app uses JAAS authentication on the front end, that logic could possibly be mixed with the JPA logic.

Example case: user (using IE6, WinXP), types in two change values, clicks "Update".  The screen flickers, refreshes as
if processing the change, but the view table shows only one value actually updated. Querying the physical database
confirms this.  The faces model cleared values from all input fields as they passed validation checks.

Two applications are required to run this project.  The Model App (will send via separate email), and this Web App. 
Used the two JPA tutorials as the template.

Please read ReadmeFirst.txt, part of which says:
Under WorkloadWebApp, I created two subdirectories: dbScripts and
	\dbScripts contains anything database-related, mainly SQL table create scripts.  
	\deployment contains specific deployment files for this application to run.	
Database: Oracle 10g

Last week, we discovered that workstations running less than Java 1.6.0_06 had much higher occurrences of the update
problem.  Last week, my IT department upgraded workstations to 1.6.0_11 - a quick post-installation test showed
workstation update errors very much improved.

Before using JPA, the customer was using cachedRowDataProviders, with no update problems.
Comment 1 runa 2008-12-11 10:59:37 UTC
Created attachment 74848 [details]
Project Attached
Comment 2 runa 2008-12-11 11:07:44 UTC
Created attachment 74849 [details]
Project Attached
Comment 3 _ potingwu 2008-12-11 16:56:29 UTC
Is it a component issue? Please reassign if it's not.
Comment 4 thompsonwd40 2009-03-05 14:46:57 UTC
I have opened another Expert Assist support case number: 11348616 for a J2SE project experiencing the same 
intermittent update problem.  This issue is not limited to Visual Web.  It is not limited to JPA - as I experienced 
the same situation using CachedRowSetDataProvider.  This problem has rendered my environment unstable, to me this is a 
P1 priority issue.  I have been a strong Java/NetBeans advocate for the past two years but, either I find a solution 
soon, or I must advise my management to drop Java development in preference for Microsoft.