On 02/ 2/10 11:05 AM, glassfish_at_javadesktop.org wrote:
> Hi there,
> I am facing a strange issue.
> I have disabled directory listing in my domain, like the way i found in the forum.
> changed in default-web.xml true to false for listing param:
> <init-param>
> <param-name>listings</param-name>
> <param-value>false</param-value>
> </init-param>
>
> But the directory listing is not disabled, [b]even after redeploying the application.[/b]
>
> The most strangest thing is that, it is disabled when i follow the following scenario :
> undeploy the application
> stop server, start server
> deploy application.
> After doing this directory listing is disabled.
>
> Can somebody help me fix this issue please.
>
Looks like you are suffering from
https://glassfish.dev.java.net/issues/show_bug.cgi?id=3844
("Treat default-web.xml as runtime instead of a deploytime option")
which has been fixed in GlassFish v2.1.1 (and v3).
Looks like you are using an earlier GlassFish release.
(Hint: When asking for help on this forum, please always mention
the GlassFish version **you are using.)
With the fix for the above issue in place, a server restart will be
sufficient in order for any changes to the default-web.xml to be
picked up by any of the already deployed applications (that is,
no redeployment will be necessary).
Thanks,
Jan
> Thanks in advance.
> [Message sent by forum member 'vivekmv2000' (vivekmv2000_at_rediffmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384327
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>