logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Houbie <frederic.hou...@ionicsoft.com>
Subject TelnetAppender
Date Thu, 20 Jun 2002 09:14:25 GMT
Hi,

I'm using Log4j with Catalina, I have a servlet that load the properties 
file (in WEB-INF/classes) as explained in documentation. I'm using 
TelnetAppender but when my context reload automatically, when I modify 
the log4j.properties file for example, I get

java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
        at java.net.ServerSocket.bind(ServerSocket.java:308)
        at java.net.ServerSocket.bind(ServerSocket.java:266)
        at java.net.ServerSocket.<init>(ServerSocket.java:182)
        at java.net.ServerSocket.<init>(ServerSocket.java:94)
        at 
org.apache.log4j.net.TelnetAppender$SocketHandler.<init>(TelnetAppender.java:172)
        at 
org.apache.log4j.net.TelnetAppender.activateOptions(TelnetAppender.java:62)
        at 
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
        at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
        at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
        at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
        at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
        at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
        at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
        at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
        at 
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:456)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)
        at 
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:315)
        at com.ionicsoft.client.gisd.Log4jInit.init(Log4jInit.java:27)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:919)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:811)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3288)
        at 
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2495)
        at 
org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(WebappLoader.java:1329)
        at java.lang.Thread.run(Thread.java:536)


Do you know why ?

Thanks

Frédéric Houbie


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message