隨筆-193  評論-715  文章-1  trackbacks-0

          安裝與配置的步驟如下:
          1,安裝WAS (我用WAS6.1)

          2,安裝IHS

          3,安裝WAS Plugin (Local方式)

          4,啟動WAS

          5,將plugin下bin目錄中的configurewebserver.bat copy到WAS_HOME\AppServer\bin目錄下,運(yùn)行.
          運(yùn)行時産生的結(jié)果如下:
          C:\Program Files\IBM\WebSphere\AppServer\bin>wsadmin.bat -f configureWebserverDe
          finition.jacl webserver IHS "C:\\Program Files\\IBM\\HTTPServer" "C:\\Program Fi
          les\\IBM\\HTTPServer\\conf\\httpd.conf" 80 MAP_ALL "C:\\Program Files\\IBM\\WebS
          phere\\Plugin" unmanaged ing-4 ing-4 windows
          WASX7209I: Connected to process "server1" on node ing-4Node01 using SOAP connect
          or; The type of process is: UnManagedProcess
          WASX7303I: The following options are passed to the scripting environment and are
          available as arguments that are stored in the argv variable: "[webserver, IHS,
          C:\\Program Files\\IBM\\HTTPServer, C:\\Program Files\\IBM\\HTTPServer\\conf\\ht
          tpd.conf, 80, MAP_ALL, C:\\Program Files\\IBM\\WebSphere\\Plugin, unmanaged, ing
          -4, ing-4, windows]"

          Input parameters:

          Web server name - webserver
          Web server type - IHS
          Web server install location - C:\Program Files\IBM\HTTPServer
          Web server config location - C:\Program Files\IBM\HTTPServer\conf\httpd.conf

          Web server port - 80
          Map Applications - MAP_ALL
          Plugin install location - C:\Program Files\IBM\WebSphere\Plugin
          Web server node type - unmanaged
          Web server node name - ing-4
          Web server host name - ing-4
          Web server operating system - windows
          IHS Admin port - 8008
          IHS Admin user ID - ""
          IHS Admin password - ""
          IHS service name - ""

          Web server node definition ing-4Node01 already exists.

          Web server definition for webserver already exists.

          Start computing the plugin properties ID.
          Plugin properties ID is computed.

          Start updating the plugin install location.
          Plugin install location is updated.

          Start updating the plugin log file location.
          Plugin log file location is updated.

          Start updating the RemoteConfigFilename location.
          Plugin remote config file location is updated.

          Start updating the RemoteKeyRingFileName location.
          Plugin remote keyring file location is updated.

          Start saving the configuration.

          Configuration save is complete.

          Computed the list of installed applications.

          Processing the application DefaultApplication.
          Get the current target mapping for the application DefaultApplication.
          Computed the current target mapping for the application DefaultApplication.
          Start updating the target mappings for the application DefaultApplication.
          Target mapping is not updated for the application DefaultApplication, exception
          = com.ibm.ws.scripting.ScriptingException: com.ibm.websphere.management.exceptio
          n.AdminException
          javax.management.MBeanException
          com.ibm.websphere.management.exception.AdminException: ADMA5026E: No valid targe
          t is specified in ObjectName WebSphere:cell=ing-4Node01Cell,node=ing-4Node01,ser
          ver=webserver1 for module DefaultWebApplication.war+WEB-INF/web.xml.

          Processing the application WebSphereTPHost.
          Get the current target mapping for the application WebSphereTPHost.
          Computed the current target mapping for the application WebSphereTPHost.
          Start updating the target mappings for the application WebSphereTPHost.
          Target mapping is updated for the application WebSphereTPHost.

          Processing the application ivtApp.
          Get the current target mapping for the application ivtApp.
          Computed the current target mapping for the application ivtApp.
          Start updating the target mappings for the application ivtApp.
          Target mapping is not updated for the application ivtApp, exception = com.ibm.ws
          .scripting.ScriptingException: com.ibm.websphere.management.exception.AdminExcep
          tion
          javax.management.MBeanException
          com.ibm.websphere.management.exception.AdminException: ADMA5026E: No valid targe
          t is specified in ObjectName WebSphere:cell=ing-4Node01Cell,node=ing-4Node01,ser
          ver=webserver1 for module ivtEJB.jar+META-INF/ejb-jar.xml.

          Processing the application query.
          Get the current target mapping for the application query.
          Computed the current target mapping for the application query.
          Start updating the target mappings for the application query.
          Target mapping is not updated for the application query, exception = com.ibm.ws.
          scripting.ScriptingException: com.ibm.websphere.management.exception.AdminExcept
          ion
          javax.management.MBeanException
          com.ibm.websphere.management.exception.AdminException: ADMA5026E: No valid targe
          t is specified in ObjectName WebSphere:cell=ing-4Node01Cell,node=ing-4Node01,ser
          ver=webserver1 for module querybean.jar+META-INF/ejb-jar.xml.

          Start saving the configuration.

          Configuration save is complete.

          6,重新啟動WAS,然後産生外掛程式和傳送外掛程式,正常.plugin-cfg.xml的內(nèi)容如下:
          <?xml version="1.0" encoding="ISO-8859-1"?>
          <!--HTTP server plugin config file for the webserver ing-4Node01Cell.ing-4Node01.webserver generated on 2007.07.13 at 07:04:13 PM CST-->
          <Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" VHostMatchingCompat="false">
          <Log LogLevel="Error" Name="C:\Program Files\IBM\WebSphere\Plugin/logs/webserver/http_plugin.log"/>
          <Property Name="ESIEnable" Value="true"/>
          <Property Name="ESIMaxCacheSize" Value="1024"/>
          <Property Name="ESIInvalidationMonitor" Value="false"/>
          <VirtualHostGroup Name="default_host">
          <VirtualHost Name="*:9080"/>
          <VirtualHost Name="*:80"/>
          <VirtualHost Name="*:9443"/>
          <VirtualHost Name="*:5060"/>
          <VirtualHost Name="*:5061"/>
          <VirtualHost Name="*:443"/>
          </VirtualHostGroup>
          <ServerCluster CloneSeparatorChange="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_ing-4Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
          <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="ing-4Node01_server1" ServerIOTimeout="0" WaitForContinue="false">
          <Transport Hostname="ing-4" Port="9080" Protocol="http"/>
          <Transport Hostname="ing-4" Port="9443" Protocol="https">
          <Property Name="keyring" Value="C:\Program Files\IBM\WebSphere\Plugin/config/webserver/plugin-key.kdb"/>
          <Property Name="stashfile" Value="C:\Program Files\IBM\WebSphere\Plugin/config/webserver/plugin-key.sth"/>
          </Transport>
          </Server>
          </ServerCluster>
          <UriGroup Name="default_host_server1_ing-4Node01_Cluster_URIs">
          <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WebSphereTPHosts/*"/>
          </UriGroup>
          <Route ServerCluster="server1_ing-4Node01_Cluster" UriGroup="default_host_server1_ing-4Node01_Cluster_URIs" VirtualHostGroup="default_host"/>
          <RequestMetrics armEnabled="false" loggingEnabled="false" rmEnabled="false" traceLevel="HOPS">
          <filters enable="false" type="URI">
          <filterValues enable="false" value="/snoop"/>
          <filterValues enable="false" value="/hitcount"/>
          </filters>
          <filters enable="false" type="SOURCE_IP">
          <filterValues enable="false" value="255.255.255.255"/>
          <filterValues enable="false" value="254.254.254.254"/>
          </filters>
          <filters enable="false" type="JMS">
          <filterValues enable="false" value="destination=aaa"/>
          </filters>
          <filters enable="false" type="WEB_SERVICES">
          <filterValues enable="false" value="wsdlPort=aaa:op=bbb:nameSpace=ccc"/>
          </filters>
          </RequestMetrics>
          </Config>

          7,安裝您自己的應(yīng)用程式.

          8,訪問http://localhost/應(yīng)用程式根/ 出現(xiàn)畫面

          posted on 2007-07-15 18:39 Robin's Programming World 閱讀(7067) 評論(2)  編輯  收藏 所屬分類: Java

          評論:
          # re: WAS與IHS集成的安裝與配置[未登錄] 2008-05-13 21:04 | kernal
          請問一下 第三步 安裝WAS Plugin (Local方式) 是怎么安裝的吶?能詳細(xì)說一下嗎? shuangpingli@126.com qq:154120353
            回復(fù)  更多評論
            
          # re: WAS與IHS集成的安裝與配置 2008-05-15 19:52 | Robin's Java World
          @kernal
          你照著安裝上的提示,一步步的做就OK了。沒什么太多機(jī)關(guān)。  回復(fù)  更多評論
            
          主站蜘蛛池模板: 杭锦后旗| 旬阳县| 镶黄旗| 于田县| 定州市| 金塔县| 明星| 西畴县| 青冈县| 阳山县| 揭西县| 定日县| 澄江县| 岐山县| 桂林市| 眉山市| 钦州市| 大余县| 繁昌县| 新民市| 昌黎县| 儋州市| 长海县| 柯坪县| 灵川县| 双江| 铜鼓县| 高尔夫| 洛扎县| 肃宁县| 肥城市| 呈贡县| 斗六市| 蒙城县| 电白县| 安化县| 东兰县| 遂宁市| 黔江区| 罗甸县| 泌阳县|