Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

commons-pool2 2.3 causes ClassNotFoundError on JBoss EAP 6.3 #61

Closed
mp911de opened this issue Jan 7, 2016 · 1 comment
Closed

commons-pool2 2.3 causes ClassNotFoundError on JBoss EAP 6.3 #61

mp911de opened this issue Jan 7, 2016 · 1 comment
Labels
type: bug A general bug

Comments

@mp911de
Copy link
Owner

mp911de commented Jan 7, 2016

When running logstash-gelf 1.7.2 in a JBoss EAP 6.3 using Redis Transport the GelfHandler is not able to ship logs to Redis:

Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy

This does not happen when using commons-pool2 2.2 or 2.4.x. Need to investigate why this happens.

@mp911de mp911de added the type: bug A general bug label Jan 7, 2016
@mp911de
Copy link
Owner Author

mp911de commented Jan 28, 2016

commons-pool2 2.3 does not work with JBoss AS because of https://issues.apache.org/jira/browse/POOL-289
Fixed class loading for custom EvictionPolicy implementations that may not be present in the class loader hierarchy of the Pool classes by falling back to the class loader of the current class.

mp911de added a commit that referenced this issue Jan 28, 2016
@mp911de mp911de added this to the logstash-gelf 1.8.0 milestone Jan 28, 2016
@mp911de mp911de closed this as completed Jan 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant