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.
In VWP 5.5, server specific information is not always added to projects. This creates a problem when migrating projects to 5.5.1/GF V2 Scenario: Using VWP 5.5, for the first project created with database connections, the server specific info is added to the project in the "setup" folder For subsequent projects that use the same database connections, then the server specific info is NOT added to the project. Consequently, during deployment, since JDBC resources are not generated (from the resources in the project's setup folder), deploying the project to 9.1 will fail. Workaround is for the user to create resources in the Project. 1) In the Projects window, select the top-level node for the project, right-click and choose New->File/Folder. Next select Sun Resources and JDBC Connection Pool (note that the connection for the project must be available under Databases in the Runtime tab) 2) Repeat 1 except create a JDBC Resource 3) Deploy If this doesn't succeed, check the server.log file
It's a little wordy, but I've added the following text to the 551 VWP release notes: Database Project Migration from NetBeans Visual Web Pack 5.5 to 5.5.1 Server-specific information is not added to some projects in Visual Web Pack 5.5 and therefore JDBC resources are not generated when projects are migrated to Visual Web Pack 5.5 and Sun Java System Application Server 9.1. Description: In Visual Web Pack 5.5, the server-specific information is added to the project in the setup folder for the first project created with a specific database connection, but not for subsequent projects that use the same database connection. Consequently, during deployment, since JDBC resources are not generated from the resources in the project's setup folder, deploying the project to Sun Java System Application 9.1 (GlassFish V2) will fail. Workaround: Create the appropriate resources in the project as follows: 1. In the Projects window, select the top-level node for the project, right-click and choose New > File/Folder. 2. Select Sun Resources and JDBC Connection Pool. Note that the connection for the project must be available under Databases in the Runtime tab. 3. In the Projects window, select the top-level node for the project, right-click and choose New > JDBC Resource, and create the resource in the project. 4. Deploy the project. If this doesn't succeed, check the server.log file.
Small update: Instead of ... "JDBC resources are not generated when projects are migrated to Visual Web Pack 5.5 and Sun Java System Application Server 9.1" say "JDBC resources are not available when such projects are migrated to Visual Web Pack 5.5 and Sun Java System Application Server 9.1" Also, to expand upon ... "If this doesn't succeed, check the server.log file" say "If this doesn't succeed, check the server.log file to see if any database connection parameters were incorrectly set while creating Sun Resources."