You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Benjamin Asbach <co...@impl.it> on 2020/05/13 11:31:49 UTC

log4j2 and Java WebStart

Hello,

I wonder if someone is using log4j2 with Java WebStart?

I currently try to integrate log4j2 into such an application environment 
but recognized that the JNLP2Classloader is not able to obtain log4j2 
meta-data from other jar files. So only the api plugins (core meta data 
is not found) are loaded and the logging does not work.

Is there any known work around? Is WebStart supported by log4j2?

Thanks in advance
Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j2 and Java WebStart

Posted by Ralph Goers <ra...@dslextreme.com>.
I have never tried with web start however you might try using the log4j-3.0 SNAPSHOT on master.  That uses a different mechanism to locate plugins which might work better for you.

Ralph

> On May 13, 2020, at 4:31 AM, Benjamin Asbach <co...@impl.it> wrote:
> 
> Hello,
> 
> I wonder if someone is using log4j2 with Java WebStart?
> 
> I currently try to integrate log4j2 into such an application environment but recognized that the JNLP2Classloader is not able to obtain log4j2 meta-data from other jar files. So only the api plugins (core meta data is not found) are loaded and the logging does not work.
> 
> Is there any known work around? Is WebStart supported by log4j2?
> 
> Thanks in advance
> Benjamin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org