WindowsXP上如何配置WebSphere Application Server7自启动
WAS版本:WAS7.0.0.0
操作系统:WindowsXP
操作系统用户:administrator
安装目录:C:\Program Files\IBM\WebSphere\AppServer
概要文件类型:单元(部署管理器和联合应用程序服务器)
执行 <WAS_Root>\bin\WASService.exe
WASService命令参数详细解析:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rins_wasservice.html
格式为:
WASService.exe -add service_name
-serverName server_name
-profilePath server_profile_directory
[-wasHome app_server_root]
[-configRoot configuration_repository_directory]
[-startArgs additional_start_arguments]
[-stopArgs additional_stop_arguments]
[-userid user_id -password password]
[-logFile service_log_file]
[-logRoot server_log_directory]
[-restart true | false]
[-startType automatic | manual | disabled]
示例一:安装部署管理器服务,Dmgr01
<WAS_Root>\bin\WASService -add Dmgr01 -serverName Dmgr01 -profilePath "C:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01" -startArgs "-username admin -password admin" -stopArgs "-username admin -password admin" -restart true -startType automatic
执行及手工运行结果如下:
示例二:安装应用服务器结点代理服务,AppSrv01
<WAS_Root>\bin\WASService -add AppSrv01 -serverName nodeagent -profilePath "C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01" -startArgs "-username admin -password admin" -stopArgs "-username admin -password admin" -restart true -startType automatic
执行及手工运行结果如下:
示例三:安装应用服务器服务,server1
<WAS_Root>\bin\WASService -add AppSrv01server1 -serverName server1 -profilePath "C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01" -startArgs "-username admin -password admin" -stopArgs "-username admin -password admin" -restart true -startType automatic
执行及手工运行结果如下:
如果有其它server2,3,4等,请按示例三进行配置
如果还有其它结点,请同时按示例二和示例三进行配置
最后,在IE里登录http://localhost:9060/admin,查看服务器状态如下:
到控制面板->管理工具->服务中,可以看到你创建的服务已出现,且是正常运行状态。
重新启动操作系统后,等一定时间差不多服务都启动完成后,再登录IE来查看结果。
注意:
1.不需要为示例一、二、三中的服务规定启动顺序,不过如何示例二无法启动,示例三当然也无法启动。
2.在创建 Windows 服务后启动和停止服务器进程时使用startServer server1 命令或 stopServer server1 命令,那么会显示类似于以下示例的消息:
因为将 server1 注册为作为 Windows 服务方式运行,因此启动此服务器的请求将通过启动关联的 Windows 服务完成。
在这时,你可以通过WASService -start servicename 来停止服务,WASService -stop servicename 来停止服务
- 大小: 15.7 KB
- 大小: 15.2 KB
- 大小: 20.7 KB
- 大小: 29.1 KB
分享到:
相关推荐
How to impement snmp v3 in windows xp
How to Learn Any Language 全英!!!
This book provides practical, proven techniques for making writing for ... All levels of business and technical personnel will find this easy-to-read guide invaluable and immediately useful every day.
with-LILO-html<br>Networking-Overview-HOWTO-html<br>News-HOWTO-html<br>News-Leafsite-html<br>Oracle-HOWTO-html<br>Plug-and-Play-HOWTO-html<br>PPP-HOWTO-html<br>Printing-HOWTO-html<br>QT 3.3 中文白皮书...
HOWTO: Subversion for Windows with Apache server - a beginner's guide
How to come up with new ideas 一位计算机图形学和图像处理领域的牛人做的关于寻找新想法的报告
how to work with crystal report in sap business one
This book is a quick learning guide on how to build, monitor, and deploy microservices with Spring Boot. You'll be first familiarized with Spring Boot before delving into building microservices. You ...
You should ensure that the server's public keys are loaded by the client as described in How to use SFTP (with server validation - known hosts), or you may want to switch off server validation to get ...
### 统计陷阱知识点概述 #### 一、统计陷阱概览 - **作者与背景**:《统计陷阱》由美国著名统计学家达莱尔·哈夫撰写,首次出版于1954年,至今仍被视为统计学领域的经典之作。哈夫本人是一位具有深厚统计学背景的...
He was also an extraordinary teacher - he taught until he was ninety - and maintained a strong interest in pedagogical matters throughout his long career.In addition to "How to Solve It", he ...
HOWTO-INDEX (17KB) 包含了 Linux HOWTOs 与 mini-HOWTOs 的索引. INFO-SHEET (16KB) Linux 作业系统的基本资讯 Intranet-Server-HOWTO (17KB) 从Unix、Netware、NT 以及 Windows 连接在一起。 ISP...
He has contributed to several other Syngress publications, including Penetration Tester's Open Source Toolkit (ISBN: 1-5974490210), Stealing the Network: How to Own an Identity (ISBN: 1597490067), ...
标题 "How to install Notepad2 in XP?" 涉及的是在Windows XP操作系统中安装Notepad2这款文本编辑器的过程。Notepad2是一款轻量级、功能强大的替代原生记事本的工具,尤其受到程序员和系统管理员的青睐。下面我们将...
Learn Spring Boot and how to build Java-based enterprise, web, and microservice applications with it. In this book, you'll see how to work with relational and NoSQL databases, build your first ...
开发引导加载程序(Boot Loader)是构建嵌入式系统中的关键步骤,它负责启动设备的过程,初始化目标设备,下载操作系统(OS)映像,并在目标设备上引导OS映像。本文档主要针对Microsoft Windows CE .NET 4.2版本,...
### i386 Boot Code HOWTO:深入了解Linux i386引导代码 #### 引言 《i386 Boot Code HOWTO》是一份由Feiyun Wang编写的详尽文档,旨在为Linux内核新手及资深开发者提供深入理解i386架构下Linux引导过程的指南。该...
How to build compile server with virtualbox & samba