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.
Summary: | Derby writes its files during first start | ||
---|---|---|---|
Product: | db | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Derby | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues, mrkam, pjiricka, vkraemer |
Priority: | P3 | Keywords: | PERFORMANCE, TEST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 181635 | ||
Bug Blocks: | 152605 |
Description
Jaroslav Tulach
2008-11-10 17:03:49 UTC
If a new policy has been estabilished which forbids writes to disk during startup, I haven't seen it publicly discussed or announced anywhere. If it has been, please provide the links to the nbdev archive and to a wiki page. Thanks. This is our policy for a long time. And I even thought it is documented, but when I was searching for the right info I could not found any. That is why I've updated this page: http://wiki.netbeans.org/FitnessViaWhiteAndBlackList I hope it justifies enough why it is no good to write files during start. I suppose Derby could be changed to work similar to MySQL by requiring the user to register Derby. Users might want to use their own Derby or either the one from Glassfish v2 or v3 or even JDK 1.6 instead of NetBeans automatically registering the one based on the logic in the Installer. But the plugin also automatically registers Derby, so the plugins team would need to agree to not automatically register Derby. The other option is to leave the registration as it is, but only if the user expands the Services/Databases node (or at any other user database related guesture). At that time initializing anything related to databases is appropriate. But please prevent premature initialization done just because the IDE starts. In 7.0, for v2 or v3 as registered servers, the Glassfish plugin should no longer set the Java DB location. I'm planning on deprecating the API that registers Java DB. Reassigned to new owner. core-main/rev/55ac08df298e The final state will after impl. issue 181635. |