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 166805 - fileBC has locking problem when polling the same dir multiple times
Summary: fileBC has locking problem when polling the same dir multiple times
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: File BC (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Jonelle Almero
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 18:16 UTC by jbaragry
Modified: 2009-06-11 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jbaragry 2009-06-09 18:17:28 UTC
Again, a problem with the gfesb v2,1 release candidate. 

Occurs on WinXP and Mac. Did not occur on OpenSolaris....

I have a compapp that uses app variables in a file bc su.
- it accepts a msg from file bc and inserts to a db with db bc. 

- I set the initial app config variable and deploy. Everything works ok. 
- Then change the value of the application variable. 
- restart the comp app 
- I can see in the appserver log that fileBC is polling for the new filename 
- however fileBC fails to pick up the new file. It reports the exception: 

FILEBC-E00720: inonly message for operation 
{http://j2ee.netbeans.org/wsdl/persistEMP}update failed processing, an 
exception was raised. null 
java.lang.IllegalMonitorStateException 
        at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) 

The only way to resolve the issue is to restart the application server
Comment 1 jbaragry 2009-06-11 12:11:41 UTC
Seems the problem is actually a locking problem.

We had a second compapp with a file bc su polling the same directory - though for a different filename.

Removing the existing compapp is a workaround to the problem.

Comment 2 jbaragry 2009-06-11 13:33:57 UTC
Seems this is related to 
http://www.netbeans.org/issues/show_bug.cgi?id=166159

When building a file bc su based on a DB BC su, the file bc su generates wsdl operations for all DB operations - and not
just the one set in the wizard