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.
Using nb 4.1 beta and Application Server Platform Edition 8.1 I am following the “Quick Start Guide for J2EE Applications” at http://testwww.netbeans.org/kb/41/quickstart-j2ee.html. When I generate the CMP Entity Bean, the IDE is supposed to create a new connection pool and datasources for deployment to the application server. However, I do not see this in my application and when I try to run, I am getting the javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK. The Quick Start states that given this error, “Make sure that the resource pool and data source were correctly registered on the application server.”, but I cannot do this without the CustomerBook-EJBModule project's Server Resources node showing.
The behaviour is now working in post beta builds.
fixed in nightly builds
Do you have a workaround for this in the public beta bits (is there any way to get to the database)? I am teaching a class using beta and really want my students to be able to use the database ... thanks.
In beta, they can be manually created via the sun resources template: select the File new Templates, pick the Sun Resources category, and there you can create all kind or sun resources. They are created in the "setup" directory of the project (you can see it in the Files tab), or logically under the "Server Resources" porject node. Double click on them for further editing. Popup menu "Register" will send themt to the server. For CMP, make sure you have one that has a JNDI name that match the one needed for sun-ejb-jar.xml as the CMP resource... Hope this helps... Ask more question via this bug if necessary. We are very close to 4.1 release.
Verified