首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在使用wsadmin shell时加载脚本

如何在使用wsadmin shell时加载脚本
EN

Stack Overflow用户
提问于 2015-10-05 19:25:21
回答 1查看 532关注 0票数 0

系统管理员创建了一个名为globalScript的Python脚本。py。管理员应该做些什么来确保globalScript。当使用wsadmin shell时会加载py吗?

将globalScript.py编译为bin目录中的Java类。

使用参数-profileName globalScript.py调用wsadmin。

修改configureCustomProperty脚本以导入globalScript。py。

D.将wsadmin.properties文件中的脚本配置文件设置为加载globalScript .py。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-10-06 15:01:19

com.ibm.ws.scripting.profiles有一个条目wsadmin.properties,我们可以在其中添加要加载的脚本文件

所以D应该是答案

代码语言:javascript
复制
#-------------------------------------------------------------------------
# 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.jacl
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32956320

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档