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.
[Build 20050412 netbeans41 branch] Steps: 1) create J2EE application 2) generate CMP beans from database ERROR: expand Server Resources node. Sun resources are missing. After re-open project resources are visible.
I can't reproduce on Linux using the 050413 dev build of release41. Maybe the bug only manifests on Solaris. Could you please try on Linux or another OS? Anyway, if it's a bug, it's probably somewhere in the masterfs.
I tested on Linux and Win XP and here it's working (build 20050415-0036). It seems that ist's related to Solaris.
I added some logging code to ServerResourcesNode. It is activated by defining the "org.netbeans.modules.j2ee.common.ui.ServerResourceNode" property when running NetBeans, such as: netbeans -J-Dorg.netbeans.modules.j2ee.common.ui.ServerResourceNode=-5 Please try to test again and look in the messages for something like: [org.netbeans.modules.j2ee.common.ui.ServerResourceNode] Adding file listener to MasterFileObject@3c8308[file:/home/abadea/test/EJBModule4/] when the project is created and [org.netbeans.modules.j2ee.common.ui.ServerResourceNode] Refreshing [org.netbeans.modules.j2ee.common.ui.ServerResourceNode] The DataFolder is: org.openide.loaders.DataFolder@5bd18b[MasterFileObject@137937[file:/home/abadea/test/EJBModule4/setup/]] [org.netbeans.modules.j2ee.common.ui.ServerResourceNode] Children count: 2 after creating the CMP beans.
Created attachment 21823 [details] message log
Can't reproduce in daily build 200504211800, message.log is attached. Marking as WORKSFORME.