如何使用IBM WebSphere Application Server Liberty Profile配置IIS? [英] How to configure IIS with IBM WebSphere Application Server Liberty Profile?

查看:187
本文介绍了如何使用IBM WebSphere Application Server Liberty Profile配置IIS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在IBM WAS(Liberty Profile)服务器前设置IIS(版本8.x,Windows 2008),以便它可以将所有特定请求路由到IBM WebSphere应用程序服务器(Liberty Profile)。



我已经安装了&配置以下项目:




  • 已安装的IBM WebSphere Application Server Liberty Core(版本8.5.5)

  • 已安装的IBM MobileFirst Platform Server(Verison 7.1)

  • 已安装的IBM WAS WebServer插件

  • 已安装的IBM WebSphere Customization Toolbox(V8.5)



我还部署了一个MobileFirst Runtime,它的工作完全正常。现在剩下的唯一步骤是使用IIS进行配置。



我正在关注以下链接,但无法彻底理解:





我的plugin-cfg.xml如下所示:

 <? xml version =1.0encoding =UTF-8?> 
< Config ASDisableNagle =falseAcceptAllContent =falseAppServerPortPreference =HostHeaderChunkedResponse =falseFIPSEnable =falseIISDisableNagle =falseIISPluginPriority =HighIgnoreDNSFailures =falseRefreshInterval = 60ResponseChunkSize =64SSLConsolidate =falseTrustedProxyEnable =falseVHostMatchingCompat =false>
< Log LogLevel =ErrorName =。\ logs\defaultServer\http_plugin.log/>
< Property Name =ESIEnableValue =true/>
< Property Name =ESIMaxCacheSizeValue =1024/>
< Property Name =ESIInvalidationMonitorValue =false/>
< Property Name =ESIEnableToPassCookiesValue =false/>
< Property Name =PluginInstallRootValue =。/>
< VirtualHostGroup Name =default_host>
< VirtualHost Name =*:443/>
< VirtualHost Name =*:9443/>
< VirtualHost Name =*:80/>
< VirtualHost Name =*:9080/>
< / VirtualHostGroup>
< ServerCluster CloneSeparatorChange =falseGetDWLMTable =falseIgnoreAffinityRequests =trueLoadBalance =Round RobinName =defaultServer_default_node_ClusterPostBufferSize =0PostSizeLimit = - 1RemoveSpecialHeaders =trueRetryInterval = 60 >
< Server CloneID =89f03a0d-7c05-4c33-a82c-12da20477cddConnectTimeout =5ExtendedHandshake =falseMaxConnections = - 1Name =default_node_defaultServer0ServerIOTimeout =900WaitForContinue =false >
< Transport Hostname =localhostPort =9080Protocol =http/>
< Transport Hostname =localhostPort =9443Protocol =https>
< Property Name =keyringValue =keyring.kdb/>
< Property Name =stashfileValue =keyring.sth/>
< Property Name =certLabelValue =LibertyCert/>
< / Transport>
< / Server>
< PrimaryServers>
< Server Name =default_node_defaultServer0/>
< / PrimaryServers>
< / ServerCluster>
< UriGroup Name =default_host_defaultServer_default_node_Cluster_URIs>
< Uri AffinityCookie =JSESSIONIDAffinityURLIdentifier =jsessionidName =/ RestProject / */>
< Uri AffinityCookie =JSESSIONIDAffinityURLIdentifier =jsessionidName =/ wladmin / */>
< Uri AffinityCookie =JSESSIONIDAffinityURLIdentifier =jsessionidName =/ HelloWorld / */>
< Uri AffinityCookie =JSESSIONIDAffinityURLIdentifier =jsessionidName =/ IBMJMXConnectorREST / */>
< Uri AffinityCookie =JSESSIONIDAffinityURLIdentifier =jsessionidName =/ worklightconsole / */>
< / UriGroup>
< Route ServerCluster =defaultServer_default_node_ClusterUriGroup =default_host_defaultServer_default_node_Cluster_URIsVirtualHostGroup =default_host/>
< / Config>

