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 113685 - Cannot get exclusive access to .../src/conf/webservices.xml
Summary: Cannot get exclusive access to .../src/conf/webservices.xml
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-RPC (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: bhate
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-08-24 01:22 UTC by _ pcw
Modified: 2008-03-04 19:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (3.67 KB, text/plain)
2007-08-24 01:23 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2007-08-24 01:22:54 UTC
I was editing webservices.xml in the web service DD editor and I just got the following exception when trying to save
the file. (trace attached below)

    SEVERE [global]

    msg
    msg
    Caused: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot get exclusive access to
/space/tmp/EJBModule16/src/conf/webservices.xml

Before this happened, I had a J2EE 1.4 EJB jar project with a single web service in it.  I opened webservices.xml in the
editor.  I block selected the entire "<webservices> ... </webservices>" block (leaving only the <?xml... stub at the
top) and deleted it and saved the file.

Then I pasted the block back and tried to save the file again.

I made this a P2 because, while the use case is not likely, the problem suggests there is a missing close() operation or
some race condition somewhere and that's pretty serious.
Comment 1 _ pcw 2007-08-24 01:23:17 UTC
Created attachment 47234 [details]
stack trace
Comment 2 bhate 2007-08-27 17:14:06 UTC
investigating.
Comment 3 bhate 2007-08-27 19:00:07 UTC
I tried it several times, but i can not reproduce this.
I tried web or ejb module but i could not reproduce this.
Reporter can you provide info about:
Is it specific to platform (solaris)? Is there a specific webservice that is created in ejb project?
Lukas, is it possible for you to test this scenario?
Comment 4 _ pcw 2007-08-27 20:01:39 UTC
Solaris 10 x86, 11/06 Express build. Dual core AMD 2.6GHz.  JDK 1.6.0.00 I think.

I'll grab a new build and check this again.  It was quite consistent for those steps on Friday.
Comment 5 bhate 2007-08-29 19:27:40 UTC
Lukas, I cant reproduce this issue. Will it be possible for you to try the scenario? Thanks.
Comment 6 Lukas Jungmann 2007-09-17 17:55:04 UTC
I can't reproduce this as well :( I tried latest build from deadlock on WinXP, Solaris (intel) and linux (ubuntu)...
Comment 7 bhate 2007-09-17 18:06:26 UTC
making it P3 and adding RANDOM
Comment 8 bhate 2008-03-04 19:15:12 UTC
not reproducible.