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.
Also, the Server Resources node is not visible. This is a regression caused by removal of Default Server from the UI of j2eeserver (done by sherold, approved by me - sorry). App server uses the default server for registration of resources. I have a patch for that I will attach, need review from Ludo. As far as I can tell this was the only usage of this method (in tomcat and app server plugins). The problem is we also need to remove the InstanceProperties.getDefaultServer(). I will file a separate issue for that.
Created attachment 20204 [details] patch
the patch is not enough. What we need to get is the project, then the registered server for this server and use this one... Do you have a quick way from a file object to get its project then the server fro this project?
Pavel, can you take this one?
FileOwnerQuery to find the project, project.lookup (J2eeModuleProvider).getServerInstanceID() to get server instance
Modified resource registration so that the server associated with the project will be the one that the resource is registered to.
v. 200504031800