1

我正在尝试在 IIS 7 后面使用 Bamboo。我已经用尽了我所有的资源,所以我希望这里有人可以提供帮助。在启动竹子并尝试连接我的浏览器后,最终超时并显示 503。请注意,目前只有竹子有问题。JIRA、Confluence 和 Crowd 都可以正常工作

竹州的原木

jvm 1| 2010-02-13 00:02:16.256::WARN:  EXCEPTION  
jvm 1| java.lang.IllegalAccessError  
jvm 1|      at org.mortbay.jetty.ajp.Ajp13Connection.<init>(Ajp13Connection.java:51)  
jvm 1|      at org.mortbay.jetty.ajp.Ajp13SocketConnector.newHttpConnection(Ajp13SocketConnector.java:79)  
jvm 1|      at org.mortbay.jetty.bio.SocketConnector$Connection.<init>(SocketConnector.java:182)  
jvm 1|      at org.mortbay.jetty.bio.SocketConnector.accept(SocketConnector.java:102)  
jvm 1|      at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:707)  
jvm 1|      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)  `

和 Isapi_redirect.log 状态:

[Sat Feb 13 00:07:40.360 2010] [2248:5256] [info] jk_ajp_common.c (1143): (worker4) can't receive the response header message from tomcat, tomcat (127.0.0.1:8035) has forced a connection close for socket 620  
[Sat Feb 13 00:07:40.360 2010] [2248:5256] [error] jk_ajp_common.c (1962): (worker4) Tomcat is down or refused connection. No response has been sent to the client (yet)  
[Sat Feb 13 00:07:40.361 2010] [2248:5256] [info] jk_ajp_common.c (2447): (worker4) sending request to tomcat failed (recoverable),  (attempt=1)  
[Sat Feb 13 00:07:40.361 2010] [2248:3860] [info] jk_ajp_common.c (1143): (worker4) can't receive the response header message from tomcat, tomcat (127.0.0.1:8035) has forced a connection close for socket 636  
[Sat Feb 13 00:07:40.361 2010] [2248:3860] [error] jk_ajp_common.c (1962): (worker4) Tomcat is down or refused connection. No response has been sent to the client (yet)  
[Sat Feb 13 00:07:40.361 2010] [2248:3860] [info] jk_ajp_common.c (2447): (worker4) sending request to tomcat failed (recoverable),  (attempt=1)  `

我已按照此处的说明将 Bamboo 配置为使用码头配置文件:http: //confluence.atlassian.com/display/BAMBOO/Getting+Bamboo+Standalone+to+use+the+jetty.xml+file

我已经配置了我的 jetty.xml 并添加了

<Call name="addConnector">  
   <Arg>  
     <New class="org.mortbay.jetty.ajp.Ajp13SocketConnector">  
       <Set name="port">8035</Set>  
     </New>  
   </Arg>  
</Call>  

Isapi 配置信息:

workers.properties.minimal 看起来像这样:

#jira  
worker.worker1.type=ajp13  
worker.worker1.host=localhost  
worker.worker1.port=8009  

#confluence  
worker.worker2.type=ajp13  
worker.worker2.host=localhost  
worker.worker2.port=8014  

#crowd  
worker.worker3.type=ajp13  
worker.worker3.host=localhost  
worker.worker3.port=8016  

#bamboo  
worker.worker4.type=ajp13  
worker.worker4.host=localhost  
worker.worker4.port=8035  

uriworkermap.properties 文件:

/jira/*=worker1  
/confluence/*=worker2  
/crowd/*=worker3  
/bamboo/*=worker4  

有任何想法吗?

4

2 回答 2

0

对于 AJP,我认为您不应该使用 isapi_rewrite - 这就像将 HTTP 插头连接到 AJP 套接字,它不匹配。

您希望 IIS 端有一个 AJP 连接器:

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

于 2011-03-10T21:58:16.490 回答
-1

检查 jetty ajp jar 文件的版本是否与您的 jetty 版本匹配

于 2010-06-08T20:06:12.867 回答