solr搜索报错,tomcat maxHttpHeaderSize 设置

项目上,大部分用户使用搜索正常,部分用户搜索报500。查看日志:

[kbs]22:09:54.253 INFO  c.k.service.core.CategoryListService - 权限构建完成,总共耗时: 耗时:331 ms
[kbs]22:09:55.652 INFO  c.k.service.core.CategoryListService - -------RESTRICTION_MAP----开始构建正文查看权限树 for  9394297
[kbs]22:09:55.653 INFO  c.k.s.c.r.CategoryRestrictionService - -----RESTRICTION_MAP----用户9394297角色为[06517b9b-3124-40c2-974e-dc277d1ac539]
[kbs]22:09:55.655 INFO  c.k.s.c.r.CategoryRestrictionService - -----RESTRICTION_MAP----用户9394297拥有的权限包[afc89d70-1519-4a50-b4a7-05be4f7078d4,34bb8c18-4f0e-4d00-a87d-afd33ff6c633,5d7496fc-0989-435d-b14d-164e32d3d4f2,e82ff74c-0d76-4a9f-9201-b432c85661a2,478cd81b-5896-4b4d-a27c-e15b4ac30cb1,58b52487-b5ba-41ad-9761-08aa87eea01d,fb756dca-d3d4-4694-a0a8-edf3c206df6e,b4fe903d-87a6-461d-bd8e-2c1867f92c82,d43534ef-51b8-406c-8762-cee2b46c4b3b,bfd05cac-04fe-4114-8e0c-cd5786adabfb]
[kbs]22:09:55.980 INFO  c.k.service.core.CategoryListService - 权限构建完成,总共耗时: 耗时:328 ms
[kbs]22:09:56.577 WARN  o.s.web.servlet.PageNotFound - Request method 'POST' not supported
[kbs]22:09:59.501 INFO  c.k.p.message.service.MessageService - 统计用户:6433913的未读消息,type:用户消息
[kbs]22:09:59.509 INFO  c.k.service.core.CategoryListService - -------RESTRICTION_MAP----开始构建正文查看权限树 for  6433913
[kbs]22:09:59.510 INFO  c.k.s.c.r.CategoryRestrictionService - -----RESTRICTION_MAP----用户6433913角色为[f849bddc-d3d2-4c87-bff9-ac350edbcd8f,77e0787a-1c0a-4f93-95b7-39cc10138be0,f7e08015-c9d5-4f77-873d-e1b8dfee51da,518e1887-6a2b-4ebe-88ae-6949f3e1ba02,bfcf2908-dcb6-46d0-81e2-c909fc463b9b,0474c977-88e3-44d8-aad9-763f7cfebf64]
[kbs]22:09:59.525 INFO  c.k.s.c.r.CategoryRestrictionService - -----RESTRICTION_MAP----用户6433913拥有的权限包[c3d1e254-e9f3-4be4-a338-987d19546f94,1dcec1b8-548d-4b89-b238-a56c577f41a4,4c61cddf-a313-4800-ae3b-18b2007406a6,ee4f094a-adf0-4d86-a3a3-a2d02a4e5408,687bae80-a29c-4cc7-af98-ff82367aa990,4317407a-3b4c-451d-af52-c0b9b759e7e0,d8ae25d7-fe95-49b7-8b83-784a33d68eec,ef256927-5da9-46ab-bc08-bcb0501df121,a2a5fe24-e41b-41d4-b4e2-13dccd893e41,e0d0317a-ecbc-4160-a015-217bdb724dd5,99c3f304-c827-49de-b582-61cc5db812cd,5f0bcf6b-af15-407a-a3b3-54b401086989,10dc8eca-e670-4a69-9482-f323ee1317b8,1aee7274-bf56-406d-9ccc-7c6faf408d25,17ca046f-384a-4c4f-afee-befd0c15d2a2,c1573cde-afb2-4dce-b0c5-861ecd074270,b3aeca42-eb35-49bc-aced-88bdd7fbc9f0,182c7a35-50ef-4c29-ade0-caf6e69a79a2,45630bde-1269-49ed-b832-40ac2971d954,c2d97d04-5bc6-4680-801b-07895bad3a1a,fb95d6ad-2f78-4104-a331-06129cc8f018,863ffb1a-1006-4eec-8809-d6e97cd3b3c0,9a9ba979-0d85-404a-bcaf-2646aeca236b,e28f43d2-9373-4a76-b21e-6683edb9a8e6,50c12c63-28dd-4497-87fb-50e77ff50f18,4be0b67a-15c8-42b2-9506-63c3bcc851a7,40d7e0b0-016a-4060-bf88-e7218035c3be,f8d637c1-28bd-4165-b11d-23ec1da6ee2f,641b3ebe-068c-4791-9dc4-af806ae7dca6,254a72ac-2925-4f09-a146-89a55aad7302,5b51d465-fc87-4b10-828b-2a6ebc77e5b1,2bb8d937-5571-446f-a960-176c1a7caad8,e99aa9ef-a215-45db-9903-7dc8e419093c,4eb699fc-3f54-49a3-adf4-ea952a178e01,dd2722e9-d398-4eb8-b1a2-b5d61c022fbb,a276b5f1-8bf3-40b7-bae7-8c75dd8c3d9a,ff11a011-8e07-45f4-be0d-1f69e6d906e3,f6b6c6d5-858e-4be9-b469-f3a246015e81,fec46150-8d56-4c49-a1c2-ac8b7d592af3,ebd5b919-d5ce-4843-8261-8343ea96bd05,255bb7e5-06ff-4611-9f10-b5b46a14a6b1,cd9a88e3-acf7-41ce-a227-1327eb1aca69,c4924ebc-c481-4da0-9135-c541521930ef,72979c7f-0ff4-433d-bbde-2ee439281d60,c3aeac5d-ebc9-4e92-89b1-8123cd9322a8,1248f1ad-a25b-4666-9260-eb1642061727,f5f8c84f-9db0-4b0c-8abc-709e50fcf9d4,980863ed-da3a-4b96-b911-79d54be8f670,50ad8041-0949-41c6-8f0e-887d185bab98,3cdfc0dc-0ba0-4c77-8497-05a63ea9ce8e,2d5882a2-d750-4eca-8dff-ed5decb53a94,72f4e51c-18c1-4c03-9f1b-75dcffa4ce1e,c3107186-9bf5-4b51-8b09-468facbf57ef,f3012610-2b2a-461b-8a86-0b438d46e2cd,e5d1439f-f734-4f25-8e94-98c6b72a0e38,f7a57e4f-6eb5-4ce9-8a24-5f63cfdc959d,6816966c-daf0-4eca-9c61-c01f92bc7d68,c4fa7fcb-fcb0-4815-a725-c00ed1c5e3ec,101af0d0-98cb-460b-ae03-6b9ca5bf5b0c,5e621328-1959-4d8c-8b3e-eb295163f17f,13020bc5-83fb-4439-a967-fce83ce0d48a,b11d1ba6-1d8b-4341-b972-9a148b4dc47a,b11d1ba6-1d8b-4341-b972-9a148b4dc47a,13020bc5-83fb-4439-a967-fce83ce0d48a,0d78c0af-af10-4a35-a2a9-1a92af298712,4156a832-d08e-49e6-b873-dab6b6ac21cc,da7824ad-6022-43d0-b539-e2c10bf0913e,4c0aa1e6-f4b1-4923-be35-3a17dd26449e,37288e9e-1788-4c13-9490-a591f84d108b,726fc6a9-4627-4957-b2a1-a52df4a29f99,cbe285fc-0776-4d63-8d53-85b62e23a012,93aee8e6-84fa-43d3-9c19-d68e3a3e7383,e30f6a6f-d165-468f-8344-605af5fd2f3d,b4b94ae9-ce3d-408f-a013-7ce29a04bd77,b4fe903d-87a6-461d-bd8e-2c1867f92c82,b4fe903d-87a6-461d-bd8e-2c1867f92c82,b4fe903d-87a6-461d-bd8e-2c1867f92c82,b4fe903d-87a6-461d-bd8e-2c1867f92c82,f9a7765c-cf17-42cf-a6cb-2c6fad036420,b5cc2379-93f4-4456-a4b3-605592f59819,315b77c5-a977-4005-a462-67c1ea2a4792,64bb9be5-486a-4b5f-a035-8de6370391af,a96ba953-33f8-414c-bb98-7e665c54328c,1b15eb68-a546-4280-8ae1-41f4f5be209a,c36d8059-9777-4396-af58-04ceea5f405e,1eac7e1e-87d8-4588-8aab-d2268778573e,a4333835-c949-4e4a-afe4-83af81da4cd7,1383ebde-7a53-4cc8-804d-5a32c942ca22,b4fe903d-87a6-461d-bd8e-2c1867f92c82,4f8dd55d-09e9-40a3-831d-c124926cdf69,f964112a-ab63-4263-b0dd-5670b0b8a7e7,0a7dd1cf-3401-49d4-8649-1c6437dce60f,75a6aa25-a7bd-423a-9d53-867d722ae502,c6aa521d-1b59-4eee-b6b4-c0ac3e2b8636,973bbe33-4705-40ba-92da-dfab06c9a4fe,f30ec788-daab-4521-9966-b848adac6362,ff4d4762-f31d-415e-b92c-f93d427456b9,179fa1da-e497-41a2-bd5d-099676e6bc33,619a663d-2e94-4330-97ab-f8dcfa692c5c,ed395626-0af7-4182-a52a-7c8c6d01b7bb,82234933-d8b7-4054-8698-0b0e6f480915,ad0d2116-437a-4666-a5f7-e5aa1d2130d4,3c603719-efa2-4ad3-a36a-7c0a81977218,bb7c4abe-9afb-4607-bce8-0ddff40cd906,5090276a-d612-4963-ad5d-2328ea3e8677,27757c99-c80f-4fd0-955a-10e58d97fb5f,6c6c2240-6dda-46c8-891c-c981ea0dad36,6c6c2240-6dda-46c8-891c-c981ea0dad36,6c6c2240-6dda-46c8-891c-c981ea0dad36,a2e80afe-aae0-4cd8-bd5e-d8a671bf2b9e,552e39d1-38f8-4caa-88a4-83d4de44dd24,6c6c2240-6dda-46c8-891c-c981ea0dad36,6c6c2240-6dda-46c8-891c-c981ea0dad36,57ce8c9f-1613-4e7c-9a4f-bb69344fd949,ef9f7627-f420-43e4-aefe-72c372938237,ac7965f8-be78-4734-988b-f687e1197f81,a057ed97-c3d5-4d17-b31a-642f05aae8c8,a057ed97-c3d5-4d17-b31a-642f05aae8c8,627e85d7-71ba-48bf-8d30-304143829005,8a257a78-1db9-44b3-bb0f-dd959bea4bd8,e53ffba4-4592-4849-921a-8e8b2ccb91d1,3552d988-cbee-47e9-be1e-0bc50589d831,05815b7b-ee4c-4995-87ca-a24f7ba4f464,32aa6348-cc8d-47e9-8155-67940e1daa71,1c60cfab-8c0b-44a8-bffa-949e32ee50ce,2513d7f2-6dcb-40ae-9226-85ba876dd0c6,2513d7f2-6dcb-40ae-9226-85ba876dd0c6,08733b6f-908a-4636-856a-03b47803d541,b544ae1a-599b-4060-9b8b-d9d54dfbfad6,10e69d80-936f-440a-9797-0a9813ddb347,c140df00-f732-432c-a826-ead0d2d253e3,e6849de5-9cb4-40b0-8ea2-b4c9e2262cf2,d6b82b68-c998-4113-8286-fd805aca2696,52fe94d9-8ac6-4973-b53b-9186527e3a84,5107af50-49a7-4dde-8530-3f5ae42cff23,1684b629-c300-484e-a58a-15e08afd785f,0e44d3ea-d00f-420d-8ae4-b9ff4ccb4518,a3ed4358-44ae-423e-ada3-417f6f1553cc,b2b8cb33-4abe-4162-a422-2b8cafa81465,e8b3c367-1b66-4f84-bc70-cb78e39f2fe8,ecba64e1-9347-4436-b87f-917716056014,db06fe7f-5a05-4a29-afde-54c4459267f4,c4e24de0-469d-4ff0-9b8d-8d4ed10a5672,a359af5a-6258-41fc-abf2-dbe1d411121f,a1eef2f7-5582-465e-862c-72e853157854,a168104f-2828-47ba-a1cb-54aed8a4bdad,c547e361-3805-4f85-9a03-5bfe216a5a76,503ee57c-e880-4e24-8988-1ac89d7f28b4,da57306d-4046-4d1f-a7a6-4370c5eb352f,daabf259-d0ee-4f4e-9a48-81c43ca20318]
[kbs]22:09:59.543 INFO  c.k.p.message.service.MessageService - 统计用户:6433913的未读消息,type:系统消息
[kbs]22:09:59.585 INFO  c.k.p.message.service.MessageService - 统计用户:6433913的未读消息,type:待办事项
[kbs]22:09:59.877 INFO  c.k.service.core.CategoryListService - 权限构建完成,总共耗时: 耗时:368 ms
[kbs]22:10:04.543 INFO  c.k.p.retrieve.util.CredentialUtil - 
取得用户6433913 的权限模版c140df00-f732-432c-a826-ead0d2d253e3,a1eef2f7-5582-465e-862c-72e853157854,
980863ed-da3a-4b96-b911-79d54be8f670,ff4d4762-f31d-415e-b92c-f93d427456b9,3c603719-efa2-4ad3-a36a-7c0a81977218,
2bb8d937-5571-446f-a960-176c1a7caad8,c6aa521d-1b59-4eee-b6b4-c0ac3e2b8636,f6b6c6d5-858e-4be9-b469-f3a246015e81,182c7a35-50ef-4c29-ade0-caf6e69a79a2
,b3aeca42-eb35-49bc-aced-88bdd7fbc9f0,c1573cde-afb2-4dce-b0c5-861ecd074270,ebd5b919-d5ce-4843-8261-8343ea96bd05,daabf259-d0ee-4f4e-9a48-81c43ca20318,
f8d637c1-28bd-4165-b11d-23ec1da6ee2f,4317407a-3b4c-451d-af52-c0b9b759e7e0,d6b82b68-c998-4113-8286-fd805aca2696,b4fe903d-87a6-461d-bd8e-2c1867f92c82
,c4924ebc-c481-4da0-9135-c541521930ef,5107af50-49a7-4dde-8530-3f5ae42cff23,2513d7f2-6dcb-40ae-9226-85ba876dd0c6,8a257a78-1db9-44b3-bb0f-dd959bea4bd8,
101af0d0-98cb-460b-ae03-6b9ca5bf5b0c,e6849de5-9cb4-40b0-8ea2-b4c9e2262cf2,1dcec1b8-548d-4b89-b238-a56c577f41a4,552e39d1-38f8-4caa-88a4-83d4de44dd24,
f3012610-2b2a-461b-8a86-0b438d46e2cd,27757c99-c80f-4fd0-955a-10e58d97fb5f,f30ec788-daab-4521-9966-b848adac6362,4be0b67a-15c8-42b2-9506-63c3bcc851a7,
da7824ad-6022-43d0-b539-e2c10bf0913e,4156a832-d08e-49e6-b873-dab6b6ac21cc,315b77c5-a977-4005-a462-67c1ea2a4792,52fe94d9-8ac6-4973-b53b-9186527e3a84,
e5d1439f-f734-4f25-8e94-98c6b72a0e38,b2b8cb33-4abe-4162-a422-2b8cafa81465,a4333835-c949-4e4a-afe4-83af81da4cd7,dd2722e9-d398-4eb8-b1a2-b5d61c022fbb,
e30f6a6f-d165-468f-8344-605af5fd2f3d,e53ffba4-4592-4849-921a-8e8b2ccb91d1,08733b6f-908a-4636-856a-03b47803d541,e0d0317a-ecbc-4160-a015-217bdb724dd5,
ecba64e1-9347-4436-b87f-917716056014,1c60cfab-8c0b-44a8-bffa-949e32ee50ce,bb7c4abe-9afb-4607-bce8-0ddff40cd906,a3ed4358-44ae-423e-ada3-417f6f1553cc,
da57306d-4046-4d1f-a7a6-4370c5eb352f,72979c7f-0ff4-433d-bbde-2ee439281d60,1aee7274-bf56-406d-9ccc-7c6faf408d25,a2a5fe24-e41b-41d4-b4e2-13dccd893e41,
687bae80-a29c-4cc7-af98-ff82367aa990,1684b629-c300-484e-a58a-15e08afd785f,c2d97d04-5bc6-4680-801b-07895bad3a1a,9a9ba979-0d85-404a-bcaf-2646aeca236b,
b4b94ae9-ce3d-408f-a013-7ce29a04bd77,1383ebde-7a53-4cc8-804d-5a32c942ca22,4eb699fc-3f54-49a3-adf4-ea952a178e01,a2e80afe-aae0-4cd8-bd5e-d8a671bf2b9e,
c547e361-3805-4f85-9a03-5bfe216a5a76,0a7dd1cf-3401-49d4-8649-1c6437dce60f,a168104f-2828-47ba-a1cb-54aed8a4bdad,ac7965f8-be78-4734-988b-f687e1197f81,
254a72ac-2925-4f09-a146-89a55aad7302,40d7e0b0-016a-4060-bf88-e7218035c3be,5e621328-1959-4d8c-8b3e-eb295163f17f,72f4e51c-18c1-4c03-9f1b-75dcffa4ce1e,
e28f43d2-9373-4a76-b21e-6683edb9a8e6,f964112a-ab63-4263-b0dd-5670b0b8a7e7,ff11a011-8e07-45f4-be0d-1f69e6d906e3,fec46150-8d56-4c49-a1c2-ac8b7d592af3,
99c3f304-c827-49de-b582-61cc5db812cd,93aee8e6-84fa-43d3-9c19-d68e3a3e7383,ef256927-5da9-46ab-bc08-bcb0501df121,10e69d80-936f-440a-9797-0a9813ddb347,
75a6aa25-a7bd-423a-9d53-867d722ae502,0e44d3ea-d00f-420d-8ae4-b9ff4ccb4518,c3aeac5d-ebc9-4e92-89b1-8123cd9322a8,a96ba953-33f8-414c-bb98-7e665c54328c,
619a663d-2e94-4330-97ab-f8dcfa692c5c,5090276a-d612-4963-ad5d-2328ea3e8677,a359af5a-6258-41fc-abf2-dbe1d411121f,e8b3c367-1b66-4f84-bc70-cb78e39f2fe8,
d8ae25d7-fe95-49b7-8b83-784a33d68eec,17ca046f-384a-4c4f-afee-befd0c15d2a2,db06fe7f-5a05-4a29-afde-54c4459267f4,5f0bcf6b-af15-407a-a3b3-54b401086989,
cbe285fc-0776-4d63-8d53-85b62e23a012,f9a7765c-cf17-42cf-a6cb-2c6fad036420,0d78c0af-af10-4a35-a2a9-1a92af298712,82234933-d8b7-4054-8698-0b0e6f480915,
e99aa9ef-a215-45db-9903-7dc8e419093c,cd9a88e3-acf7-41ce-a227-1327eb1aca69,05815b7b-ee4c-4995-87ca-a24f7ba4f464,50ad8041-0949-41c6-8f0e-887d185bab98,
973bbe33-4705-40ba-92da-dfab06c9a4fe,b544ae1a-599b-4060-9b8b-d9d54dfbfad6,10dc8eca-e670-4a69-9482-f323ee1317b8,1b15eb68-a546-4280-8ae1-41f4f5be209a,
b5cc2379-93f4-4456-a4b3-605592f59819,6816966c-daf0-4eca-9c61-c01f92bc7d68,4c0aa1e6-f4b1-4923-be35-3a17dd26449e,255bb7e5-06ff-4611-9f10-b5b46a14a6b1,
50c12c63-28dd-4497-87fb-50e77ff50f18,503ee57c-e880-4e24-8988-1ac89d7f28b4,1eac7e1e-87d8-4588-8aab-d2268778573e,4c61cddf-a313-4800-ae3b-18b2007406a6,
c3107186-9bf5-4b51-8b09-468facbf57ef,ee4f094a-adf0-4d86-a3a3-a2d02a4e5408,64bb9be5-486a-4b5f-a035-8de6370391af,3cdfc0dc-0ba0-4c77-8497-05a63ea9ce8e,
179fa1da-e497-41a2-bd5d-099676e6bc33,57ce8c9f-1613-4e7c-9a4f-bb69344fd949,c36d8059-9777-4396-af58-04ceea5f405e,ef9f7627-f420-43e4-aefe-72c372938237,
5b51d465-fc87-4b10-828b-2a6ebc77e5b1,4f8dd55d-09e9-40a3-831d-c124926cdf69,a057ed97-c3d5-4d17-b31a-642f05aae8c8,45630bde-1269-49ed-b832-40ac2971d954,
13020bc5-83fb-4439-a967-fce83ce0d48a,641b3ebe-068c-4791-9dc4-af806ae7dca6,627e85d7-71ba-48bf-8d30-304143829005,c3d1e254-e9f3-4be4-a338-987d19546f94,
fb95d6ad-2f78-4104-a331-06129cc8f018,6c6c2240-6dda-46c8-891c-c981ea0dad36,f7a57e4f-6eb5-4ce9-8a24-5f63cfdc959d,b11d1ba6-1d8b-4341-b972-9a148b4dc47a,
f5f8c84f-9db0-4b0c-8abc-709e50fcf9d4,c4e24de0-469d-4ff0-9b8d-8d4ed10a5672,32aa6348-cc8d-47e9-8155-67940e1daa71,1248f1ad-a25b-4666-9260-eb1642061727,
3552d988-cbee-47e9-be1e-0bc50589d831,ed395626-0af7-4182-a52a-7c8c6d01b7bb,863ffb1a-1006-4eec-8809-d6e97cd3b3c0,a276b5f1-8bf3-40b7-bae7-8c75dd8c3d9a,
726fc6a9-4627-4957-b2a1-a52df4a29f99,2d5882a2-d750-4eca-8dff-ed5decb53a94,ad0d2116-437a-4666-a5f7-e5aa1d2130d4,c4fa7fcb-fcb0-4815-a725-c00ed1c5e3ec,
37288e9e-1788-4c13-9490-a591f84d108b
[kbs]22:10:04.543 INFO  c.k.p.retrieve.service.SearchService - 
搜索字符串:defType=edismax&mm=75%25&q=+%28%22ces%22%29&qf=title%5E1000+
title_loose%5E100+summary%5E500+summary_loose%5E50+content%5E400+content_loose%5E40+att.content%5E200+att.content_loose%5E20&
fq=credentials%3Ac140df00-f732-432c-a826-ead0d2d253e3+OR+credentials%3Aa1eef2f7-5582-465e-862c-72e853157854+OR+credentials%3A980863ed-da3a-4b96-b911-79d54be8f670+OR+
credentials%3Aff4d4762-f31d-415e-b92c-f93d427456b9+OR+credentials%3A3c603719-efa2-4ad3-a36a-7c0a81977218+OR+credentials%3A2bb8d937-5571-446f-a960-176c1a7caad8+
OR+credentials%3Ac6aa521d-1b59-4eee-b6b4-c0ac3e2b8636+OR+credentials%3Af6b6c6d5-858e-4be9-b469-f3a246015e81+OR+credentials%3A182c7a35-50ef-4c29-ade0-caf6e69a79a2+
OR+credentials%3Ab3aeca42-eb35-49bc-aced-88bdd7fbc9f0+OR+credentials%3Ac1573cde-afb2-4dce-b0c5-861ecd074270+OR+credentials%3Aebd5b919-d5ce-4843-8261-8343ea96bd05+
OR+credentials%3Adaabf259-d0ee-4f4e-9a48-81c43ca20318+OR+credentials%3Af8d637c1-28bd-4165-b11d-23ec1da6ee2f+OR+credentials%3A4317407a-3b4c-451d-af52-c0b9b759e7e0
+OR+credentials%3Ad6b82b68-c998-4113-8286-fd805aca2696+OR+credentials%3Ab4fe903d-87a6-461d-bd8e-2c1867f92c82+OR+credentials%3Ac4924ebc-c481-4da0-9135-c541521930ef
+OR+credentials%3A5107af50-49a7-4dde-8530-3f5ae42cff23+OR+credentials%3A2513d7f2-6dcb-40ae-9226-85ba876dd0c6+OR+credentials%3A8a257a78-1db9-44b3-bb0f-dd959bea4bd8
+OR+credentials%3A101af0d0-98cb-460b-ae03-6b9ca5bf5b0c+OR+credentials%3Ae6849de5-9cb4-40b0-8ea2-b4c9e2262cf2+OR+credentials%3A1dcec1b8-548d-4b89-b238-a56c577f41a4
+OR+credentials%3A552e39d1-38f8-4caa-88a4-83d4de44dd24+OR+credentials%3Af3012610-2b2a-461b-8a86-0b438d46e2cd+OR+credentials%3A27757c99-c80f-4fd0-955a-10e58d97fb5f
+OR+credentials%3Af30ec788-daab-4521-9966-b848adac6362+OR+credentials%3A4be0b67a-15c8-42b2-9506-63c3bcc851a7+OR+credentials%3Ada7824ad-6022-43d0-b539-e2c10bf0913e
+OR+credentials%3A4156a832-d08e-49e6-b873-dab6b6ac21cc+OR+credentials%3A315b77c5-a977-4005-a462-67c1ea2a4792+OR+credentials%3A52fe94d9-8ac6-4973-b53b-9186527e3a84
+OR+credentials%3Ae5d1439f-f734-4f25-8e94-98c6b72a0e38+OR+credentials%3Ab2b8cb33-4abe-4162-a422-2b8cafa81465+OR+credentials%3Aa4333835-c949-4e4a-afe4-83af81da4cd7
+OR+credentials%3Add2722e9-d398-4eb8-b1a2-b5d61c022fbb+OR+credentials%3Ae30f6a6f-d165-468f-8344-605af5fd2f3d+OR+credentials%3Ae53ffba4-4592-4849-921a-8e8b2ccb91d1
+OR+credentials%3A08733b6f-908a-4636-856a-03b47803d541+OR+credentials%3Ae0d0317a-ecbc-4160-a015-217bdb724dd5+OR+credentials%3Aecba64e1-9347-4436-b87f-917716056014
+OR+credentials%3A1c60cfab-8c0b-44a8-bffa-949e32ee50ce+OR+credentials%3Abb7c4abe-9afb-4607-bce8-0ddff40cd906+OR+credentials%3Aa3ed4358-44ae-423e-ada3-417f6f1553cc
+OR+credentials%3Ada57306d-4046-4d1f-a7a6-4370c5eb352f+OR+credentials%3A72979c7f-0ff4-433d-bbde-2ee439281d60+OR+credentials%3A1aee7274-bf56-406d-9ccc-7c6faf408d25
+OR+credentials%3Aa2a5fe24-e41b-41d4-b4e2-13dccd893e41+OR+credentials%3A687bae80-a29c-4cc7-af98-ff82367aa990+OR+credentials%3A1684b629-c300-484e-a58a-15e08afd785f
+OR+credentials%3Ac2d97d04-5bc6-4680-801b-07895bad3a1a+OR+credentials%3A9a9ba979-0d85-404a-bcaf-2646aeca236b+OR+credentials%3Ab4b94ae9-ce3d-408f-a013-7ce29a04bd77
+OR+credentials%3A1383ebde-7a53-4cc8-804d-5a32c942ca22+OR+credentials%3A4eb699fc-3f54-49a3-adf4-ea952a178e01+OR+credentials%3Aa2e80afe-aae0-4cd8-bd5e-d8a671bf2b9e
+OR+credentials%3Ac547e361-3805-4f85-9a03-5bfe216a5a76+OR+credentials%3A0a7dd1cf-3401-49d4-8649-1c6437dce60f+OR+credentials%3Aa168104f-2828-47ba-a1cb-54aed8a4bdad
+OR+credentials%3Aac7965f8-be78-4734-988b-f687e1197f81+OR+credentials%3A254a72ac-2925-4f09-a146-89a55aad7302+OR+credentials%3A40d7e0b0-016a-4060-bf88-e7218035c3be
+OR+credentials%3A5e621328-1959-4d8c-8b3e-eb295163f17f+OR+credentials%3A72f4e51c-18c1-4c03-9f1b-75dcffa4ce1e+OR+credentials%3Ae28f43d2-9373-4a76-b21e-6683edb9a8e6
+OR+credentials%3Af964112a-ab63-4263-b0dd-5670b0b8a7e7+OR+credentials%3Aff11a011-8e07-45f4-be0d-1f69e6d906e3+OR+credentials%3Afec46150-8d56-4c49-a1c2-ac8b7d592af3
+OR+credentials%3A99c3f304-c827-49de-b582-61cc5db812cd+OR+credentials%3A93aee8e6-84fa-43d3-9c19-d68e3a3e7383+OR+credentials%3Aef256927-5da9-46ab-bc08-bcb0501df121
+OR+credentials%3A10e69d80-936f-440a-9797-0a9813ddb347+OR+credentials%3A75a6aa25-a7bd-423a-9d53-867d722ae502+OR+credentials%3A0e44d3ea-d00f-420d-8ae4-b9ff4ccb4518
+OR+credentials%3Ac3aeac5d-ebc9-4e92-89b1-8123cd9322a8+OR+credentials%3Aa96ba953-33f8-414c-bb98-7e665c54328c+OR+credentials%3A619a663d-2e94-4330-97ab-f8dcfa692c5c
+OR+credentials%3A5090276a-d612-4963-ad5d-2328ea3e8677+OR+credentials%3Aa359af5a-6258-41fc-abf2-dbe1d411121f+OR+credentials%3Ae8b3c367-1b66-4f84-bc70-cb78e39f2fe8
+OR+credentials%3Ad8ae25d7-fe95-49b7-8b83-784a33d68eec+OR+credentials%3A17ca046f-384a-4c4f-afee-befd0c15d2a2+OR+credentials%3Adb06fe7f-5a05-4a29-afde-54c4459267f4
+OR+credentials%3A5f0bcf6b-af15-407a-a3b3-54b401086989+OR+credentials%3Acbe285fc-0776-4d63-8d53-85b62e23a012+OR+credentials%3Af9a7765c-cf17-42cf-a6cb-2c6fad036420
+OR+credentials%3A0d78c0af-af10-4a35-a2a9-1a92af298712+OR+credentials%3A82234933-d8b7-4054-8698-0b0e6f480915+OR+credentials%3Ae99aa9ef-a215-45db-9903-7dc8e419093c
+OR+credentials%3Acd9a88e3-acf7-41ce-a227-1327eb1aca69+OR+credentials%3A05815b7b-ee4c-4995-87ca-a24f7ba4f464+OR+credentials%3A50ad8041-0949-41c6-8f0e-887d185bab98
+OR+credentials%3A973bbe33-4705-40ba-92da-dfab06c9a4fe+OR+credentials%3Ab544ae1a-599b-4060-9b8b-d9d54dfbfad6+OR+credentials%3A10dc8eca-e670-4a69-9482-f323ee1317b8
+OR+credentials%3A1b15eb68-a546-4280-8ae1-41f4f5be209a+OR+credentials%3Ab5cc2379-93f4-4456-a4b3-605592f59819+OR+credentials%3A6816966c-daf0-4eca-9c61-c01f92bc7d68
+OR+credentials%3A4c0aa1e6-f4b1-4923-be35-3a17dd26449e+OR+credentials%3A255bb7e5-06ff-4611-9f10-b5b46a14a6b1+OR+credentials%3A50c12c63-28dd-4497-87fb-50e77ff50f18
+OR+credentials%3A503ee57c-e880-4e24-8988-1ac89d7f28b4+OR+credentials%3A1eac7e1e-87d8-4588-8aab-d2268778573e+OR+credentials%3A4c61cddf-a313-4800-ae3b-18b2007406a6
+OR+credentials%3Ac3107186-9bf5-4b51-8b09-468facbf57ef+OR+credentials%3Aee4f094a-adf0-4d86-a3a3-a2d02a4e5408+OR+credentials%3A64bb9be5-486a-4b5f-a035-8de6370391af
+OR+credentials%3A3cdfc0dc-0ba0-4c77-8497-05a63ea9ce8e+OR+credentials%3A179fa1da-e497-41a2-bd5d-099676e6bc33+OR+credentials%3A57ce8c9f-1613-4e7c-9a4f-bb69344fd949
+OR+credentials%3Ac36d8059-9777-4396-af58-04ceea5f405e+OR+credentials%3Aef9f7627-f420-43e4-aefe-72c372938237+OR+credentials%3A5b51d465-fc87-4b10-828b-2a6ebc77e5b1
+OR+credentials%3A4f8dd55d-09e9-40a3-831d-c124926cdf69+OR+credentials%3Aa057ed97-c3d5-4d17-b31a-642f05aae8c8+OR+credentials%3A45630bde-1269-49ed-b832-40ac2971d954
+OR+credentials%3A13020bc5-83fb-4439-a967-fce83ce0d48a+OR+credentials%3A641b3ebe-068c-4791-9dc4-af806ae7dca6+OR+credentials%3A627e85d7-71ba-48bf-8d30-304143829005
+OR+credentials%3Ac3d1e254-e9f3-4be4-a338-987d19546f94+OR+credentials%3Afb95d6ad-2f78-4104-a331-06129cc8f018+OR+credentials%3A6c6c2240-6dda-46c8-891c-c981ea0dad36
+OR+credentials%3Af7a57e4f-6eb5-4ce9-8a24-5f63cfdc959d+OR+credentials%3Ab11d1ba6-1d8b-4341-b972-9a148b4dc47a+OR+credentials%3Af5f8c84f-9db0-4b0c-8abc-709e50fcf9d4
+OR+credentials%3Ac4e24de0-469d-4ff0-9b8d-8d4ed10a5672+OR+credentials%3A32aa6348-cc8d-47e9-8155-67940e1daa71+OR+credentials%3A1248f1ad-a25b-4666-9260-eb1642061727
+OR+credentials%3A3552d988-cbee-47e9-be1e-0bc50589d831+OR+credentials%3Aed395626-0af7-4182-a52a-7c8c6d01b7bb+OR+credentials%3A863ffb1a-1006-4eec-8809-d6e97cd3b3c0
+OR+credentials%3Aa276b5f1-8bf3-40b7-bae7-8c75dd8c3d9a+OR+credentials%3A726fc6a9-4627-4957-b2a1-a52df4a29f99+OR+credentials%3A2d5882a2-d750-4eca-8dff-ed5decb53a94
+OR+credentials%3Aad0d2116-437a-4666-a5f7-e5aa1d2130d4+OR+credentials%3Ac4fa7fcb-fcb0-4815-a725-c00ed1c5e3ec+OR+credentials%3A37288e9e-1788-4c13-9490-a591f84d108b
&facet.field=categoryTree&facet.field=propertyTree&facet=true&f.categoryTree.facet.prefix=0%2F&f.propertyTree.facet.prefix=0%2F&facet.query=updateTime%3A%5B1520870400000
+TO+*%5D&facet.query=updateTime%3A%5B1520352000000+TO+*%5D&facet.query=updateTime%3A%5B1518364800000+TO+*%5D&facet.mincount=1&hl=true&
hl.fl=title&hl.fl=title_loose&hl.fl=summary&hl.fl=summary_loose&hl.fl=att.title&hl.fl=att.title_loose&hl.fl=att.summary&hl.fl=att.summary_loose&hl.fl=csummary&
hl.fl=csummary_loose&start=0&rows=20
[kbs]22:10:04.549 ERROR c.k.p.retrieve.service.SearchService - 不能执行solr query:Error executing query
org.apache.solr.client.solrj.SolrServerException: Error executing query
	at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:100) ~[solr-solrj-4.7.2.jar:4.7.2 1586229 - rmuir - 2014-04-10 09:27:28]
	at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) ~[solr-solrj-4.7.2.jar:4.7.2 1586229 - rmuir - 2014-04-10 09:27:28]
	at cn.kmpro.plug.retrieve.service.QService.solrQuery(QService.java:89) ~[plug_retrieve-1.0.1-SNAPSHOT.jar:na]
	at cn.kmpro.plug.retrieve.service.SearchService.query(SearchService.java:67) [plug_retrieve-1.0.1-SNAPSHOT.jar:na]
	at cn.kmpro.kbs.controller.lore.SearchController.search(SearchController.java:76) [SearchController.class:na]
	at sun.reflect.GeneratedMethodAccessor1998.invoke(Unknown Source) ~[na:na]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
	at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) [spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) [spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [servlet-api.jar:na]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) [spring-webmvc-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) [sitemesh-2.4.2.weblogic.jar:na]
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) [sitemesh-2.4.2.weblogic.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:177) [spring-orm-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:200) [javamelody-core-1.58.0.jar:1.58.0]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178) [javamelody-core-1.58.0.jar:1.58.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at cn.kmpro.web.XSSFilter.doFilter(XSSFilter.java:56) [core-1.0.1-SNAPSHOT.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.59]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.59]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.59]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.59]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) [catalina.jar:7.0.59]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [catalina.jar:7.0.59]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.59]
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.59]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.59]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) [catalina.jar:7.0.59]
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) [tomcat-coyote.jar:7.0.59]
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) [tomcat-coyote.jar:7.0.59]
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.59]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.59]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: org.apache.http.ParseException: Invalid content type: 
	at org.apache.http.entity.ContentType.parse(ContentType.java:273) ~[httpcore-4.4.jar:4.4]
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:443) ~[solr-solrj-4.7.2.jar:4.7.2 1586229 - rmuir - 2014-04-10 09:27:28]
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:199) ~[solr-solrj-4.7.2.jar:4.7.2 1586229 - rmuir - 2014-04-10 09:27:28]
	at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91) ~[solr-solrj-4.7.2.jar:4.7.2 1586229 - rmuir - 2014-04-10 09:27:28]
	... 59 common frames omitted

日志报错包含

22:09:56.577 WARN  o.s.web.servlet.PageNotFound - Request method 'POST' not supported

他说是不支持post,不可能啊。然后我发现是因为post链接长度太长了。因为用户是使用角色来关联权限的,如果一个用户角色特别多,那他的权限参数就特别多,这个请求参数放在solr链接的 filter 中,导致请求头太长,

解决方案:

    因为项目是使用tomcat中间件,可以在通过配置修改 conf\server.xml   添加一个 maxHttpHeaderSize="65536"

solr搜索报错,tomcat maxHttpHeaderSize 设置_第1张图片


注:65536 偏大,一般情况下使用8k,既8192就可以。

你可能感兴趣的:(tomcat配置)