
* This file contains sample wsadmin commands used to show how to run a jyhton file that 
* adds, updtates, deletes and displays all JVM custom properties

* If you have security enabled in your WAS cell, then update the userid and password in each line accoridingly
* If you do not have security ebabled then remove the -user and -password parameters

* The commands below are how you would enter them, assuming you are in the bin directory of the WAS V7 Deployment manager profile

* The following are samples showing how to add new properties

* Note these commands are case sensitive

* The key change you must make is to replace wynode5 with your node name and wysr01a with your server name

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a add wsc.servletFilter.contextRoot.1 /IBMTools

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a add wsc.servletFilter.contextRoot.2 /wsc-smf-user-dataWeb

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a add wsc.servletFilter.contextRoot.1.mappingFilter.1 EBizSuperSnoop

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a add wsc.servletFilter.contextRoot.1.mappingFilter.2 jdbcConnPool

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a add wsc.servletFilter.contextRoot.2.mappingFilter.1 *.jsp

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a add wsc.servletFilter.smfUserDataKey 65565

* The following is a sample showing how to update a property

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a update wsc.servletFilter.smfUserDataKey 65888

* The following is a sample showing how to delete a property 

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a delete wsc.servletFilter.smfUserDataKey 

* The following is a sample showing how to display all properties 

./wsadmin.sh -conntype SOAP -user wyadmin -password wyadm1n -lang jython -f /u/edmcar/was-manage-jvm-customProps.jy wynode5 wysr01a displayAll

