Skip to Content
Author's profile photo Paul Tomlinson

How to Change the Dispatcher Running, No Server Connected Message

Changing the Dispatcher Running, No Server Connected Message

SAP’s Web AS Java works on the principle of having a dispatcher process, which directs requests to one or more server nodes.  Now if the dispatcher is running, but there are no server processes fully up and running (they may be starting for example), then you get the message: “Dispatcher Running, No Server connected”.   Now obviously this makes complete sense to end users!!

So, using a parameter called ServiceUnavailableResponse, we can change it to a nice web page saying please contact the helpdesk.

Before I explain how to do it – I must say thankyou to Ryan Douglas who originally showed me this and also Michael Nicholls who posted a forum message about how to do it.

The steps are as follows:

1. Create your HTML file that will be the web page (e.g. down.html).  It should be properly formatted HTML and look something like the following:

http.  There is a property called ServiceUnavailableResponse.  The value of this should be set to ./errormessage/down.html.

Press the apply button (disk icon).

image

5. Stop and start the J2EE Server.

6. As the J2EE server is starting, try and access the portal (or the J2EE homepage – http://server:50000 normally) and you should get your nice message.

image

I have done a very basic HTML file.  Obviously you could include images and anything else you may want to use on it.

An Important Limitation:

It only works when the dispatcher is running, but the server is down or starting.  If the physical server is down, then the users will get a page cannot be displayed error.

If you want more information on this paramter, just search for ServiceUnavailableResponse on http://help.sap.com

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Very Good Blog
      Author's profile photo Former Member
      Former Member
      Your Blog is Very nice and simple, but you gave the direction to open the configtool is wrong, that is not go.bat, it was configtool.bat.

      very good and nice blog

      Thank you

      Author's profile photo Paul Tomlinson
      Paul Tomlinson
      Blog Post Author
      Oops.  Always making the 'deliberate' mistake 🙂
      Author's profile photo Former Member
      Former Member
      In SAP MMC when the Dispatcher is status is "Running" and Server0 status is "Starting Frame work", in the case your solution works and it does redirect properly to the custom message.

      But when the Dispatcher is status is "Running" and Server0 status is "Starting apps", then we get default sap message "503 Service Unavailable. Application stopped. Details:  You have requested an application that is currently stopped".

      Unfortunatly the server0 status "Starting Frame work" lasts only for few seconds and then changes to "Starting apps", so is there a way to redirect the "503 Service Unavailable" message.

      -Shivpal Reddy

      Author's profile photo Former Member
      Former Member
      Hi ,
      We want to customize System Failure Error message we see on portal. Any Idea if this could be done on portal and how
      Author's profile photo Former Member
      Former Member
      Hi,
      For customizing the error page for 500-Internal server error can i see the keyword Internal server error in the config tools?
      Please Reply.

      Author's profile photo Paul Tomlinson
      Paul Tomlinson
      Blog Post Author
      There is another blog about that written by someone else.

      However if you search for my name they do reference this blog so you will find it.

      Paul

      Author's profile photo Former Member
      Former Member
      Hi all,

      Where can I find the default (SAP) error page. Because I can just edit those ones and be done with it, or is it not possible?

      Tnx!

      Author's profile photo Paul Tomlinson
      Paul Tomlinson
      Blog Post Author
      No idea.  Although - if you change the SAP standard one, there is the risk when you patch it that you will lose your changes.  So it is better just to create your own.
      Author's profile photo Former Member
      Former Member
      2bad, do you know how I can fix this 503 message. 'Cannot process a request for dynamic resources', because that's the last portal startup message.

      First I get this one, then 'SAP WebAS Enginse is starting' and then Application Stopped. I can alter the last 2, because of the wonderfull blogs, but how to alter the first one 'Cannot process a request for dynamic resources'?

      Author's profile photo Paul Tomlinson
      Paul Tomlinson
      Blog Post Author
      I have no idea.  But once you find out you can write a blog on it 🙂