Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change SRVE0255E message

183 views
Skip to first unread message

tbr...@mainsys.be

unread,
Mar 26, 2008, 4:25:11 AM3/26/08
to
Hi all,<br />
<br />
We have developed an application for websphere (v6.1.0.13) that is updated regularly. In order to perform certain updates we take the application offline by stopping the application in the admin console. (These kind of updates feature db changes, ...)<br />
<br />
The problem we have with this approach is that when the application is stopped the user gets the message:<br />
"SRVE0255E: No virtual host/web group ...."<br />
which is not very user friendly.<br />
<br />
We would like to change this message to either the 404 errorpage described in the httpd.conf of the http server or to a custom page we can specify in websphere somewhere.<br />
<br />
Does anybody have a solution to implement a custom error page incase websphere is running but the application is not.<br />
<br />
Kind regards,<br />
<br />
Tom.

Tsaby

unread,
Mar 26, 2008, 8:36:21 AM3/26/08
to
Hi,

You can specify custom error messages in the HTTP server's config file
(httpd.conf)
These settings are for IHS (IBM HTTP Server) but I think the same will
work with apache servers too.
This is for error 500 (WAS is down)

If you want a simple message:
ErrorDocument 500 "The server made a boo boo."

If you want to show a custom html file:
ErrorDocument 500 /error500.html

I'm not sure that 'SRVE0255E: No virtual host/web group ...." has an
error 500 code, but you can easily find out the error code from the
HTTP server's 'access_log'
The code is in the end of every line. For example ... HTTP/1.1" 200
39 -> 200 is means transaction was successful.

0 new messages