0

我已成功设置 IBH HTTP Server,生成插件,将其从 WAS 管理控制台传播到远程 WebServer,但仍无法通过 Web Server 连接到应用程序。

我已经成功地按照 IBM 手册here中所述的配置 HTTP 服务器的步骤进行操作。

WebServer 在端口 880 上运行,并且在请求时我可以从远程机器上看到 IHS 的欢迎页面:http://ihs-ip@:880

请求:http://ihs-ip@:880/app_name抛出 404 Not Found 消息,日志文件中没有错误。

IHS 机器上禁用了防火墙和 SELinux。

我尝试重新启动网络服务器、DMGR 和两个集群应用程序节点,但均未成功。

WebSphere AS 版本是:7.0.0.31 ND

如果需要,我可以发布我的 httpd.conf 和 plugin-cfg.xml 内容。

有什么线索吗?

谢谢。

更新:

这是我的 plugin-cfg.xml 文件的内容(我还注意到我在 default_host 虚拟主机中没有 *.880 别名):

<?xml version="1.0" encoding="ISO-8859-1"?><!--HTTP server plugin config file for the webserver DmgrBrokerClusterCell.ws-005056878644.xxxxx.com-node.webServerBroker880 generated on 2015.02.06 at 01:00:02 AM CET-->
<Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" FailoverToNext="false" HTTPMaxHeaders="300" IISDisableFlushFlag="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" KillWebServerStartUpOnParseErr="false" MarkBusyDown="false" OS400ConvertQueryStringToJobCCSID="false" RefreshInterval="60" ResponseChunkSize="64" SSLConsolidate="true" TrustedProxyEnable="false" VHostMatchingCompat="false">
   <Log LogLevel="Error" Name="/opt/IBM/HTTPServer/Plugins/logs/webServerBroker880/http_plugin.log"/>
   <Property Name="ESIEnable" Value="true"/>
   <Property Name="ESIMaxCacheSize" Value="1024"/>
   <Property Name="ESIInvalidationMonitor" Value="false"/>
   <Property Name="ESIEnableToPassCookies" Value="false"/>
   <Property Name="ESICacheidFull" Value="false"/>
   <Property Name="PluginInstallRoot" Value="/opt/IBM/HTTPServer/Plugins/"/>
   <VirtualHostGroup Name="default_host">
      <VirtualHost Name="*:9080"/>
      <VirtualHost Name="*:80"/>
      <VirtualHost Name="*:9443"/>
      <VirtualHost Name="*:5060"/>
      <VirtualHost Name="*:5061"/>
      <VirtualHost Name="*:443"/>
      <VirtualHost Name="ws-005056874449.xxxxx.com:9080"/>
      <VirtualHost Name="ws-005056874449.xxxxx.com:80"/>
      <VirtualHost Name="ws-005056874449.xxxxx.com:9443"/>
      <VirtualHost Name="ws-005056874449.xxxxx.com:5060"/>
      <VirtualHost Name="ws-005056874449.xxxxx.com:5061"/>
      <VirtualHost Name="ws-005056874449.xxxxx.com:443"/>
      <VirtualHost Name="*:9083"/>
   </VirtualHostGroup>
   <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="BrokerCluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60" ServerIOTimeoutRetry="-1">
      <Server CloneID="19da3jqec" ConnectTimeout="5" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="BrokerClusterNode001_Broker01" ServerIOTimeout="60" WaitForContinue="false">
         <Transport Hostname="10.1.140.206" Port="9083" Protocol="http"/>
         <Transport Hostname="10.1.140.206" Port="9446" Protocol="https">
            <Property Name="keyring" Value="/opt/IBM/HTTPServer/Plugins/config/webServerBroker880/plugin-key.kdb"/>
            <Property Name="stashfile" Value="/opt/IBM/HTTPServer/Plugins/config/webServerBroker880/plugin-key.sth"/>
         </Transport>
      </Server>
      <Server CloneID="19da3jrkm" ConnectTimeout="5" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="BrokerClusterNode002_Broker02" ServerIOTimeout="60" WaitForContinue="false">
         <Transport Hostname="10.1.140.207" Port="9083" Protocol="http"/>
         <Transport Hostname="10.1.140.207" Port="9446" Protocol="https">
            <Property Name="keyring" Value="/opt/IBM/HTTPServer/Plugins/config/webServerBroker880/plugin-key.kdb"/>
            <Property Name="stashfile" Value="/opt/IBM/HTTPServer/Plugins/config/webServerBroker880/plugin-key.sth"/>
         </Transport>
      </Server>
      <PrimaryServers>
         <Server Name="BrokerClusterNode001_Broker01"/>
         <Server Name="BrokerClusterNode002_Broker02"/>
      </PrimaryServers>
   </ServerCluster>
   <UriGroup Name="default_host_BrokerCluster_URIs">
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/Broker/*"/>
   </UriGroup>
   <Route ServerCluster="BrokerCluster" UriGroup="default_host_BrokerCluster_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>
4

1 回答 1

1

您需要将客户端通过 (880) 寻址到 Web 服务器的端口添加到 WAS 中的 default_host 主机别名,以便将其识别为与应用程序相关联。然后生成并传播plugin-cfg.xml。

于 2015-02-09T01:54:57.127 回答