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.
Summary: | Need to Release Note migration of project that is missing server specific files | ||
---|---|---|---|
Product: | obsolete | Reporter: | John Baker <jbaker> |
Component: | visualweb | Assignee: | Joseph Silber <bishop> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | RELNOTE |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
John Baker
2007-02-27 00:33:50 UTC
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." |