Re: TOMCAT and wars outside webapps folder
Tim Watts <[email protected]>
| Newsgroups | gmane.org.user-groups.ajug.members |
|---|---|
| Organization | Clifton Farm |
| Message-ID | <1372340735.28620.401.camel@blackberry> |
According to the docs on the unpackWAR attribute: "Note that WAR files located outside of a Host's appBase are never unpacked." http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Standard_Implementation On Thu, 2013-06-27 at 08:58 -0400, Narahari 'n' Savitha wrote: > Friends: (Thanks in advance for your help) > > > We are trying to deploy war files outside of the webapps folder. The > war file name is xyz.war. The approach is the xyz.xml in the > conf/Catalina/localhost folder. In that file the docBase is set > to /opt/testing/mywebapps/xyz > > > The xyz.war is located or placed in the folder /opt/testing/mywebapps > folder. > > > The deployment happens but the unarchiving of the war file is not. > When I go to the work folder, I see the xyz.war file unarchived but I > dont see the WEB-INF/web.xml file along with a few other missing jsp > files as well. Essentially the unarchiving of the .war file is not > occuring correctly. > > > Not sure what attributes tot he <Context> element I am missing or what > nested elements I am supposed to put. > > > ================== > > > When I unarchive the xyz.war by myself in the /opt/testing/mywebapps > folder then the app seems to work. > > > So what gives ? > > > Kindly help. > > > -N > _______________________________________________ > ajug-members mailing list > [email protected] > http://www.ajug.org/mailman/listinfo/ajug-members _______________________________________________ ajug-members mailing list [email protected] http://www.ajug.org/mailman/listinfo/ajug-members
signature.asc
(application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJRzEH/AAoJEAfDBXDHBQiluMwH/iBiWm/OJ4grwh0MT+3lXnaw VBCgLJ+9bWzImMIznjjA2Z12D6khSDSSM49G0KSa4Vip6Pqg+UB7B90bQCV64MiT tiRdQjEWNIxNMpjzSUccIjHrIAzbOJtmQGPEcyac8bM5MOa2gEeXOe8mNLrH5xqw FwplXUWexd+OdHBQCyVZvi5osMMWYWcKnZWZQu0yn36OsytUMgBm4OM4k9Jyd/WM g0gZfKlj7kxtqzkDScCWFMRq99hPxvnNxNZLHr/dYsA62pIFPJ81wTEudQKaLsHl z1Dcw7k7Dvw/D+SFYepfAeBjCgY4Q3jA7YNo/xisksk9AWGnlneS7E2ZtF3V+6Q= =RBMD -----END PGP SIGNATURE-----