DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18434>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18434

'install' and 'remove' commands of manager webapp don't work properly

           Summary: 'install' and 'remove' commands of manager webapp don't
                    work properly
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


1. remove - command does not remove anything [1]
2. install - unsuccessfull in every single try :/ [2]

[1]
http://localhost:8080/manager/html/remove?path=/tomcat-docs
OK - Removed application at context path /tomcat-docs

Tomcat-docs directory has *not* been removed from hosts
appBase, nor work-dir (they should be acc to docs).
Application is actually unaccessible, but according to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
"This command will delete the contents of the web application
directory and/or ".war" file if it exists within the appBase directory
(typically "webapps") for this virtual host . The web application
temporary work directory is also deleted. If you simply want to take
an application out of service, you should use the /stop command instead."

This command does not "delete the contents of" tomcat-docs directory
nor temporary work directory. Do I understand the act of deleting
in some strange, wrong way? ;)

[2]
I've tried almost every combination.
URIs below were written by me by hand according to manager-howto:

http://localhost:8080/manager/html/install?path=/tomcat-docs
FAIL - Invalid context path null was specified

http://localhost:8080/manager/html/install?war=tomcat-docs
FAIL - Invalid context path null was specified

http://localhost:8080/manager/html/install?war=file:/C:\Local\tomcat-4.1.18
\webapps\tomcat\tomcat-docs
FAIL - Invalid context path null was specified

http://localhost:8080/manager/html/install?path=/tomcat-
docs&war=file:/C:\Local\tomcat-4.1.18\webapps\tomcat\tomcat-docs
FAIL - Invalid context path null was specified

I've also tried using html-form to install webapp:

http://localhost:8080/manager/html/install?path=&installPath=%2Ftomcat-
docs&installConfig=&installWar=
FAIL - Invalid application URL was specified

# WAR URL: [ file:C:\Local\tomcat-4.1.18\webapps\tomcat\tomcat-docs ]
http://localhost:8080/manager/html/install?
path=&installPath=&installConfig=&installWar=file%3AC%3A%5CLocal%5Ctomcat-
4.1.18%5Cwebapps%5Ctomcat%5Ctomcat-docs
FAIL - Encountered exception java.net.MalformedURLException: no protocol:

# WAR URL: [ file:/C:\Local\tomcat-4.1.18\webapps\tomcat\tomcat-docs ]
http://localhost:8080/manager/html/install?
path=&installPath=&installConfig=&installWar=file%3A%2FC%3A%5CLocal%5Ctomcat-
4.1.18%5Cwebapps%5Ctomcat%5Ctomcat-docs%5C
FAIL - Encountered exception java.net.MalformedURLException: no protocol:

# WAR URL: [ file://C:\Local\tomcat-4.1.18\webapps\tomcat\tomcat-docs ]
http://localhost:8080/manager/html/install?
path=&installPath=&installConfig=&installWar=file%3A%2F%2FC%3A%5CLocal%5Ctomcat-
4.1.18%5Cwebapps%5Ctomcat%5Ctomcat-docs
FAIL - Encountered exception java.net.MalformedURLException: no protocol:

PS. Yes, I have such webapps directory structure.
    <Host name="localhost" appBase="webapps/tomcat" ...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to