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

2008-09-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
the final '/' is a typo

On Fri, Sep 5, 2008 at 7:57 PM, Mark Thomas <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--Noble Paul


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

2008-09-05 Thread Mark Thomas
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Deploying an app from remote url (tomcat manager)

2008-09-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]