我收到以下错误:



请求失败:/worklightconsole/services/management-apis/1.0/runtimes/HelloWorld/applications



请求失败:/worklightconsole/services/management-apis/1.0/runtimes/ HelloWorld



请求失败:/worklightconsole/services/management-apis/1.0/runtimes/HelloWorld/adapters?offset=0&pageSize=15



任何帮助都将受到高度赞赏。

解决方案

总结所有链接和步骤:




I am trying to setup IIS (version 8.x, windows 2008) in front of IBM WAS(Liberty Profile) server so that it can route all specific requests to IBM WebSphere application server(Liberty Profile).

I have already installed & configured following items :

  • Installed IBM WebSphere Application Server Liberty Core (Version 8.5.5)
  • Installed IBM MobileFirst Platform Server (Verison 7.1)
  • Installed WebServer Plugins for IBM WAS
  • Installed IBM WebSphere Customization Toolbox (Version 8.5)

I have also deployed one MobileFirst Runtime and it's working totally fine. Now the only step remaining is configuration with IIS.

I am following below link, But could not understand it thoroughly :

https://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/tins_manualWebIIS.html

As I have installed IBM WAS Liberty Core, It did note come up with any IBM JAVA SDK. Is It required? How can I install IBM Java SDK for IBM WAS Liberty?

I am really lost about what should be the first step.

Edit on 24/09/2015 :

Now all application requests are redirecting to IBM WAS. When I hit, localhost/HelloWorld/apps/services/www/HelloWorld/desktopbrowser/default/index.html, HelloWorld app is working totally fine.

Now the only problem is when I hit /worklightconsole, It is not able to get deployed application and adapters.

My plugin-cfg.xml looks like this :

<?xml version="1.0" encoding="UTF-8"?>
<Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" SSLConsolidate="false" TrustedProxyEnable="false" VHostMatchingCompat="false">
   <Log LogLevel="Error" Name=".\logs\defaultServer\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="PluginInstallRoot" Value="."/>
   <VirtualHostGroup Name="default_host">
      <VirtualHost Name="*:443"/>
      <VirtualHost Name="*:9443"/>
      <VirtualHost Name="*:80"/>
      <VirtualHost Name="*:9080"/>
   </VirtualHostGroup>
   <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="defaultServer_default_node_Cluster" PostBufferSize="0" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
      <Server CloneID="89f03a0d-7c05-4c33-a82c-12da20477cdd" ConnectTimeout="5" ExtendedHandshake="false" MaxConnections="-1" Name="default_node_defaultServer0" ServerIOTimeout="900" WaitForContinue="false">
         <Transport Hostname="localhost" Port="9080" Protocol="http"/>
         <Transport Hostname="localhost" Port="9443" Protocol="https">
            <Property Name="keyring" Value="keyring.kdb"/>
            <Property Name="stashfile" Value="keyring.sth"/>
            <Property Name="certLabel" Value="LibertyCert"/>
         </Transport>
      </Server>
      <PrimaryServers>
         <Server Name="default_node_defaultServer0"/>
      </PrimaryServers>
   </ServerCluster>
   <UriGroup Name="default_host_defaultServer_default_node_Cluster_URIs">
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/RestProject/*"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/wladmin/*"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/HelloWorld/*"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/IBMJMXConnectorREST/*"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/worklightconsole/*"/>
   </UriGroup>
   <Route ServerCluster="defaultServer_default_node_Cluster" UriGroup="default_host_defaultServer_default_node_Cluster_URIs" VirtualHostGroup="default_host"/>
</Config>

I am getting following errors :

Failed request: /worklightconsole/services/management-apis/1.0/runtimes/HelloWorld/applications

Failed request: /worklightconsole/services/management-apis/1.0/runtimes/HelloWorld

Failed request: /worklightconsole/services/management-apis/1.0/runtimes/HelloWorld/adapters?offset=0&pageSize=15

Any help would be highly appreciated.

解决方案

Just to summarize all the links and steps:

这篇关于如何使用IBM WebSphere Application Server Liberty Profile配置IIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