Skip to Content
avatar image
Former Member

SAP Web Application Server Port

Dear all,

i want to connect to a Web Application Server using the HTTP port, but it is not working.

http://localhost:50100/

HTTPS is working without any problems.

https://localhost:50101/

I started hte HTTPS site and checked the system information, please see attached jpg.

The system overview tells me, that HTTP Port is null.

But how can i change it?

Thanks in advance for our help.

Kind regards,

Klaus

systemoverview.jpg (159.3 kB)
systemoverview.jpg (159.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

11 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 03, 2016 at 12:48 PM

    Dear all,

    attached you can find the dev_dispatcher.txt

    I can not see a icmon file....

    Kind reagrds,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 02, 2016 at 10:40 PM

    Hello,

    Check icm/server_port_XX  parameter.

    You can define them in proofile parameters as described in below link.

    icm/server_port_<xx> - Internet Communication Manager (ICM) - SAP NetWeaver - SAP Library

    Default Values AS Java

    icm/server_port_0 = PROT=HTTP , PORT=5$ (SAPSYSTEM) 00, TIMEOUT=60 , PROCTIMEOUT=600

    icm/server_port_1 = PROT=P4 , PORT=5$ (SAPSYSTEM) 04

    icm/server_port_2 = PROT=IIOP, PORT=5$(SAPSYSTEM)07

    icm/server_port_3 = PROT=TELNET , PORT=5$ (SAPSYSTEM) 08, HOST=localhost

    Regards,

    Yuksel AKCINAR

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 02, 2016 at 11:16 PM

    In the screenshot it shows HTTP port as "null". Check if the icm parameter for HTTP is set in the profile or not.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2016 at 08:30 AM

    Dear all,

    thanks for your replys.

    First of all i forgot to mention, that the ABAP Stack and the JAVA Stack is running on the same Server in different instances.

    I checked the profiles of the JAVA instance, there are no entries depending on

    icm/server_port_xx

    So i think the system will use the default values.

    But i found out something strange. I checked the Ports using netstat. If i shut down the JAVA Instance and only the ABAP Instance is running i get the following entries:

    netstat -ano | findstr :50100

      TCP    127.0.0.1:50100        127.0.0.1:65000        ESTABLISHED     13232

      TCP    127.0.0.1:65000        127.0.0.1:50100        ESTABLISHED     9084

    Then i checked the Process ID 13232 and 9084

    13232 disp+work.exe

    9084 icman.exe

    So i think icman.exe is blocking the port 50100.

    How should i solve this problem?!?

    I think the best way is to change the JAVA Port to another one. But how can i do that?

    I added the parameter

    icm/server_port_0 = PROT=HTTP , PORT=50200 (SAPSYSTEM) 00, TIMEOUT=60 , PROCTIMEOUT=600

    to the JAVA Default.PFL but it did not take any effect.

    What can i do?

    Thanks for you help.

    Kidn regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Klaus,

      All  instances have ICM to handle web requests. ABAP or JAVA.

      Normally if you install a dual stack system instance numbers come with 00 (CI), 01 (ASCS) and 02 (JSCS).

      If you install ABAP and JAVA stack as different systems instances come with ABAP instances are 00 (PAS) , 01 (ASCS), Java instances are 02 (PAS) ,03 (JSCS).

      I see that your instance number is 01.

      Is your system dual stack? Or seperate ABAP and Java systems (SIDs)?

      What are your instance numbers? Can you send SAPMC screenshot?

      Or can you send the output of below command running on cmd with sidadm user.

      sapcontrol -nr 01 -function GetSystemInstanceList

      You should also define the parameter on instance profile not in default.

      Regards,

      Yuksel AKCINAR

  • avatar image
    Former Member
    Mar 03, 2016 at 09:00 AM

    Dear Yuksel AKCINAR,

    Thanks for your reply. This is the status of the CMD command:

    sapcontrol -nr 01 -function GetSystemInstanceList

    03.03.2016 09:49:24

    GetSystemInstanceList

    OK

    hostname, instanceNr, httpPort, httpsPort, startPriority, features, dispstatus

    XXXX, 2, 50213, 0, 1, MESSAGESERVER|ENQUE, GREEN

    XXXX, 1, 50113, 0, 3, J2EE|IGS, GREEN

    Here is a screenshot from the SAP MMC

    JM3 is JAVA, PM1 is ABAP.

    I hope it helps.

    Kind regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Klaus,

      So, if you define this parameter in instance profile of JC3 as seen below, it must work.

      (not like this PORT=50200 (SAPSYSTEM) 00 , be carefull)

      icm/server_port_0 = PROT=HTTP , PORT=50100, TIMEOUT=60 , PROCTIMEOUT=600


      Regards,

      Yuksel AKCINAR


  • avatar image
    Former Member
    Mar 03, 2016 at 09:31 AM

    Dear Yuksel AKCINAR,


    thank you for your reply. Now i have added the line

    icm/server_port_0 = PROT=HTTP , PORT=50100, TIMEOUT=60 , PROCTIMEOUT=600

    to the instance prifile of the JM3 instance by using notepad. I restarted the JAVA Instance.


    is that doing ok?


    it takes no effect at the moment, but i think it is clear, because the port is already in use at the moment.

    It is a production system, i will do that on Sunday and give feedback as soon as possible.


    Kidn regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2016 at 10:20 AM

    Dear Yuksel AKCINAR,


    thank you for your reply.


    Now i have restarted the ICM in the ABAP Instance and the port is free now. I checked it with Netstat.


    As you mentioned i added the line

    icm/server_port_0 = PROT=HTTP , PORT=50100, TIMEOUT=60 , PROCTIMEOUT=600

    to the instance profile of the JM3 instance by using notepad. I restarted the JAVA Instance.


    Then i checked the Ports in the SAPMMC Tool Access Points as you toled, but 50100 is still not available.


    I checked the ICM Parameters in the ABAP Stack using rspfpar and i got following values:

    icm/server_port_0

    PROT=HTTP,PORT=8000,TIMEOUT=2400, HOST=xxx, EXTBIND=1

    icm/server_port_1

    PROT=HTTPS,PORT=0443,TIMEOUT=2400, HOST=xxx, EXTBIND=1

    icm/server_port_2

    PROT=SMTP, PORT=0025,TIMEOUT=2400,HOST=xxx,EXTBIND=1

    Is there in JAVA Stack a possibility to add the ICM Parameters through a web interface?

    I do not understand why it will not work now.


    Kind regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2016 at 12:00 PM

    Dear Yuksel AKCINAR,


    thank you for your reply. I found this point only in the ABAP Instance, not in the JAVA Instance.



    I cannot see the JAVA Ports there. Any other Idea what i can try?


    Kind regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2016 at 12:22 PM

    Dear all,

    it is a 7.01 system and ABAP and JAVA is separated.

    Where can i find the JAVA ICM log?

    Kind regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2016 at 12:59 PM

    Dear all,

    here are the settings of the http provider in the visual administrator.

    Kind regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded