Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-02 Thread Konstantin Kolinko
2010/3/1 emerson cargnin echofloripa.y...@gmail.com:
 Am I wrong or tomcat 7 will provide support for folder aliasing (pull
 in resources from external locations)?

 http://mail-archives.apache.org/mod_mbox//tomcat-dev/200905.mbox/4a1c5275.7010...@apache.org


Yes, it will.
See
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/context.xml?view=markup
look for
attribute name=aliases
there.

 The main problem in packaging this content inside each app (and not
 using the symlink) is that we have the requirement that this content
 should be deployed outside of the release cycle of the applications.

Does unpacking and repacking a zip archive (which a war file
ultimately is) requires a release cycle for you?

Best regards,
Konstantin Kolinko

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



Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread Konstantin Kolinko
2010/3/1 emerson cargnin echofloripa.y...@gmail.com:
 Now we are trying to not use the restart script and rely only on the
 manager deployment feature, but we still need to add this symlink from
 inside the apps.

Beware of the following:

https://issues.apache.org/bugzilla/show_bug.cgi?id=39226
https://issues.apache.org/bugzilla/show_bug.cgi?id=47626
https://issues.apache.org/bugzilla/show_bug.cgi?id=40761

Best regards,
Konstantin Kolinko

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



RE: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread Caldarale, Charles R
 From: emerson cargnin [mailto:echofloripa.y...@gmail.com]
 Subject: Adding a symlink from inside the app after deployment - What's
 the best approach?
 
 What is the best way to implement this, add a context listener and
 create the symlink from inside the listener?

The best way is probably not to do it at all.  Just include the common JSPs in 
the war when you run the script that packages it (or them, if more than one 
war).  Having such a directory that's common to your webapps saves nothing 
other than some amount of very inexpensive disk space, while complicating 
deployment and requiring considerable coordination when updating the JSPs.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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



Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread emerson cargnin
Actually I just started experiencing this issue, the content of the
symlink being erased.   The funny thing is that it didn't happened
before.

The main problem in packaging this content inside each app (and not
using the symlink) is that we have the requirement that this content
should be deployed outside of the release cycle of the applications.

On 1 March 2010 16:47, Konstantin Kolinko knst.koli...@gmail.com wrote:
 2010/3/1 emerson cargnin echofloripa.y...@gmail.com:
 Now we are trying to not use the restart script and rely only on the
 manager deployment feature, but we still need to add this symlink from
 inside the apps.

 Beware of the following:

 https://issues.apache.org/bugzilla/show_bug.cgi?id=39226
 https://issues.apache.org/bugzilla/show_bug.cgi?id=47626
 https://issues.apache.org/bugzilla/show_bug.cgi?id=40761

 Best regards,
 Konstantin Kolinko

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



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



Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread emerson cargnin
Am I wrong or tomcat 7 will provide support for folder aliasing (pull
in resources from external locations)?

http://mail-archives.apache.org/mod_mbox//tomcat-dev/200905.mbox/4a1c5275.7010...@apache.org

Regards
Emerson

On 1 March 2010 17:11, emerson cargnin echofloripa.y...@gmail.com wrote:
 Actually I just started experiencing this issue, the content of the
 symlink being erased.   The funny thing is that it didn't happened
 before.

 The main problem in packaging this content inside each app (and not
 using the symlink) is that we have the requirement that this content
 should be deployed outside of the release cycle of the applications.

 On 1 March 2010 16:47, Konstantin Kolinko knst.koli...@gmail.com wrote:
 2010/3/1 emerson cargnin echofloripa.y...@gmail.com:
 Now we are trying to not use the restart script and rely only on the
 manager deployment feature, but we still need to add this symlink from
 inside the apps.

 Beware of the following:

 https://issues.apache.org/bugzilla/show_bug.cgi?id=39226
 https://issues.apache.org/bugzilla/show_bug.cgi?id=47626
 https://issues.apache.org/bugzilla/show_bug.cgi?id=40761

 Best regards,
 Konstantin Kolinko

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




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