What should the administrator do to ensure globalScript.py is loaded when the wsadmin shell is used?
A system administrator has created a Jython script called globalScript.py.
What should the administrator do to ensure globalScript.py is loaded when the wsadmin shell is used?
A . Compile globalScript.py to a Java class in the bin directory.
B . Invoke wsadmin with the argument CprofileName globalScript.py.
C . Modify the configureCustomProperty script to import globalScript.py.
D . Set the script profiles in the wsadmin.properties file to load globalScript.py.
Answer: D
Explanation:
wsadmin.properties has this entry com.ibm.ws.scripting.profiles where we can add the scripting files to be loaded.
References: https://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/rxml_propscript.html
Latest C9510-401 Dumps Valid Version with 73 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund