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 98578 - Regression: Unable to connect to data source in JDBC WSDL wizard
Summary: Regression: Unable to connect to data source in JDBC WSDL wizard
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavan Veeravarapu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 00:16 UTC by rpoon
Modified: 2007-04-25 00:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Jpeg image for unable to connect screen (42.11 KB, image/jpeg)
2007-03-22 00:19 UTC, rpoon
Details
Jpeg image for unable to connect screen (42.11 KB, image/jpeg)
2007-03-22 00:19 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2007-03-22 00:16:44 UTC
Build: 
NetBean 6.0 Enterprise Pack - Build 8
jdk1.6.0
======================================

With this build user is unable to connect to the database while in the JDBC 
WSDL wizard.

To re-create the problem:
1) In the NetBeans IDE/Runtime, start up the App Server (and make sure that 
the 'sun-jdbc-binding' and sun-sql-engine' are running).
2) Connect to Derby database (default) and make sure that Derby is up and 
running.
3) Now create a new Project and go the JDBC WSDL wizard by do the following:
   -> (left click) Process File -> New -> File/Folder 
   select "Service Oriented Architecture/WSDL From Database .."

Notice that once in the 'Select DataSource and Table Objects' screen, user does 
not seem to be able to connect to database after selected the Data Source 
(for 'sample' database on Derby)

(see attached jpeg for more infor)
Comment 1 rpoon 2007-03-22 00:19:13 UTC
Created attachment 39787 [details]
Jpeg image for unable to connect screen
Comment 2 rpoon 2007-03-22 00:19:20 UTC
Created attachment 39788 [details]
Jpeg image for unable to connect screen
Comment 3 Venkat Srinivasan 2007-03-22 17:01:11 UTC
Please look into it
Comment 4 Narayana Pedapudi 2007-03-28 15:57:12 UTC
In java 1.6 there is a bug with combobox. If there is only one item in the combo
box then the action listener won't get fired. I have fixed with a workaround for
the time being. If there are multiple connections then this would work perfectly.

Regarding more information please see the links below...
http://forum.java.sun.com/thread.jspa?threadID=5116064

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=015132
Comment 5 rpoon 2007-04-05 19:19:56 UTC
Unable to verify this ticket at this point with Derby.  It seems like more 
serious problems with Derby have been introduced to the following system test 
build combination (IZ-100039/6542719):

NetBeans build:
http://balui.sfbay.sun.com/kits/oriondev/hula/Build070403_15/zips/
ide-hula-070403_15.zip

SDK build:
SDK B10 System test build
http://javaweb.sfbay/java/re/javaeesdk/5.0_03/promoted/preview2/b10/bundles/
java_app_platform_sdk-5_03-preview2-bin-b10-windows-30_mar_2007.exe
Comment 6 rpoon 2007-04-05 19:31:21 UTC
Unable to verify this ticket at this point with Derby.  It seems like more 
serious problems with Derby have been introduced to the following system test 
build combination (IZ-100039/6542719):

NetBeans build:
http://balui.sfbay.sun.com/kits/oriondev/hula/Build070403_15/zips/
ide-hula-070403_15.zip

SDK build:
SDK B10 System test build
http://javaweb.sfbay/java/re/javaeesdk/5.0_03/promoted/preview2/b10/bundles/
java_app_platform_sdk-5_03-preview2-bin-b10-windows-30_mar_2007.exe
Comment 7 rpoon 2007-04-05 19:42:47 UTC
This would still be a problem for user with only one connection.  

Now that this has become a Usability issue with work-around (user is required 
to setup more than one external database connections and is required to click 
back-and-forth - if the desired connection is the first entry in the list - in 
order to connect).  This work around does not seem to be acceptable.
Comment 8 Pavan Veeravarapu 2007-04-09 09:13:56 UTC
This Issue has been fixed by Narayana and thecode is checked-in.Now we can 
select the tables even if we have only one connection.
Please check it with the latest build. 
Comment 9 rpoon 2007-04-25 00:25:51 UTC
Verified fix with the following Build combination:
   
   Hula System Build

       http://bits.nbextras.org/netbeans/6.0/nightly/200704230000/installers/
           netbeans-6.0-nightly-200704230000-full-windows.exe

   Runtime SDK b13

       
http://javaweb.sfbay/java/re/javaeesdk/5.0_03/promoted/preview2/b13/bundles/
           java_app_platform_sdk-5_03-preview2-bin-b13-windows-21_apr_2007.exe