启动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>
添加新评论1 条评论
2010-10-22 16:23
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