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 141431 - [65cat] java.rmi.RemoteException: Operation 'getJdbcConnectionPoolByName' failed in 'resources' Config Mbean. Target exception message: Resources: Config element jdbc-connection-pool SamplePool is not found.;
Summary: [65cat] java.rmi.RemoteException: Operation 'getJdbcConnectionPoolByName' fai...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 22:23 UTC by esmithbss
Modified: 2008-08-18 18:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 74309


Attachments
stacktrace (6.45 KB, text/plain)
2008-08-17 23:17 UTC, big_al
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2008-07-23 22:23:25 UTC
Build: NetBeans IDE Dev (Build 200807231346)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86

User Comments: 
Removed all old NetBeans versions and artifacts.
Rebooted my machine.
Installed dev version 200807231346 with GF 2 and 3, TC 6 and Open-ESB 2.

First launch

Load existing WebService Project.

Project doesn't use any JDBC capabilities.

Stacktrace: 
java.rmi.RemoteException: Operation 'getJdbcConnectionPoolByName' failed in 'resources' Config Mbean.
Target exception message: Resources: Config element jdbc-connection-pool SamplePool is not found.; nested exception is: 
	com.sun.enterprise.admin.config.MBeanConfigInstanceNotFoundException: Resources: Config element jdbc-connection-pool SamplePool is not found.
        at org.netbeans.modules.j2ee.sun.share.management.UtilMEJB.invokeServerForResource(UtilMEJB.java:172)
        at org.netbeans.modules.j2ee.sun.share.management.UtilMEJB.updateInvoke(UtilMEJB.java:144)
        at org.netbeans.modules.j2ee.sun.share.management.ServerMEJB.invoke(ServerMEJB.java:112)
        at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.getConnectionPoolByName(ResourceUtils.java:1250)
        at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.getConnectionPoolObjByName(ResourceUtils.java:1257)
        at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.updateSampleDatasource(ResourceUtils.java:1095)
Comment 1 Peter Pis 2008-07-28 12:34:04 UTC
Reassigning to "j2ee".
Comment 2 Exceptions Reporter 2008-08-15 18:53:10 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=74309
Comment 3 Nitya Doraisamy 2008-08-16 00:40:04 UTC
The exception stacktrace is coming from the plugin. Transferring serverplugin (to me).
Comment 4 big_al 2008-08-17 23:17:26 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments: 
Started NetBeans

Stacktrace: 
java.rmi.RemoteException: Operation 'getJdbcConnectionPoolByName' failed in 'resources' Config Mbean.
Target exception message: Resources: Config element jdbc-connection-pool SamplePool is not found.; nested exception is: 
	com.sun.enterprise.admin.config.MBeanConfigInstanceNotFoundException: Resources: Config element jdbc-connection-pool SamplePool is not found.
        at org.netbeans.modules.j2ee.sun.share.management.UtilMEJB.invokeServerForResource(UtilMEJB.java:172)
        at org.netbeans.modules.j2ee.sun.share.management.UtilMEJB.updateInvoke(UtilMEJB.java:144)
        at org.netbeans.modules.j2ee.sun.share.management.ServerMEJB.invoke(ServerMEJB.java:112)
        at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.getConnectionPoolByName(ResourceUtils.java:1253)
        at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.getConnectionPoolObjByName(ResourceUtils.java:1260)
        at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.updateSampleDatasource(ResourceUtils.java:1098)
Comment 5 big_al 2008-08-17 23:17:35 UTC
Created attachment 67657 [details]
stacktrace
Comment 6 Nitya Doraisamy 2008-08-18 18:56:39 UTC
Fixed in trunk 
http://hg.netbeans.org/main?cmd=changeset;node=642a1dff21b4