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=8586>. 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=8586 Remote deployment of war file using /manager fails Summary: Remote deployment of war file using /manager fails Product: Tomcat 4 Version: 4.0.3 Final Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Webapps:Administration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Remote deployment of a warfile to Tomcat using the /manager utility fails. Cannot find war contents. Deployment of the same war from the local filesystem proceeds correctly. The problem is therefore possibly with the manager, not the war itself. If the context directory exists, local deployment also fails. Additional details below. Thanks Jason Version 4.0.3 final OS: Solaris 8 JDK: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) URL used for deployment: http://myTarget:8080/manager/install?path=/thunder&war=jar:http://mySource:80/jason/java/thunder.war!/ Log file entry:>logs/localhost_log.2002-04-27.txt 2002-04-27 15:29:12 Manager: install: Installing web application at '/thunder' from 'jar:http://mySource:80/jason/java/thunder.war!/' 2002-04-27 15:29:12 StandardHost[localhost]: Installing web application at context path /thunder from URL jar:http://mySource:80/jason/java/thunder.war!/ 2002-04-27 15:29:12 WebappLoader[/thunder]: Deploying class repositories to work directory /export/home/jakarta-tomcat-4.0.3/work/localhost/thunder 2002-04-27 15:29:12 StandardManager[/thunder]: Seeding random number generator class java.security.SecureRandom 2002-04-27 15:29:12 StandardManager[/thunder]: Seeding of random number generator has been completed 2002-04-27 15:29:12 ContextConfig[/thunder]: Missing application web.xml, using defaults only 2002-04-27 15:29:12 ContextConfig[/thunder]: Added certificates -> request attribute Valve 2002-04-27 15:29:12 StandardWrapper[/thunder:default]: Loading container servlet default 2002-04-27 15:29:12 default: init 2002-04-27 15:29:12 StandardWrapper[/thunder:invoker]: Loading container servlet invoker 2002-04-27 15:29:12 invoker: init 2002-04-27 15:29:12 jsp: init 2002-04-27 15:29:12 Internal Error: File /WEB-INF/web.xml not found The response to the HTTP command is sucessful deployment. If the war is copied locally (/tmp) and installed via the manager, deployment is successful.i.e http://myTarget:8080/manager/install?path=/thunder&war=jar:file:/tmp/thunder.war!/ But this only works if the context path is not present. i.e it fails if the following directory is present: /export/home/jakarta-tomcat-4.0.3/webapps/thunder In all cases, the reponse to commands entered is: "OK - Installed application at context path /thunder" The "http" commands are executed from a netscape 6 browser, not running on either of the hosts invloved (myHost, myTarget) --- END OF INITIAL SUBMISSION --- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>