wyhwlls
作者wyhwlls·2010-10-20 19:20
系统工程师·上海智联腾华软件有限公司

was命令,看看大家还有什么要补充的

字数 3045阅读 2680评论 1赞 4
启动was服务,如果是ND版需要先启动NODE再去单个启动was服务
D:IBMWebSphereAppServerprofilesAppSrv01binstartNode.bat
接着是启动我们对应的was应用服务
D:IBMWebSphereAppServerprofilesAppSrv01bin>startServer.bat server1


查看was历史信息,如果你打过补丁可以很多信息
D:IBMWebSphereAppServerprofilesAppSrv01bin>historyInfo.bat


查看server1是否启动
D:IBMWebSphereAppServerprofilesAppSrv01bin>serverStatus.bat server1


这个命令就不知道是做什么的了
D:IBMWebSphereAppServerprofilesAppSrv01bin>wsadmin.bat
WASX7209I: 使用 SOAP 连接器连接到节点 KyleCellManager01 上的进程“dmgr”;进程的类型为:DeploymentManager
WASX7029I: 要获取帮助,请输入:“$Help help”
wsadmin>
wsadmin>quit 


WASService 命令可以启动、停止、删除windows系统里的的was服务
D:IBMWebSphereAppServerbin>WASService.exe -help
Usage: WASService.exe (with no arguments displays this help)
                    || -add <service name>
                       -serverName <Server>
                       -profilePath <Server's Profile Directory>
                           [-wasHome <Websphere Install Directory>]
                           [-configRoot <Config Repository Directory>]
                           [-startArgs <additional start arguments>]
                           [-stopArgs <additional stop arguments>]
                           [-userid <execution id> -password <password>]
                           [-logFile <service log file>]
                           [-logRoot <server's log directory>]
                           [-encodeParams]
                           [-restart <true | false>]
                           [-startType <automatic | manual | disabled>]
                    || -remove <service name>
                    || -start <service name> [optional startServer.bat parameter
s]
                    || -stop <service name> [optional stopServer.bat parameters]

                    || -status <service name>
                    || -encodeParams <service name>

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

4

添加新评论1 条评论

wyhwllswyhwlls系统工程师上海智联腾华软件有限公司
2010-10-22 16:23
使用jython语言连接到节点服务器,会提示输入用户名密码
wsadmin -lang jython
生成单元中配置的端口的报告
>print AdminTask.reportConfiguredPorts()
列出所有数据源
>AdminConfig.list('DataSource')
列出所以动态缓存数据默认值
>print AdminConfig.defaults('DynamicCache')
退出
>quit

使用RMI连接器连接
wsadmin -conntype RMI -host 192.168.1.1 -port 2809  -user admin -password password
使用SOAP连接器连接
wsadmin -conntype SOAP -host 192.168.1.1 -port 8880  -user admin -password password
Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广