IIS7背后的Atlassian Bamboo与Isapi重定向

时间:2010-02-15 05:09:06

标签: iis jetty isapi bamboo isapi-redirect

我正在尝试在IIS 7后面使用Bamboo。我已经耗尽了所有资源,所以我希望有人可以提供帮助。在开始使用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配置为使用jetty配置文件: 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  

任何想法?

2 个答案:

答案 0 :(得分:0)

使用AJP,我认为你不应该使用isapi_rewrite - 就像将HTTP插件连接到AJP套接字一样,它不匹配。

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

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

答案 1 :(得分:-1)

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