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 98316 - Cannot get exclusive access to ejb-jar.xml in tests
Summary: Cannot get exclusive access to ejb-jar.xml in tests
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-03-20 12:25 UTC by Martin Adamek
Modified: 2007-03-20 16:03 UTC (History)
1 user (show)

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 Martin Adamek 2007-03-20 12:25:03 UTC
org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot get
exclusive access to
/space/test4u/builds/bindist_netbeans_Dev_daily_latest/unit/enterprise4/org-netbeans-modules-j2ee-ejbcore/work/sys/data/EJBModule_1_4/src/conf/ejb-jar.xml
(probably opened for reading).
	at
org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:103)
	at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.MutualExclusionSupport.addResource(MutualExclusionSupport.java:77)
	at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getOutputStream(FileObj.java:66)
	at
org.netbeans.modules.masterfs.MasterFileObject.getOutputStream(MasterFileObject.java:158)
	at org.netbeans.modules.j2ee.dd.impl.ejb.EjbJarProxy.write(EjbJarProxy.java:358)
	at
org.netbeans.modules.j2ee.ejbcore.api.codegeneration.SessionGenerator.generateEJB21Xml(SessionGenerator.java:232)
	at
org.netbeans.modules.j2ee.ejbcore.api.codegeneration.SessionGenerator.generate(SessionGenerator.java:143)
	at
org.netbeans.modules.j2ee.ejbcore.api.codegeneration.SessionGeneratorTest.testGenerateJavaEE14(SessionGeneratorTest.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:59)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:285)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:223)
	at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:301)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at org.netbeans.junit.NbTestCase.run(NbTestCase.java:164)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:169)
	at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:124)
	at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:60)
Caused by: