You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com> on 2008/09/05 08:49:12 UTC

Deploying an app from remote url (tomcat manager)

hi ,
I tried the to deploy a war from an http url

I tried the following syntax

jar:http://hostname:port/path/to/a/warfile.war!

as given in the javadocs for ManagerServlet

It throws the following exception on console

java.io.IOException: The filename, directory name, or volume label syntax is inc
orrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
        at java.io.File.getCanonicalPath(File.java:531)
        at org.apache.catalina.manager.ManagerServlet.copy(ManagerServlet.java:1
524)
        at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java
:807)

Why is it using the WinNTFileSystem? isn't It is an http connection?

Am I doing something wrong ?



-- 
--Noble Paul

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Deploying an app from remote url (tomcat manager)

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
the final '/' is a typo

On Fri, Sep 5, 2008 at 7:57 PM, Mark Thomas <ma...@apache.org> wrote:
> Noble Paul നോബിള്‍ नोब्ळ् wrote:
>> hi ,
>> I tried the to deploy a war from an http url
>>
>> I tried the following syntax
>>
>> jar:http://hostname:port/path/to/a/warfile.war!
>
> I haven't got a system handy to test with but do you need the final '/'?
> That would make the URL:
> jar:http://hostname:port/path/to/a/warfile.war!/
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 
--Noble Paul

Re: Deploying an app from remote url (tomcat manager)

Posted by Mark Thomas <ma...@apache.org>.
Noble Paul നോബിള്‍ नोब्ळ् wrote:
> hi ,
> I tried the to deploy a war from an http url
> 
> I tried the following syntax
> 
> jar:http://hostname:port/path/to/a/warfile.war!

I haven't got a system handy to test with but do you need the final '/'?
That would make the URL:
jar:http://hostname:port/path/to/a/warfile.war!/

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org