opensubscriber
   Find in this group all groups
 
Unknown more information…

g : general@logging.apache.org 13 July 2009 • 7:57PM -0400

Log4cxx Reconnection
by Arturo Bernal

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi

I have installed the version of apache-log4cxx-0.10.0 in a Red Hat 5 64bits
and reconnecting does not work.

I changed the class socketappenderskeleton.cpp


      if (! thread.isActive ()) (
                 thread.run (monitor, this);
        )

but only reconnects one .I nedd  to try to reconnect indefinitely.

when commenting lines

/ / If (! Thread.isActive ()) (
                  thread.run (monitor, this);
  / /)

in Red Hat 4 works perfectly. But in Red Hat 5 gives me an error


*log4cxx*::helpers::MutexException' what(): *Mutex exception*: *stat* = *22*


--
Arturo Bernal Gimeno

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.