You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2010/03/01 17:47:22 UTC

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

2010/3/1 emerson cargnin <ec...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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

Posted by emerson cargnin <ec...@gmail.com>.
Yes, as the webapp would have to remain on its stable version between
releases and the external resources should be updated with the latest
versions.

Thanks for the info om TC7

On 2 March 2010 10:21, Konstantin Kolinko <kn...@gmail.com> wrote:
> 2010/3/1 emerson cargnin <ec...@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/<4A...@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


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

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/3/1 emerson cargnin <ec...@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/<4A...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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

Posted by emerson cargnin <ec...@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/<4A...@apache.org>

Regards
Emerson

On 1 March 2010 17:11, emerson cargnin <ec...@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 <kn...@gmail.com> wrote:
>> 2010/3/1 emerson cargnin <ec...@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

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


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

Posted by emerson cargnin <ec...@gmail.com>.
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 <kn...@gmail.com> wrote:
> 2010/3/1 emerson cargnin <ec...@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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