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 116166 - EJB disappears after killing IDE's process
Summary: EJB disappears after killing IDE's process
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 14:42 UTC by Roman Mostyka
Modified: 2009-02-19 23:23 UTC (History)
0 users

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 Roman Mostyka 2007-09-20 14:42:54 UTC
1. Add some Set of Session EJBs. It appears under "Enterprise Beans" node.
2. Kill IDE's process.
3. Restart IDE.

Result: There is nothing under "Enterprise Beans" node, but in user directory there is JAR files concerning added EJBs.
Comment 1 _ edwingo 2007-09-20 17:35:52 UTC
Yup, I think this is because when the state of the EJB module is changed it is kept in memory and is not saved to disk
right away. The save to disk happens later. This was the way the original Creator code worked as well.
Comment 2 _ jyothivasa 2008-11-08 01:46:26 UTC
This is working in the latest build of NB6.5.
EJBs are getting saved and re-appearing after an IDE crash.
Comment 3 Roman Mostyka 2008-11-09 18:27:24 UTC
This issue is still reproducible by me.
Product Version: NetBeans IDE Dev (Build 081107)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Which platform are You using? Have You tried on Windows?
Is there any difference between killing process and IDE crash? I think no.
I just started IDE with fresh userdir, add session EJB to "Enterprise Beans" node of "Services" window, open Windows
"Task Manager", rightclick NetBeans process and chose "End Process". Then I started NetBeans again and found that added
EJB is absent and "Enterprise Beans" node contains nothing.
By the way, for adding EJB I added GlassFish to the IDE and I found it after killing NetBeans.
Comment 4 _ gowri 2008-12-02 22:37:24 UTC
This is a visual web issue. not related to j2ee.ejb.