My OAS which contains multiple OC4J running on Linux. I was able to find one of my OC4J instance process id from command:
ps -eaf | grep myprocesskeyword
return me:
myuser 24024 22295 0 2010 ? 06:34:02 /jdk/bin/java -server -XX:MaxPermSize=256M -Xms1024M -Xmx1024M -XX:AppendRatio=3 -Djava.security.policy=.... ...
so, I know my process id is 24024
then I run following to check which port it listening:
netstat -npl | grep 24024
I got:
tcp 0 0 :::12608 :::* LISTEN 24024/java
tcp 0 0 ::ffff:63.182.168.57:9102 :::* LISTEN 24024/java
tcp 0 0 :::12709 :::* LISTEN 24024/java
tcp 0 0 :::12409 :::* LISTEN 24024/java
tcp 0 0 :::20508 :::* LISTEN 24024/java
udp 0 0 ::ffff:63.182.168.57:9102 :::* 24024/java
udp 0 0 :::44460 :::* 24024/java
So, seems it is listening on port 9102.
However, I've never defined to let OAS use port 9102, and I'm not able to find from OAS EM where the port 9102 being defined. I searched "Runtime Ports", it does not fall into any Port Range.
Could someone tell me why it use port 9102?
Thanks