Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326228 - [Discovery][JmDNS] Upgrade to JmDNS 3.x
Summary: [Discovery][JmDNS] Upgrade to JmDNS 3.x
Status: REOPENED
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: 3.3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 392655 (view as bug list)
Depends on:
Blocks: 202774 348487 392655
  Show dependency tree
 
Reported: 2010-09-25 07:48 EDT by Markus Kuppe CLA
Modified: 2014-02-14 15:21 EST (History)
2 users (show)

See Also:


Attachments
changes necessary in the provider (217.56 KB, patch)
2010-09-25 08:05 EDT, Markus Kuppe CLA
no flags Details | Diff
mylyn/context/zip (6.11 KB, application/octet-stream)
2010-09-25 08:05 EDT, Markus Kuppe CLA
no flags Details
mylyn/context/zip (16.13 KB, application/octet-stream)
2010-10-24 09:01 EDT, Markus Kuppe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2010-09-25 07:48:40 EDT
JmDNS has received a bunch of enhancements since 2.x. Thus we should upgrade to the 3.x code base.
Comment 1 Markus Kuppe CLA 2010-09-25 07:59:40 EDT
CQ https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4472 has been filed
Comment 2 Markus Kuppe CLA 2010-09-25 08:05:39 EDT
Created attachment 179568 [details]
changes necessary in the provider
Comment 3 Markus Kuppe CLA 2010-09-25 08:05:43 EDT
Created attachment 179569 [details]
mylyn/context/zip
Comment 4 Markus Kuppe CLA 2010-10-01 08:30:26 EDT
Reverted to 2.x code base. 3.x code base is showing a couple of problems which have to be sorted out first.
Comment 5 Markus Kuppe CLA 2010-10-01 08:32:08 EDT
REOPENED due to previous comment
Comment 6 Markus Kuppe CLA 2010-10-24 09:01:32 EDT
A new branch 326228 [0] has been pushed to git.eclipse.org that will serve as an integration branch with JmDNS upstream for now.

[0] http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/log/?h=326228
Comment 7 Markus Kuppe CLA 2010-10-24 09:01:34 EDT
Created attachment 181593 [details]
mylyn/context/zip
Comment 8 Olivier Labrosse CLA 2012-11-29 14:30:20 EST
Relating my experience with ECF's JmDNS provider...

I was getting "buffer full" exceptions thrown at line 144 of DNSOutgoing.java.  It looked alot like a multi-threading issue where the array and offset would change to values that caused the guard to test true.  In any case, this exception would cause our remote services to fail registration and would ultimately leave the JmDSNImpl instance in some corrupt state that caused a deadlock to occur at line 542 of said class (unregisterService() method) when the application closed.

Because we're developing an Eclipse application already with a 1.7 compliance level, it was relatively easy to get around the new JmDNS requirements.  I created a replacement plugin from the ECF master branch and JmDNS's HEAD, changed the manifest and classpath, and all is working now.  No more exceptions.

If you haven't updated JmDNS due to the 1.6 compliance issues, I must say I understand the stalemate situation this issue appears to be in.
Comment 9 Scott Lewis CLA 2014-02-14 15:21:27 EST
*** Bug 392655 has been marked as a duplicate of this bug. ***