You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Swaminathan Gurumoorthy <sw...@yahoo.com> on 2003/12/16 01:30:16 UTC

REPOST : Tomcat Manager App Question

I am posting this again since I could not figure out how to solve this. I wud really appreciate any help.
 
*** Problem statement ***
 
I need to use Tomcat's manager app to install my webapp with its context file. 
 
I was playing with the manager app to install my application on Tomcat in Windows 200. I have a myApp.war and also a context file myApp.xml which has resource definitions for my project.
 
Now I tried something like this from my browser.
 
http://localhost:8080/manager/install?path=/myApp&war=jar:file://C:/myAppDir/myApp.war!&config=file://C:/myAppDir/myApp.xml
 
It gives me a 
FAIL - Encountered exception java.net.MalformedURLException: no !/ in spec

error.

What am I doing wrong. I need to get this working so that I can use the Tomcat Ant tasks to install.

TIA

Swami



---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

Re: REPOST : Tomcat Manager App Question

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
On 12/16/2003 01:30 AM&nbsp;Swaminathan Gurumoorthy wrote:
> I am posting this again since I could not figure out how to solve
> this. I wud really appreciate any help.
> 
> *** Problem statement ***
> 
> I need to use Tomcat's manager app to install my webapp with its
> context file.
> 
> I was playing with the manager app to install my application on
> Tomcat in Windows 200. I have a myApp.war and also a context file
> myApp.xml which has resource definitions for my project.
> 
> Now I tried something like this from my browser.
> 
> http://localhost:8080/manager/install?path=/myApp&war=jar:file://C:/myAppDir/myApp.war!&config=file://C:/myAppDir/myApp.xml
> 
> 
> It gives me a FAIL - Encountered exception
> java.net.MalformedURLException: no !/ in spec
> 
> error.
> 
> What am I doing wrong. I need to get this working so that I can use
> the Tomcat Ant tasks to install.

did you try installing from the manager HTML interface to see if that 
works first?

Adam
-- 
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org