on 03-02-2016 3:01 PM
Dear all,
i want to connect to a Web Application Server using the HTTP port, but it is not working.
HTTPS is working without any problems.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Klaus,
ICM comes with NW 7.1 to Java systems. Foor 7.0 versions dispatcher was running the functionality of ICM.
So you cannot find dev_icm.
dev_dispatcher is the right file for dispatcher.
Nothing in dev_dispatcher file.
Can you also check log files under j2ee, server0 folders like defaultTrace*.trc, server*.log.
Regards,
Yuksel AKCINAR
Yes these files are available. Attatched you can find the files.It is a ZIP file, you need to rename it from txt to zip.
What i found is the following:
java.io.IOException: Unable to open connection to host "xxx:50100". The host is down or unavailable..
Really strange.. XXX is the own server name.
That error isn't relevant here. You might have tried to access the webpage using the http port. As it was not accessible the error got recorded in the default trace file. Again, have you set the parameters in the instance profile? If possible upload the profiles here. I can clearly see from the dispatcher trace that system was able to bind to ports 50101 for https, 50104 for p4 and 50108 for telnet. It appears to me that the profile parameters are not set up correctly. Review DEFAULT and INSTANCE profile for all ICM parameters.
Hello Klaus,
You do not get exit code 2106 but you can check below config for your instance also from the link.
https://wiki.scn.sap.com/wiki/display/ASJAVA/%28JSTTSG%29%28P4-IIOP%29P4-P003+Exit+code+-2106
If HTTPS port is configured in configuration slot 1 - this is the root cause for the problem.
You may simply add all other ports that you need. For example:
# HTTP port configuration
icm/server_port_0 = PROT=HTTP, PORT=
5
$(SAPSYSTEM)
00
, TIMEOUT=
600
icm/server_port_1 = PROT=HTTPS, PORT=
5
$(SAPSYSTEM)
01
, TIMEOUT=
1200
# P4 port configuration
icm/server_port_2 = PROT=P4, PORT=
5
$(SAPSYSTEM)
04
# IIOP/Telnet port configuration
icm/server_port_3 = PROT=IIOP, PORT=
5
$(SAPSYSTEM)
07
icm/server_port_4 = PROT=TELNET, PORT=
5
$(SAPSYSTEM)
08
, HOST=localhost
Regards,
Yuksel AKCINAR
Dear all,
Problem is solved. Thank you very much for the fantastic help.
I found the solution in the link:
(JSTTSG)(P4-IIOP)P4-P003 Exit code -2106 - SAP Netweaver Application Server Java - SCN Wiki
"You may simply add all other ports that you need"
--> Iadded all needed ports and restarted the instance and everything is fine now.
Kind regards,
Klaus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have two separate stacks. (ABAP separate and Java separate). You cannot monitor or administer the Java stack from the ABAP stack using Tx SMICM. Have you checked the ICM log of the J2EE stack to see if the HTTP service was started? If you have set the ICM profile parameters correctly then check what is happening to the port. Check using jcmon/jsmon tool for the port.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Klaus,
You can use icm monitor from SAP MMC. For administration of icm you need to sign in.
You can create a user for signin using below first link.
The others are useful for icm.
Check active services in ICM admin screen on SAP MMC.
When you login you will have chance to "Change Service, Add Service, Activate/Deactivate Service, Delete Service"
Creating Administration Users - Internet Communication Manager (ICM) - SAP NetWeaver - SAP Library
Regards,
Yuksel AKCINAR
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Klaus,
I was going to advise you,
1- Configure all instances (ABAP+JAVA) port parameters as described in below link.
2- Stop all instances
3- Then start again.
In addition;
* You can also check port usages from SAPMMC Tool Access Points tree element of each instance.
* You can restart ICM of and ABAP instances on SMICM transaction Administration menu without restarting the instance
Waiting for feedback.
Regards,
Yuksel AKCINAR
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
In the screenshot it shows HTTP port as "null". Check if the icm parameter for HTTP is set in the profile or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Check icm/server_port_XX parameter.
You can define them in proofile parameters as described in below link.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.