我已成功设置IBH HTTP Server,生成插件,将其从WAS管理控制台传播到远程WebServer,但仍然无法通过Web服务器连接到应用程序。
我已经成功完成了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>
答案 0 :(得分:1)
您需要将客户端通过(880)向Web服务器发送的地址添加到WAS中的default_host主机别名,以便将其识别为与应用程序关联。然后生成并传播plugin-cfg.xml。