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.

Bug 57571 - Server Resources
Summary: Server Resources
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 02:09 UTC by burrowsuw
Modified: 2006-03-24 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description burrowsuw 2005-04-07 02:09:49 UTC
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.
Comment 1 _ ludo 2005-04-07 02:28:53 UTC
The behaviour is now working in post beta builds.
Comment 2 _ ludo 2005-04-07 02:29:27 UTC
fixed in  nightly builds
Comment 3 burrowsuw 2005-04-07 14:34:42 UTC
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.
Comment 4 _ ludo 2005-04-07 15:50:57 UTC
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.
Comment 5 Michal Mocnak 2005-11-03 15:29:17 UTC
Verified