`
excuse
  • 浏览: 40804 次
  • 来自: eye bee M
社区版块
存档分类
最新评论

How to Cofigure starting WAS with WindowsXP's boot

阅读更多

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
分享到:
评论
1 楼 EdgenHuang 2009-06-20  
<p>[b][/b]</p>
<p> </p>

相关推荐

    How to impement snmp v3 in windows xp

    How to impement snmp v3 in windows xp

    How to Learn Any Language

    How to Learn Any Language 全英!!!

    Write To The Point - How To Communicate In Business With Style And Purpose - S J Iacone (Career Press) - 2003.chm

    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.

    linux howto中文合集

    with-LILO-html&lt;br&gt;Networking-Overview-HOWTO-html&lt;br&gt;News-HOWTO-html&lt;br&gt;News-Leafsite-html&lt;br&gt;Oracle-HOWTO-html&lt;br&gt;Plug-and-Play-HOWTO-html&lt;br&gt;PPP-HOWTO-html&lt;br&gt;Printing-HOWTO-html&lt;br&gt;QT 3.3 中文白皮书...

    HOWTO: Subversion for Windows with Apache server - a beginner's guide

    HOWTO: Subversion for Windows with Apache server - a beginner's guide

    How to come up with new ideas

    How to come up with new ideas 一位计算机图形学和图像处理领域的牛人做的关于寻找新想法的报告

    how to work with crystal report in sap business one

    how to work with crystal report in sap business one

    Spring: Microservices with Spring Boot

    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 ...

    How to use SFTP

    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 ...

    统计陷阱 How to Lie With Statistics 中文版 清晰 PDF

    ### 统计陷阱知识点概述 #### 一、统计陷阱概览 - **作者与背景**:《统计陷阱》由美国著名统计学家达莱尔·哈夫撰写,首次出版于1954年,至今仍被视为统计学领域的经典之作。哈夫本人是一位具有深厚统计学背景的...

    how to solve it

    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 ...

    Linux Howto 中文文档

    HOWTO-INDEX (17KB) 包含了 Linux HOWTOs 与 mini-HOWTOs 的索引. INFO-SHEET (16KB) Linux 作业系统的基本资讯 Intranet-Server-HOWTO (17KB) 从Unix、Netware、NT 以及 Windows 连接在一起。 ISP...

    How to Cheat at Securing a Wireless Network

    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?

    标题 "How to install Notepad2 in XP?" 涉及的是在Windows XP操作系统中安装Notepad2这款文本编辑器的过程。Notepad2是一款轻量级、功能强大的替代原生记事本的工具,尤其受到程序员和系统管理员的青睐。下面我们将...

    Beginning Spring Boot 2 (epub, mobi, pdf, source code)

    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 ...

    How to Develop a boot loader.doc

    开发引导加载程序(Boot Loader)是构建嵌入式系统中的关键步骤,它负责启动设备的过程,初始化目标设备,下载操作系统(OS)映像,并在目标设备上引导OS映像。本文档主要针对Microsoft Windows CE .NET 4.2版本,...

    i386 boot code howto

    ### i386 Boot Code HOWTO:深入了解Linux i386引导代码 #### 引言 《i386 Boot Code HOWTO》是一份由Feiyun Wang编写的详尽文档,旨在为Linux内核新手及资深开发者提供深入理解i386架构下Linux引导过程的指南。该...

    How to build compile server with virtualbox & samba

    How to build compile server with virtualbox & samba

Global site tag (gtag.js) - Google Analytics