You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2018/04/25 00:46:00 UTC
[jira] [Assigned] (CXF-7727) apache cxf 3.x with jetty 9.2 issues
[ https://issues.apache.org/jira/browse/CXF-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-7727:
---------------------------------
Assignee: Freeman Fang
> apache cxf 3.x with jetty 9.2 issues
> ------------------------------------
>
> Key: CXF-7727
> URL: https://issues.apache.org/jira/browse/CXF-7727
> Project: CXF
> Issue Type: Bug
> Reporter: div
> Assignee: Freeman Fang
> Priority: Blocker
>
> Hi,
> we are upgrading to apache cxf 3.1.4 and jetty 9.2.X from 2.7.X and 6.X. we are facing issue with increasing the request header size.
> <jaxrs:server id="" address="/" >
> <jaxrs:serviceBeans>
> <ref bean="" />
> </jaxrs:serviceBeans>
> </jaxrs:server>
> <bean id=_"connector"_ class=_"org.eclipse.jetty.server.ServerConnector"_
> depends-on=_"Service"_>
> <constructor-arg ref=_"Service"_ />
> <constructor-arg ref=_"httpConnectionFactory"_ />
> <property name=_"port"_ value=_""_ />
> <property name=_"host"_ value=_"localhost"_ />
> </bean>
> <bean id=_"Service"_ name=_"Main"_ class=_"org.eclipse.jetty.server.Server"_
> init-method=_"start"_ destroy-method=_"stop"_>
> <property name=_"connectors"_>
> <list>
> <ref bean=_"connector"_ />
> </list>
> </property>
> </bean>
>
> <bean id=_"httpConfiguration"_ class=_"org.eclipse.jetty.server.HttpConfiguration"_
> p:requestHeaderSize=_"65224"_ />
>
> <bean id=_"httpConnectionFactory"_ class=_"org.eclipse.jetty.server.HttpConnectionFactory"_>
> <constructor-arg ref=_"httpConfiguration"_ />
> </bean>
>
> <httpj:engine-factory bus=_"cxf"_>
> <httpj:engine port=_""_ host=_"localhost"_>
> <httpj:connector>
> <ref bean=_"connector"_ />
> </httpj:connector>
> </httpj:engine>
> </httpj:engine-factory>
> </httpj:engine>
> </httpj:engine-factory>
>
> Error:
>
> Caused by: +java.lang.IllegalArgumentException+: Connector [ServerConnector@52354202\{HTTP/1.1}{localhost:|mailto:ServerConnector@52354202%7bHTTP/1.1%7d%7blocalhost:9110%7d] cannot be shared among server [org.eclipse.jetty.server.Server@61394494|mailto:org.eclipse.jetty.server.Server@61394494] and server [org.eclipse.jetty.server.Server@6169be09|mailto:org.eclipse.jetty.server.Server@6169be09]
>
> Can you please help us in understanding why 2 jetty servers are starting on the same port and if there is any other way to increase the request header size from default.
>
>
> Thanks
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)