Date Created: Mon 12-Jan-2009

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Jython script to list ports on a WebSphere Node.

getports.py

<was_root>/bin/wsadmin.sh -lang jython -f <path_to_file>/getports.py


Result as run on WebSphere Application Server 7.0.0.1

WASX7209I: Connected to process "server1" on node node01 using SOAP connector; The type of process is: UnManagedProcess
node01 BOOTSTRAP_ADDRESS 2809
node01 SOAP_CONNECTOR_ADDRESS 8880
node01 SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 9401
node01 CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 9403
node01 CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 9402
node01 WC_adminhost 9060
node01 WC_defaulthost 9080
node01 DCS_UNICAST_ADDRESS 9353
node01 WC_adminhost_secure 9043
node01 WC_defaulthost_secure 9443
node01 ORB_LISTENER_ADDRESS 9100
node01 SIP_DEFAULTHOST 5060
node01 SIP_DEFAULTHOST_SECURE 5061
node01 SIB_ENDPOINT_ADDRESS 9633
node01 SIB_ENDPOINT_SECURE_ADDRESS 7276
node01 SIB_MQ_ENDPOINT_ADDRESS 7286
node01 SIB_MQ_ENDPOINT_SECURE_ADDRESS 5558
node01 IPC_CONNECTOR_ADDRESS 5578

I have many WebSphere Jython example scripts being available here:
http://www.themiddlewareshop.com/category/websphere-jython-examples/
http://www.themiddlewareshop.com/category/websphere/websphere-application-server/jython/

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories