ppkarwasz commented on PR #3874:
URL: https://github.com/apache/logging-log4j2/pull/3874#issuecomment-3198169870

   Hi,
   
   You’re right, the `JeroMqAppenderTest` failure is completely unrelated to 
your changes.
   
   It’s become a bit of a *Moby Dick* for me, so I guess I need to sharpen my 
harpoon. :wink:
   
   On a more serious note, the failure was caused by a port binding issue. 
Since the test binds the JeroMQ peer to port `0` (ephemeral), it suggests 
either:
   
   * a bug in JeroMQ, or
   * all ephemeral ports being in use (possible, though unlikely).
   
   Here’s the relevant log output:
   
   ```
   07:42:29.859 main DEBUG Building Plugin[name=appender, 
class=org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender].
   07:42:29.885 main DEBUG createAppender(name="JeroMQAppender", 
PatternLayout(%X{foo}%m), Filter=null, ={endpoint=tcp://*:0, 
endpoint=ipc://info-topic}, ignoreExceptions="false", affinity="0", 
backlog="100", delayAttachOnConnect="false", identity="null", ipv4Only="true", 
linger="-1", maxMsgSize="-1", rcvHwm="1000", receiveBufferSize="0", 
receiveTimeOut="0", reconnectIVL="100", reconnectIVLMax="0", 
sendBufferSize="0", sendTimeOut="0", sndHwm="1000", tcpKeepAlive="-1", 
tcpKeepAliveCount="-1", tcpKeepAliveIdle="-1", tcpKeepAliveInterval="-1", 
xpubVerbose="false")
   07:42:29.886 main DEBUG Creating JeroMqAppender with name=JeroMQAppender, 
filter=null, layout=%X{foo}%m, ignoreExceptions=false, endpoints=[tcp://*:0, 
ipc://info-topic]
   07:42:29.953 main DEBUG Starting JeroMqManager JeroMQAppender
   07:42:30.163 main ERROR Unable to invoke factory method in class 
org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender for element 
JeroMQ: org.zeromq.ZMQException: Errno 48 : Address already in use
   java.lang.reflect.InvocationTargetException
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to