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.
When I change and then save sun-ejb-jar.xml, the system hangs. It goes on hanging indefinitely and so I had to reboot. Without this fix user will have problems in 4.1 quick start guide. They will have to be told to update sun-ejb-jar.xml outside NB and then refresh it inside NB. If this is an acceptable workaround, this priority can be changed to P3. This issue might be related to 53028.
This issue was reported by users in nbusers mailing list also.
Created attachment 19535 [details] Partial dump
I was able to reproduce and see a partial thread dump. Changing to j2eeserver and Nam since I see ConfigSupportImpl in the dump.
This hang-up related to Enterprise JavaBeans Modules using Java Platform JSDK 1.5. Those modules, which use for example JSDK 1.4.2_02-b03 not so adversely affected by this phenomenon. The saving lasts maximum half a minute, then the IDE feels that the file wasn't saved while it was actually saved. Workaround: Change the java platform of the Module to JSDK 1.4.2_X (except JSDK 1.4.2_6. I don't trust JSDK 1.4.2_6) :-) When you make a change on a sun-ejb-jar.xml and save it, the IDE will feel that it wasn't saved. The save-all button will be active, but do not care with it. Do not click on again and again, because the files are stored correctly. The save-all button will blur only after a restart of the IDE. (Naturally) mfg Mihaly Toth
Fixed in EA2: /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/AbstractFilesListener.java,v <-- AbstractFilesListener.java new revision: 1.2.2.1; previous revision: 1.2 src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java,v <-- DDFilesListener.java new revision: 1.1.2.1; previous revision: 1.1
How about trunk?
Merged to trunk: nb_all/j2eeserver> cvs commit -m "isssue 53037 Fix infinite file change event loop when config xml editor save" src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java src/org/netbeans/modules/j2ee/deployment/config/AbstractFilesListener.java Checking in src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java,v <-- DDFilesListener.java new revision: 1.2; previous revision: 1.1 done Checking in src/org/netbeans/modules/j2ee/deployment/config/AbstractFilesListener.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/AbstractFilesListener.java,v <-- AbstractFilesListener.java new revision: 1.3; previous revision: 1.2 done Processing log script arguments... Mailing the commit message to cvs@j2eeserver.netbeans.org (from nnguyen@netbeans.org)
I didn't see this issue in NB 4.1 trunk builds.