admin@glassfish.java.net

Re: Change deployment descriptor items after deployment?

From: Jim Whiteley <jimmy_at_whiteley.org>
Date: Fri, 29 Jan 2010 10:06:03 -0700

If I understand you correctly, you're saying that I should be able to
edit web.xml in the deployed app, restart GF, and have the new login
settings take effect?

I tried this, and it doesn't work. Perhaps the fact that my web app
is within a jbi service assembly complicates matters. I noticed that
the web app seems to be deployed in two locations -- one is under
applications/j2ee-modules, and the other is under
jbi/service-assemblies. I tried altering the web.xml for the app
under both of these locations. After restarting GF, the old login
settings are still in effect.

I'm running GF v2.1.1 included in GlassFish ESB v2.2.

What have I done wrong?

On Thu, Jan 28, 2010 at 11:07 PM, Senthil Chidambaram <cchidamb_at_sun.com> wrote:
> Yes you can. You can either restart the server or touch .reload at the
> docroot level of the deployed app.
>
> Thx
> Senthil
>
> Sent from my iPhone
>
> On Jan 28, 2010, at 9:06 AM, Jim Whiteley <jimmy_at_whiteley.org> wrote:
>
>> Is it possible to change deployment descriptor configuration items
>> after deployment?
>>
>> For example, I would like to change login-config from web.xml, and
>> security-role-mapping from sun-web.xml.
>>