Problems with Apache AJP13 after upgrading to 2.12

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with Apache AJP13 after upgrading to 2.12

Krsmanovic, Dragisa
After upgrading to 2.12 I am seeing random Service Temporary Unavailable responses when connecting to Sonar via Apache server.

Looks like errors communicating with Apache via AJP13. 

Everything is the same as before. sonar.conf copied from 2.11. Tried obvious things like restarting Apache and Sonar.

 Environment: CentOS Linux, Apache/2.2.3 

Any ideas ?

Sonar.log:

WARN::handle failed
INFO   | jvm 1    | 2011/12/09 10:46:04 | java.io.IOException: Bad AJP13 rcv packet: 0x0 expected 0x1234 org.mortbay.jetty.ajp.Ajp13Parser@2290fb5f
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:276)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:152)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Error on Apache side /var/log/httpd/error_log:

[Fri Dec 09 16:37:04 2011] [error] (70014)End of file found: ajp_ilink_receive() can't receive header
[Fri Dec 09 16:37:04 2011] [error] ajp_read_header: ajp_ilink_receive failed
[Fri Dec 09 16:37:04 2011] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:8009 (localhost)

Thanks,
Dragisa
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Apache AJP13 after upgrading to 2.12

Evgeny Mandrikov
Hi,

I suppose that you face following issue: http://jira.codehaus.org/browse/SONAR-3058
Workaround is to manually downgrade Jetty libraries to 6.1.25.

On Sat, Dec 10, 2011 at 04:52, Krsmanovic, Dragisa <[hidden email]> wrote:
After upgrading to 2.12 I am seeing random Service Temporary Unavailable responses when connecting to Sonar via Apache server.

Looks like errors communicating with Apache via AJP13. 

Everything is the same as before. sonar.conf copied from 2.11. Tried obvious things like restarting Apache and Sonar.

 Environment: CentOS Linux, Apache/2.2.3 

Any ideas ?

Sonar.log:

WARN::handle failed
INFO   | jvm 1    | 2011/12/09 10:46:04 | java.io.IOException: Bad AJP13 rcv packet: 0x0 expected 0x1234 org.mortbay.jetty.ajp.Ajp13Parser@2290fb5f
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:276)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:152)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
INFO   | jvm 1    | 2011/12/09 10:46:04 |       at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Error on Apache side /var/log/httpd/error_log:

[Fri Dec 09 16:37:04 2011] [error] (70014)End of file found: ajp_ilink_receive() can't receive header
[Fri Dec 09 16:37:04 2011] [error] ajp_read_header: ajp_ilink_receive failed
[Fri Dec 09 16:37:04 2011] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:8009 (localhost)

Thanks,
Dragisa



--
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_