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 # : 200510131600 ] [ JDK VERSION : 1.4.2_xx ] Hi, I have successfully deployed (run) my seb service against SJS. I then try to 'debug' the webapp, and I get this in the console (and a modal error): In-place deployment at C:\Data\Projects\[proj-folder]\build\web Start registering the project's server resources Finished registering server resources Application [proj-name]-war is already deployed on other targets. Please use create-application-ref command to create reference to the specified target; requested operation cannot be completed C:\Data\Projects\[proj-folder]\nbproject\build-impl.xml:431: Deployment failed. BUILD FAILED (total time: 3 seconds) I see nothing on the server viewer. When I look at the SJS admin console, I see my webapp, but the admin interface shows an error: A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'webApplications'" The root cause is "com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered" See the HTML source for more detailed (stack trace) information. ... ----- AFter manually modifying the instance config files and deleting some backup data, the instance seems back to normal. Bottom line issue, seems to be debugging with 'folder deployment' enabled.
-> sunappserv
Please, please please... Can you attach the server log file for analysis? This is anyway a server deploy backend bug. Only workaround is: stop the server, hand-edit the domain.xml to remove the remaining element (application-ref I think) , and restart the server. I'll see if this can be addressed in AS 8.2, but we need the server log. I guess you are using 8.1 U2? Any previous version would have much more this random behaviour : when a locked file prevents a complete undeployment or redeployment. After a clean undeployment or redeployment the domain.xml should have both the web-module element and the application-ref element, but after a failed attempt it would have only one (I can't remember which)...
Sorry for the delay. I'll try to get the log or repoduce the error tomorrow! Cheers! -Sean
In any case, if there is a fix, it can only come from the app server backend, not the netbeans plugin. when you can reproduce the bug, try to file it on the app server side, or reopen this one. AS 8.2 has done real progress in this area.