WAR-Files just contain Webapps (ok, almost :P). They don't need to be started like you tried.
IMHO you have a war file called orange.war which contains all possible files you need AND A WEB-INF directory? Then you can simply start it by typing the name of the war file at the end of the url.
Assume you have a url like http://vredungmand.dk/programming/orange/. In the orange directory you have copied the war file? Then this is your url:
http://vredungmand.dk/programming/orange/orange
This should invoke Tomcat to unpack the war file, create within the orange directory a new directory orange and unpack any files from the war file into this directory. TC should present your welcome page you have defined in web.xml in orange/WEB-INF/ after that.
Oh yes, I almost forgot: in TC's server.xml your <Host> declaration should contain the parameter unpackWARs="true". And within the Host section you shouldn't have a Context declaration for that directory/webapp.
Best regards
Dirk
Christian Hvid wrote:
Hi.
I am trying to deploy a WAR using the Tomcat Manager but I keep getting "FAIL - Invalid application URL ... was specified." regardless of what I type in WAR URL:
http://vredungmand.dk/programming/orange/orange.war http://vredungmand.dk:80/programming/orange/orange.war jar:http://vredungmand.dk:/programming/orange/orange.war! file:/users/chvid/orange/orange.war jar:file:/users/chvid/orange/orange.war!
etc. etc.
What am I doing wrong?
I am using MacOSX and Tomcat 4.1.12 but I can't get it to work on my Windows box either.
-- Christian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature
