From owner-freebsd-java@FreeBSD.ORG Mon Aug 4 11:01:29 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B23F437B401 for ; Mon, 4 Aug 2003 11:01:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC5943FCB for ; Mon, 4 Aug 2003 11:01:22 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h74I1LUp066073 for ; Mon, 4 Aug 2003 11:01:21 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h74I1L8V066065 for freebsd-java@freebsd.org; Mon, 4 Aug 2003 11:01:21 -0700 (PDT) Date: Mon, 4 Aug 2003 11:01:21 -0700 (PDT) Message-Id: <200308041801.h74I1L8V066065@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 18:01:30 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/08/22] java/41913 java JniHandler and ChannelUn Errors 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43929 java linux-ibm-jdk core dumps without System.e o [2002/10/18] java/44219 java Update port: textproc/cocoon to 2.0.3 o [2002/10/18] java/44251 java Create stylebook port o [2002/11/04] java/44922 java JVM crash o [2003/07/29] java/55032 java SVr4 emulation interferes with install 5 problems total. From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 07:50:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9DAD37B401 for ; Wed, 6 Aug 2003 07:50:01 -0700 (PDT) Received: from hotmail.com (law14-oe73.law14.hotmail.com [64.4.20.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29B8443FB1 for ; Wed, 6 Aug 2003 07:50:01 -0700 (PDT) (envelope-from seventyforty@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 6 Aug 2003 07:50:01 -0700 Received: from 195.92.67.75 by law14-oe73.law14.hotmail.com with DAV; Wed, 06 Aug 2003 14:50:00 +0000 X-Originating-IP: [195.92.67.75] X-Originating-Email: [seventyforty@hotmail.com] From: "SeventyForty" To: Date: Wed, 6 Aug 2003 15:47:34 +0100 Organization: SeventyForty MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Message-ID: X-OriginalArrivalTime: 06 Aug 2003 14:50:01.0145 (UTC) FILETIME=[035F1290:01C35C2A] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: SeventyForty List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 14:50:02 -0000 Hello FreeBSD Java people, I'm new to FreeBSD. I need to use the nio of Java 1.4.1 or above on = FreeBSD. =20 I'm currently using the native Java port 1.4.1 and I've just tried to = run a game server I wrote which uses the nio and I got=20 Exception in thread "main" java.lang.UnsatisfiedLinkError: init at sun.nio.ch.DevPollArrayWrapper.init(Native Method) at = sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) at = sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) at = sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.j= ava:18) at java.nio.channels.Selector.open(Selector.java:209) ........ ........ Am I write in assuming that the nio hasn't been ported yet? If so is = anyone working on it? are there any timeframes for when it might be = ready? thanks in advance James =20 From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 08:09:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E22C37B407 for ; Wed, 6 Aug 2003 08:09:16 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3313443F85 for ; Wed, 6 Aug 2003 08:09:15 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) h76F7G3M027777; Wed, 6 Aug 2003 11:07:16 -0400 (EDT) From: "Michael E. Mercer" To: SeventyForty In-Reply-To: References: Content-Type: text/plain Message-Id: <1060182553.4201.13.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 06 Aug 2003 11:09:13 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 15:09:16 -0000 This problem has been encountered already... There is a logic problem in Sun's code. A quick hack for FreeBSD is to just remove everything except the line marked with >>>>>>. in src/solaris/sun/nio/ch/DefaultSelectorProvider.java public class DefaultSelectorProvider { /** * Prevent instantiation. */ private DefaultSelectorProvider() { } /** * Returns the default SelectorProvider. */ public static SelectorProvider create() { PrivilegedAction pa = new GetPropertyAction("os.version"); String result = (String) AccessController.doPrivileged(pa); String[] numbers = result.split("\\.", 0); if (numbers[1].compareTo("7") < 0) >>>>>>>>>>> return new sun.nio.ch.PollSelectorProvider(); else return new sun.nio.ch.DevPollSelectorProvider(); } } later MeM On Wed, 2003-08-06 at 10:47, SeventyForty wrote: > Hello FreeBSD Java people, > > I'm new to FreeBSD. I need to use the nio of Java 1.4.1 or above on FreeBSD. > > I'm currently using the native Java port 1.4.1 and I've just tried to run a game server I wrote which uses the nio and I got > > Exception in thread "main" java.lang.UnsatisfiedLinkError: init > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) > at sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) > at sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) > at sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.java:18) > at java.nio.channels.Selector.open(Selector.java:209) > ........ > ........ > > Am I write in assuming that the nio hasn't been ported yet? If so is anyone working on it? are there any timeframes for when it might be ready? > > thanks in advance > > James > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 10:46:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 531AC37B401 for ; Wed, 6 Aug 2003 10:46:01 -0700 (PDT) Received: from hotmail.com (law14-oe38.law14.hotmail.com [64.4.20.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id C000643F93 for ; Wed, 6 Aug 2003 10:46:00 -0700 (PDT) (envelope-from seventyforty@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 6 Aug 2003 10:46:00 -0700 Received: from 195.92.67.75 by law14-oe38.law14.hotmail.com with DAV; Wed, 06 Aug 2003 17:46:00 +0000 X-Originating-IP: [195.92.67.75] X-Originating-Email: [seventyforty@hotmail.com] From: "SeventyForty" To: References: <1060182553.4201.13.camel@dual.mmercer.com> Date: Wed, 6 Aug 2003 18:43:33 +0100 Organization: SeventyForty MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Message-ID: X-OriginalArrivalTime: 06 Aug 2003 17:46:00.0435 (UTC) FILETIME=[9932DC30:01C35C42] Subject: Re: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: SeventyForty List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 17:46:01 -0000 What is the easiest way for my to make this change and rebuild it? The Makefile in my patchset uses j2sdk-1_4_1-src-scsl.zip against which it does a checksum. If I unzip the the source then make the change, how do I then "make" it easily? how should I hack the Makefile to do this? James ----- Original Message ----- From: "Michael E. Mercer" To: "SeventyForty" Cc: Sent: Wednesday, August 06, 2003 4:09 PM Subject: Re: java nio stuff > This problem has been encountered already... > There is a logic problem in Sun's code. > > A quick hack for FreeBSD is to just remove everything except the line > marked with >>>>>>. > > in src/solaris/sun/nio/ch/DefaultSelectorProvider.java > > public class DefaultSelectorProvider { > > /** > * Prevent instantiation. > */ > private DefaultSelectorProvider() { } > > /** > * Returns the default SelectorProvider. > */ > public static SelectorProvider create() { > PrivilegedAction pa > = new GetPropertyAction("os.version"); > String result = (String) AccessController.doPrivileged(pa); > String[] numbers = result.split("\\.", 0); > if (numbers[1].compareTo("7") < 0) > >>>>>>>>>>> return new sun.nio.ch.PollSelectorProvider(); > else > return new sun.nio.ch.DevPollSelectorProvider(); > } > > } > > later > MeM > > > > On Wed, 2003-08-06 at 10:47, SeventyForty wrote: > > Hello FreeBSD Java people, > > > > I'm new to FreeBSD. I need to use the nio of Java 1.4.1 or above on FreeBSD. > > > > I'm currently using the native Java port 1.4.1 and I've just tried to run a game server I wrote which uses the nio and I got > > > > Exception in thread "main" java.lang.UnsatisfiedLinkError: init > > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) > > at sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) > > at sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) > > at sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.java :18) > > at java.nio.channels.Selector.open(Selector.java:209) > > ........ > > ........ > > > > Am I write in assuming that the nio hasn't been ported yet? If so is anyone working on it? are there any timeframes for when it might be ready? > > > > thanks in advance > > > > James > > > > > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 10:50:34 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ACCD37B401 for ; Wed, 6 Aug 2003 10:50:34 -0700 (PDT) Received: from ext-ch1gw-3.online-age.net (ext-ch1gw-3.online-age.net [216.34.191.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9827643FBD for ; Wed, 6 Aug 2003 10:50:33 -0700 (PDT) (envelope-from lapinski@crd.ge.com) Received: from int-ch1gw-4.online-age.net (int-ch1gw-4 [3.159.232.68]) h76HoVvV015656; Wed, 6 Aug 2003 13:50:31 -0400 (EDT) Received: from crdns.crd.ge.com (localhost [127.0.0.1]) id h76HoTI8003342; Wed, 6 Aug 2003 13:50:30 -0400 (EDT) Received: from xbh01crdge.crd.ge.com (xbh01crdge.crd.ge.com [3.159.72.22]) by crdns.crd.ge.com (8.11.6p2/8.11.6) with ESMTP id h76HoSQ27667; Wed, 6 Aug 2003 13:50:29 -0400 (EDT) Received: by xbh01crdge.crd.ge.com with Internet Mail Service (5.5.2653.19) id ; Wed, 6 Aug 2003 13:50:27 -0400 Message-ID: From: "Lapinski, Michael (Research)" To: "'SeventyForty'" , freebsd-java@freebsd.org Date: Wed, 6 Aug 2003 13:50:28 -0400 X-Mailer: Internet Mail Service (5.5.2653.19) Subject: RE: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 17:50:34 -0000 edit the checksum file an put in the md5 of the new zip with the edited srcs -mtl -------------------------------------------------- Michael Lapinski Computer Scientist GE Research "I think there is a world market for maybe five computers." - IBM Chairman Thomas Watson, 1943 ->-----Original Message----- ->From: SeventyForty [mailto:seventyForty@hotmail.com] ->Sent: Wednesday, August 06, 2003 1:44 PM ->To: freebsd-java@freebsd.org ->Subject: Re: java nio stuff -> -> ->What is the easiest way for my to make this change and rebuild it? -> ->The Makefile in my patchset uses j2sdk-1_4_1-src-scsl.zip ->against which it ->does a checksum. ->If I unzip the the source then make the change, how do I then ->"make" it ->easily? how should I hack the Makefile to do this? -> ->James -> -> ->----- Original Message ----- ->From: "Michael E. Mercer" ->To: "SeventyForty" ->Cc: ->Sent: Wednesday, August 06, 2003 4:09 PM ->Subject: Re: java nio stuff -> -> ->> This problem has been encountered already... ->> There is a logic problem in Sun's code. ->> ->> A quick hack for FreeBSD is to just remove everything ->except the line ->> marked with >>>>>>. ->> ->> in src/solaris/sun/nio/ch/DefaultSelectorProvider.java ->> ->> public class DefaultSelectorProvider { ->> ->> /** ->> * Prevent instantiation. ->> */ ->> private DefaultSelectorProvider() { } ->> ->> /** ->> * Returns the default SelectorProvider. ->> */ ->> public static SelectorProvider create() { ->> PrivilegedAction pa ->> = new GetPropertyAction("os.version"); ->> String result = (String) AccessController.doPrivileged(pa); ->> String[] numbers = result.split("\\.", 0); ->> if (numbers[1].compareTo("7") < 0) ->> >>>>>>>>>>> return new sun.nio.ch.PollSelectorProvider(); ->> else ->> return new sun.nio.ch.DevPollSelectorProvider(); ->> } ->> ->> } ->> ->> later ->> MeM ->> ->> ->> ->> On Wed, 2003-08-06 at 10:47, SeventyForty wrote: ->> > Hello FreeBSD Java people, ->> > ->> > I'm new to FreeBSD. I need to use the nio of Java 1.4.1 ->or above on ->FreeBSD. ->> > ->> > I'm currently using the native Java port 1.4.1 and I've ->just tried to ->run a game server I wrote which uses the nio and I got ->> > ->> > Exception in thread "main" java.lang.UnsatisfiedLinkError: init ->> > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) ->> > at ->sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) ->> > at ->sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) ->> > at ->sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelecto ->rProvider.java ->:18) ->> > at java.nio.channels.Selector.open(Selector.java:209) ->> > ........ ->> > ........ ->> > ->> > Am I write in assuming that the nio hasn't been ported ->yet? If so is ->anyone working on it? are there any timeframes for when it ->might be ready? ->> > ->> > thanks in advance ->> > ->> > James ->> > ->> > ->> > _______________________________________________ ->> > freebsd-java@freebsd.org mailing list ->> > http://lists.freebsd.org/mailman/listinfo/freebsd-java ->> > To unsubscribe, send any mail to ->"freebsd-java-unsubscribe@freebsd.org" ->> ->> ->_______________________________________________ ->freebsd-java@freebsd.org mailing list ->http://lists.freebsd.org/mailman/listinfo/freebsd-java ->To unsubscribe, send any mail to ->"freebsd-java-unsubscribe@freebsd.org" -> From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 11:04:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5833237B401 for ; Wed, 6 Aug 2003 11:04:44 -0700 (PDT) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7683143FBF for ; Wed, 6 Aug 2003 11:04:43 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) h76I1Nmn016319; Wed, 6 Aug 2003 14:01:23 -0400 (EDT) From: "Michael E. Mercer" To: seventyForty@hotmail.com In-Reply-To: References: Content-Type: text/plain Message-Id: <1060193081.4201.32.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 06 Aug 2003 14:04:42 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: RE: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 18:04:44 -0000 Actually, if you're doing a full build, then follow these steps... make configure make make [re]install later MeM On Wed, 2003-08-06 at 13:50, Lapinski, Michael (Research) wrote: > edit the checksum file an put in the md5 of the new zip with the edited srcs > > > -mtl > > -------------------------------------------------- > Michael Lapinski > Computer Scientist > GE Research > > > "I think there is a world market for maybe five computers." > - IBM Chairman Thomas Watson, 1943 > > > ->-----Original Message----- > ->From: SeventyForty [mailto:seventyForty@hotmail.com] > ->Sent: Wednesday, August 06, 2003 1:44 PM > ->To: freebsd-java@freebsd.org > ->Subject: Re: java nio stuff > -> > -> > ->What is the easiest way for my to make this change and rebuild it? > -> > ->The Makefile in my patchset uses j2sdk-1_4_1-src-scsl.zip > ->against which it > ->does a checksum. > ->If I unzip the the source then make the change, how do I then > ->"make" it > ->easily? how should I hack the Makefile to do this? > -> > ->James > -> > -> > ->----- Original Message ----- > ->From: "Michael E. Mercer" > ->To: "SeventyForty" > ->Cc: > ->Sent: Wednesday, August 06, 2003 4:09 PM > ->Subject: Re: java nio stuff > -> > -> > ->> This problem has been encountered already... > ->> There is a logic problem in Sun's code. > ->> > ->> A quick hack for FreeBSD is to just remove everything > ->except the line > ->> marked with >>>>>>. > ->> > ->> in src/solaris/sun/nio/ch/DefaultSelectorProvider.java > ->> > ->> public class DefaultSelectorProvider { > ->> > ->> /** > ->> * Prevent instantiation. > ->> */ > ->> private DefaultSelectorProvider() { } > ->> > ->> /** > ->> * Returns the default SelectorProvider. > ->> */ > ->> public static SelectorProvider create() { > ->> PrivilegedAction pa > ->> = new GetPropertyAction("os.version"); > ->> String result = (String) AccessController.doPrivileged(pa); > ->> String[] numbers = result.split("\\.", 0); > ->> if (numbers[1].compareTo("7") < 0) > ->> >>>>>>>>>>> return new sun.nio.ch.PollSelectorProvider(); > ->> else > ->> return new sun.nio.ch.DevPollSelectorProvider(); > ->> } > ->> > ->> } > ->> > ->> later > ->> MeM > ->> > ->> > ->> > ->> On Wed, 2003-08-06 at 10:47, SeventyForty wrote: > ->> > Hello FreeBSD Java people, > ->> > > ->> > I'm new to FreeBSD. I need to use the nio of Java 1.4.1 > ->or above on > ->FreeBSD. > ->> > > ->> > I'm currently using the native Java port 1.4.1 and I've > ->just tried to > ->run a game server I wrote which uses the nio and I got > ->> > > ->> > Exception in thread "main" java.lang.UnsatisfiedLinkError: init > ->> > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) > ->> > at > ->sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) > ->> > at > ->sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) > ->> > at > ->sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelecto > ->rProvider.java > ->:18) > ->> > at java.nio.channels.Selector.open(Selector.java:209) > ->> > ........ > ->> > ........ > ->> > > ->> > Am I write in assuming that the nio hasn't been ported > ->yet? If so is > ->anyone working on it? are there any timeframes for when it > ->might be ready? > ->> > > ->> > thanks in advance > ->> > > ->> > James > ->> > > ->> > > ->> > _______________________________________________ > ->> > freebsd-java@freebsd.org mailing list > ->> > http://lists.freebsd.org/mailman/listinfo/freebsd-java > ->> > To unsubscribe, send any mail to > ->"freebsd-java-unsubscribe@freebsd.org" > ->> > ->> > ->_______________________________________________ > ->freebsd-java@freebsd.org mailing list > ->http://lists.freebsd.org/mailman/listinfo/freebsd-java > ->To unsubscribe, send any mail to > ->"freebsd-java-unsubscribe@freebsd.org" > -> > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 11:41:14 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8EA737B401 for ; Wed, 6 Aug 2003 11:41:14 -0700 (PDT) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B83543F3F for ; Wed, 6 Aug 2003 11:41:13 -0700 (PDT) (envelope-from ellard@eecs.harvard.edu) Received: by mail.eecs.harvard.edu (Postfix, from userid 465) id AE93B54C4F7; Wed, 6 Aug 2003 14:41:10 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id AC08754C495 for ; Wed, 6 Aug 2003 14:41:10 -0400 (EDT) Date: Wed, 6 Aug 2003 14:41:10 -0400 (EDT) From: Daniel Ellard To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: java plugin for netscape 7.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 18:41:15 -0000 I'm trying to get the java plugin to work with netscape 7.1 (/usr/ports/www/netscape7, which installs the linux netscape7english), but without any luck. I've tried with linux-sun-jdk13, linux-sun-jdk14, and just plain jdk13. I've followed the installation instructions to the letter (and yes, I've moved the symlink around to point to the right place each time). There are no error or warning messages from netscape, but it doesn't recognize the plug-in and won't run java applets. The flash and shockwave plugins, which are installed with netscape, work normally. Is there a trick, or am I just out of luck? Please respond directly because I am not subscribed to this list. Thanks, -Dan From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 12:07:42 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 908AB37B401 for ; Wed, 6 Aug 2003 12:07:42 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id C64E043FAF for ; Wed, 6 Aug 2003 12:07:41 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) h76J1688005523 for ; Wed, 6 Aug 2003 15:01:07 -0400 (EDT) From: "Michael E. Mercer" To: freebsd-java@freebsd.org Content-Type: text/plain Message-Id: <1060196859.13023.3.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 06 Aug 2003 15:07:40 -0400 Content-Transfer-Encoding: 7bit Subject: Socket Exception using 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 19:07:42 -0000 Hello, I have a Linksys Router that I access via a java program to get my current IP. I use my own Authenticator and use URL to get a URLConnection. When I use 1.3, everything works just fine. However using 1.4 throws a "Socket Reset" SocketException everytime. If you need me to write a sample code snippet to explain what exactly I'm doing, then I will. Thanks Michael Mercer From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 12:21:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A201337B401 for ; Wed, 6 Aug 2003 12:21:59 -0700 (PDT) Received: from ext-ch1gw-1.online-age.net (ext-ch1gw-1.online-age.net [216.34.191.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9F6643FD7 for ; Wed, 6 Aug 2003 12:21:58 -0700 (PDT) (envelope-from lapinski@crd.ge.com) Received: from int-ch1gw-4.online-age.net (int-ch1gw-4 [3.159.232.68]) h76JLtiL013873; Wed, 6 Aug 2003 14:21:55 -0500 (CDT) Received: from crdns.crd.ge.com (localhost [127.0.0.1]) id h76JLsh0024576; Wed, 6 Aug 2003 15:21:54 -0400 (EDT) Received: from xbh01crdge.crd.ge.com (xbh01crdge.crd.ge.com [3.159.72.22]) by crdns.crd.ge.com (8.11.6p2/8.11.6) with ESMTP id h76JLrQ19511; Wed, 6 Aug 2003 15:21:53 -0400 (EDT) Received: by xbh01crdge.crd.ge.com with Internet Mail Service (5.5.2653.19) id ; Wed, 6 Aug 2003 15:21:51 -0400 Message-ID: From: "Lapinski, Michael (Research)" To: "'Michael E. Mercer'" , freebsd-java@freebsd.org Date: Wed, 6 Aug 2003 15:21:49 -0400 X-Mailer: Internet Mail Service (5.5.2653.19) Subject: RE: Socket Exception using 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 19:21:59 -0000 One suggestion, try using NetworkInterface to poll for up/down/ip info (I read a short Article in the java developers journal about it and would be willign to fax it to you or Something). Second, the first thing that comes to mind is policy files for the JVM, ive seen a lot of weird socket excpetions with RMI stuff that ended up being policy issues. If that doesn't do anything send a code snippet and maybe I can be of help. -mtl -------------------------------------------------- Michael Lapinski Computer Scientist GE Research -----Original Message----- From: Michael E. Mercer [mailto:mmercer@nc.rr.com] Sent: Wednesday, August 06, 2003 3:08 PM To: freebsd-java@freebsd.org Subject: Socket Exception using 1.4 Hello, I have a Linksys Router that I access via a java program to get my current IP. I use my own Authenticator and use URL to get a URLConnection. When I use 1.3, everything works just fine. However using 1.4 throws a "Socket Reset" SocketException everytime. If you need me to write a sample code snippet to explain what exactly I'm doing, then I will. Thanks Michael Mercer _______________________________________________ freebsd-java@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 15:11:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AE9E37B404 for ; Wed, 6 Aug 2003 15:11:44 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1625743F75 for ; Wed, 6 Aug 2003 15:11:43 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) h76M9f3M015424; Wed, 6 Aug 2003 18:09:41 -0400 (EDT) From: "Michael E. Mercer" To: "Lapinski, Michael (Research)" In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-aqumX4pxvqAGS3m5zreH" Message-Id: <1060207897.13023.13.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 06 Aug 2003 18:11:37 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-java@freebsd.org Subject: RE: Socket Exception using 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 22:11:44 -0000 --=-aqumX4pxvqAGS3m5zreH Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached you will find LRC.java... LRC=Linksys Router Connection This code when run by version 1.3 works fine. When run by 1.4, it throws a SocketException. Here is the code inline... it throws the exception at the readLine() call. to run it, the params are username of the Linksys Router password for Linksys Router IP address assigned to the Linksys Router the page you want to retrieve Thanks MeM /* * Created on Aug 6, 2003 */ package com.mmercer.lrc; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.Authenticator; import java.net.PasswordAuthentication; import java.net.URL; import java.net.URLConnection; /** * @author mmercer */ public class LRC { /** * */ public LRC() { super(); } public String retrievePage(String host, String page) { StringBuffer result = new StringBuffer(); URL url = null; try { // do stuff here. url = new URL("http", host, 80, "/" + page); // System.out.println( url.toString() ); URLConnection conn = url.openConnection(); // update headers here... conn.connect(); InputStreamReader isr = new InputStreamReader(conn.getInputStream()); BufferedReader br = new BufferedReader(isr); String line = null; while (br.ready() && ((line = br.readLine()) != null)) { result.append(line).append("\n"); } } catch (Exception e) { e.printStackTrace(); } return result.toString(); } public static void main(String[] args) { if (args.length != 4) { System.err.println( "usage: java LRC "); System.exit(1); } LRC lrc = new LRC(); Authenticator.setDefault(lrc.new MyAuthenticator(args[0], args[1])); String result = lrc.retrievePage(args[2], args[3]); if (null == result) return; System.out.println(result); } class MyAuthenticator extends Authenticator { private PasswordAuthentication pw; MyAuthenticator(String username, String password) { pw = new PasswordAuthentication(username, password.toCharArray()); } protected PasswordAuthentication getPasswordAuthentication() { return pw; } } } On Wed, 2003-08-06 at 15:21, Lapinski, Michael (Research) wrote: > One suggestion, try using NetworkInterface > to poll for up/down/ip info (I read a short > Article in the java developers journal about > it and would be willign to fax it to you or > Something). > > Second, the first thing that comes to mind > is policy files for the JVM, ive seen a lot > of weird socket excpetions with RMI stuff > that ended up being policy issues. > > If that doesn't do anything send a code > snippet and maybe I can be of help. > > > -mtl > > -------------------------------------------------- > Michael Lapinski > Computer Scientist > GE Research > > -----Original Message----- > From: Michael E. Mercer [mailto:mmercer@nc.rr.com] > Sent: Wednesday, August 06, 2003 3:08 PM > To: freebsd-java@freebsd.org > Subject: Socket Exception using 1.4 > > > Hello, > > I have a Linksys Router that I access via a java program to get my current > IP. > > I use my own Authenticator and use URL to get a URLConnection. > > When I use 1.3, everything works just fine. > > However using 1.4 throws a "Socket Reset" SocketException everytime. > > If you need me to write a sample code snippet to explain what exactly I'm > doing, then I will. > > Thanks > Michael Mercer > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" --=-aqumX4pxvqAGS3m5zreH-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 05:36:57 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58F4337B401 for ; Thu, 7 Aug 2003 05:36:57 -0700 (PDT) Received: from amsfep15-int.chello.nl (amsfep15-int.chello.nl [213.46.243.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0563443FB1 for ; Thu, 7 Aug 2003 05:36:56 -0700 (PDT) (envelope-from mriem@manorrock.org) Received: from master ([62.163.14.236]) by amsfep15-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030807123654.DELX23618.amsfep15-int.chello.nl@master> for ; Thu, 7 Aug 2003 14:36:54 +0200 From: "Manfred Riem" To: Date: Thu, 7 Aug 2003 14:35:52 +0200 Message-ID: <003401c35ce0$713208c0$02fea8c0@master> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: FAQ for Java versions with FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mriem@manorrock.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 12:36:57 -0000 Hi all, I'm fairly new to FreeBSD and I was wondering where there is a FAQ about the pros and cons of the different java versions. Kinds regards, Manfred From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 07:09:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BA3B37B493 for ; Thu, 7 Aug 2003 07:09:31 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 329FD43F85 for ; Thu, 7 Aug 2003 07:09:30 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 19klSL-0006a8-04 for freebsd-java@freebsd.org; Thu, 07 Aug 2003 08:09:29 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 19klSH-0006XY-04; Thu, 07 Aug 2003 08:09:26 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h77EHGC5082833; Thu, 7 Aug 2003 08:17:16 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h77EHE6q082832; Thu, 7 Aug 2003 08:17:14 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 7 Aug 2003 08:17:14 -0600 From: Greg Lewis To: SeventyForty Message-ID: <20030807141714.GA82757@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 14:09:32 -0000 On Wed, Aug 06, 2003 at 03:47:34PM +0100, SeventyForty wrote: > I'm currently using the native Java port 1.4.1 and I've just tried to run a game server I wrote which uses the nio and I got > > Exception in thread "main" java.lang.UnsatisfiedLinkError: init > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) > at sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) > at sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) > at sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.java:18) > at java.nio.channels.Selector.open(Selector.java:209) > ........ > ........ I see Michael already posted the solution. This will be in patchset 4. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 07:20:05 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C9837B401 for ; Thu, 7 Aug 2003 07:20:05 -0700 (PDT) Received: from hotmail.com (law14-f42.law14.hotmail.com [64.4.21.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20D4543F75 for ; Thu, 7 Aug 2003 07:20:05 -0700 (PDT) (envelope-from seventyforty@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Aug 2003 07:20:04 -0700 Received: from 195.92.67.70 by lw14fd.law14.hotmail.msn.com with HTTP; Thu, 07 Aug 2003 14:20:04 GMT X-Originating-IP: [195.92.67.70] X-Originating-Email: [seventyforty@hotmail.com] From: "James Adams" To: glewis@misty.eyesbeyond.com Date: Thu, 07 Aug 2003 14:20:04 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Aug 2003 14:20:04.0994 (UTC) FILETIME=[FF31EE20:01C35CEE] cc: freebsd-java@freebsd.org Subject: Re: java nio stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 14:20:05 -0000 Yea all sorted now - thanks for the quick responses from everyone. James >From: Greg Lewis >To: SeventyForty >CC: freebsd-java@freebsd.org >Subject: Re: java nio stuff >Date: Thu, 7 Aug 2003 08:17:14 -0600 > >On Wed, Aug 06, 2003 at 03:47:34PM +0100, SeventyForty wrote: > > I'm currently using the native Java port 1.4.1 and I've just tried to >run a game server I wrote which uses the nio and I got > > > > Exception in thread "main" java.lang.UnsatisfiedLinkError: init > > at sun.nio.ch.DevPollArrayWrapper.init(Native Method) > > at >sun.nio.ch.DevPollArrayWrapper.(DevPollArrayWrapper.java:59) > > at >sun.nio.ch.DevPollSelectorImpl.(DevPollSelectorImpl.java:54) > > at >sun.nio.ch.DevPollSelectorProvider.openSelector(DevPollSelectorProvider.java:18) > > at java.nio.channels.Selector.open(Selector.java:209) > > ........ > > ........ > >I see Michael already posted the solution. This will be in patchset 4. > >-- >Greg Lewis Email : glewis@eyesbeyond.com >Eyes Beyond Web : http://www.eyesbeyond.com >Information Technology FreeBSD : glewis@FreeBSD.org > _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 16:00:02 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9559237B401 for ; Thu, 7 Aug 2003 16:00:02 -0700 (PDT) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE24C43FB1 for ; Thu, 7 Aug 2003 16:00:01 -0700 (PDT) (envelope-from sreese@codysbooks.com) Received: from [192.168.0.24] (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.6p2/8.11.4) with ESMTP id h77N01u66743 for ; Thu, 7 Aug 2003 16:00:01 -0700 (PDT) From: Scott Reese To: freebsd-java@freebsd.org Content-Type: multipart/mixed; boundary="=-N5DvHlwcAHjhhhPNvLBY" Organization: Cody's Books, Inc. Message-Id: <1060297300.665.12.camel@borges> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 07 Aug 2003 23:01:40 +0000 Subject: jdk 1.4.1 - "Could not find trusted certificate" error with jsse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 23:00:02 -0000 --=-N5DvHlwcAHjhhhPNvLBY Content-Type: text/plain Content-Transfer-Encoding: 7bit [please cc: me in replies as I am not currently subscribed to this list. Thank you.] I've been using the linux-sun-jdk1.4.x in conjunction with jakarta-tomcat41 successfully for several months now except for one difficulty: too many java processes (between 30 and 60) are spawned by Tomcat and I haven't found a way to control that yet. The processes don't seem to take up much in the way of resources so it's not *that* big a deal. It's just messy. So, I figured I would give the native jdk1.4.1 a shot and it *does* work except for one thing. The web site uses the jsse to connect to a database located across the country. This works just fine with the linux jdk with no tweaking at all. However, with the native jdk I get the attached error message. I've searched Google and I attempted to search the archives but Google turned up nothing and the freebsd-java archive came up as "unavailable" on freebsd.org so my apologies if this has already been asked and answered. I would like for this to work because the native jdk sticks with one thread and seems to be a little faster than the linux jdk. Any ideas? My thanks in advance. -Scott --=-N5DvHlwcAHjhhhPNvLBY Content-Disposition: attachment; filename=error.txt Content-Type: text/plain; name=error.txt; charset= Content-Transfer-Encoding: 7bit javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528) at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getOutputStream(DashoA6275) at com.spiders.booksense.parser.Parser.doSiteLogin(Parser.java:894) at com.spiders.booksense.parser.Parser.callServlet(Parser.java:388) at com.spiders.booksense.parser.Parser.process(Parser.java:597) at org.apache.jsp.index_jsp._jspService(index_jsp.java:238) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) Caused by: java.security.cert.CertificateException: Could not find trusted certificate at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA6275) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA6275) ... 51 more --=-N5DvHlwcAHjhhhPNvLBY-- From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 02:45:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DE8637B401 for ; Fri, 8 Aug 2003 02:45:16 -0700 (PDT) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7103343FBF for ; Fri, 8 Aug 2003 02:45:15 -0700 (PDT) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.0.3]) by tydfam.jp (8.12.8p1/8.11.6) with ESMTP id h789jETi031507 for ; Fri, 8 Aug 2003 18:45:14 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Fri, 08 Aug 2003 18:45:14 +0900 (JST) Message-Id: <20030808.184514.730555316.ken@tydfam.jp> To: freebsd-java@freebsd.org From: Yamada Ken Takeshi X-Mailer: Mew version 2.2 on XEmacs 21.4.13 (Rational FORTRAN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 09:45:16 -0000 Umm, it is unfortunately far out of my reach. Is there any effort to implement jdk1.4.1 on -current, GCC 3.3.1 ? I am looking forward to seeing jdk1.4.1 running on my -current box. Thanks. From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 08:36:28 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6D9237B401 for ; Fri, 8 Aug 2003 08:36:28 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A835043F75 for ; Fri, 8 Aug 2003 08:36:25 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 19l9Hw-0001Gc-03 for freebsd-java@freebsd.org; Fri, 08 Aug 2003 09:36:25 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 19l9Hs-0001Am-03; Fri, 08 Aug 2003 09:36:17 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h78Fi7C5094740; Fri, 8 Aug 2003 09:44:08 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h78Fi5k3094739; Fri, 8 Aug 2003 09:44:05 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 8 Aug 2003 09:44:05 -0600 From: Greg Lewis To: Yamada Ken Takeshi Message-ID: <20030808154405.GA94721@misty.eyesbeyond.com> References: <20030808.184514.730555316.ken@tydfam.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030808.184514.730555316.ken@tydfam.jp> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.5 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 15:36:29 -0000 On Fri, Aug 08, 2003 at 06:45:14PM +0900, Yamada Ken Takeshi wrote: > Umm, it is unfortunately far out of my reach. > > Is there any effort to implement jdk1.4.1 on -current, > GCC 3.3.1 ? > > I am looking forward to seeing jdk1.4.1 running on > my -current box. Have you tried using the latest experimental patchset? There have been some commits to address compiling under gcc 3.3 recently. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 10:27:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ED1537B401 for ; Fri, 8 Aug 2003 10:27:26 -0700 (PDT) Received: from kundenserver16.yws-admin.de (kundenserver16.yws-admin.de [217.115.154.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC08D43F3F for ; Fri, 8 Aug 2003 10:27:25 -0700 (PDT) (envelope-from flo@kasimir.com) Received: from kasimir.com (pD9E1D8E4.dip.t-dialin.net [217.225.216.228]) by kundenserver16.yws-admin.de (Postfix) with ESMTP id 72528352573; Fri, 8 Aug 2003 19:28:02 +0200 (CEST) Message-ID: <3F33DD7B.5050501@kasimir.com> Date: Fri, 08 Aug 2003 19:27:23 +0200 From: Florian Smeets User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis References: <20030808.184514.730555316.ken@tydfam.jp> <20030808154405.GA94721@misty.eyesbeyond.com> In-Reply-To: <20030808154405.GA94721@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Yamada Ken Takeshi cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 17:27:26 -0000 Greg Lewis wrote: > On Fri, Aug 08, 2003 at 06:45:14PM +0900, Yamada Ken Takeshi wrote: > >> Umm, it is unfortunately far out of my reach. >> >> Is there any effort to implement jdk1.4.1 on -current, >>GCC 3.3.1 ? >> >> I am looking forward to seeing jdk1.4.1 running on >>my -current box. > > > Have you tried using the latest experimental patchset? There have been > some commits to address compiling under gcc 3.3 recently. > I just tried the latest experimental patchset with the latest sources and still the same failure ... [...] /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1343:56: pasting "." and "b" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1344:56: pasting "." and "c" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1345:56: pasting "." and "s" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1346:56: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1347:56: pasting "." and "j" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1348:56: pasting "." and "f" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:1349:56: pasting "." and "d" does not give a valid preprocessing token gmake[3]: *** [jni.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' gmake: *** [product] Error 2 *** Error code 2 regards, flo From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 11:23:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 301FD37B401 for ; Fri, 8 Aug 2003 11:23:59 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B2D543FCB for ; Fri, 8 Aug 2003 11:23:54 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h78LSFsN047633; Fri, 8 Aug 2003 21:28:15 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h78IV6MC017395; Fri, 8 Aug 2003 21:31:06 +0300 (EEST) (envelope-from ml) Date: Fri, 8 Aug 2003 21:31:06 +0300 From: Alexey Zelkin To: Yamada Ken Takeshi Message-ID: <20030808213106.A17267@phantom.cris.net> References: <20030808.184514.730555316.ken@tydfam.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030808.184514.730555316.ken@tydfam.jp>; from ken@tydfam.jp on Fri, Aug 08, 2003 at 06:45:14PM +0900 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 18:23:59 -0000 On Fri, Aug 08, 2003 at 06:45:14PM +0900, Yamada Ken Takeshi wrote: > Umm, it is unfortunately far out of my reach. > > Is there any effort to implement jdk1.4.1 on -current, > GCC 3.3.1 ? > > I am looking forward to seeing jdk1.4.1 running on > my -current box. Yes. Sure. But I am working on fleshing some important and hard to hunt issues, before upgrading of my -CURRENT in order to check gcc 3.3 compilation and recent updates. Hopefully -- by the end of next week, you'll get it. From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 11:44:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B22B637B401 for ; Fri, 8 Aug 2003 11:44:22 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4EF443FCB for ; Fri, 8 Aug 2003 11:44:21 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 19lCDs-0007pO-04 for freebsd-java@freebsd.org; Fri, 08 Aug 2003 12:44:20 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 19lCDh-0007hd-04; Fri, 08 Aug 2003 12:44:10 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h78Iq3C5013112; Fri, 8 Aug 2003 12:52:04 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h78Iq1uP013107; Fri, 8 Aug 2003 12:52:01 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 8 Aug 2003 12:52:00 -0600 From: Greg Lewis To: Florian Smeets Message-ID: <20030808185159.GA12599@misty.eyesbeyond.com> References: <20030808.184514.730555316.ken@tydfam.jp> <20030808154405.GA94721@misty.eyesbeyond.com> <3F33DD7B.5050501@kasimir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F33DD7B.5050501@kasimir.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Yamada Ken Takeshi cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 18:44:23 -0000 On Fri, Aug 08, 2003 at 07:27:23PM +0200, Florian Smeets wrote: > Greg Lewis wrote: > >On Fri, Aug 08, 2003 at 06:45:14PM +0900, Yamada Ken Takeshi wrote: > > > >> Umm, it is unfortunately far out of my reach. > >> > >> Is there any effort to implement jdk1.4.1 on -current, > >>GCC 3.3.1 ? > >> > >> I am looking forward to seeing jdk1.4.1 running on > >>my -current box. > > > > > >Have you tried using the latest experimental patchset? There have been > >some commits to address compiling under gcc 3.3 recently. > > > I just tried the latest experimental patchset with the latest sources > and still the same failure ... There was a bug in the experimental patchset auto-generation script :(. Can you please download again and retry? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 17:55:05 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EB1A37B401 for ; Fri, 8 Aug 2003 17:55:05 -0700 (PDT) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 950A243FE5 for ; Fri, 8 Aug 2003 17:55:04 -0700 (PDT) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.0.3]) by tydfam.jp (8.12.8p1/8.11.6) with ESMTP id h790t2Ti040924; Sat, 9 Aug 2003 09:55:02 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sat, 09 Aug 2003 09:55:02 +0900 (JST) Message-Id: <20030809.095502.730553265.ken@tydfam.jp> To: glewis@misty.eyesbeyond.com From: Yamada Ken Takeshi In-Reply-To: <20030808185159.GA12599@misty.eyesbeyond.com> References: <20030808154405.GA94721@misty.eyesbeyond.com> <3F33DD7B.5050501@kasimir.com> <20030808185159.GA12599@misty.eyesbeyond.com> X-Mailer: Mew version 2.2 on XEmacs 21.4.13 (Rational FORTRAN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: flo@kasimir.com cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 00:55:05 -0000 Greg, I have the following patch error with the Experimental patch. ../../j2se/make/common/Defs-bsd.gmk.rej *************** *** 155,161 **** # DEVTOOLS_PATH is for other tools required for building (such as # zip, etc.) - DEVTOOLS_PATH = /usr/local/bin/ # Allow the user to override the default value... ifdef ALT_DEVTOOLS_PATH DEVTOOLS_PATH = $(subst //,/,$(ALT_DEVTOOLS_PATH)/) --- 155,161 ---- # DEVTOOLS_PATH is for other tools required for building (such as # zip, etc.) + DEVTOOLS_PATH = ${LOCALBASE}/bin/ # Allow the user to override the default value... ifdef ALT_DEVTOOLS_PATH DEVTOOLS_PATH = $(subst //,/,$(ALT_DEVTOOLS_PATH)/) *************** *** 194,200 **** endif # PLATFORM_SRC # platform specific include files - PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM) # # Default BOOTDIR --- 194,201 ---- endif # PLATFORM_SRC # platform specific include files + TRUE_PLATFORM_INCLUDE := $(shell $(ECHO) $(TRUE_PLATFORM) | $(TR) "[:upper:]" "[:lower:]") + PLATFORM_INCLUDE = $(INCLUDEDIR)/$(TRUE_PLATFORM_INCLUDE) # # Default BOOTDIR From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 18:22:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11E0537B401 for ; Fri, 8 Aug 2003 18:22:44 -0700 (PDT) Received: from kundenserver16.yws-admin.de (kundenserver16.yws-admin.de [217.115.154.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 706CE43FBD for ; Fri, 8 Aug 2003 18:22:43 -0700 (PDT) (envelope-from flo@kasimir.com) Received: from kasimir.com (pD9E1D8E4.dip.t-dialin.net [217.225.216.228]) by kundenserver16.yws-admin.de (Postfix) with ESMTP id A2995352573; Sat, 9 Aug 2003 03:23:21 +0200 (CEST) Message-ID: <3F344CE1.1050409@kasimir.com> Date: Sat, 09 Aug 2003 03:22:41 +0200 From: Florian Smeets User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yamada Ken Takeshi References: <20030808154405.GA94721@misty.eyesbeyond.com> <3F33DD7B.5050501@kasimir.com> <20030808185159.GA12599@misty.eyesbeyond.com> <20030809.095502.730553265.ken@tydfam.jp> In-Reply-To: <20030809.095502.730553265.ken@tydfam.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: glewis@misty.eyesbeyond.com cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 01:22:44 -0000 Yamada Ken Takeshi wrote: > Greg, > I have the following patch error with the Experimental > patch. > > ../../j2se/make/common/Defs-bsd.gmk.rej > [...] yes same here. If there are new changes to the experimental patchset i'm always willing to test them. Is there a way where we can see if something new is in the experimental patchset ? Do you create it on daily basis ? regards, flo From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 20:36:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69D9D37B401 for ; Fri, 8 Aug 2003 20:36:31 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C7F443F93 for ; Fri, 8 Aug 2003 20:36:30 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 19lKWr-0000Il-03 for freebsd-java@freebsd.org; Fri, 08 Aug 2003 21:36:30 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 19lKW6-0008T6-03; Fri, 08 Aug 2003 21:36:18 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h793g7C5015447; Fri, 8 Aug 2003 21:42:23 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h793eJmj015438; Fri, 8 Aug 2003 21:40:19 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 8 Aug 2003 21:39:49 -0600 From: Greg Lewis To: Florian Smeets Message-ID: <20030809033949.GA15422@misty.eyesbeyond.com> References: <20030808154405.GA94721@misty.eyesbeyond.com> <3F33DD7B.5050501@kasimir.com> <20030808185159.GA12599@misty.eyesbeyond.com> <20030809.095502.730553265.ken@tydfam.jp> <3F344CE1.1050409@kasimir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F344CE1.1050409@kasimir.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Yamada Ken Takeshi cc: freebsd-java@freebsd.org Subject: Re: Q) jdk1.4.1 compile on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 03:36:31 -0000 On Sat, Aug 09, 2003 at 03:22:41AM +0200, Florian Smeets wrote: > Yamada Ken Takeshi wrote: > > Greg, > > I have the following patch error with the Experimental > >patch. > > > > ../../j2se/make/common/Defs-bsd.gmk.rej > > > [...] Its not supposed to be used with the port since the patches are quite different, so thats not surprising. You should be able to ignore the error by the look of it and keep on going though. > yes same here. If there are new changes to the experimental patchset i'm > always willing to test them. Is there a way where we can see if > something new is in the experimental patchset ? Look at the ChangeLog. > Do you create it on daily basis ? Weekly. Although I had an error in the script which meant they weren't being updated properly :(. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Aug 9 09:45:53 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1596B37B401 for ; Sat, 9 Aug 2003 09:45:53 -0700 (PDT) Received: from mooseriver.com (adsl-68-78-118-20.dsl.emhril.ameritech.net [68.78.118.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9831F43FDF for ; Sat, 9 Aug 2003 09:45:52 -0700 (PDT) (envelope-from jgrosch@mooseriver.com) Received: by mooseriver.com (Postfix, from userid 200) id 372C1170B0; Sat, 9 Aug 2003 11:45:52 -0500 (CDT) Date: Sat, 9 Aug 2003 11:45:52 -0500 From: Josef Grosch To: java@freebsd.org Message-ID: <20030809164552.GA53300@mooseriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: jdb is broken X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 16:45:53 -0000 On a recently buildt 5.1-RELEASE with native Java ########## UNAME ################ bash-2.05b# uname -a FreeBSD huron.mooseriver.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Mon Jul 28 01:05:11 CDT 2003 root@huron.mooseriver.com:/usr/src/sys/i386/compile/BERKELEY i386 bash-2.05b# ########## JAVA -VERSION ############ bash-2.05b# ./java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_04_aug_2003_20_33) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_04_aug_2003_20_33, mixed mode) bash-2.05b# While trying to run jdb with ddd I get this ############ ERROR MESSAGE ############### run GenRulesFile VM start exception: VM initialization failed for: /usr/local/jdk1.4.1/jre/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=huron.mooseriver.com:51682,suspend=y GenRulesFile Error [60] in connect() call! err:: Operation timed out Socket transport failed to init. Transport dt_socket failed to initialize, rc = -1. FATAL ERROR in native method: No transports initialized Fatal error: Target VM failed to initialize. Exit 0 I am also getting errors with the jvm not starting up with bugseeker. This worked under 4.8 before I updated to 5.1 2 weeks ago. Josef -- Josef Grosch | Another day closer to a | FreeBSD 5.1 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca.