问题描述
我通过以下调用启动了graphdb:
/usr/local/graphdb-free-9.4.0/bin/graphdb -xms60g -Xmx60g -Dgraphdb.connector.port=7200 -s
Type Exception Report
Message Request header is too large
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g.,malformed request Syntax,invalid request message framing,or deceptive request routing).
如何启动服务器,以便接受任意大小的标头。
解决方法
如果未指定,则请求和响应HTTP标头的最大大小(以字节为单位)设置为4096(4 KB)。 “请求标头太大”错误消息是因为自动生成的查询太大。 您可以通过在下面的graphdb.properties文件中添加来更改Tomcat的maxHttpHeaderSize属性。
graphdb.connector.maxHttpHeaderSize = 65536