“ace” stands for a collaborative editor
project sites
ace elsewhere
category

MattisManzel: I copied in here to rework ace-forum: Installation Problem on Ubuntu
[quote=“ovidius”]Hi,
I have just tried to install ACE on Ubuntu linux 5.10. If I add the shared library for mDNSResponder from Java to $LD_LIBRARY_PATH , I get an exception and ACE dies.
Without the shared library I get a dialog, that Bonjour is not installed, but I can connect to some session on another computer, i.e. my laptop, by directly entering the ip address.
I use the latest ACE version aka Milestone 4, the latest mDNSResponder from Apple and Java 1.5 from Sun. (Ant and Maven also latest versions).
Is there any simple way to find out, if the shared Java library really works.
Yours,
Ingolf[/quote]
[quote=“sim”][quote]I have just tried to install ACE on Ubuntu linux 5.10. If I add the shared library for mDNSResponder from Java to $LD_LIBRARY_PATH , I get an exception and ACE dies.[/quote]
Can you please provide us the complete printout of the exception so that we can investigate the problem.
Thanks for your feedback! We do the best we can to get ACE running on your system. We are aware of the fact that our Linux/Unix support is pretty week.[/quote][/quote]
[quote=“ovidius”][quote]Can you please provide us the complete printout of the exception so that we can investigate the problem.[/quote] [code] ingolf@polarbaer:~/Downloads/ace-20060307$ ant run Buildfile: build.xml
init:
compile:
resources:
run: [java] # [java] # An unexpected error has been detected by HotSpot? Virtual Machine: [java] # [java] # SIGSEGV (0xb) at pc=0xb77fa3d8, pid=9490, tid=2970606512 [java] # [java] # Java VM: Java HotSpot?(TM) Client VM (1.5.0_06-b05 mixed mode, sharing) [java] # Problematic frame: [java] # V [libjvm.so+0x1803d8] [java] # [java] # An error report file with more information is saved as hs_err_pid9490.log [java] # [java] # If you would like to submit a bug report, please visit: [java] # http://java.sun.com/webapps/bugreport/crash.jsp [java] # [java] Java Result: 134
BUILD SUCCESSFUL Total time: 6 seconds [/code]
The complete log files can be found at [url]http://www.math.uni-bremen.de/~ovidius/logs.zip[/url] since I don´t know, how to upload files into this forum.
Feel free to ask, I will try to help, if I can.[/quote]
[quote=“sim”]Thanks for the logs. I think you’ve run into a problem we’ve encountered occassionally on Linux machines.
How often does the exception occur? Always?
You’ve said you’ve installed the latest version of mDNSResponder from Apple. That is version 107.5, correct? (http://www.opensource.apple.com/darwinsource/tarballs/apsl/mDNSResponder-107.5.tar.gz)
Just for completeness. Can you send us the commands you’ve used to compile mDNSResponder? Thanks!
I’ve created an issue in our issue tracker. See [url]http://ace.iserver.ch/jira/browse/ACE-98[/url]. You can watch that issue to find out about our progress. It should be fixed in our next release, M5.
We’re sorry for your inconveniences![/quote]
[quote=“ovidius”][quote]How often does the exception occur? Always?[/quote] Always. BTW Bonjours works, i.e. the mdnsd works perfectly. So it seems to be a problem with the Java interface.
[quote]You’ve said you’ve installed the latest version of mDNSResponder from Apple. That is version 107.5, correct?[/quote] Yes, that very version.
[quote]Can you send us the commands you’ve used to compile mDNSResponder?[/quote] Sure: [code]make os=linux make os=linux nss_mdns make os=linux Java sudo make install ./etc/init/mdnsd restart[/code]
I hope this helps. I f have try to use gcc-3.4 instead of gcc-4.0. But this does not change a thing. Actually I am not sure, if this is a problem of ACE at all. It seems to be a problem of the JNI-interface.
I will try to find out a bit more on this.
Yours,
Ingolf[/quote]
[quote=“ovidius”][quote]How often does the exception occur? Always?[/quote] Always. BTW Bonjours works, i.e. the mdnsd works perfectly. So it seems to be a problem with the Java interface.
[quote]You’ve said you’ve installed the latest version of mDNSResponder from Apple. That is version 107.5, correct?[/quote] Yes, that very version.
[quote]Can you send us the commands you’ve used to compile mDNSResponder?[/quote] Sure: [code]make os=linux make os=linux nss_mdns make os=linux Java sudo make install ./etc/init/mdnsd restart[/code]
I hope this helps. I f have try to use gcc-3.4 instead of gcc-4.0. But this does not change a thing. Actually I am not sure, if this is a problem of ACE at all. It seems to be a problem of the JNI-interface.
I will try to find out a bit more on this.
Yours,
Ingolf[/quote]
[quote=“sim”][quote]Actually I am not sure, if this is a problem of ACE at all. It seems to be a problem of the JNI-interface.[/quote]
That’s what we fear… We have to resolve this problem whether its a JNI problem or an ACE problem.[/quote]
[quote=“sim”]Have you tried to run the Java sample application that comes with the mDNSResponder download? Inside the mDNSResponder-107.5/Clients/Java there is a SimpleChat? application. Does this application have the same problem (i.e. JVM crash)?[/quote]
[quote=“ovidius”]Yes,
I have seen that and compiled it. But the Makefile does not work, i.e. it is done for nmake. But I could compile everything by hand and put it together and it worked.
No problem here and no crash.
For simplicity I have put all .class files into one folder and copied dns_sd.jar and libjdns_sd.so ther[quote=“pyron”]Basicaly we used Java 1.4 for developing ACE. I know about some minor GUI bugs (stuff that dont work proper) when running ACE with Java 1.5. Maybe this could be a problem on the network layer too? Could you pls try to run ACE with Java 1.4?[/quote]e. [code]LD_LIBRARY_PATH=./ java -classpath dns_sd.jar:./ SimpleChat?[/code] worked without problems.[/quote]
[quote=“sim”]This could be related to the fact that the SimpleChat? does not use any TXT records. We have to investigate further and let you know once we find out more about the problem[/quote]
[quote=“sim”]Another idea I’ve just had. Could you replace the dnssd-xyz.jar with the one you’ve compiled (the latest version)? Maybe our jar does not work together with the newer version.[/quote]
[quote=“ovidius”]Both options (replacing the dnssd.jar) and using JDK 1.4 do not change a thing. :oops:
One more thing, which maybe uncommon on my machine: Are there any known problems with multiple cpu machines (SMP kernels)?[/quote]
[quote=“sim”]If we could create a simple application using dnssd that crashes, we could contact the bonjour-dev mailing list (http://www.lists.apple.com/mailman/listinfo/bonjour-dev). It’s kind of hard to do that without a computer that has the same problem… :(
We’ve seen your problem before, just not as consistently as you are experiencing it. You could contact the Bonjour developers (mailing list mentioned above) and ask if they know of any issues with your OS/computer.[/quote]
[quote=“sim”]By the way, is your processor a 64-bit processor?[/quote]
[quote=“ovidius”][quote]If we could create a simple application using dnssd that crashes[/quote] Well, SimpleChat? seems to work … :wink:
[quote]By the way, is your processor a 64-bit processor?[/quote] No, but I have seen that there is a patch of libjdns for 64-bit processors.
To make things worse, I have just learned, that Ubuntu 6.04 (or 6.05) will contain zeroconf via avahi by default. I know that is this complicates your work very much, but you should consider to use avahi instead of Apple´s bonjour on linux.
In principle one would just have to use Apple’s JNI interface with avahi, but I do not know, wheter this is legal and I have not tried it.
If I happen to have to much time over the weekend I will have a look, but I do not promise anything. :wink:[/quote]