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 using JWSDP as an internal server - the manager application is unavailable. Moreover the exception is thrown when trying to execute a modified servlet again (the web module reloading via the tomcat's Manager application is not working). Here is the exception from ide.log file : java.io.FileNotFoundException: http://localhost:8081/manager/reload?path=/test3 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:707) [catch] at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.dynamicWebModuleUpload(Tomcat40Installation.java:721) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy(Tomcat40Installation.java:695) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy(Tomcat40Instance.java:277) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy(DefaultServerInstanceManager.java:119) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startExecution(DefaultServerInstanceManager.java:133) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartExecution(DefaultServerInstanceManager.java:84) at org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExecution(DefaultExecPerformer.java:72) at org.netbeans.modules.web.execution.WebDefaultExecPerformer.startExecution(WebDefaultExecPerformer.java:229) at org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:74) at org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:64) at org.openide.loaders.ExecutionSupport.start(ExecutionSupport.java:88) at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140) at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:217) at org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:184) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:668)
Created attachment 9406 [details] Proposed diff for review
There was also similar problems with user_dir/jwsdp_base/webapps/admin.xml What we should change is: 1. Copy ide_home/jwsdp/server/webapps/manager dir to user_dir/jwsd_base/webapps/manager 2. Don't copy ide_home/jwsdp/webapps/manager.xml to user_dir/jwsdp_base/webapps 3. The same as 2. for admin.xml Fixed in both trunk and release35. (org/netbeans/modules/tomcat/tomcat40/Tomcat40Installation.java rev 1.64)
Verified on the latest Nevada build (14.3.2003)