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.

Bug 32003 - The manager application is not available from JWSDP Tomcat
Summary: The manager application is not available from JWSDP Tomcat
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 09:42 UTC by Milan Kuchtiak
Modified: 2003-03-17 10:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed diff for review (3.59 KB, patch)
2003-03-14 12:26 UTC, akemr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2003-03-14 09:42:33 UTC
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)
Comment 1 akemr 2003-03-14 12:26:04 UTC
Created attachment 9406 [details]
Proposed diff for review
Comment 2 akemr 2003-03-14 14:17:25 UTC
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)
Comment 3 Milan Kuchtiak 2003-03-17 10:33:00 UTC
Verified on the latest Nevada build (14.3.2003)