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 186202 - Java Process won't shut down when closing IDE
Summary: Java Process won't shut down when closing IDE
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-15 08:33 UTC by count_negative
Modified: 2011-10-26 16:21 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 count_negative 2010-05-15 08:33:32 UTC
Product Version = NetBeans IDE 6.9 Beta (Build 201004200117)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01


Tried a new JSF WebApplication with JPA (Derby DB). Start it (pressing F6), playing around awhile, then simply closing the IDE.
The Glassfish java process is terminated after a while but the other one (I think it's the derby one) is still up and running.
Maybe this one should be terminated also like the Glassfish one.
Comment 1 Vince Kraemer 2010-05-18 17:42:16 UTC
this sounds like a job for the Derby support to resolve...
Comment 2 Kafu 2010-06-29 21:05:56 UTC
Same under Linux (Debian Lenny):

Linux xxxx 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010 x86_64 GNU/Linux

java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)


After having used some Web Application, closing NetBeans closes itself and Glassfish, but not the Derby process; with 'jps -l':

8514 sun.tools.jps.Jps
8389 org.apache.derby.drda.NetworkServerControl
Comment 3 Jiri Rechtacek 2011-10-26 14:38:36 UTC
Please, could you reproduce this problem on recent builds of NetBeans 7.1 (http://bits.netbeans.org/download/trunk/nightly/latest/)? If so, describe your steps to reproduce. Thanks
Comment 4 count_negative 2011-10-26 16:21:26 UTC
Now both processes are terminated.

Steps taken:
Open Netbeans (dev201110250600) - File - New Project - Samples - Java Web - JSF JPA (Java EE) - Finish.
Then start the app (F6). Play a little around, then close Netbeans.