logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhava <Madhavrao.Kulka...@Sun.COM>
Subject Is there any problem with log4j on HPUX
Date Thu, 24 Aug 2006 04:33:32 GMT
Hi All,

My application uses log4j for logging.
But i do not know very much internals of my application how it does.

When my application starts during system boot using startup script 
method it crashes.
And following exceptions are getting thrown on the console, not in any 
logs or any where else.

Please help to see is it a known issues or not.

ava.net.SocketException: Operation not supported (errno:223)
        at java.net.PlainDatagramSocketImpl.datagramSocketCreate(Native 
Method)
        at 
java.net.PlainDatagramSocketImpl.create(PlainDatagramSocketImpl.java:73)
        at java.net.DatagramSocket.createImpl(DatagramSocket.java:317)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:158)
        at 
org.apache.log4j.helpers.SyslogWriter.<init>(SyslogWriter.java:47)
        at 
org.apache.log4j.net.SyslogAppender.setSyslogHost(SyslogAppender.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:196)
        at 
org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:155)
        at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:120)
        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.parseCatsAndRenderers(PropertyConfigurator.java:524)
        at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:408)
        at 
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:340)
        at 
com.sun.directory.proxy.util.LogConfig.configure(LogConfig.java:2603)
        at 
com.sun.directory.proxy.util.Category.configure(Category.java:349)
        at com.sun.directory.proxy.util.Log.configure(Log.java:258)
        at 
com.sun.directory.proxy.server.DistributionServer.<init>(DistributionServer.java:1126)
        at 
com.sun.directory.proxy.server.DistributionServerMain.main(DistributionServerMain.java:142)
log4j:ERROR Could not instantiate DatagramSocket to localhost. All 
logging will FAIL.
java.net.SocketException: Operation not supported (errno:223)
        at java.net.PlainDatagramSocketImpl.datagramSocketCreate(Native 
Method)
        at 
java.net.PlainDatagramSocketImpl.create(PlainDatagramSocketImpl.java:73)
        at java.net.DatagramSocket.createImpl(DatagramSocket.java:317)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:158)
        at 
org.apache.log4j.helpers.SyslogWriter.<init>(SyslogWriter.java:47)
        at 
org.apache.log4j.net.SyslogAppender.setSyslogHost(SyslogAppender.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:196)
        at 
org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:155)
        at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:120)
        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.parseCatsAndRenderers(PropertyConfigurator.java:524)
        at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:408)
        at 
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:340)

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


Mime
View raw message