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 49678

Summary: refresh of EJB node
Product: javaee Reporter: Jan Horvath <jhorvath>
Component: CodeAssignee: Chris Webster <cwebster>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Horvath 2004-09-29 11:48:02 UTC
build 040928

have an ejb module project with session EJB

- rename EJB by hand in DD
  > EJB node disappear then appear
    afther refresh subtree of node is closed 
    despite before refresh was opened.
Comment 1 Chris Webster 2004-09-29 17:16:38 UTC
Did you change the ejb name in the deployment descriptor? If so this
behavior is expected, as changing the ejb name is changing the key
(this is defined in the ejb-jar schema and thus results in a delete /
add. If this happened as a result of some other rename then this is an
issue. 

Please clarify what element in the deployment descriptor was changed.
Comment 2 Jan Horvath 2004-10-05 10:33:59 UTC
This happens as a result of any change in <session> tag. in build
041005 after change there appears second node with same name in tree,
stay for about one second then disappears.
Comment 3 Chris Webster 2004-10-06 01:08:25 UTC
I came across this issue while doing some memory profiling. The
schema2beans model is not currently using the comparators so the ejb
graph is being recreated each time the xml file changes. 
Comment 4 Chris Webster 2004-10-06 17:42:25 UTC
Fixed schema2beans comparator.
Comment 5 Petr Blaha 2004-10-13 10:45:53 UTC
Move issues from temprorary component.
Comment 6 Petr Blaha 2005-01-20 08:58:14 UTC
Build 20050119