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: | web application not working | ||
---|---|---|---|
Product: | serverplugins | Reporter: | luismolina <luismolina> |
Component: | Sun Appserver 9 | Assignee: | Nitya Doraisamy <nityad> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
luismolina
2007-08-13 18:21:04 UTC
Please attach the project or the sun-resources.xml and persistence.xml from the project. Are you really seeing this issue in NetBeans 5.0? if you really are using NB 5.0, please attach the project Can you upgrade a recent build of NetBeans 6.0? i think the problem its with the jdbc pooling, i will try and tell you.... The exception seems to indicate an error in the JDBC Connection Pool resource.Could you attach the sun-resources.xml (under the setup folder of the project). That will be useful in identifying the cause. version changed to 6.0, error of mine. the problem was that when you use the wizard for a new persistence unit (new entity classes from database) and say create new datasource, the jdbc pool its created but not the jdbc resource (in the app server), so you have to make it at hand..., and if you say existing datasource, the jdbc resource (in the app server) the same... about my last comment, i think this problem could be for the app server being stoped, i mean when the wizard shows the connections if the server its stoped, we cant know the connection pools availables. The plugin can obtain list of connection pools/jdbc resources even if the server is not running. I cannot debug this issue unless I have the sun-resources.xml or project that is having problems. From the original description, "Operation 'createResourceAndResourceReference' failed in 'resources' Config Mbean. Target exception message: Could not add Resource Type: jdbc-connection-pool. Error Message: Operation 'setProperty'" It shows the connection pool reference creation is failing. The information for this connection pool in the sun-resources.xml seems to be incomplete or has errors. Unable to reproduce error while creating webapp with JPA. Please attach the sun-resources.xml of the project with deploy failure. You can find it in <project location>/setup folder. Unable to reproduce and cannot isolate without requested information. Closing. Please reopen is you continue to see this error. |