cancel
Showing results for 
Search instead for 
Did you mean: 

Message server not redirecting

Former Member
0 Kudos

Hi Gurus,

We have a situation here in our TEST SERVER.We have two application instances and the  message service is provided by the ASCS instance installed in DB host.Ideally the message service should redirect to one of the two application instances.But this redirection is failing.

This is the URL for call of the message service call  http://dbhostname:8122/sap/bc/gui/sap/its/webgui?sap-client=700

should redirect to http://app1hostname:8000/sap/bc/gui/sap/its/webgui?sap-client=700 

or http://app2:8001/sap/bc/gui/sap/its/webgui?sap-client=700 

but it is failing.

The message service runs on 3622 port and has been maintained in services file in DB host.

These are the profile params maintained in the profile

icm/keep_alive_timeout                    3600

icm/server_port_2                           PROT=HTTPS,PORT=8100,TIMEOUT=2700,PROCTIMEOUT=6000

exe/icmbnd                                  $(DIR_CT_RUN)/icmbnd

icm/server_port_0                           PROT=HTTP,PORT=8000,TIMEOUT=2700,PROCTIMEOUT=6000

icm/host_name_full                          app1hostname

icm/min_threads                             25

icm/max_threads                             300

Could you please suggest what could be missing in the config part?

Thanks

Sabya

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

HI Juan,

You are right message server is the one who handles the communication in between instances but we have an HA setup where we have two dialog instances and the message service+enqueue service runs on the DB with ASCS instance.There is no CI in this system.
WDP is installed in the DB and it forwards the request to ICM.

What we want is when i am calling the URL for message service,it should redirect to the ICM of the app servers.This works fine in the PRD environment.Hope i've made my point.

Thanks

Sabya


JPReyes
Active Contributor
0 Kudos

Thats absolutely fine... but the dispatching for ICM is done by the webdispatcher...

So you should be calling the port defined in parameter ms/http_port on the instance profile of the webdispatcher

Regards, JP

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

What we want is when i am calling the URL for message service,it should redirect to the ICM of the app servers.This works fine in the PRD environment.Hope i've made my point.

If you have a Web dispatcher setup then the Web dispatcher will pass the incoming requests to the ICM. See the picture in the below link.

Server Selection and Load Balancing Using the SAP Web Dispatcher (SAP Library - SAP Web Dispatcher)D...

Regards

RB

Former Member
0 Kudos

Hi Juan,

As i have mentioned i want to call the message service running on port 3622,

Webdispatcher is already installed in the DB host.

As you can observer that the WDP port here called is 8142.This link work perfectly fine and there is load balancing

http://dbhostname:8142/sap/bc/gui/sap/its/webgui?sap-client=700&sap-language=EN

What i am invoking is the message service http://dbhostname:8122/sap/bc/gui/sap/its/webgui?sap-client=700.It should redirect to either of the  two app servers as is the case in our PRD system.There are no errors for WDP log-in so dev_webdisp might not help.Please suggest.

Thanks

Sabya

JPReyes
Active Contributor
0 Kudos

I'm a bit confused by your post... what do you mean by invoking the message service?

For me the message server is the one who handles the communication in between instances... also you are calling the URL for a webgui session?... so I'm assuming you just want the webdispatcher to forward your request to ICM.?..

Regards, Juan

former_member188883
Active Contributor
0 Kudos

Hi ,

If you plan to access SAP using web based URL , suggestion is to use Webdispatcher . This will perform the necessary routing of http requests .

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Thanks JP/Deepak for the response,

We do have a WDP installed in the DB host and this is working perfecctly fine but to set up CPS jobs we need the ICM link to work .

Thanks

Sabya

JPReyes
Active Contributor
0 Kudos

Well you need to have the ICM ports set in the webdispatcher profile.

Regards, Juan

JPReyes
Active Contributor
0 Kudos

Also, you might want to check the trace dev_webdisp for errors.


Regards, Juan

JPReyes
Active Contributor
0 Kudos

You are calling ICM, do you have a webdispatcher installed?

Regards, Juan