How to make a custom connection source available in log4j 2 config?

2014-04-16 Thread Jeff Shaw
Hello, I made a custom connection source that I want to use. (Source follows this message.) However, when I attempt to use my BoneCP connection source in my config, I get the error, "ERROR JDBC contains an invalid element or attribute "BoneCP"". What else do I need to do to make my custom connectio

Re: How to make a custom connection source available in log4j 2 config?

2014-04-16 Thread Ralph Goers
If you are using 2.0-rc1 then you need to make sure that you either: a) have the packages attribute specified on the configuration element with the correct package name of your plugin. b) have run the PluginManager against your plugin and included the file it generated in your jar. An enhancemen

Re: How to make a custom connection source available in log4j 2 config?

2014-04-16 Thread Jeff Shaw
Hi Ralph, Thanks for your suggestions. I will try them. I am indeed using 2.0-rc1. Jeff On Wed, Apr 16, 2014 at 5:58 PM, Ralph Goers wrote: > If you are using 2.0-rc1 then you need to make sure that you either: > a) have the packages attribute specified on the configuration element with > the c