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 147138 - unnecessary restart
Summary: unnecessary restart
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 20:50 UTC by Vince Kraemer
Modified: 2008-10-07 06:02 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 Vince Kraemer 2008-09-12 20:50:49 UTC
I installed the NB6.1+GFV2ur2+MySQL bundle.

After the install (and before I started the IDE or the server), I did a quick check of the directory tree and found:

gf-install-root/lib/mysql-connector-java-5.1.6-bin.jar

When I deployed a web app that used mysql, the file was copied to gf-install-root/domains/domain1/lib....

And the server restarted... BOOOO

doing the unnecessary copy is a p3.
doing the unnecessary restart makes this a p2 issue.
Comment 1 Nitya Doraisamy 2008-09-15 23:40:55 UTC
Plugin should check if required driver jar is present on the server and initiate copy & restart only if needed.
Comment 2 Nitya Doraisamy 2008-10-07 02:21:04 UTC
Fixed. Plugin now checks for driver jar in both install/lib and targeted domain's lib. 
The driver jar is copied (if required) to domain's lib
Comment 3 Quality Engineering 2008-10-07 06:02:31 UTC
Integrated into 'main-golden', will be available in build *200810070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5a14e602df55
User: nityad@netbeans.org
Log: #147138 : Fix for unnecessary copy & restart when driver jar already present server's install lib directory