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.
see http://www.netbeans.org/issues/show_bug.cgi?id=102812 (comments from pal127, 07/31/2007) Product Version: NetBeans 5.5.1 (0704122300) Creator 2.1 RC2 (070516_20000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86 Sun Application Server 9.1 1. Start Creator 2 Update1. Define Sun Application Server 9.1 (Runtime, Servers). Connect to DB MySQL (Runtime, Databases): jdbc:mysql://rave-db.russia.sun.com:3306/mysql, user/passw => travel/travel, default schema 2. Create new project (JavaEE 5, SunAppServer). DnD JSF component Table on Designer. DnD any MySQL DB table on it. 3. Save and close project. Shutdown Creator 2.1. Product Version: NetBeans IDE Dev (Build 200710100000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86 1. Delete a directory <user_home>/.netbeans/dev Start NB VWP 6.0 with import settings from 5.5.1 Result: - MySQL connection will be presented under Databases in Services. - Sun Application Server (in addition to Glassfish V2) will be presented under Servers in Services. 2. Connect to MySQL DB 3. Open project, created by Creator 5.5.1. Result: - Legacy project will be opened properly. 4. In the window "Projects" expand the project root tree node Result: - IDE will hang (see attachments: log, thread dump)
Created attachment 50621 [details] log
Created attachment 50622 [details] Thread dump
Does the page open with the project or just the project? This has been tested and nothing has changed since
Created attachment 50623 [details] Legacy project
There was some added synchronization added to db module for today's build, if related. Still there are some public methods that are under synchronization. I'll try only synchronize the parsing of context.xml
The attached project migrated successfully using the latest build. Were there any other projects opened at the same time?
Fix http://visualweb.netbeans.org/source/browse/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/naming/DatabaseSettingsImporter.java?r1=1.27&r2=1.28
I'm sorry, but I still can reproduced it on: Product Version: NetBeans IDE Dev (Build 200710120000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86. Please, see the last thread dump. There were no directory <user_home>/.netbeans/dev before project migration. There are no other opened projects (just the last attached project). Don't forget to expand the project root tree node in the window "Projects" after project opening - IDE will hang.
I still haven't been able to reproduce. Please attach a new thread dump. Also, are there any other projects opened at the time of migration?
Created attachment 50841 [details] Web application
Note this issue was filed on Wed so shouldn't count against the Quality Criteria
Created attachment 50842 [details] Thread dump
Note, if any pages are opened while the migration process is running then other process other than migration may block migration. For example, if the Open Project dialog is opened while pages are opening then the Open Project dialog will hang
after reducing the scope of synchronization, I forgot to unsynchronize another method.
Verified on: Product Version: NetBeans IDE Dev (Build 200710120000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86. + new org-netbeans-modules-visualweb-dataconnectivity.jar, which John sent me.