Thanks, as it turns out a library I was using had a static initialization block that took it upon itsself to load its own configuration, overriding my settings (and apparently making the SocketAppender disconnect?). Sorry for the premature post.
-Sam On 8/15/05, Bradley, Todd <[EMAIL PROTECTED]> wrote: > Are you sure the server and client apps are both using > the same version of log4j? Your properties look fine, > and I know it's possible to do what you're trying to, > because I do it all the time. The EOF just means other > side closed the connection, perhaps because it exited or > perhaps explicitly. Have you tried turning on log4j.debug? > > > Todd. > > > -----Original Message----- > > From: Sam Preston [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 11, 2005 3:14 PM > > To: [email protected] > > Subject: EOFException when using SocketAppender? > > > > Hi all, > > > > I'm trying to set up a SocketAppender / SocketNode pair. > > I've been trying a SocketAppender / SimpleServerSocket setup > > to begin with, but whenever my SocketAppender connects to the > > SimpleServerSocket, I get an EOFException in the server. The > > pertinent part of my properties file for the SocketAppender > > side looks like this: > > > > log4j.appender.REMOTE=org.apache.log4j.net.SocketAppender > > log4j.appender.REMOTE.RemoteHost=localhost > > log4j.appender.REMOTE.Port=7788 > > > > and I'm just running the SimpleSocketServer program on the > > same machine. Any ideas? > > > > -Sam > > > > -- > > -------------------- > > J. Samuel Preston > > Research Associate > > Center for Advanced Engineering Environments Old Dominion > > University Research Foundation > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -------------------- J. Samuel Preston Research Associate Center for Advanced Engineering Environments Old Dominion University Research Foundation --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
