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 107106 - Port Numbers Incorrectly Imported when data source refs of Creator Project are imported
Summary: Port Numbers Incorrectly Imported when data source refs of Creator Project ar...
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2007-06-19 00:38 UTC by Yousuf Haider
Modified: 2007-07-18 21:22 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Imported Data sources (19.43 KB, image/jpeg)
2007-06-19 00:39 UTC, Yousuf Haider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Haider 2007-06-19 00:38:51 UTC
NB Build :200706180000
JDk 6

Steps to reproduce:
1. Create project in creator 2 update 1 with simple drop down list bound to table from sample Travel database.
2. Open project in NB 6
3. Right Click on DataSource  References Node in project and click 'Update Data source References'.
4. Go through the windows to import data source references.

The bundled data sources from creator are imported in NB6 but all of them have wrong port number associated with them.
It should be 21527 rather than 1527. Workaround is to manually change the port number to 21527 for those datasources.

1527 is the default port number for the Derby server bundled in NB6. For creator it was 21527. Therefore when data
sources should be imported from Creator port numbers should also be imported.
Comment 1 Yousuf Haider 2007-06-19 00:39:14 UTC
Created attachment 43929 [details]
Imported Data sources
Comment 2 John Baker 2007-06-19 00:42:43 UTC
There isn't anything migration can do for the port numbers.
User will have to change the port manually.
Comment 3 Yousuf Haider 2007-06-19 05:38:34 UTC
The port numbers will also have to be changed in the sun-resources.xml file otherwise the project will not deploy
properly and the design time view will show component errors.

So does that mean that if I have a mysql connection imported from creator, its port number will not be imported either?
Comment 4 John Baker 2007-06-19 05:52:49 UTC
no mysql will be fine, unless you change mysql servers that have different port numbers.
Comment 5 Yousuf Haider 2007-06-19 19:23:49 UTC
Downgrading priority to P3 and marking it as an Enhancement rather than a bug.
Comment 6 John Baker 2007-07-18 21:22:17 UTC
we won't support migrating Creator 2 applications that use the Travel sample database