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 74211

Summary: No data source for sample DB
Product: serverplugins Reporter: Pavel Buzek <pbuzek>
Component: Sun Appserver 9Assignee: Nitya Doraisamy <nityad>
Status: RESOLVED FIXED    
Severity: blocker CC: lkotouc, ludo, pjiricka
Priority: P1    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Pavel Buzek 2006-03-30 19:12:18 UTC
App server plugin creates a sample DB with tables and data but it does not
create any data source for it. It would be more intuitive to have a DS created
automatically so that the user could (later when this gets implemented in app
server) select the data source from the list. As it is now there is only the
__default.

The __default data source points to a DB called sun-appserv-samples, which is
created on demand with create=true. According to app server team (Marina) the
__default is for system use only should *never* be used by the end user. That is
why the name is so user unfriendly. If that is true then the DB behind it should
be called differently and we should show it in Runtime tab bcs doing so suggest
that the user should use it.
Comment 1 _ ludo 2006-03-30 19:20:39 UTC
Agree. I think we should try to create the jdbc/sample  ds
Comment 2 Petr Blaha 2006-04-25 13:48:50 UTC
We assume the bug as Beta stopper since  __default DS shouldn't be never used in
user's app.
Comment 3 Nitya Doraisamy 2006-04-26 00:12:11 UTC
Added default datasource jsbc/sample which uses connection pool SamplePool
referring to Java DB sample database