Hi,
I've got an Application that is deployed via Java Web Start.
I also have custom @Plugin(s) i.e. a LogEventPatternConverter. Log4j2 picks the 
packages directive of the config but fails to collect the plugins when started 
via Web Start.


2013-10-24 13:49:29,617 DEBUG Found Plugin Map at 
jar:https://myserver.mydomain/lib/thirdparty/log4j-core-2.0-beta9.jar.pack.gz!/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat
2013-10-24 13:49:29,619 INFO Scanning for classes in 
[https://myserver.mydomain/lib/myjarname.jar.pack.gz] matching criteria: 
annotated with @Plugin
2013-10-24 13:49:29,620 ERROR Could not search jar file 
'https:\myserver.mydomain\lib\myjarname.jar.pack.gz ' for classes matching 
criteria: annotated with @Plugin file not found
2013-10-24 13:49:29,620 DEBUG Generated plugins in 0.004778509 seconds

This is caused by ResolverUtil.findInPackage(Test, String) calling 
loadImplementationsInJar(Test, String, File) which tries to construct a 
FileInputStream - which will obviously fail for a https url.

Am I missing something or is this a bug?

Best Regards,
Alex


Reply via email to