正在加载图片...
g Copynight IBM Corporation 2005. All nights reserved Part 1: WRD Deployment Automation"autoappinstall"style: WebSphere Bank In this part you will set up a WRD workspace that supports the Auto Application Install style. You will add an EAR file to the project, update it, and then remove it to see how the changes are reflected on the application server. The automatic application installation configuration creates a single monitored directory that listens for fully composed EAR files or application modules such as War files, EJB jar files, or stand-alone RAR files. If you place EAR files inside this monitored directory, the EAR is automatically deployed to the server. If you delete the EAR file from the monitored directory, then that application is uninstalled from the server. If you place WAR files or EJB jar files in the monitored directory, the rapid deployment tool generates the necessary EAR wrapper and then publishes that EAR file on the server. For RAR files, a wrapper is not created The stand-alone RaR files are published to the server 1. In the command prompt type md C: WRD to create a folder called WRD which will hold the WRD projects that will be defined 口区 : \We bSphere \AppServer\profiles\profile\bin )md C: \WRD \We bSphere \AppServer\profiles\profiled\bin) 2. Navigate to C: WebSphere\profileslprofile1 bin if not already there cd \WebSphere \AppServer\profiles \profile\bin 3. Configure the WRD Deployment Automation project using the"autoappinstall style a. At the command prompt type SET WORKSPACE=C: WRD and press enter. This will set the WRD workspace directory to the folder created in step 3 C: \e bSphere \AppServer\profiles \profile\bin >SET WORKSPACE=C: \RD C: \WebSphere\AppServerprofiles \profile\bin>. b. At the command prompt type wrd-config. bat -project " AutoInstall style " autoappinstall" and press Enter: Note:-project is the name of your WRD deployment automation project and-style is the style that applies to the project C. This command will execute for a minute as it starts to build the project. It will then ask for configuration parameters. You will need to enter the correct information for server Proof of Technology L04-Web Sphere Deployment Automation and WRU Page 7 of 28© Copyright IBM Corporation 2005. All rights reserved Proof of Technology L04 – WebSphere Deployment Automation and WRU Product Introduction + Exploration (PI+E) Page 7 of 28 Part 1: WRD Deployment Automation “autoappinstall” style: WebSphereBank In this part you will set up a WRD workspace that supports the Auto Application Install style. You will add an EAR file to the project, update it, and then remove it to see how the changes are reflected on the application server. The automatic application installation configuration creates a single monitored directory that listens for fully composed EAR files or application modules such as WAR files, EJB jar files, or stand-alone RAR files. If you place EAR files inside this monitored directory, the EAR is automatically deployed to the server. If you delete the EAR file from the monitored directory, then that application is uninstalled from the server. If you place WAR files or EJB jar files in the monitored directory, the rapid deployment tool generates the necessary EAR wrapper and then publishes that EAR file on the server. For RAR files, a wrapper is not created. The stand-alone RAR files are published to the server. ____ 1. In the command prompt type md C:\WRD to create a folder called WRD which will hold the WRD projects that will be defined. ____ 2. Navigate to C:\WebSphere\AppServer\profiles\profile1\bin if not already there. cd \WebSphere\AppServer\profiles\profile1\bin ____ 3. Configure the WRD Deployment Automation project using the “autoappinstall” style. __ a. At the command prompt type SET WORKSPACE=C:\WRD and press enter. This will set the WRD workspace directory to the folder created in step 3. __ b. At the command prompt type wrd-config.bat –project “AutoInstall” – style “autoappinstall” and press Enter: Note: -project is the name of your WRD deployment automation project and –style is the style that applies to the project __ c. This command will execute for a minute as it starts to build the project. It will then ask for configuration parameters. You will need to enter the correct information for server
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有