OpenNMS start-up error - javax.jmdns.impl.tasks.state.DNSStateTask
Description
Environment
Acceptance / Success Criteria
duplicates
Lucidchart Diagrams
Activity

Benjamin Reed February 6, 2013 at 11:01 AM
Fixed in next release, removed the jmdns stuff from OpenNMS.

Benjamin Reed February 6, 2013 at 11:01 AM
Related to the general cruftiness of the mDNS stuff. Fixed by removing it, see for details.

jcat November 6, 2012 at 11:37 AM
Yes it's in output.log
Seems strange that this is part of normal operation.
"java.io.IOException: Operation not permitted"
Are you able to deduce from the log above what this is actually referring to?
Cheers,
Just

Seth Leger November 5, 2012 at 12:25 PM
Are these errors in output.log? I think these are part of normal operation of the dnsjava library.

jcat October 3, 2012 at 7:36 AM
This seems to be happening during normal running as well, not just after restarts:
02-Oct-2012 02:58:21 javax.jmdns.impl.tasks.state.DNSStateTask run
WARNING: Renewer(pehdon01.local.).run() exception
java.io.IOException: Operation not permitted
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1537)
at javax.jmdns.impl.tasks.state.DNSStateTask.run(DNSStateTask.java:131)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
02-Oct-2012 02:58:21 javax.jmdns.impl.JmDNSImpl __recover
WARNING: RECOVERING
02-Oct-2012 02:58:30 javax.jmdns.impl.JmDNSImpl __recover
WARNING: pehdon01.local.recover() We are back!
02-Oct-2012 17:58:29 javax.jmdns.impl.tasks.state.DNSStateTask run
WARNING: Renewer(pehdon01.local.).run() exception
java.io.IOException: Operation not permitted
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1537)
at javax.jmdns.impl.tasks.state.DNSStateTask.run(DNSStateTask.java:131)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
02-Oct-2012 17:58:29 javax.jmdns.impl.JmDNSImpl __recover
WARNING: RECOVERING
02-Oct-2012 17:58:38 javax.jmdns.impl.JmDNSImpl __recover
WARNING: pehdon01.local.recover() We are back!
03-Oct-2012 09:58:37 javax.jmdns.impl.tasks.state.DNSStateTask run
WARNING: Renewer(pehdon01.local.).run() exception
java.io.IOException: Operation not permitted
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1537)
at javax.jmdns.impl.tasks.state.DNSStateTask.run(DNSStateTask.java:131)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
03-Oct-2012 09:58:37 javax.jmdns.impl.JmDNSImpl __recover
WARNING: RECOVERING
03-Oct-2012 09:58:39 javax.jmdns.impl.JmDNSImpl __recover
WARNING: pehdon01.local.recover() We are back!
Cheers,
Just
I sometimes see errors like this on start-up.
17-Sep-2012 10:59:13 javax.jmdns.impl.tasks.state.DNSStateTask run
WARNING: Prober(pehdon01.local.).run() exception
java.io.IOException: Operation not permitted
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1537)
at javax.jmdns.impl.tasks.state.DNSStateTask.run(DNSStateTask.java:131)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
17-Sep-2012 10:59:13 javax.jmdns.impl.tasks.state.DNSStateTask run
WARNING: Prober(pehdon01.local.).run() exception
java.io.IOException: Operation not permitted
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1537)
at javax.jmdns.impl.tasks.state.DNSStateTask.run(DNSStateTask.java:131)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
17-Sep-2012 10:59:13 javax.jmdns.impl.JmDNSImpl __recover
WARNING: RECOVERING
17-Sep-2012 10:59:13 javax.jmdns.impl.JmDNSImpl __recover
WARNING: RECOVERING
17-Sep-2012 10:59:15 javax.jmdns.impl.JmDNSImpl __recover
WARNING: pehdon01.local.recover() We are back!
17-Sep-2012 10:59:15 javax.jmdns.impl.JmDNSImpl __recover
WARNING: pehdon01.local.recover() We are back!
It's strange, as the error doesn't always appear, only sometimes.
I'm wondering what it really means, if it's causing a problem, and if it's a bug or not - so I thought the best thing to do was just log a bug and see what the conclusion is.
Cheers,
Just