Friends.
I am running some applciation with jboss 4.2.3 . i can find the list of ports which are static like (ajp,http.rmi,https,jnp) but there are some random ports occupied by Jboss which i cannot identify how to make them static. Any help would be appreciated.
See below
netstat -tlnp |grep 3557
tcp | 0 | 0 192.168.1.82:20000 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20001 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20002 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20003 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20004 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20005 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20006 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20007 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 0.0.0.0:35496 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20011 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 192.168.1.82:20013 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 0.0.0.0:42452 | 0.0.0.0:* | LISTEN | 3557/java |
tcp | 0 | 0 0.0.0.0:56699 | 0.0.0.0:* | LISTEN | 3557/java |
The bold one are random ports. I can identify one port which is in logs and i tried to change it bot not succeeded.
2011-11-22 16:07:35,203 DEBUG [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 35496
how to chnage these three ports to static one and in which files.
Regards
Himanshu
What you can look for are configurated ports with number "0" which mean random.
Arjuna you might find in the transaction*.xml files.