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.
When you create compapp including EJB module with server resources included, these resources are not registered during deployment of the composite application. I also cannot add any resources to the compapp project, so the only workaround is deploying EJB module (which registers resources) then undeploying it (luckily it doesn't unregister resources) and then deploying compapp. This woorkaround is troublesome and time consuming...
EJB project no longer packages sun-resources.xml into EJB jar, probably it is intentional. Comp app was overriding sun-resource.xml if one exists with empty file. Below change set makes it retain the file if one exists. http://hg.netbeans.org/soa-dev/rev/2c5463638483 (GF ESB) http://hg.netbeans.org/main/rev/58149b4f6f33 (6.5 main) Work around is to copy 'sun-resources.xml' from "Server Resource" folder to "Configuration files". Assigning to EJB/Server plug-ins module for further analysis.
correct. the use of embedded sun-resources.xml was not fully supported by the server team, so we had to remove that usage from the plugin. Since this has a work-around, this is not a P1 DEFECT. what method(s) from the org.netbeans.modules.j2ee.sun.ide.* package hierarchy are being used to deploy the compapp?
it looks like compapp doesn't use any of the methods in org.netbeans.modules.j2ee.deployment.devmodules.*... That would indicate that it is not using the plugin to do the deployment through the expected methods. I also notice that it looks like compapp projects are not calling code in org.netbeans.modules.j2ee.sun.ide.* directly, which would be a questionable practice.... Based on this, I have to assign the bug back to enterprise and/or compapp... since it looks like the server plugin code is not being called.
Comp App uses any of "org.netbeans.modules.j2ee.sun.ide.*" classes directly. Comp App invokes "dist" target on the EJB project and packages the generated EJB jar into Service Assembly. Comp App uses JBI Admin API's to deploy the Service assembly and can not use "org.netbeans.modules.j2ee.sun.ide.*" to deploy Service Assembly. Marking as enhancement since Comp app depends on embedded "sun-resources.xml" to register resources.
Integrated into 'main-golden', will be available in build *200810070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/58149b4f6f33 User: Girish Patil<gmpatil@netbeans.org> Log: #149068 Do not overwrite sun-resources.xml with dummy file.
please help me understand this --- sure looks like this was fixed but i'm not sure if this fix was integrated into gfesb 6.1 release so: if this was fixed, then why is the status still 'new'? also if this was fixed is the fix supposed to be in the gfesb release? Also please explain exactly what steps to verify the fix even better if you can attach a project which will demonstrate success iff the fix works.