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 151646

Summary: smarter 'start db' functionality
Product: serverplugins Reporter: Vince Kraemer <vkraemer>
Component: CodeAssignee: Nitya Doraisamy <nityad>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vince Kraemer 2008-10-28 21:57:45 UTC
Currently, the v2 plugin will start java db when you start the app server IF the option is checked.

the v3 plugin doesn't support started java db at all.

In a perfect world... the java db would start IFF there was an app deployed on the server which is going to use it....
The app server would probably need to be 'the one' to do this.

In a less than perfect world, the IDE might be able to make a better guess about when to start the java db, by looking
at the datasources that an app that is being deployed will use... if a CP in the list going to use java db, we may want
to make sure the db is started.

A naive implementation (that extends the driver deployment feature) seems to work... but this probably requires an API
change to do right.