rackerlabs/repose

Missing http-connection-pool.cfg.xml

Closed this issue · 1 comments

When starting the Repose service, I notice the following error:

[repose:repose_node1] ERROR com.rackspace.papi.service.config.impl.PowerApiConfigurationManager  - An I/O error has occured while processing resource http-connection-pool.cfg.xml that is used by filter specified in system-model.cfg.xml - Reason: /etc/repose/http-connection-pool.cfg.xml (No such file or directory)

What should the http-connection-pool.cfg.xml contain?

So the http-connection-pool.cfg.xml file is not strictly necessary. I believe that logging an error when the file is missing is a mistake, but there is a story to correct that. Refer to https://repose.atlassian.net/browse/REP-107 .

This configuration file is used to configure the connection pool service that Repose (and its filter, service, etc.) uses. Internally, we utilize Apache's PoolingClientConnectionManager and HttpClient. Our configuration file essentially mirrors Apache's.

You can view more information on the connection pool service at https://repose.atlassian.net/wiki/display/REPOSE/HTTP+Connection+Pool+service .