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.
I am developing a web application using NetBeans 5.0 and try to deploy it onto a remote App Server (Sun Java Application Server 8.1 on a Sparc machine). I just found: 1. I can deploy for the first. 2. I can never redeploy the application in the same instance of NetBeans. Whennever I made some changes, rebuild the application and try to redeploy it by pressing the menu "run->run main project", I always get the following error message: E:\netbeans_project_repo\DBTest\nbproject\build-impl.xml:419: Deployment error: Server Sun Java System Application Server requires restarting, but it is not supported. Please, restart the server manually. See the server log for details. BUILD FAILED (total time: 0 seconds) I will pu the xml file as a attachement. 3. If I restart the netbeans IDE, I can redeploy the application again. What's run with this?
Created attachment 28805 [details] build-impl.xml
I have seen similar issue wean the deployed module includes some issues. Please, try to run verifier for your project (select project node in project tab, right-click and invoke Verify). Then, resolve all issues that were reported by verifier. Then restart remote server and deploy module again. I'm assigning to right component.
My fault, the issue is relkated to AS 8.1
BTW, I don't think this is a issue in NetBeans. The message says that server should be restarted. Did you restart the server?
nb plugin queries the remote server to see if a restart is needed. For some reason, your app at deploy time triggers this flag on the remote server...or this flag is on...(it can be on when admin changes are done like JVM options or classpath setting that require a restart) Do you you if you have server resources in this project? Can you restart the remote server once, and try again the deployment?
I will try to see if this works. However, I don't think this is the right answer as it wouldn't explain why the application could be redeployed once the Netbeans IDE gets restared (without any restart of the remote app server).
Restart the remote app server did help. The application is redeployable in this case. However, still wondering why restart NetBeans IDE will also solve this problem.
Becasue Nb does not do this test the first time. So the bug is on j2eeserver that needs to popup a nice dialog when: 1/ the IDE cannot start the server (all remote servers) 2/ but this server says it needs to be restarted... I would still complete the deployment in this case, as long as the user is correctly warned. Not a p1 since the solution is to restart the remote server.
> Becasue Nb does not do this test the first time. Actually, NB does this test even the first time after the restart. Restarting only the IDE should not help in this case, are you sure the server was not restarted? Currently the IDE behaves consistently, if the server claims that restart is needed, an error message is shown and deployment fails. Moving down to p3. Marking this issue as a duplicate... *** This issue has been marked as a duplicate of 54840 ***