Re: [kaffe] Bug Report: multiple sockets can't bind to same multicast address
Everton da Silva Marques wrote: Hi, Kaffe (1.1.1 and 1.1.2) does not allow multiple multicast sockets to bind to the same address/port pair. I have attached a small test program which shows the issue. The output from the test program is: Is this known? Many thanks for the bug report. I'll try to deal with this issue as soon as possible. Cheers, Guilhem. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Bug Report: multiple sockets can't bind to same multicast address
Hi, Kaffe (1.1.1 and 1.1.2) does not allow multiple multicast sockets to bind to the same address/port pair. I have attached a small test program which shows the issue. The output from the test program is: // Correct output: /usr/local/j2sdk1.4.2_01/bin/java -classpath build mcast.MulticastListener FIRST multicast socket bound to 224.0.0.9:1234 FIRST multicast socket joined 224.0.0.9 on interface 0.0.0.0 SECOND multicast socket bound to 224.0.0.9:1234 SECOND multicast socket joined 224.0.0.9 on interface 0.0.0.0 // Output under Kaffe 1.1.1 and 1.1.2: /usr/local/kaffe-1.1.2/bin/java -classpath build mcast.MulticastListener FIRST multicast socket bound to 224.0.0.9:1234 FIRST multicast socket joined 224.0.0.9 on interface 108.103.35.8 could not create SECOND multicast socket: java.net.BindException: Address already in use Is this known? Thanks, Everton package mcast; import java.io.IOException; import java.net.InetAddress; import java.net.SocketException; import java.net.DatagramPacket; import java.net.MulticastSocket; import java.net.UnknownHostException; class MulticastListener { private static final String mcastAddr = "224.0.0.9"; private static final intmcastPort = 1234; private static void go() { // // Multicast Address // InetAddress multicastAddress; try { multicastAddress = InetAddress.getByName(mcastAddr); } catch (UnknownHostException e) { System.err.println("could not solve multicast address: " + e); return; } // // First Socket // MulticastSocket firstMcastSock; try { firstMcastSock = new MulticastSocket(mcastPort); } catch (Exception e) { System.err.println("could not create FIRST multicast socket: " + e); return; } System.out.println("FIRST multicast socket bound to " + mcastAddr + ":" + mcastPort); try { firstMcastSock.joinGroup(multicastAddress); } catch (IOException e) { System.err.println("could not join FIRST socket to multicast group: " + e); return; } try { System.out.println("FIRST multicast socket joined " + mcastAddr + " on interface " + firstMcastSock.getInterface().getHostName()); } catch (SocketException e) { System.err.println("could not get interface for FIRST multicast socket"); } // // Second Socket // MulticastSocket secondMcastSock; try { secondMcastSock = new MulticastSocket(mcastPort); } catch (Exception e) { System.err.println("could not create SECOND multicast socket: " + e); return; } System.out.println("SECOND multicast socket bound to " + mcastAddr + ":" + mcastPort); try { secondMcastSock.joinGroup(multicastAddress); } catch (IOException e) { System.err.println("could not join SECOND socket to multicast group: " + e); return; } try { System.out.println("SECOND multicast socket joined " + mcastAddr + " on interface " + secondMcastSock.getInterface().getHostName()); } catch (SocketException e) { System.err.println("could not get interface for SECOND multicast socket"); } } public static void main(String args[]) { go(); } }
Re: [kaffe] Re: Java and testing release
On Sun, 05 Oct 2003 21:04:47 +0200 Dalibor Topic <[EMAIL PROTECTED]> wrote: > Hi Ricky, > > I've CC:ed Arnaud, as he's very active in the debian-java community. Thanks Dalibor but I'm on [EMAIL PROTECTED] and on [EMAIL PROTECTED] Just too busy at the moment ;) Cheers, -- Arnaud Vandyck, STE fi, ULg Formateur Cellule Programmation. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Re: Java and testing release
Already read it on debian-java but don't know what to do at the moment... maybe ask the Debian Maintainer: Ean R. Schuessler . -- Arnaud On 3 Oct 2003 14:39:21 +0100 "Ricky Clarkson" <[EMAIL PROTECTED]> wrote: > Er, I found this on the debian-java mailing list and thought you guys > might be interested. > > Regards, > > Ricky. > > On Fri, Oct 03, 2003 at 01:26:55PM +0100, MJ Ray wrote: > > Hi all, > > > > I was just reading the bug list email and I spotted two java packages > > are marked for removal from testing. I don't really use java much > > myself these days, so I thought I'd wave them at this list. > > > > orp is being removed because of a bug that looks quite fully diagnosed > > at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185881 but not > > fixed. It hasn't been acknowledged by the maintainer according to > > http://lists.debian.org/debian-release/2003/debian-release-200308/msg00025.html > > This wasn't mentioned in the 27 Aug bug list. It might be a recent REMOVE > > list addition. > > > > kaffee is still being removed because of more complex reasons, it > > seems, from > > http://lists.debian.org/debian-release/2003/debian-release-200304/msg00022.html > > Please take a look at http://bugs.debian.org/src:kaffe and see if you can > > help. This was discussed in the last Java RC bug list on this list. > > > > I'm not on this list at the moment, so please CC me on replies if you > > want me to see them. > > > > Thanks for reading this. > > > > -- > > MJR/slef My Opinion Only and possibly not of any group I know. > > http://mjr.towers.org.uk/ gopher://g.towers.org.uk/ [EMAIL PROTECTED] > > Creative copyleft computing services via http://www.ttllp.co.uk/ > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] > > > > ___ > kaffe mailing list > [EMAIL PROTECTED] > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe > -- Arnaud Vandyck, STE fi, ULg Formateur Cellule Programmation. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Help me !!! I porting the kaffe on mpis cpu, but I had error of execution
Hi Dear~~ I working the porting of kaffe My platform is CPU: MIPS R6000 OS: Redhat linux 2.4.17 Graphics: QT JVM : Kaffe 1.1.1 or Kaffe 1.1.0 or Kaffe 1.0.7 I following the bash-2.04# pwd /data/kaffe-1.1.0 bash-2.04# ./configure bash-2.04# make bash-2.04# make install I builded executiion file (java,javac,kaffe) bash-2.04# pwd/usr/local/kaffe/binbash-2.04# lsHelloWorld.class appletviewer java javah jdb kjc rmicinstall-jar javac javakey kaffe kopi rmiregistryjar javadoc javap kaffeh native2ascii serialver but don't execute java bash-2.04# ./java HelloWorldInternal error: caught an unexpected exception.Please check your CLASSPATH and your installation.java/lang/OutOfMemoryError at java.util.HashMap.rehash(HashMap.java:236) at java.util.HashMap.put(HashMap.java:136) at java.util.Hashtable.put(Hashtable.java:109) at java.lang.System.initProperties(System.java:native) at java.lang.System.(System.java:43) at java.lang.ClassLoader.(ClassLoader.java:114) at java.security.SecureClassLoader.(SecureClassLoader.java:20) at kaffe.lang.AppClassLoader.(AppClassLoader.java:238) at kaffe.lang.AppClassLoader.(AppClassLoader.java:37)Aborted (core dumped) What is a problem I want to your advice Have nice day !!!
[kaffe] Kaffe 1.1.2 "Development" Release available for download
I've made the 1.1.2 release of Kaffe available for download at: ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/kaffe-1.1.2.tar.gz http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/kaffe-1.1.2.tar.gz As this is a development release, it is essentially a snapshot of what's happening in CVS, with limited testing. Even though this is not a production release, it contains a lot of improvements over 1.0.7, which was release over half a year ago. I anticipate that most people will have less trouble with this release. Here are some highlights of new things done since the last development release: * New packages: * javax.net * javax.net.ssl * Lots of configuration/compile fixes, including: arm-linux, parisc-hpux, parisc-linux, sparc-solaris. * Improved RMI, JVMPI, java.text and NIO support. * Improved garbage collector and jit3 memory consumption. * Further merge with GNU Classpath: Collections, many networking, IO and zip classes. * Fixes for several bugs in kjc. * Improved support for building without GNU make. * Lots of bug fixes, compiler warning fixes, and small improvements. * Some successes: Tomcat4, eXist, JavaLayer, JOrbis. Most of the verifier code was checked in, but it is not enabled by default yet, as it requires some further work. The focus of the recent development was largely related to migrating our class libraries over to Classpath. A side-effect has been that a lot of the non-mainstream ports have seen regression, and will need some additional work before they will be functional again. We're going to try to stick to the schedule of doing a development release every two months, culminating in a heavily tested "production" release (1.2.0) in early 2004. Bug reports, comments and patches are always welcome -- send them to the team at [EMAIL PROTECTED] Have fun! Cheers, - Jim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (jim):
*** ERROR *** cvsps failed - lastCandidate was 0 ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe