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 85505 - Editor for sun-ejb-jar.xml does not save
Summary: Editor for sun-ejb-jar.xml does not save
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-22 01:03 UTC by fkieviet
Modified: 2006-09-29 11:30 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 fkieviet 2006-09-22 01:03:22 UTC
Values entered in the editor for sun-ejb-jar.xml are not saved
Comment 1 Vince Kraemer 2006-09-22 05:06:32 UTC
reassign to the plugin team to investigate
Comment 2 Vince Kraemer 2006-09-22 05:30:20 UTC
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?
Comment 3 Martin Adamek 2006-09-22 08:44:51 UTC
Reassigning to component owner
Comment 4 Vince Kraemer 2006-09-22 21:48:24 UTC
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.
Comment 5 _ pcw 2006-09-25 08:17:50 UTC
I reproduced this, save cookie is being set, probably a graph problem.  It
should be easy to fix, I'll do it tomorrow (Monday).
Comment 6 _ pcw 2006-09-25 08:26:49 UTC
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.
Comment 9 Jan Horvath 2006-09-26 15:47:25 UTC
verified in release55_dev
Comment 10 Vince Kraemer 2006-09-28 02:38:56 UTC
the second diff is approved.
Comment 11 _ pcw 2006-09-28 22:40:42 UTC
Fix committed to release55 branch.
Comment 12 Jan Horvath 2006-09-29 11:30:45 UTC
verified in build 200609290000