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.
Values entered in the editor for sun-ejb-jar.xml are not saved
reassign to the plugin team to investigate
I just did some initial tests with: >Log Session: Thursday, September 21, 2006 9:12:57 PM PDT >System Info: Product Version = NetBeans 5.5 Dev (Build 060921) Operating System = Linux version 2.6.12-10-386 running on i386 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; /home/vbk/Desktop/jdk1.5.0_06/jre System Locale; Encoding = en_US (nb); UTF-8 Home Dir.; Current Dir. = /home/vbk; /home/vbk/release55e Installation; User Dir. = /home/vbk/release55e/nbbuild/netbeans/nb5.5:/home/vbk/release55e/nbbuild/netbeans/ide7:/home/vbk/release55e/nbbuild/netbeans/enterprise3:/home/vbk/release55e/nbbuild/netbeans/harness:/home/vbk/release55e/nbbuild/netbeans/platform6; /home/vbk/nb55ud/sep212101 And am able to save data from the sun-ejb-jar.xml editor just fine. Can you describe the environment and steps that we should follow to be able to reproduce your results?
Reassigning to component owner
Called user for details. He was using beta 2 I was able to recreate the issue using recent release55_dev.... created java ee 5 ear with ejb that contains mdb. selected the mdb in the config editor. entered data in the fields: jms durable subscription name, jms max message load, resource adapter Mid, activation config description Used Save All tool to save. Open the file in xml text view and none of the data for the fields is saved. If the user exits after doing the save and then restarts the data is gone. I was able to reproduce this issue twice.
I reproduced this, save cookie is being set, probably a graph problem. It should be easy to fix, I'll do it tomorrow (Monday).
You can work around this by setting any of the common bean properties (jndi-name, pass-by-reference, principal-name, ior-security-config, bean-pool property or bean-cache property). The problem is that mdb properties are not checked when determining whether to write the bean to the output graph. This is not an obvious bug in J2EE 1.4 where jndi-name is required and thus usually filled in. Now that JNDI names are optional, it happens. Easy to fix and I'll check all other bean types for similar problems. Not a P1 either, lowering to P2.
Fixed in release55_dev. http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/MDEjb.java?r1=1.1.16.2.2.5&r2=1.1.16.2.2.5.16.1
Ignore previous diff, it has a bug. Use this one. http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/MDEjb.java?r1=1.1.16.2.2.5&r2=1.1.16.2.2.5.16.2
verified in release55_dev
the second diff is approved.
Fix committed to release55 branch.
verified in build 200609290000