Hi Patrick,
My comments are inline.
Patrick Wyss wrote:
hi,
yep, i was a bit fast on the last answer.
datagram socket do not have to be bound on a socket upon creation.
and you are right, that the socket is not specified by you but to the hardcoded
syslog port (514)
still the question remains:
- are you (your user) allowed to open datagram sockets on your machine?
With my user id i cannot open socket with this port. But my application
runs with root user privileges. So sample program i am able to run with
root user.
- can you manually open such a socket?
I am working on it and update soon.
- try running without the syslog appender.
I do not have knowledge on syslog appender. What it is?
Thanks,
Madhava
cheers
patrick
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 29. August 2006 08:32
An: Log4J Developers List
Betreff: Re: AW: java.net.SocketException: Operation not supported (errno:223)
from log4j
Hi,
My application does not specify any ports for datagram socket.
Because the native method,
java.net.PlainDatagramSocketImpl.datagramSocketCreate(Native
Method) will not take any arguments.
Hence i believe this native method may have some methods to decide ports.
Can you give me some more clues.
Thanks,
Madhava
---------------------------------------------------------------------
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]