系统管理员创建了一个名为globalScript的Python脚本。py。管理员应该做些什么来确保globalScript。当使用wsadmin shell时会加载py吗?
将globalScript.py编译为bin目录中的Java类。
使用参数-profileName globalScript.py调用wsadmin。
修改configureCustomProperty脚本以导入globalScript。py。
D.将wsadmin.properties文件中的脚本配置文件设置为加载globalScript .py。
发布于 2015-10-06 15:01:19
com.ibm.ws.scripting.profiles有一个条目wsadmin.properties,我们可以在其中添加要加载的脚本文件
所以D应该是答案
#-------------------------------------------------------------------------
# The profiles property is a list of profiles to be run before
# running user commands, scripts, or an interactive shell.
# securityProcs is included here by default to make security
# configuration easier.
#-------------------------------------------------------------------------
com.ibm.ws.scripting.profiles=/hosting/products/WebSphereD24/bin/securityProcs.jacl;/hosting/products/WebSphereD24/bin/LTPA_LDAPSecurityProcs.jaclhttps://stackoverflow.com/questions/32956320
复制相似问题