-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kiran,

On 5/31/12 10:37 PM, Kiran Badi wrote:
> Ok I did it this way in TC 7.0.27 as I decided not to touch
> Netbeans setup with 7.0.11( I had messed up TC7.0.11 after doing
> several trial and error stuff,felt real pain)
> 
> I have TC7.0.27 running as window service which I use it deploy my 
> latest build everyday.
> 
> In server xml, I added below context between host tags
> 
> <Context path="/myapp/UploadedImages" docBase="c:\UploadedImages" 
> reloadable="true" crossContext="true" />

You shouldn't put <Context> elements in server.xml. Also, using a
docBase that has files appear at random can be problematic when it
comes to caching, etc. and users often have problems.

> so I did not use aliases at all, is this good solution or I am
> missing something again.

Presumably you have an existing webapp that does the upload part: make
C:\UploadedImages into an "alias" for that webapp instead of creating
a second webapp for it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/I5l0ACgkQ9CaO5/Lv0PCtJwCgrGbdhRjeSetyRz8Zr3Bvzkt0
mU0AnidgFANsdy8ZFNoo8/SPLCCY11+E
=7Q6w
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to