I'm using Arquillian + Arquillian Warp. Warp is a testing framework for combined client and server testing and it communicates via header fields. The problem is, that an thrown exception on the server side will be completly serialized and sent via http header. This exceeds the maximum header buffer size (as jbossweb doesn't support splitting the header into multiple sends). Therefore I need to increase the header buffer size for tests. How do I do this? I couldn't find some usable information about that.