I verified that it is working fine in 3.1.1 and we have a unit test for
the feature as well. Check if you have the send-error property
correctly and send me your domain.xml if it's still not working.
<virtual-server id="server"
network-listeners="http-listener-1,http-listener-2">
<property name="send-error_1"
value="path=${com.sun.aas.instanceRoot}/docroot/my-errorpage.html
code=404"></property>
</virtual-server>
Amy
On 1/20/12 12:48 AM, forums_at_java.net wrote:
> Oh, sure, I can access files in the docroot catalog via
> http://localhost:8080/my-errorpage.html . (And images are loaded,
> too). But
> http://localhost:8080/my-failed-webapp gives the vanilla Glassfish 404
> page,
> not my-errorpage.html.
>
> I run GF 3.1.1 .
>
>
>
>
> --
>
> [Message sent by forum member 'tmpsa']
>
> View Post: http://forums.java.net/node/882803
>
>