Hi

Just set a server.xml in the configuration.

Will change the connector for M4.
Le 20 mars 2016 01:48, "ravi" <[email protected]> a écrit :

> Hi,
>
> When doing load testing on a executable jar created using tomee
> embedded(org.apache.tomee.embedded.Main) shade I felt few things needs
> improvement.
>
> 1) It's using bio(Blocking I/O connector).
> Note: Starting from Tomcat 8 the default connector is NIO it can handle
> 10000 concurrent requests.
>
> In org.apache.tomee.embedded.Container.java line numbers 484 and 496 uses
> bio connector could you please change it to Http11NioProtocol
>
>  final Connector connector = new Connector(Http11Protocol.class.getName());
>  final Connector httpsConnector = new
> Connector(Http11Protocol.class.getName());
>
> 2) How to configure the options in server.xml like maxThreads,
> maxKeepAliveRequests, keepAliveTimeout, connectionTimeout, https
> configuration (key store) etc. using embedded
> shade(org.apache.tomee.embedded.Main).
>
> Thanks,
> Ravisankar Challa
>
> Thanks,
> Ravi
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Tomee-7-0-0M3-embedded-shade-fatjar-needs-improvements-tp4677935.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to