简体   繁体   English

如何使用Apache ISAPI重定向器1.2.37将JBoss AS 7.1.1与IIS 7连接

[英]How to connect JBoss AS 7.1.1 with IIS 7 using Apache ISAPI Redirector 1.2.37

I am trying to migrate my web app from JBoss EAP 5 to AS 7.1.1 and I am not able to get the IIS requests redirected to JBoss Web (Tomcat) on Windows 2008 R2 X64. 我正在尝试将Web应用程序从JBoss EAP 5迁移到AS 7.1.1,但无法将IIS请求重定向到Windows 2008 R2 X64上的JBoss Web(Tomcat)。

I have the filter authorized and running in IIS and pointing to the proper DLL and properties files and followed all the instructions I could find to get this working under JB 7 (it worked under JB 5). 我已授权该筛选器在IIS中运行,并指向正确的DLL和属性文件,并按照我可以找到的所有说明进行操作,以使其在JB 7下工作(在JB 5下工作)。 I am missing the last step which no one seems to be covering in their posts and answers. 我错过了最后一步,似乎没有人在他们的帖子和答案中进行介绍。

Where do you make the changes to connect JBoss Web to port 8009 used by the AJP 1.3 connector?. 在哪里进行更改以将JBoss Web连接到AJP 1.3连接器使用的端口8009? Most of the examples refer to updating the connector in the server.xml file in JBOSS_HOME/server/default/Deploy/jbossweb.sar. 大多数示例都涉及更新JBOSS_HOME / server / default / Deploy / jbossweb.sar中server.xml文件中的连接器。

I don't have anything like that under the new JBOSS_HOME/standalone/deployments folder. 在新的JBOSS_HOME / standalone / deployments文件夹下,我没有类似的东西。 Where is JBoss Web configured? JBoss Web在哪里配置?

Thank you for any pointers or examples you could supply. 感谢您提供的任何提示或示例。

Finally figured it out, the problem was a missing ajp connector that had to be defined in standalone.xml in the web subsystem as follows: 最终弄清楚了,问题是缺少了一个ajp连接器,该连接器必须在Web子系统的standalone.xml中定义,如下所示:

<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="eStar-Host" native="false">
    <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
    <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
         <ssl/>
    </connector>
    <connector name="ajp13" protocol="AJP/1.3" scheme="http" socket-binding="ajp" redirect-port="8443"/>
    <virtual-server name="eStar-Host" enable-welcome-root="true">
         <alias name="localhost"/>
    </virtual-server>
</subsystem>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM