From owner-freebsd-java Sun Aug 18 16:34:16 2002 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 3CC3C37B400 for ; Sun, 18 Aug 2002 16:34:14 -0700 (PDT) Received: from smtp2.clear.net.nz (smtp2.clear.net.nz [203.97.37.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9418043E65 for ; Sun, 18 Aug 2002 16:34:08 -0700 (PDT) (envelope-from calvin@varney.org) Received: from ubana.varney2.org (203-167-132-35.dialup.clear.net.nz [203.167.132.35]) by smtp2.clear.net.nz (CLEAR Net Mail) with ESMTP id <0H1200CUUC4LRO@smtp2.clear.net.nz> for freebsd-java@FreeBSD.ORG; Mon, 19 Aug 2002 11:33:59 +1200 (NZST) Date: Mon, 19 Aug 2002 11:05:23 +1200 From: Calvin Varney Subject: Re: Please review: new Java Project docs In-reply-to: <200208170958.14422.absinthe@pobox.com> To: absinthe@pobox.com Cc: freebsd-java@FreeBSD.ORG Message-id: <863ctbrcng.fsf@ubana.varney2.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Lines: 46 References: <200208170958.14422.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Although you haven't asked for feedback on the documentation section I'd like to comment on "4.4. Proposal for Porting Java Applications and Tools" 1. If JAVALIBNAME is defined as ${PORTNAME}-${PORTVERSION} a symlink for ${PORTNAME} would be useful for managing dependencies. 2. Why should Javadocs be treated differently from ordinary documentation and placed anywhere other than ${DOCSDIR}? Javadocs are just another form of documentation and should be excluded when installing ports with NOPORTDOCS. 3. Regarding placing all library JAR files are in ${JAVAPREFIX}/classes/${JAVALIBNAME}/ a. Everything java involves classes. As this is a directory for just library classes would "lib" or "import" be a more appropriate directory name? b. Placing each library jar under its own ${JAVALIBNAME} directory will create many subdirectories with just one jar file (or few if different versions are installed). I'd suggest just placing them in ${JAVAPREFIX}/classes (or lib or import...). If a library includes more than one class file and isn't packaged within a jar a ${JAVALIBNAME} subdirectory could be appropriate or they could be jared during installation. c. Is there a need for ${JAVAPREFIX} at all? Why not install libraries in ${PREFIX}/share/javalib or ${PREFIX}/share/javaimport. I'm not sure of the intentions behind the additional java in the ${PREFIX}/share/java/classes hierarchy. I don't think ${PREFIX}/share/java is the right place for docs or examples and applications should reside in ${PREFIX}/share or ${PREFIX}. Are any other ports installed under a subdirectory denoting their implementation language? 4. Is there a need to break away from the existing standard of placing examples in ${EXAMPLESDIR} (default: ${PREFIX}/share/examples/${PORTNAME})? Just my thoughts. -- Calvin Varney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 2: 6:44 2002 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 0739337B400 for ; Mon, 19 Aug 2002 02:06:39 -0700 (PDT) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A195243E3B for ; Mon, 19 Aug 2002 02:06:38 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 17giUY-0002Yv-00; Mon, 19 Aug 2002 02:06:30 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Calvin Varney Subject: Re: Please review: new Java Project docs Date: Mon, 19 Aug 2002 05:06:44 -0400 User-Agent: KMail/1.4.2 Cc: freebsd-java@FreeBSD.ORG References: <200208170958.14422.absinthe@pobox.com> <863ctbrcng.fsf@ubana.varney2.org> In-Reply-To: <863ctbrcng.fsf@ubana.varney2.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208190506.44212.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sunday 18 August 2002 07:05pm, Calvin Varney wrote: > Although you haven't asked for feedback on the documentation section > I'd like to comment on "4.4. Proposal for Porting Java Applications > and Tools" This is great, thank you. > > 1. If JAVALIBNAME is defined as ${PORTNAME}-${PORTVERSION} a symlink > for ${PORTNAME} would be useful for managing dependencies. I think that should be up to the user to decide which version they want to use (if they have more than one installed). Either way, that still doesn't mean anything if $CLASSPATH isn't set correctly. I don't think we should make any assumptions about which versions should be symlinked. > > 2. Why should Javadocs be treated differently from ordinary > documentation and placed anywhere other than ${DOCSDIR}? Javadocs > are just another form of documentation and should be excluded when > installing ports with NOPORTDOCS. My opinion on this for what it's worth: The API docs should be bundled with the rest of the JDK/SDK. I like it when the JDK is one tree of binaries and docs. Everything else should be in $DOCSDIR, though. Agree with you on NOPORTDOCS. However the API docs, like the SDK source code, have to be manually fetched. Until we have distributables, they probably should remain as separate ports (jdk13-doc, etc). I'm not sure our license covers API doc redistribution anyway, so that may never happen. > > 3. Regarding placing all library JAR files are in > ${JAVAPREFIX}/classes/${JAVALIBNAME}/ > > a. Everything java involves classes. As this is a directory for > just library classes would "lib" or "import" be a more > appropriate directory name? Not sure how this is relevant. I wouldn't be opposed to changing ${JAVAPREFIX} to ${PREFIX}/lib/java. Perl, PHP, Python, Ruby all do it this way, basically. They like us do not want to mix up C libs with Java libs. Segregating that stuff is a good idea. > > b. Placing each library jar under its own ${JAVALIBNAME} directory > will create many subdirectories with just one jar file (or few > if different versions are installed). I'd suggest just placing > them in ${JAVAPREFIX}/classes (or lib or import...). If a > library includes more than one class file and isn't packaged > within a jar a ${JAVALIBNAME} subdirectory could be appropriate > or they could be jared during installation. Agree with your first sentence. Second is sketchy (see above). Agree with third, and I'd like to suggest that the proposal gets amended to require that libraries with multiple classes get built into a JAR file at install time. That's a good idea, because we can do a lot more with versioning if all the classes are wrapped up in a JAR. I'm not sure that any of the Makefiles do JAR version checking but if not we should probably work in that direction. Ernst? > > c. Is there a need for ${JAVAPREFIX} at all? Why not install > libraries in ${PREFIX}/share/javalib or > ${PREFIX}/share/javaimport. I think it is. It's cleaner to know where all of your java libraries are, instead of having them mixed up with all the C libraries. Perl operates on this same basis. I don't want to look at a directory and try to figure out what is a set of c libs, and what is Java. ${JAVAPREFIX} solves that. > > I'm not sure of the intentions behind the additional java in the > ${PREFIX}/share/java/classes hierarchy. I don't think > ${PREFIX}/share/java is the right place for docs or examples and > applications should reside in ${PREFIX}/share or ${PREFIX}. Are > any other ports installed under a subdirectory denoting their > implementation language? Perl: /usr/local/lib/perl5/%interpreter-version%/ PHP: /usr/local/lib/php/ Python: /usr/local/lib/python%ver%/ Ruby: /usr/local/lib/ruby/%interpreter-version%/ ...etc... > > 4. Is there a need to break away from the existing standard of placing > examples in ${EXAMPLESDIR} (default: > ${PREFIX}/share/examples/${PORTNAME})? Nope, no need. I basically agree with you. Some other languages actually do it this way: ${PREFIX}/share/exmaples/%lang%/${PORTNAME} I would suggest: ${PREFIX}/share/examples/java-${JAVAAPIVERSION}/${PORTNAME} e.g., /usr/local/share/examples/java13/jakarta-oro/ ... I'd like a few of the committers here (Ernst, Greg primarily) to weigh in on these ideas before I amend the existing proposal. Most of your comments are agreeable, though, thank you -- if only a few tweaks are (in my opinion) necessary to mimic how other languages handle their ports. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 3:52:49 2002 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 9A41A37B405 for ; Mon, 19 Aug 2002 03:52:16 -0700 (PDT) Received: from relay1.kornet.net (relay1.kornet.net [211.48.62.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id D75AE43E3B for ; Mon, 19 Aug 2002 03:52:15 -0700 (PDT) (envelope-from ggaggung07@kornet.net) Received: from you2-8qqrs7eqb3 (61.73.138.242) by relay1.kornet.net; 19 Aug 2002 19:52:12 +0900 Message-ID: <3d60cddf3d68e703@relay1.kornet.net> (added by relay1.kornet.net) From: =?ks_c_5601-1987?B?x/a068SrteU=?= To: freebsd-java@freebsd.org Subject: =?ks_c_5601-1987?B?W7GksO1dIGZyZWVic2QtamF2YbTUIMfgv+7AxyCz18DZIMWst8652b/NILq5scfAuyC15biztM+02SE=?= Date: Mon, 19 Aug 2002 19:00:03 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0197_01C0F00A.93A03C00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0197_01C0F00A.93A03C00 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 vcXDu7ytuN7Az8b7IA0KIA0KICAgDQogICAgICANCiANCiAgICAgCQkJICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICC8urjtICAJCSAgICAgwda5zrXut88gufjIoyAoIi0iwNS3 wikgDQogICAgICAgICAgICAgICAgICAgICAgICAgwffA5SDA/MitICAgICAgyN6068b5ICAN CiAgICAgICAgIA0KvcWx1CDIuL/4IL+syLi68SAguOnBpg0KIMf2tOsgwNq1v8L3ILG4wNS9 wyDG98DOxq4gx9LAziANCrG5s7vD1sPKIMHWwK8gurjH6Lmrt+EgsKHA1A0KIMGkuvEgwNq1 v8L3IL/rx7Agx9LAzg0KICAgICAgDQogIMf2tOsgIE0gxKu15Q0KICAgDQoNCiAgDQq9xbHU IMi4v/ggv6zIuLrxICC46cGmDQogseK+xiDA2rW/wvcgsbjA1L3DIMb3wM7GriDH0sDOIA0K sbmzu8PWw8ogwdbAryC6uMfouau34SCwocDUDQogwaS68SDA2rW/wvcgv+vHsCDH0sDODQog ICAgICAgseK+xiAgs+u67be5vboNCiAgIA0KDQogICANCsbyu/0gv6zIuLrxILjpwaYNCiDG 98DOxq6zs7rOLLD4sPqx3SDEq7XlsOHBpiC8rbrxvbogDQogx/a068GkwK8gp6QgtOcgNDC/ +CANCr+1yK0gv7m4xSDA5bTnIDIsMDAwv/ggx9LAziANCiAgICAgIA0KICBLVCAguvTHw7bz wNoNCiAgIA0KDQogIA0Ku+e/68fRIDAuNSW4piAgutK/7MDMv/S1vbHiDQogxvK7/SC/rMi4 uvEguOnBpiANCrHdwLa8rbrxvboNCiA1vu8guau34SC6uMfoIA0KDQoNCg0KICAgICAgILvn tvvAxyAgvNWw4cbsseINCiAgIA0KDQogICAgILHNx8/AxyAguN7Az8HWvNK0wiDApbytx87A uyDF68fYILz2wf3H0SCwzcDMuOcsILHXv9y/oSC+7rawx9EgwaS6uLW1ILCusO0gIMDWwfYg vsrAvcC7ILngyPy0z7TZLg0KICDAzCBFLW1haWzAuiC5373FwPy/68DMuOcsIL/4xKEgvsrA uL3HICCw5r/sIL7Gt6Egw6K/oSC43sDPwda80rimIMDUt8LHz7+pIMHWvcO46SC1ziC5+CC0 2b3DILjewM/AzCAgsKHB9iAgvsq1tbfPIMfPsNq9wLTPtNkuDQogICANCiAgICAgICAgICAg ICAgICAgICC6uyC43sDPwLogwaS6uMXrvcW6ziCxx7DtILvnx9e/oSDAx7DFIMGmuPG/oSBb saSw7V2287DtIMelvcO1yCCxpLDtILjewM/A1LTPtNkuDQogICAgICAgICAgICAgICAgICAg ICAgILn2xrDAuyDFrLivx8+9w7jpILz2vcWwxbrOw7O4rrChIMDMt+e+7iDB/bTPtNkuIA0K ICAgICAgICAgIElmIHlvdSB3b24ndCByZWNlaXZlIGFueSBtb3JlIG1haWwgYWJvdXQgdGhp cyBzaXRlLCANCiAgcHJlc3MgYnV0dG9uIGFuZCBmaWxsIHlvdXIgZS1tYWlsIGFkZHJlc3Mu IEFuZCB0aGVuIHdlIHdpbGwgbm90IHNlbmQgYW55IG1haWwgdG8geW91DQogICAgIA0KILq7 ILjewM/AuiDH9rTrxKu15byzsOi758DHICCws8DOIL+1vvcguN7Az8DUtM+02S4gILjewM+5 37zbwNogv6y29MOzIDogZW5leHRvcEBseWNvcy5jby5rciAgIA0KICANCiANCg== ------=_NextPart_000_0197_01C0F00A.93A03C00 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 PGh0bWw+DQoNCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250 ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9ZXVjLWtyIj4NCjx0aXRsZT69xcO7vK243sDPxvsg PC90aXRsZT4NCjxTQ1JJUFQgbGFuZ3VhZ2U9amF2YXNjcmlwdD4NCjwhLS0NCmZ1bmN0aW9u IGNsaWNrTW91c2UoKQ0KCXsNCgkgIA0KCQlpZiAoKGV2ZW50LmJ1dHRvbj09MikgfHwgKGV2 ZW50LmJ1dHRvbj09Mykpew0KCQkJcmV0dXJuIChmYWxzZSk7DQoJCX0JDQoJfQ0KCQ0KCWZ1 bmN0aW9uIGNsaWNrS2V5KCkNCgl7DQoJCWlmKChldmVudC5zaGlmdEtleSkgJiYgKGV2ZW50 LmtleUNvZGUgPT0gMTIxKSkNCgkJewkJDQoJCQlyZXR1cm4gZmFsc2U7DQoJCX0JDQoJfQ0K CQ0KCWZ1bmN0aW9uIG5vQWN0aW9uKCl7DQoJCXJldHVybiBmYWxzZTsNCgl9DQoNCmRvY3Vt ZW50Lm9ubW91c2Vkb3duPWNsaWNrTW91c2UNCmRvY3VtZW50Lm9ua2V5ZG93bj1jbGlja0tl eQ0KZG9jdW1lbnQub25jb250ZXh0bWVudT1ub0FjdGlvbg0KZG9jdW1lbnQub25kcmFnc3Rh cnQ9bm9BY3Rpb24NCmRvY3VtZW50Lm9uc2VsZWN0c3RhcnQ9bm9BY3Rpb24NCi8vLS0+DQo8 L3NjcmlwdD4NCjwvaGVhZD4NCg0KPGJvZHkgYmdjb2xvcj0id2hpdGUiIHRleHQ9ImJsYWNr IiBsaW5rPSJibHVlIiB2bGluaz0icHVycGxlIiBhbGluaz0icmVkIj4NCjxwPiZuYnNwOzwv cD4NCjx0YWJsZSBhbGlnbj0iY2VudGVyIiBib3JkZXI9IjEiIGNlbGxzcGFjaW5nPSIwIiB3 aWR0aD0iNjMyIiBib3JkZXJjb2xvcmRhcms9IndoaXRlIiBib3JkZXJjb2xvcmxpZ2h0PSJi bGFjayIgYmdjb2xvcj0id2hpdGUiPg0KICAgIDx0cj4NCiAgICAgICAgPHRkIHdpZHRoPSI5 NzQiPg0KICAgICAgICAgICAgPHAgYWxpZ249ImNlbnRlciI+PGltZyBzcmM9Imh0dHA6Ly9p eWVzY2FyZC5jb20vaW1nL3RpdGxlXzMuZ2lmIiB3aWR0aD0iNjMyIiBoZWlnaHQ9IjE3NCIg Ym9yZGVyPSIwIj48L3A+DQogICAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQog ICAgICAgIDx0ZCB3aWR0aD0iOTc0Ij4NCiAgICAgICAgICAgIA0KICAgICAgICAgICAgICAg IDxwPiZuYnNwOzxpbWcgc3JjPSJodHRwOi8vaXllc2NhcmQuY29tL2ltZy9ib3R0b202Lmdp ZiIgd2lkdGg9IjYyMyIgaGVpZ2h0PSIyMTEiIGJvcmRlcj0iMCI+PC9wPg0KICAgICAgICAg ICAgPC9mb3JtPg0KICAgICAgICA8L3RkPg0KICAgIDwvdHI+DQogICAgPHRyPg0KICAgICAg ICA8dGQgd2lkdGg9Ijk3NCI+IA0KCQkJPGZvcm0gbmFtZT0ibWFpbGZybTEiIGFjdGlvbj0i aHR0cDovL3d3dy5peWVzY2FyZC5jb20vbWFpbC9pbnNlcnQxLmFzcCIgbWV0aG9kPSJwb3N0 IiA+DQogICAgICAgICAgICAmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDs8Zm9udCBzaXplPSIy IiBjb2xvcj0iIzY2NjY2NiI+vLq47TwvZm9udD48Rk9OVCBzaXplPTI+ICANCiAgICAgICAg ICA8L0ZPTlQ+PGlucHV0IHR5cGU9InRleHQiIG5hbWU9Im5hbWUiIHNpemU9IjYiPg0KCQkg ICZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOzxmb250IHNpemU9IjIiIGNvbG9yPSIjNjY2NjY2 Ij7B1rnOte63zyC5+MijIDwvZm9udD48aW5wdXQgdHlwZT0idGV4dCIgbmFtZT0ianVtaW4i IHNpemU9IjE0IiBtYXhsZW5ndGg9IjE0Ij48Zm9udCBzaXplPSIyIiBmYWNlPSKxvLiyIiBj b2xvcj0iIzY2NjY2NiI+KCZxdW90Oy0mcXVvdDvA1LfCKTwvZm9udD48Zm9udCBjb2xvcj0i Izk5OTk5OSI+DQogICAgICAgICAgPC9mb250Pjxicj4gJm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7PGZvbnQgc2l6ZT0iMiIgY29sb3I9IiM2NjY2NjYiPsH3 wOUgwPzIrSAgDQogICAgICAgICAgPC9mb250PjxpbnB1dCB0eXBlPSJ0ZXh0IiBuYW1lPSJ0 ZWxudW0iIHNpemU9IjEzIj4NCiAgICAgICAgICAmbmJzcDsmbmJzcDsmbmJzcDs8Zm9udCBz aXplPSIyIiBjb2xvcj0iIzY2NjY2NiI+yN6068b5IDwvZm9udD48Rk9OVCBzaXplPTI+PGlu cHV0IHR5cGU9InRleHQiIG5hbWU9ImhhbmRudW0iIHNpemU9IjE1Ij4NCiAgICAgICAgICA8 L0ZPTlQ+PGlucHV0IHR5cGU9InN1Ym1pdCIgbmFtZT0iU3VibWl0MiIgdmFsdWU9Ir3Fw7si PjwvcD4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvZm9ybT4NCiAgICAgICAgPC90ZD4N CiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkIHdpZHRoPSI5NzQiPjxUQUJMRSBi b3JkZXJDb2xvcj13aGl0ZSBjZWxsU3BhY2luZz0wIA0KICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBib3JkZXJDb2xvckRhcms9d2hpdGUgY2VsbFBhZGRpbmc9MCB3aWR0aD0i NjIxIiANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWxpZ249Y2VudGVyIGJv cmRlckNvbG9yTGlnaHQ9IzAwNjY5OSBib3JkZXI9MT4NCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgPFRCT0RZPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8 VFI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0iMzI0Ij4N CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFAgYWxpZ249bGVmdD48QlI+PElN RyBoZWlnaHQ9IjY2IiANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjPSJo dHRwOi8vaXllc2NhcmQuY29tL2ltZy9jYXJkX2ltZ18yMC5naWYiIHdpZHRoPSIxMDUiIA0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbGlnbj1sZWZ0IGJvcmRlcj0wPjxJ TUcgaGVpZ2h0PTcgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyYz0iaHR0 cDovL2l5ZXNjYXJkLmNvbS9pbWcvYnVfMDEuZ2lmIiB3aWR0aD00IA0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBib3JkZXI9MD4gPFNQQU4gc3R5bGU9IkZPTlQtU0laRTog OXB0Ij69xbHUIMi4v/ggv6zIuLrxIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICC46cGmPEJSPjxJTUcgaGVpZ2h0PTcgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIHNyYz0iaHR0cDovL2l5ZXNjYXJkLmNvbS9pbWcvYnVfMDEuZ2lmIiB3aWR0aD00IA0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXI9MD4gx/a06yDA2rW/wvcg sbjA1L3DIMb3wM7GriDH0sDOIDxCUj48SU1HIGhlaWdodD03IA0KICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBzcmM9Imh0dHA6Ly9peWVzY2FyZC5jb20vaW1nL2J1XzAxLmdp ZiIgd2lkdGg9NCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyPTA+ ILG5s7vD1sPKIMHWwK8gurjH6Lmrt+EgsKHA1DxCUj48SU1HIGhlaWdodD03IA0KICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBzcmM9Imh0dHA6Ly9peWVzY2FyZC5jb20vaW1n L2J1XzAxLmdpZiIgd2lkdGg9NCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg Ym9yZGVyPTA+IMGkuvEgwNq1v8L3IL/rx7Agx9LAzjwvU1BBTj48L1A+DQogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIDxESVYgYWxpZ249bGVmdD4NCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgPFRBQkxFIGNlbGxTcGFjaW5nPTAgY2VsbFBhZGRpbmc9MCBi b3JkZXI9MD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRCT0RZPg0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8VFI+DQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIDxURCB3aWR0aD0xNTI+DQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIDxQPiZuYnNwOyZuYnNwOzxTUEFOIA0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBzdHlsZT0iRk9OVC1TSVpFOiA5cHQiPjxGT05UIGNvbG9yPSNjZDQ0MzM+PEI+ x/a06yANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTSDEq7XlPC9CPjwvRk9O VD48L1NQQU4+PC9QPjwvVEQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxU RCB3aWR0aD0xNTI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxQIGFsaWdu PWxlZnQ+ICZuYnNwOzwvUD48L1REPjwvVFI+PC9UQk9EWT48L1RBQkxFPjwvRElWPjwvVEQ+ DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0iMjkxIj4NCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFAgYWxpZ249bGVmdD48QlI+PElNRyBo ZWlnaHQ9IjYzIiANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjPSJodHRw Oi8vaXllc2NhcmQuY29tL2ltZy9jYXJkX2ltZ18yMS5naWYiIHdpZHRoPSI5OSIgDQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsaWduPWxlZnQgYm9yZGVyPTA+PElNRyBo ZWlnaHQ9NyANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjPSJodHRwOi8v aXllc2NhcmQuY29tL2ltZy9idV8wMS5naWYiIHdpZHRoPTQgDQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIGJvcmRlcj0wPiA8U1BBTiBzdHlsZT0iRk9OVC1TSVpFOiA5cHQi Pr3FsdQgyLi/+CC/rMi4uvEgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgILjp waY8QlI+PElNRyBoZWlnaHQ9NyANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg c3JjPSJodHRwOi8vaXllc2NhcmQuY29tL2ltZy9idV8wMS5naWYiIHdpZHRoPTQgDQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlcj0wPiCx4r7GJm5ic3A7wNq1v8L3 ILG4wNS9wyDG98DOxq4gx9LAziA8QlI+PElNRyANCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgaGVpZ2h0PTcgc3JjPSLAzLnMwfYvYnVfMDEuZ2lmIiB3aWR0aD00IA0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXI9MD4gsbmzu8PWw8ogwdbAryC6 uMfouau34SCwocDUPEJSPjxJTUcgaGVpZ2h0PTcgDQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIHNyYz0iaHR0cDovL2l5ZXNjYXJkLmNvbS9pbWcvYnVfMDEuZ2lmIiB3aWR0 aD00IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXI9MD4gwaS68SDA 2rW/wvcgv+vHsCDH0sDOPC9TUEFOPjwvUD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgPERJViBhbGlnbj1sZWZ0Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICA8VEFCTEUgY2VsbFNwYWNpbmc9MCBjZWxsUGFkZGluZz0wIGJvcmRlcj0wPg0KICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8VEJPRFk+DQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIDxUUj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRE IHdpZHRoPTE0MT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFAgYWxpZ249 bGVmdD48U1BBTiANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGU9IkZP TlQtU0laRTogOXB0Ij48Rk9OVCBjb2xvcj0jY2Q0NDMzPjxCPiZuYnNwO7HivsYgDQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgILPruu23ub26PC9CPjwvRk9OVD48L1NQQU4+ PC9QPjwvVEQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0x NDE+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxQIGFsaWduPWxlZnQ+ICZu YnNwOzwvUD48L1REPjwvVFI+PC9UQk9EWT48L1RBQkxFPjwvRElWPjwvVEQ+PC9UUj4NCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRSPg0KICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICA8VEQgd2lkdGg9IjMyNCI+DQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDxQIGFsaWduPWxlZnQ+PEJSPjxJTUcgaGVpZ2h0PSI3MiIgDQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIHNyYz0iaHR0cDovL2l5ZXNjYXJkLmNvbS9pbWcv cGFydG5lcjE1X2NhcmRfaW1nLmpwZyIgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIHdpZHRoPSIxMTMiIGFsaWduPWxlZnQgYm9yZGVyPTA+PElNRyBoZWlnaHQ9NyANCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjPSJodHRwOi8vaXllc2NhcmQuY29t L2ltZy9idV8wMS5naWYiIHdpZHRoPTQgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGJvcmRlcj0wPiA8U1BBTiBzdHlsZT0iRk9OVC1TSVpFOiA5cHQiPsbyu/0mbmJzcDu/ rMi4uvEguOnBpjxCUj48SU1HIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBo ZWlnaHQ9NyBzcmM9Imh0dHA6Ly9peWVzY2FyZC5jb20vaW1nL2J1XzAxLmdpZiIgd2lkdGg9 NCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyPTA+IMb3wM7GrrOz us4ssPiw+rHdIMSrteWw4cGmILytuvG9uiZuYnNwOzxCUj48SU1HIA0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBoZWlnaHQ9NyBzcmM9Imh0dHA6Ly9peWVzY2FyZC5jb20v aW1nL2J1XzAxLmdpZiIgd2lkdGg9NCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgYm9yZGVyPTA+IMf2tOvBpMCvIKekILTnIDQwv/ggPEJSPjxJTUcgaGVpZ2h0PTcgDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyYz0iaHR0cDovL2l5ZXNjYXJkLmNv bS9pbWcvYnVfMDEuZ2lmIiB3aWR0aD00IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBib3JkZXI9MD4gv7XIrSC/ubjFIMDltOcgMiwwMDC/+CDH0sDOIDwvU1BBTj48L1A+ DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxESVYgYWxpZ249bGVmdD4NCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRBQkxFIGNlbGxTcGFjaW5nPTAgY2Vs bFBhZGRpbmc9MCBib3JkZXI9MD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg PFRCT0RZPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8VFI+DQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIDxURCB3aWR0aD0xNTIgaGVpZ2h0PTE3Pg0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8UD4mbmJzcDsmbmJzcDs8U1BBTiANCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGU9IkZPTlQtU0laRTogOXB0Ij48 Rk9OVCBjb2xvcj0jY2Q0NDMzPjxCPktUIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICC69MfDtvPA2jwvQj48L0ZPTlQ+PC9TUEFOPjwvUD48L1REPg0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICA8VEQgd2lkdGg9MTUyIGhlaWdodD0xNz4NCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgPFAgYWxpZ249bGVmdD4gJm5ic3A7PC9QPjwvVEQ+ PC9UUj48L1RCT0RZPjwvVEFCTEU+PC9ESVY+PC9URD4NCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgPFREIHdpZHRoPSIyOTEiPg0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICA8UCBhbGlnbj1sZWZ0Pjxicj48SU1HIGhlaWdodD0iNjgiIA0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBzcmM9Imh0dHA6Ly9peWVzY2FyZC5jb20vaW1nL2Nh cmRfaW1nXzExLmdpZiIgd2lkdGg9IjEwNiIgDQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIGFsaWduPWxlZnQgYm9yZGVyPTA+PElNRyBoZWlnaHQ9NyANCiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgc3JjPSJodHRwOi8vaXllc2NhcmQuY29tL2ltZy9idV8w MS5naWYiIHdpZHRoPTQgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRl cj0wPiA8U1BBTiBzdHlsZT0iRk9OVC1TSVpFOiA5cHQiPrvnv+vH0SAwLjUluKYgDQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgILrSv+zAzL/0tb2x4jxCUj48SU1HIGhlaWdo dD03IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcmM9Imh0dHA6Ly9peWVz Y2FyZC5jb20vaW1nL2J1XzAxLmdpZiIgd2lkdGg9NCANCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgYm9yZGVyPTA+IMbyu/0mbmJzcDu/rMi4uvEguOnBpiA8QlI+PElNRyBo ZWlnaHQ9NyANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjPSJodHRwOi8v aXllc2NhcmQuY29tL2ltZy9idV8wMS5naWYiIHdpZHRoPTQgDQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIGJvcmRlcj0wPiCx3cC2vK268b26PEJSPjxJTUcgaGVpZ2h0PTcg DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyYz0iaHR0cDovL2l5ZXNjYXJk LmNvbS9pbWcvYnVfMDEuZ2lmIiB3aWR0aD00IA0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBib3JkZXI9MD4gNb7vILmrt+EgurjH6CA8YnI+PGJyPjxicj48L1NQQU4+PC9Q Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8RElWIGFsaWduPWxlZnQ+DQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxUQUJMRSBjZWxsU3BhY2luZz0wIGNl bGxQYWRkaW5nPTAgYm9yZGVyPTA+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IDxUQk9EWT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRSPg0KICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8VEQgd2lkdGg9MTQzPg0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICA8UCBhbGlnbj1sZWZ0PjxTUEFOIA0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBzdHlsZT0iRk9OVC1TSVpFOiA5cHQiPjxGT05UIGNvbG9y PSNjZDQ0MzM+PEI+Jm5ic3A7u+e2+8DHIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICC81bDhxuyx4jwvQj48L0ZPTlQ+PC9TUEFOPjwvUD48L1REPg0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICA8VEQgd2lkdGg9MTQzPg0KICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICA8UCBhbGlnbj1sZWZ0PiAmbmJzcDs8L1A+PC9URD48L1RSPjwvVEJP RFk+PC9UQUJMRT48L0RJVj48L1REPjwvVFI+PC9UQk9EWT48L1RBQkxFPiAgICAgICAgPC90 ZD4NCiAgICA8L3RyPg0KICAgIDx0cj4NCiAgICAgICAgPHRkIHdpZHRoPSI5NzQiPjxwIGFs aWduPSJsZWZ0Ij48Zm9udCBzaXplPSIyIiBmYWNlPSKxvLiyIiBjb2xvcj0iIzY2NjY2NiI+ Jm5ic3A7sc3Hz8DHIA0KICAgICAgICAgICAguN7Az8HWvNK0wiDApbytx87AuyDF68fYILz2 wf3H0SCwzcDMuOcsILHXv9y/oSC+7rawx9EgwaS6uLW1ILCusO0gDQogICAgICAgICAgICDA 1sH2IL7KwL3AuyC54Mj8tM+02S48YnI+ICZuYnNwO8DMIEUtbWFpbMC6ILnfvcXA/L/rwMy4 5ywgv/jEoSC+ysC4vccgDQogICAgICAgICAgICCw5r/sIL7Gt6Egw6K/oSC43sDPwda80rim IMDUt8LHz7+pIMHWvcO46SC1ziC5+CC02b3DILjewM/AzCANCiAgICAgICAgICAgILChwfYg Jm5ic3A7vsq1tbfPIMfPsNq9wLTPtNkuPGJyPiAmbmJzcDsmbmJzcDs8YnI+ICZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOzwvZm9udD48 Rk9OVCBmYWNlPSKxvLiyIiBjb2xvcj0iIzY2NjY2NiIgc2l6ZT0yPrq7ILjewM/AuiDBpLq4 xeu9xbrOILHHsO0gu+fH17+hIMDHsMUgwaa48b+hIA0KPC9GT05UPjxGT05UIGZhY2U9IrG8 uLIiIGNvbG9yPSJyZWQiIHNpemU9IjIiPluxpLDtXTwvRk9OVD48Rk9OVCBmYWNlPSKxvLiy IiBjb2xvcj0iIzY2NjY2NiIgc2l6ZT0yPrbzsO0gx6W9w7XIILGksO0guN7Az8DUtM+02S48 L0ZPTlQ+PGZvbnQgY29sb3I9IiM2NjY2NjYiPjxCUj4gJm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7PC9mb250Pjxh IGhyZWY9Imh0dHA6Ly9peWVzY2FyZC5jb20vcmVzZnVsLmh0bWwiPjxmb250IGNvbG9yPSIj NjY2NjY2Ij48aW1nIHNyYz0iaHR0cDovL2l5ZXNjYXJkLmNvbS9pbWcvYnV0dG9uXzMuZ2lm IiB3aWR0aD0iNzEiIGhlaWdodD0iMjUiIGJvcmRlcj0iMCI+PC9mb250PjwvYT48Zm9udCBj b2xvcj0iIzY2NjY2NiI+IA0KICAgICAgICAgICAgPC9mb250PjxGT05UIGNvbG9yPSIjNjY2 NjY2IiANCnNpemU9Mj659sawwLsgxay4r8fPvcO46SC89r3FsMW6zsOzuK6woSDAzLfnvu4g wf20z7TZLjwvRk9OVD48Zm9udCBjb2xvcj0iIzY2NjY2NiI+IDwvZm9udD48L3A+DQogICAg ICAgIDwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICAgIDx0ZCB3aWR0aD0iOTc0 Ij4NCiAgICAgICAgICAgIDxwIGFsaWduPSJjZW50ZXIiPjxmb250IGNvbG9yPSIjNjY2NjY2 Ij4mbmJzcDs8L2ZvbnQ+PEZPTlQgZmFjZT0isby4siIgY29sb3I9IiM2NjY2NjYiIHNpemU9 Mj4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDtJZiB5b3Ugd29uJ3QgcmVjZWl2ZSBhbnkgbW9y ZSBtYWlsIGFib3V0IHRoaXMgDQpzaXRlLCA8L0ZPTlQ+PGZvbnQgY29sb3I9IiM2NjY2NjYi PjxCUj4gJm5ic3A7Jm5ic3A7PC9mb250PjxhIGhyZWY9Imh0dHA6Ly9peWVzY2FyZC5jb20v cmVzZnVsLmh0bWwiPjxmb250IGNvbG9yPSIjNjY2NjY2Ij48aW1nIHNyYz0iaHR0cDovL2l5 ZXNjYXJkLmNvbS9pbWcvYnV0dG9uXzQuZ2lmIiB3aWR0aD0iNzEiIGhlaWdodD0iMjUiIGJv cmRlcj0iMCI+PC9mb250PjwvYT48Rk9OVCBjb2xvcj0iIzY2NjY2NiIgDQpzaXplPTI+cHJl c3MgYnV0dG9uIGFuZCBmaWxsIHlvdXIgZS1tYWlsIGFkZHJlc3MuIEFuZCB0aGVuIHdlIHdp bGwgbm90IHNlbmQgYW55IA0KbWFpbCB0byB5b3U8L0ZPTlQ+PC9wPg0KICAgICAgICA8L3Rk Pg0KICAgIDwvdHI+DQogICAgPHRyPg0KICAgICAgICA8dGQgd2lkdGg9Ijk3NCIgYmdjb2xv cj0iIzhCQjVFMiI+DQogICAgICAgICAgICA8cD4mbmJzcDs8Zm9udCBzaXplPSIyIiBmYWNl PSKxvLiyIiBjb2xvcj0iIzMzMzMzMyI+ursguN7Az8C6IMf2tOvEq7XlvLOw6LvnwMcgDQog ICAgICAgICAgICCws8DOIL+1vvcguN7Az8DUtM+02S4gJm5ic3A7uN7Az7nfvNvA2iC/rLb0 w7MgOiA8L2ZvbnQ+PGEgaHJlZj0ibWFpbHRvOmVuZXh0b3BAbHljb3MuY28ua3IiPjxmb250 IHNpemU9IjIiIGZhY2U9IrG8uLIiIGNvbG9yPSIjMzMzMzMzIj5lbmV4dG9wQGx5Y29zLmNv LmtyPC9mb250PjwvYT48Zm9udCBzaXplPSIyIiBmYWNlPSKxvLiyIiBjb2xvcj0iIzMzMzMz MyI+IA0KICAgICAgICAgICAgJm5ic3A7PC9mb250PjwvcD4NCiAgICAgICAgPC90ZD4NCiAg ICA8L3RyPg0KPC90YWJsZT4NCjxwPiZuYnNwOzwvcD4NCjwvYm9keT4NCg0KPC9odG1sPg0K ------=_NextPart_000_0197_01C0F00A.93A03C00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 4: 0:55 2002 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 927A037B400 for ; Mon, 19 Aug 2002 04:00:51 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id B143D43E6E for ; Mon, 19 Aug 2002 04:00:50 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7JB0tYU089342; Mon, 19 Aug 2002 13:00:55 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7JB0sLr089341; Mon, 19 Aug 2002 13:00:54 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: absinthe@pobox.com, freebsd-java@FreeBSD.ORG Subject: Re: Please review: new Java Project docs Date: Mon, 19 Aug 2002 13:00:54 +0200 User-Agent: KMail/1.4.2 References: <200208170958.14422.absinthe@pobox.com> In-Reply-To: <200208170958.14422.absinthe@pobox.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208191300.54857.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Dylan, Some comments: 1) Is "News" more appropriate as a title than "Updates" ? 2) On the "Updates" page, the IBM JDK port is named "ibm-jdk13" while it should be "linux-ibm-jdk13". 3) Section 2.1.3.2. ad 1: Why would someone recompile the kernel? What is the advantage? 4) 2.1.3 The 1.1.8 JDK is a FreeBSD JDK, not a Sun JDK. 5) 2.1.3.3 Will the JDK 1.1 port really be removed? I don't think so, since it is really used quite a lot still... Nate? 6) 4.1.4 states that you need to download the JDK 1.1 documentation manually, while it should be possible to provide MASTER_SITES for this port, since you don't have to accept any license at http://java.sun.com/products/jdk/1.1/docs.html so I've changed the port accordingly... See my last commit. 7) 2.3.1: There are some issues with the Blackdown 1.4.1 JDK for Linux. It has not been extensively tested. It segfaults when running simple applications. Same applies to the Sun JDK 1.4 I will review the rest later if I have time. Ernst On Saturday 17 August 2002 15:58, Dylan Carlson wrote: > Hello, > > I have finished a 1st-pass at rewriting the FreeBSD Java Project > documentation into DocBook/SGML source format. I have transformed the > preview version into HTML. I would like volunteers to do basic > fact-checking and give me their opinions on where the docs can use > improvement. > > Specifically, contributions are needed in the following areas, in order > of importance: > > 1. Adding items to the FAQ (I know I missed some). > > 2. Filling out the "Known Issues" portion of the Release Info sections > ... I know there are open issues currently. > > 3. Authors for the following articles: > 3a. Basics of setting up a Java environment > 3b. Basics of running and troubleshooting Java applications > 3c. Benchmarks (ones that we can legally publish) > > 4. Artists needed for a logo and other decorations. Primarily, it would > be nice to have a Project logo for the index page. Probably nothing > bigger than 300 x 300, royalty-free. Vector graphics need to be in EPS > format, and bitmaps in PNG. > > [ http://home.earthlink.net/~dylancarlson/projects/freebsd/javadoc/ ] > > Looking forward to your feedback. Cheers, -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 5: 8:10 2002 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 6EB0637B400 for ; Mon, 19 Aug 2002 05:08:07 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE34B43E70 for ; Mon, 19 Aug 2002 05:08:06 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17gl1n-0000g7-00; Mon, 19 Aug 2002 04:48:59 -0700 Date: Mon, 19 Aug 2002 04:48:58 -0700 To: Dylan Carlson Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Please review: new Java Project docs Message-ID: <20020819114858.GA2491@gnuppy.monkey.org> References: <200208170958.14422.absinthe@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208170958.14422.absinthe@pobox.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Aug 17, 2002 at 09:58:14AM -0400, Dylan Carlson wrote: > I have finished a 1st-pass at rewriting the FreeBSD Java Project documentation > into DocBook/SGML source format. I have transformed the preview version into > HTML. I would like volunteers to do basic fact-checking and give me their > opinions on where the docs can use improvement. I'll have to check that out sometime in the near future, since DocBook is taking over the world apparently. > Specifically, contributions are needed in the following areas, in order of > importance: > > 1. Adding items to the FAQ (I know I missed some). > > 2. Filling out the "Known Issues" portion of the Release Info sections ... I > know there are open issues currently. > > 3. Authors for the following articles: > 3a. Basics of setting up a Java environment > 3b. Basics of running and troubleshooting Java applications > 3c. Benchmarks (ones that we can legally publish) If you'd like for me to write up more extensive HotSpot build instructions I'll do so. My notes are rather scattered, but I can summarize what I know about each compiler, etc... and what it means in relation to each other. HotSpot and company (eventually alexey's 1.4) need to be promoted, but I don't know when that's appropriate. We also need to publicize this project so that what has been done is known and FreeBSD's Java abilities aren't lost in the wash of daily BSD news. It's a significant enough project that it deserves it's own track outside of FreeBSD mainly because of the significance of Java and since our group encompasses all the open source BSDs. This might be outside of the scope of what you're doing though. > 4. Artists needed for a logo and other decorations. Primarily, it would be > nice to have a Project logo for the index page. Probably nothing bigger > than 300 x 300, royalty-free. Vector graphics need to be in EPS format, and > bitmaps in PNG. Plus URLs to various port member's home pages... > [ http://home.earthlink.net/~dylancarlson/projects/freebsd/javadoc/ ] My personal preference is to group those elements by version more so than port (Linux emulation, native, etc...), so that I can make a decisions about what to install *after* finding out which versions of the JVM are available under various conditions. It's a more natural way of interacting contextually with that information and would avoid additional navigation. A chart would be a possibly be a good way of representing that so that it's clearer, but is also rather confusing since it displays more information than one would gather at a glance. Somebody will have to figure this out. In that regard, (and the broadness of this group) I like the lay out of Kees's page better than the standard FreeBSD's rather static web page look. There's collapsable top level topics, tree lay out, that allows me to get at the info very quickly of various ends of the technical spectrum. http://www.kjkoster.org/java/index.jsp bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 5:20:52 2002 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 1C6A337B400 for ; Mon, 19 Aug 2002 05:20:49 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2580343E6E for ; Mon, 19 Aug 2002 05:20:48 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7JBrmYU089633; Mon, 19 Aug 2002 13:53:48 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7JBrmEI089632; Mon, 19 Aug 2002 13:53:48 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: absinthe@pobox.com, freebsd-java@FreeBSD.ORG Subject: Re: Please review: new Java Project docs Date: Mon, 19 Aug 2002 13:53:47 +0200 User-Agent: KMail/1.4.2 References: <200208170958.14422.absinthe@pobox.com> In-Reply-To: <200208170958.14422.absinthe@pobox.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208191353.47930.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dylan, One more sug/question: 8) We should use one naming convention for JDK ports. At the moment the convention is: JDK 1.1.8 for FreeBSD Sun JDK 1.2.2 for Linux Blackdown JDK 1.4.1 for Linux I know, however, that you prefer J2SDK or Java SDK over JDK. So what would you suggest using as names? Perhaps J2SDK or Java 2 SE SDK or J2SE SDK? A bit longish :-\ Ernst On Saturday 17 August 2002 15:58, Dylan Carlson wrote: > Hello, > > I have finished a 1st-pass at rewriting the FreeBSD Java Project > documentation into DocBook/SGML source format. I have transformed the > preview version into HTML. I would like volunteers to do basic > fact-checking and give me their opinions on where the docs can use > improvement. > > Specifically, contributions are needed in the following areas, in order > of importance: > > 1. Adding items to the FAQ (I know I missed some). > > 2. Filling out the "Known Issues" portion of the Release Info sections > ... I know there are open issues currently. > > 3. Authors for the following articles: > 3a. Basics of setting up a Java environment > 3b. Basics of running and troubleshooting Java applications > 3c. Benchmarks (ones that we can legally publish) > > 4. Artists needed for a logo and other decorations. Primarily, it would > be nice to have a Project logo for the index page. Probably nothing > bigger than 300 x 300, royalty-free. Vector graphics need to be in EPS > format, and bitmaps in PNG. > > [ http://home.earthlink.net/~dylancarlson/projects/freebsd/javadoc/ ] > > Looking forward to your feedback. Cheers, -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 8:23: 2 2002 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 28D2837B400; Mon, 19 Aug 2002 08:23:01 -0700 (PDT) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46EF943E3B; Mon, 19 Aug 2002 08:23:00 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA03411; Mon, 19 Aug 2002 09:22:54 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.5/8.12.5) id g7JFMrVC011391; Mon, 19 Aug 2002 09:22:53 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15713.3405.773127.501053@emerger.yogotech.com> Date: Mon, 19 Aug 2002 09:22:53 -0600 To: Ernst de Haan Cc: absinthe@pobox.com, freebsd-java@FreeBSD.ORG Subject: Re: Please review: new Java Project docs In-Reply-To: <200208191300.54857.znerd@FreeBSD.org> References: <200208170958.14422.absinthe@pobox.com> <200208191300.54857.znerd@FreeBSD.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 5) 2.1.3.3 Will the JDK 1.1 port really be removed? I don't think so, since > it is really used quite a lot still... Nate? I had no plans on removing it, since it's smaller and lighter than the 1.2+ stuff. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 8:31: 4 2002 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 8A01737B401 for ; Mon, 19 Aug 2002 08:31:02 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE7C843E65 for ; Mon, 19 Aug 2002 08:31:01 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7JFV9YU091330; Mon, 19 Aug 2002 17:31:09 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7JFV8Hb091329; Mon, 19 Aug 2002 17:31:08 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: nate@yogotech.com (Nate Williams) Subject: Re: Please review: new Java Project docs Date: Mon, 19 Aug 2002 17:31:08 +0200 User-Agent: KMail/1.4.2 Cc: absinthe@pobox.com, freebsd-java@FreeBSD.ORG References: <200208170958.14422.absinthe@pobox.com> <200208191300.54857.znerd@FreeBSD.org> <15713.3405.773127.501053@emerger.yogotech.com> In-Reply-To: <15713.3405.773127.501053@emerger.yogotech.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208191731.08310.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Monday 19 August 2002 17:22, Nate Williams wrote: > > 5) 2.1.3.3 Will the JDK 1.1 port really be removed? I don't think so, > > since it is really used quite a lot still... Nate? > > I had no plans on removing it, since it's smaller and lighter than the > 1.2+ stuff. And it's still used in the field. So I agree with Nate; it really should not be removed from the ports collection. Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 19 21:16:12 2002 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 A429A37B400; Mon, 19 Aug 2002 21:16:10 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA02443E42; Mon, 19 Aug 2002 21:16:06 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17h0R0-0005J7-00; Mon, 19 Aug 2002 22:16:06 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17h0Qz-0005Is-00; Mon, 19 Aug 2002 22:16:02 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g7K4Fsv00752; Tue, 20 Aug 2002 13:45:54 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 20 Aug 2002 13:45:54 +0930 From: Greg Lewis To: Ernst de Haan Cc: Nate Williams , absinthe@pobox.com, freebsd-java@FreeBSD.ORG Subject: Re: Please review: new Java Project docs Message-ID: <20020820134553.A733@misty.eyesbeyond.com> References: <200208170958.14422.absinthe@pobox.com> <200208191300.54857.znerd@FreeBSD.org> <15713.3405.773127.501053@emerger.yogotech.com> <200208191731.08310.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200208191731.08310.znerd@FreeBSD.org>; from znerd@FreeBSD.ORG on Mon, Aug 19, 2002 at 05:31:08PM +0200 X-Spam-Status: No, hits=-4.1 required=8.0 tests=IN_REP_TO,X_AUTH_WARNING version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 19, 2002 at 05:31:08PM +0200, Ernst de Haan wrote: > On Monday 19 August 2002 17:22, Nate Williams wrote: > > > 5) 2.1.3.3 Will the JDK 1.1 port really be removed? I don't think so, > > > since it is really used quite a lot still... Nate? > > > > I had no plans on removing it, since it's smaller and lighter than the > > 1.2+ stuff. > > And it's still used in the field. So I agree with Nate; it really should not > be removed from the ports collection. Its also a dependency for 1.2.2, so you'd invalidate two JDKs at once ;). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 20 2:49:22 2002 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 9EF7137B400 for ; Tue, 20 Aug 2002 02:49:15 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E90443E6E for ; Tue, 20 Aug 2002 02:49:15 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17h5dS-0005Hs-00 for freebsd-java@FreeBSD.ORG; Tue, 20 Aug 2002 02:49:14 -0700 Content-Type: text/plain; charset="us-ascii" From: Dylan Carlson Reply-To: absinthe@pobox.com To: freebsd-java@FreeBSD.ORG Subject: Update to docs (1.1), and some Q&A Date: Tue, 20 Aug 2002 05:49:34 -0400 User-Agent: KMail/1.4.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208200549.34990.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, New version of the project docs have been posted. Comments welcome. [ http://home.earthlink.net/~dylancarlson/projects/freebsd/javadoc/ ] Many tweaks and fixes, new TOC, improved the FAQ, plus all things I have addressed below. REQUEST: I need anyone to feed me some open bugs (on a per-port basis) and suggest some FAQ items that regularly come up on the mailing list. What would be ideal is just to create PR's ... or just send me a quick email on the bugs you know about, and I'll create the PRs. Much lower priority are some application notes (esp. on things like JBuilder, Orion, Resin, etc) Bill, Ernst, Greg: Look for your below for my answers on your earlier questions/comments. Everyone else can safely tune out the rest of this email. 1. Team page will be started and updated with the comments fed from you and Bill (re: the "5.2/5.3" emails). Albeit I need to go back and redo the 17.2 section instead of just pasting in the THANKS file. Didn't have time to do a better job on that. 2. I have linked to Victoria Chan/Hiten Pandya's docs on setting up Tomcat in the Doc section. 3. Let me know what your thoughts are on the thread I am having with Calvin Varney about Java port install locations. Let me know what your thoughts are on the thread I am having with Calvin Varney about Java port install locations. > 1) Is "News" more appropriate as a title than "Updates"? Yes, corrected. > 2) On the "Updates" page, the IBM JDK port is named "ibm-jdk13" while it > should be "linux-ibm-jdk13". Fixed. > 3) Section 2.1.3.2. ad 1: Why would someone recompile the kernel? What is > the advantage? Not sure myself. I took this from Nate's original notes in pkg-descr. But I have removed it. > 4) 2.1.3 The 1.1.8 JDK is a FreeBSD JDK, not a Sun JDK. %pkg_info |grep jdk-1.1.8 jdk-1.1.8 Sun's Java Developers Kit It's also got a Sun license in the install directory... > 5) 2.1.3.3 Will the JDK 1.1 port really be removed? It was intended as a support warning mostly -- Sun is EOL that API on the date listed, which is true. I have removed the statement about us dropping the port. > 6) 4.1.4 states that you need to download the JDK 1.1 documentation > manually, while it should be possible to provide MASTER_SITES for this > port, since you don't have to accept any license at > http://java.sun.com/products/jdk/1.1/docs.html so I've changed the port > accordingly... See my last commit. Fixed. > 7) 2.3.1: There are some issues with the Blackdown 1.4.1 JDK for Linux. It > has not been extensively tested. It segfaults when running simple > applications. Same applies to the Sun JDK 1.4 Noted and added into the Release Info for both. > 8) We should use one naming convention for JDK ports. At the moment the > convention is: > > JDK 1.1.8 for FreeBSD > Sun JDK 1.2.2 for Linux > Blackdown JDK 1.4.1 for Linux > > I know, however, that you prefer J2SDK or Java SDK over JDK. So what would > you suggest using as names? Perhaps J2SDK or Java 2 SE SDK or J2SE SDK? A > bit longish :-\ Sun's convention follows (from 1.2.x-1.4.x) "J2SE SDK". On 1.1.x it is "JDK". Blackdown it's all "JDK". My only effort is to make the vocabulary consist with Sun's, even if it is retarded. I have been using "SDK" but I will update to say J2SE SDK throughout to be clear about it. I'm not suggesting changing the port names. > If you'd like for me to write up more extensive HotSpot build instructions > I'll do so. My notes are rather scattered, but I can summarize what I know > about each compiler, etc... and what it means in relation to each other. Absolutely. This would be good. Send me your rough notes and I will format them for you. Don't worry about layout or correctness, I will clean up where it's needed. I am also adding a section by which we can introduce experimental patches. But you'll probably need to make a tarball of them and host them somewhere. If not possible on FreeBSD.ORG's ftp servers, then maybe on Greg's site. > HotSpot and company (eventually alexey's 1.4) need to be promoted, but I > don't know when that's appropriate. We also need to publicize this project > so that what has been done is known and FreeBSD's Java abilities aren't > lost in the wash of daily BSD news. It's a significant enough project that > it deserves it's own track outside of FreeBSD mainly because of the > significance of Java and since our group encompasses all the open source > BSDs. This might be outside of the scope of what you're doing though. It probably should be an article on some platform-neutral website. Then I can place a hyperlink to it in our documentation, and it can be listed on the FreeBSD.ORG front page as well. It would be ideal to wait to publish such an article until we have our documentation up to date. It would be nice to reference our new site from that article and have it current. > My personal preference is to group those elements by version more so than > port (Linux emulation, native, etc...), so that I can make a decisions > about what to install *after* finding out which versions of the JVM are > available under various conditions. It's a more natural way of interacting > contextually with that information and would avoid additional navigation. A > chart would be a possibly be a good way of representing that so that it's > clearer, but is also rather confusing since it displays more information > than one would gather at a glance. I agree with you, and I have made those changes in the new version. > In that regard, (and the broadness of this group) I like the lay out of > Kees's page better than the standard FreeBSD's rather static web page look. > There's collapsable top level topics, tree lay out, that allows me to get > at the info very quickly of various ends of the technical spectrum. I like Kee's page too. Initially this is a substance-over-style effort. I'm concerned about supplying accurate and current content first; layout changes will have to be squeezed in when there is time left over. Other notes: 1. DocBook is the best source format for docs available currently; it simplifies writing and maintaining documentation because it separates the user from making layout decisions when creating content. This is a good thing. I expect the size to grow; the TOC/Book structure DocBook uses is extremely well-suited for large technical documents. 1.1. We can tweak the appearance of the HTML output by modifying the DSSSL stuff. It can be as fancy as we want it to be in concept, but that takes some work. The FDP provides some default templates which are used throughout the HandBook, FreeBSD articles and so on. While the appearance of these default HTML templates is spartan, yes, they are quite functional -- and moreover printable. 1.2. If we customize too much, we run the risk of making our documentation somewhat proprietary. I'd like anyone who knows DocBook to quickly pick this up and add content quickly. (which is the general goal of DocBook anyway) It is desireable to keep the HTML design basic, so that it looks consistent cross-browser, cross-platform... and is very printable. 1.3. Later on I/we can tweak the TOC to do collapseable branches, like on Kee's page. I don't see that happening for a little while. I don't know DSSSL, and until the content is mostly complete I'm not going to spend any time on layout. 2. DocBook makes it trivial to output structured documentation to other formats (PDF, RTF, TeX, etc), and the output looks uniform on all types. My next step once the content is 95% will be to make at least PDF format available from the index page, in the event that someone wants to print the whole site out, or large sections of it. Also, let me know what your thoughts are on the thread I am having with Calvin Varney about Java port install locations. Cheers -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 20 4:15:37 2002 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 DE30D37B400; Tue, 20 Aug 2002 04:15:34 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08BC543E42; Tue, 20 Aug 2002 04:15:34 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7KBFfYU066052; Tue, 20 Aug 2002 13:15:41 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7KBFf9I066051; Tue, 20 Aug 2002 13:15:41 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: absinthe@pobox.com, nate@FreeBSD.org Subject: Re: Update to docs (1.1), and some Q&A Date: Tue, 20 Aug 2002 13:15:41 +0200 User-Agent: KMail/1.4.2 References: <200208200549.34990.absinthe@pobox.com> In-Reply-To: <200208200549.34990.absinthe@pobox.com> Cc: freebsd-java@FreeBSD.org X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208201315.41195.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Dylan, > Let me know what your thoughts are on the thread I am having with Calvin > Varney about Java port install locations. Will do... (don't have time right now) The javadocs should indeed go below ${PREFIX}/share/doc, that's for sure. The symlink should then be the otherway around. > Not sure myself. I took this from Nate's original notes in pkg-descr. > But I have removed it. Nate ? > > 4) 2.1.3 The 1.1.8 JDK is a FreeBSD JDK, not a Sun JDK. > > %pkg_info |grep jdk-1.1.8 > jdk-1.1.8 Sun's Java Developers Kit > > It's also got a Sun license in the install directory... $ cat ~/freebsd/ports/java/jdk11/pkg-comment Java Development Kit 1.1 These JDK names were unified recently, see: http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/jdk11/pkg-comment.diff?r1=1.2&r2=1.3 Ofcourse it's based on the Sun source code, but the patches were done by Nate et al. > > 8) We should use one naming convention for JDK ports. At the moment the > > convention is: > > > > JDK 1.1.8 for FreeBSD > > Sun JDK 1.2.2 for Linux > > Blackdown JDK 1.4.1 for Linux > > > > I know, however, that you prefer J2SDK or Java SDK over JDK. So what > > would you suggest using as names? Perhaps J2SDK or Java 2 SE SDK or > > J2SE SDK? A bit longish :-\ > > Sun's convention follows (from 1.2.x-1.4.x) "J2SE SDK". On 1.1.x it is > "JDK". Blackdown it's all "JDK". My only effort is to make the > vocabulary consist with Sun's, even if it is retarded. > > I have been using "SDK" but I will update to say J2SE SDK throughout to > be clear about it. I'm not suggesting changing the port names. Only issue that remains then is that we have a conflict between the port names and the names mentioned in this document... I will give this some more thought. Perhaps I should just sweep through the pkg-comment files again. :-\ Your work is very much appreciated and I must say that I *really* like your approach. The documentation seems quite complete and useful already!!!! Kind regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 20 17:26: 3 2002 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 B554A37B400 for ; Tue, 20 Aug 2002 17:25:43 -0700 (PDT) Received: from smtp1.clear.net.nz (smtp1.clear.net.nz [203.97.33.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3A4043E75 for ; Tue, 20 Aug 2002 17:25:37 -0700 (PDT) (envelope-from calvin@varney.org) Received: from ubana.varney2.org (203-167-170-62.dialup.clear.net.nz [203.167.170.62]) by smtp1.clear.net.nz (CLEAR Net Mail) with ESMTP id <0H160022U3ULDQ@smtp1.clear.net.nz> for freebsd-java@FreeBSD.ORG; Wed, 21 Aug 2002 12:25:35 +1200 (NZST) Date: Wed, 21 Aug 2002 12:29:09 +1200 From: Calvin Varney Subject: Re: Please review: new Java Project docs To: absinthe@pobox.com Cc: freebsd-java@FreeBSD.ORG Message-id: <86it25uka2.fsf@ubana.varney2.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Lines: 196 References: <200208170958.14422.absinthe@pobox.com> <863ctbrcng.fsf@ubana.varney2.org> <200208190506.44212.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dylan Carlson writes: > On Sunday 18 August 2002 07:05pm, Calvin Varney wrote: >> Although you haven't asked for feedback on the documentation section >> I'd like to comment on "4.4. Proposal for Porting Java Applications >> and Tools" > > This is great, thank you. > >> >> 1. If JAVALIBNAME is defined as ${PORTNAME}-${PORTVERSION} a symlink >> for ${PORTNAME} would be useful for managing dependencies. > > I think that should be up to the user to decide which version they want to use > (if they have more than one installed). Either way, that still doesn't mean > anything if $CLASSPATH isn't set correctly. I agree in that the user/porter *may* wish to specify a particular library version. The majority of time I imagine they would only want to specify the major part of the version. When suggesting symlinks I was thinking about the situation when a minor update is made to a library, the minor part of ${PORTVERSION} is increased and all ports that build a classpath by statically specifying ${PORTNAME}-${PORTVERSION}'s would break. Maybe this situation could be handled by dynamically building classpaths, I don't know, would like to here other peoples experiences/opinions. > > I don't think we should make any assumptions about which versions should be > symlinked. I would have thought the latest minor version of a library libname.majorver.minorver linked to libname.majorver Thats assuming library interfaces don't change between minor versions. (how safe is that?) > >> >> 2. Why should Javadocs be treated differently from ordinary >> documentation and placed anywhere other than ${DOCSDIR}? Javadocs >> are just another form of documentation and should be excluded when >> installing ports with NOPORTDOCS. > > My opinion on this for what it's worth: > > The API docs should be bundled with the rest of the JDK/SDK. I like it when > the JDK is one tree of binaries and docs. > > Everything else should be in $DOCSDIR, though. > > Agree with you on NOPORTDOCS. However the API docs, like the SDK source code, > have to be manually fetched. Until we have distributables, they probably > should remain as separate ports (jdk13-doc, etc). I'm not sure our license > covers API doc redistribution anyway, so that may never happen. Ok, the SDK API docs must remain a separate port. I was concerned about the API documentation produced by javadoc for other ports (libraries and applications) ending up somewhere other than $DOCSDIR. > >> >> 3. Regarding placing all library JAR files are in >> ${JAVAPREFIX}/classes/${JAVALIBNAME}/ >> >> a. Everything java involves classes. As this is a directory for >> just library classes would "lib" or "import" be a more >> appropriate directory name? > > Not sure how this is relevant. I'm just being pedantic. I'd suggest placing java libraries in a directory with a name that more accurately describes its contents. "classes" could mean application classes or library classes, "lib" is slightly more accurate. > > I wouldn't be opposed to changing ${JAVAPREFIX} to ${PREFIX}/lib/java. > Perl, PHP, Python, Ruby all do it this way, basically. Great, for consistency ${PREFIX}/lib/java has my vote. Interesting to note the likes of perl and php libraries aren't located under ${PREFIX}/share as architecture-independent files though. > > They like us do not want to mix up C libs with Java libs. Segregating that > stuff is a good idea. > >> >> b. Placing each library jar under its own ${JAVALIBNAME} directory >> will create many subdirectories with just one jar file (or few >> if different versions are installed). I'd suggest just placing >> them in ${JAVAPREFIX}/classes (or lib or import...). If a >> library includes more than one class file and isn't packaged >> within a jar a ${JAVALIBNAME} subdirectory could be appropriate >> or they could be jared during installation. > > Agree with your first sentence. Second is sketchy (see above). > > Agree with third, and I'd like to suggest that the proposal gets amended to > require that libraries with multiple classes get built into a JAR file at > install time. That's a good idea, because we can do a lot more with > versioning if all the classes are wrapped up in a JAR. I'm not sure that any > of the Makefiles do JAR version checking but if not we should probably work > in that direction. I'd support this. > > Ernst? > >> >> c. Is there a need for ${JAVAPREFIX} at all? Why not install >> libraries in ${PREFIX}/share/javalib or >> ${PREFIX}/share/javaimport. > > I think it is. It's cleaner to know where all of your java libraries are, > instead of having them mixed up with all the C libraries. Perl operates on > this same basis. I don't want to look at a directory and try to figure out > what is a set of c libs, and what is Java. ${JAVAPREFIX} solves that. I wasn't clear here, I was questioning the need for a directory ${PREFIX}/share/java. Other than the proposed classes subdirectory for libraries what else should be located here? If nothing else why not place libraries in ${PREFIX}/share/javalib rather than ${PREFIX}/share/java/classes. (still prefer ${PREFIX}/lib/java discussed above though) Definitely agree java libs should be in their own directory. > >> >> I'm not sure of the intentions behind the additional java in the >> ${PREFIX}/share/java/classes hierarchy. I don't think >> ${PREFIX}/share/java is the right place for docs or examples and >> applications should reside in ${PREFIX}/share or ${PREFIX}. Are >> any other ports installed under a subdirectory denoting their >> implementation language? > > Perl: /usr/local/lib/perl5/%interpreter-version%/ > PHP: /usr/local/lib/php/ > Python: /usr/local/lib/python%ver%/ > Ruby: /usr/local/lib/ruby/%interpreter-version%/ > ...etc... As above, was trying to determine the need for the proposed ${JAVAPREFIX}. Java libraries should have their own directory but should the applications that use these libraries be placed under ${JAVAPREFIX} or be placed directly under ${PREFIX} or ${PREFIX}/share. I don't see a need to group application files under a directory denoting the language they were implemented in. > >> >> 4. Is there a need to break away from the existing standard of placing >> examples in ${EXAMPLESDIR} (default: >> ${PREFIX}/share/examples/${PORTNAME})? > > Nope, no need. I basically agree with you. Some other languages actually do > it this way: ${PREFIX}/share/exmaples/%lang%/${PORTNAME} This sounds good. > > I would suggest: > ${PREFIX}/share/examples/java-${JAVAAPIVERSION}/${PORTNAME} > > e.g., /usr/local/share/examples/java13/jakarta-oro/ Don't like this as many ports specify java x.y or later. > > ... > > I'd like a few of the committers here (Ernst, Greg primarily) to weigh in on > these ideas before I amend the existing proposal. Most of your comments are > agreeable, though, thank you -- if only a few tweaks are (in my opinion) > necessary to mimic how other languages handle their ports. Would also like to here form those with more porting experience. I've just started trying to port a couple of java apps and have found it tough going trying to nut out what goes where and how to handle common libraries. In addition to the handling of java library versions, the location of java libraries, application files, examples and documentation discussed here I also think locations for configuration files and application log files need to be covered. If java ports are brought in line with other ports hopefully little will need to be said, just a reference to hier(7) and the likes of http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/x3025.html -- Calvin Varney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 21 18:23: 4 2002 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 0D0BF37B405 for ; Wed, 21 Aug 2002 18:23:01 -0700 (PDT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6813C43E6A for ; Wed, 21 Aug 2002 18:23:00 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17hggW-000EM2-00 for freebsd-java@freebsd.org; Thu, 22 Aug 2002 02:22:52 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g7M1Mp3H016315 for ; Thu, 22 Aug 2002 02:22:51 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g7M1MpCo016314 for freebsd-java@freebsd.org; Thu, 22 Aug 2002 02:22:51 +0100 (BST) Date: Thu, 22 Aug 2002 02:22:51 +0100 From: Jonathon McKitrick To: freebsd-java@freebsd.org Subject: Good distributed app technique for Java FreeBSD? Message-ID: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Scanner: exiscan *17hggW-000EM2-00*kujgW8mu3mw* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello all, I'm trying my hand at some ideas for a distributed Java application. At the moment, I'm considering a few possible solutions, but I'm not sure which would would best on FreeBSD. Here is a brief example of what I would like to try as a proof of concepts, based on a possible scenario: >>> We have data acquisition instruments with a controlling host computer. Imagine these in a lab, connected to the network. Somewhere else in the building, or perhaps even outside on the internet, is a server that has the proprietary processing algorithms that I could charge for by use. This web service would be exposed to all customers, regardless of platform. Other companies could even publish similar services as well. Now, imagine a scientist in their office in the first building. They have an applet which connects to the component controlling the instrument, gets the data, and sends it to the outside service for processing. <<< Would it make sense to make the instrument controller an EJB? How about the processing web service? Or should one or both be servlets? Would Jini be better here, or maybe just plain RMI? I'm trying to balance flexibility with performance. At this point, I'm not going to worry too much about the size of the data being transferred, though that could become an issue for large data acquisitions. jm -- My other computer is your Windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 21 18:33:27 2002 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 1807037B400 for ; Wed, 21 Aug 2002 18:33:26 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48C743E7B for ; Wed, 21 Aug 2002 18:33:25 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17hgqK-0005QF-00; Wed, 21 Aug 2002 18:33:00 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Jonathon McKitrick , freebsd-java@freebsd.org Subject: Re: Good distributed app technique for Java FreeBSD? Date: Wed, 21 Aug 2002 21:33:09 -0400 User-Agent: KMail/1.4.2 References: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> In-Reply-To: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208212133.09593.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 21 August 2002 09:22pm, Jonathon McKitrick wrote: > Would it make sense to make the instrument controller an EJB? How > about the processing web service? Or should one or both be servlets? > Would Jini be better here, or maybe just plain RMI? I've done this using RMI servlets under Tomcat. It worked pretty well, but ran into significant roadbumps early on -- not because of RMI, but because there wasn't enough logging in the code. So I think my advice with any distributed application is MAKE SURE you add lots and lots of logging in the code or it may be very difficult for you to understand where you are having problems ... when you do have problems (and assume that you will). There are a few logging choices you can choose; I suggest Log4J. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 21 18:44:41 2002 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 8D3EB37B400 for ; Wed, 21 Aug 2002 18:44:39 -0700 (PDT) Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC77043E42 for ; Wed, 21 Aug 2002 18:44:38 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17hh1Z-000P62-00; Thu, 22 Aug 2002 02:44:37 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g7M1ia3H016484; Thu, 22 Aug 2002 02:44:36 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g7M1ian4016483; Thu, 22 Aug 2002 02:44:36 +0100 (BST) Date: Thu, 22 Aug 2002 02:44:36 +0100 From: Jonathon McKitrick To: Dylan Carlson Cc: freebsd-java@freebsd.org Subject: Re: Good distributed app technique for Java FreeBSD? Message-ID: <20020822014436.GC16407@dogma.freebsd-uk.eu.org> References: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> <200208212133.09593.absinthe@pobox.com> <20020822013623.GA16407@dogma.freebsd-uk.eu.org> <200208212140.54805.absinthe@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208212140.54805.absinthe@pobox.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org | > So you used a client that talked to servlets via HTTP that talked to | > components via RMI? | | Yup, exactly. In this particular application used ICE as the protocol between | the client and the servlet. The servlet talks to other servlets via RMI. | Oracle backend. All the front-end machines FreeBSD 4.6 with the native SDK | build. | Don't know much in the area of EJB myself. But I do know that going the EJB | route is almost an entirely different school of thought. Interesting. I thought servlets were best for dealing with http requests, yet you were using them as components? Since they were also interfacing with a DB on the backend, how is this so different from EJB components? jm -- My other computer is your Windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 21 19:22: 9 2002 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 5217637B400 for ; Wed, 21 Aug 2002 19:22:08 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id F402243E4A for ; Wed, 21 Aug 2002 19:22:07 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17hhbT-0004Dp-00; Wed, 21 Aug 2002 19:21:43 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Jonathon McKitrick Subject: Re: Good distributed app technique for Java FreeBSD? Date: Wed, 21 Aug 2002 22:21:52 -0400 User-Agent: KMail/1.4.2 Cc: freebsd-java@freebsd.org References: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> <200208212140.54805.absinthe@pobox.com> <20020822014436.GC16407@dogma.freebsd-uk.eu.org> In-Reply-To: <20020822014436.GC16407@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208212221.52673.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 21 August 2002 09:44pm, Jonathon McKitrick wrote: > Interesting. I thought servlets were best for dealing with http requests, > yet you were using them as components? Since they were also interfacing > with a DB on the backend, how is this so different from EJB components? You can make servlets do anything a standalone can do (to my knowledge anyway). As far as EJB, as I say, I know next to nothing about beans... This was RMI, Sun's protocol. But you can also do it with CORBA. -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 21 20:59: 5 2002 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 1131A37B401 for ; Wed, 21 Aug 2002 20:59:02 -0700 (PDT) Received: from smtp2.clear.net.nz (smtp2.clear.net.nz [203.97.37.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B6043E42 for ; Wed, 21 Aug 2002 20:58:56 -0700 (PDT) (envelope-from calvin@varney.org) Received: from ubana.varney2.org (203-167-180-100.dialup.clear.net.nz [203.167.180.100]) by smtp2.clear.net.nz (CLEAR Net Mail) with ESMTP id <0H18002OU8E4QS@smtp2.clear.net.nz> for freebsd-java@freebsd.org; Thu, 22 Aug 2002 15:58:54 +1200 (NZST) Date: Thu, 22 Aug 2002 15:26:06 +1200 From: Calvin Varney Subject: Re: Good distributed app technique for Java FreeBSD? In-reply-to: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> To: Jonathon McKitrick Cc: freebsd-java@freebsd.org Message-id: <867kijfub5.fsf@ubana.varney2.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) Lines: 66 References: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jonathon McKitrick writes: > Hello all, > > I'm trying my hand at some ideas for a distributed Java application. At the > moment, I'm considering a few possible solutions, but I'm not sure which > would would best on FreeBSD. > > Here is a brief example of what I would like to try as a proof of > concepts, based on a possible scenario: > >>>> > We have data acquisition instruments with a controlling host > computer. Imagine these in a lab, connected to the network. > > Somewhere else in the building, or perhaps even outside on the > internet, is a server that has the proprietary processing algorithms > that I could charge for by use. This web service would be > exposed to all customers, regardless of platform. Other companies could > even publish similar services as well. > > Now, imagine a scientist in their office in the first building. > They have an applet which connects to the component controlling > the instrument, gets the data, and sends it to the outside service > for processing. > <<< > > Would it make sense to make the instrument controller an EJB? How I don't know about making the controller an EJB as the spec states EJB's should not perform any direct i/o (i.e. no java.io.*) which is probably required for your instrument. Not all servers enforce this so it may be an option if you aren't concerned about portability. The Java Connector Architecture (JCA) defines a method for EJB's to communicate with external systems that may be of use, however don't know how easy this will be or what EJB servers other than JOnAS provide this support. An other option is to make your controller a normal java application that is a client to an EJB. This way controller app can inform the EJB of change in state/test results etc and the EJB server manage concurrent access to those results, scalability, security etc. If scientists need to send messages to the instrument this could be done by invoking a method on a session bean that in turn send a message to the controller app via JMS. > about the processing web service? Or should one or both be servlets? Would > Jini be better here, or maybe just plain RMI? > > I'm trying to balance flexibility with performance. At this point, I'm not > going to worry too much about the size of the data being transferred, though > that could become an issue for large data acquisitions. > > jm > -- > My other computer is your Windows box. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > > -- Calvin Varney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 22 1:43:25 2002 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 1B9D637B400 for ; Thu, 22 Aug 2002 01:43:21 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F89343E72 for ; Thu, 22 Aug 2002 01:43:20 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17hnYk-0001wk-00; Thu, 22 Aug 2002 01:43:18 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Calvin Varney Subject: Port/package guidelines (WAS: Please review: new Java Project docs) Date: Thu, 22 Aug 2002 04:43:18 -0400 User-Agent: KMail/1.4.2 Cc: freebsd-java@FreeBSD.ORG References: <200208170958.14422.absinthe@pobox.com> <200208190506.44212.absinthe@pobox.com> <86it25uka2.fsf@ubana.varney2.org> In-Reply-To: <86it25uka2.fsf@ubana.varney2.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208220443.18447.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 20 August 2002 08:29pm, Calvin Varney wrote: As a prelude to continuing this conversation, I believe we probably should start figuring out how to use Ant in all the Java ports to resolve dependencies, build jars, do versioning and so on. I would like Ernst to comment on this, since he does the majority of the Java-related ports (including Ant). It's definitely a more sane way of building and packaging Java (particularly generating javadocs from code that has it) ... but I also think it would be an improved way of doing version checking and upgrades. Take a lot of the work out of the Makefile and into the build.xml's. My $.02... > > I would have thought the latest minor version of a library > libname.majorver.minorver linked to libname.majorver Thats assuming > library interfaces don't change between minor versions. (how safe is > that?) In theory, there shouldn't be an interface change on a library on a minor release, but... anyway it's probably safe to do it that way for now. I think long-term we need to pursue something more evolved with a tool like Ant. That way we won't have to deal with filenames, we deal with internal version numbers of JARs and classes. FYI, the standard bsd.port.mk/java.mk files don't deal with major/minor versioning. All you get is ${PORTVERSION}. Most developers I know have a canned development directory tree somewhere (not in ${PREFIX). I don't think the target audience for a java library port is a developer... it's probably just to resolve a dependency for an application. By that reasoning think it's probably a good idea to write wrapper scripts for applications to set the CLASSPATH as needed, where it has not already been done. > Ok, the SDK API docs must remain a separate port. I was concerned > about the API documentation produced by javadoc for other ports > (libraries and applications) ending up somewhere other than $DOCSDIR. > No, I agree about that. $DOCSDIR is good by me. > Great, for consistency ${PREFIX}/lib/java has my vote. Interesting to > note the likes of perl and php libraries aren't located under > ${PREFIX}/share as architecture-independent files though. Agree. > > Agree with third, and I'd like to suggest that the proposal gets amended > > to require that libraries with multiple classes get built into a JAR file > > at install time. That's a good idea, because we can do a lot more with > > versioning if all the classes are wrapped up in a JAR. I'm not sure that > > any of the Makefiles do JAR version checking but if not we should > > probably work in that direction. > > I'd support this. *nod* OK, so I want some next steps on revising the proposal, final comments and whatever. To to be clear where we're currently at... I have just tried to phrase this a little differently than we discussed but basically keeping the final results the same. VARIABLES: remove ${JAVAPREFIX} ${JAVALIBDIR} = ${PREFIX}/lib/java ${JAVAPORTNAME} = %portname%-%majorversion% ${PORTNAME} = %portname%-%fullversion% (as usual) LIBRARIES: 1. preferably in .JAR format: ${JAVALIBDIR}/${JAVAPORTNAME}.jar 2. or in a subdirectory: ${JAVALIBDIR}/${JAVAPORTNAME}/ no symlinks DOCS, including Javadoc generated: ${DOCSDIR}/${JAVAPORTNAME} EXAMPLES: ${EXAMPLESDIR}/java/${JAVAPORTNAME} > > Would also like to here form those with more porting experience. I've > just started trying to port a couple of java apps and have found it > tough going trying to nut out what goes where and how to handle common > libraries. > Ernst is The Man. He can probably answer all of those questions. Being that he has his name on most of the ports at present (correct me if I'm wrong about this), I think he's got the the most weight on this final proposal. What has been discussed here is reasonable I think, unless Ernst has some rationale for things we've overlooked or just plain don't understand. Folks, let me know what your final thoughts are on the above and maybe we can get something codified. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 22 9:18:37 2002 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 C2B6937B400 for ; Thu, 22 Aug 2002 09:18:35 -0700 (PDT) Received: from pooh.softalia.com (pooh.softalia.com [65.161.202.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AAB143E6A for ; Thu, 22 Aug 2002 09:18:34 -0700 (PDT) (envelope-from kkonaka@softalia.com) Received: from tigger.softalia.com (tigger.softalia.com [65.161.202.175]) by pooh.softalia.com (8.9.3+Sun/3.7W-isfs) with ESMTP id MAA02127; Thu, 22 Aug 2002 12:18:28 -0400 (EDT) Received: from tigger.softalia.com (kkonaka@tigger.softalia.com [65.161.202.175]) by tigger.softalia.com (8.11.4/3.7W-isfs) with ESMTP id g7MGIRk15464; Thu, 22 Aug 2002 12:18:27 -0400 Date: Thu, 22 Aug 2002 12:18:25 -0400 Message-ID: From: kkonaka@mac.com To: freebsd-java@FreeBSD.ORG Subject: Re: Good distributed app technique for Java FreeBSD? In-Reply-To: <867kijfub5.fsf@ubana.varney2.org> References: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> <867kijfub5.fsf@ubana.varney2.org> User-Agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/20.7 (i586-pc-linux-gnu) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org let's do jini :) can this be similar to what you have in mind - by any chance? http://java.sun.com/features/2001/11/jinienviro.html - JINI(tm) network technology defends the environment regards, kenji To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 22 15:59:35 2002 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 DCD1F37B41C for ; Thu, 22 Aug 2002 15:59:20 -0700 (PDT) Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4A3A43E84 for ; Thu, 22 Aug 2002 15:59:19 -0700 (PDT) (envelope-from mailing_lists@devzerog.com) Received: from devzerog.com ([80.4.0.140]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020822225918.PCFG25423.mta01-svc.ntlworld.com@devzerog.com> for ; Thu, 22 Aug 2002 23:59:18 +0100 Message-ID: <3D656CF2.8090506@devzerog.com> Date: Fri, 23 Aug 2002 00:00:02 +0100 From: Dev Zero G Ltd User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020815 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: JniHandler and ChannelUn Errors Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, thanks for reading and PLEASE HELP! Building and then launching the Tomcat 4.0.4 connector for Apache 2 on FreeBSD 4.4, linux-jdk 1.4 , we get: org.apache.jk.server.JkMain init INFO: Starting Jk2, base dir= /usr/local/tomcat4.0.4_1.4.0 conf=/usr/local/tomcat4.0.4_1.4.0/conf/jk2.properties org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni components: java.io.IOException: /usr/local/ tomcat4.0.4_1.4.0/lib/jk_jnicb.so: /usr/local/tomcat4.0.4_1.4.0/lib/jk_jni.so: ELF file OS ABI invalid. Then, we were answered: > I'm assuming you're running 1.4 under Linux emulation, since the > native 1.4 isn't near finished yet :). The obvious guess would > then be that the shared library jk_jni.so is in fact a native > FreeBSD shared library when it needs to be a Linux shared > library. Any shared library loaded by a Linux JDK running under > emulation must be a Linux shared library." After that we have tried to build jkjni.so with native freeBSD jdk1.3, so this shared library can use native FreeBSD methods. But, after starting Tomcat 4.0.4 (jdk 1.3) we get: Error JniHandler - -nativeDispatch: error 21000 Error ChannelUn - -receive error: 21000 (info) [jk_jni_aprImpl.c (470)] jkInvoke() invoke 2db8bd2c (info) [jk_channel_un.c (292)] channelUn.close(): close unix socket -1 (error) [jk_channel_un.c (416)] channelUn.receive():error receiving -3 9 Bad file descriptor 0x15abd0f0 -1 ANY ideas, suggestions, guesses - would be greatly appreciated. Thanks in advance. Dev Zero G Team http://devzerog.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 22 16:20:11 2002 Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C75637B401 for ; Thu, 22 Aug 2002 16:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 313DF43E84 for ; Thu, 22 Aug 2002 16:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7MNK2JU007445 for ; Thu, 22 Aug 2002 16:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7MNK2a9007444; Thu, 22 Aug 2002 16:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D8B837B400 for ; Thu, 22 Aug 2002 16:11:08 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B92B43E42 for ; Thu, 22 Aug 2002 16:11:07 -0700 (PDT) (envelope-from dcarlson@laredo.retrovertigo.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17i16Y-0007CD-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 22 Aug 2002 16:11:06 -0700 Received: by laredo.retrovertigo.com (Postfix, from userid 1001) id EF06922E14; Thu, 22 Aug 2002 19:11:10 -0400 (EDT) Message-Id: <20020822231110.EF06922E14@laredo.retrovertigo.com> Date: Thu, 22 Aug 2002 19:11:10 -0400 (EDT) From: Dylan Carlson Reply-To: Dylan Carlson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/41913: JniHandler and ChannelUn Errors Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41913 >Category: java >Synopsis: JniHandler and ChannelUn Errors >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 22 16:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dylan Carlson >Release: FreeBSD 4.4-RELEASE >Organization: >Environment: Forwarded from email: Dev Zero G Ltd (mailing_lists@devzerog.com) FreeBSD 4.4 -- rest unknown (user should followup with full uname -a) >Description: Hello, thanks for reading and PLEASE HELP! Building and then launching the Tomcat 4.0.4 connector for Apache 2 on FreeBSD 4.4, linux-jdk 1.4 , we get: org.apache.jk.server.JkMain init INFO: Starting Jk2, base dir= /usr/local/tomcat4.0.4_1.4.0 conf=/usr/local/tomcat4.0.4_1.4.0/conf/jk2.properties org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni components: java.io.IOException: /usr/local/ tomcat4.0.4_1.4.0/lib/jk_jnicb.so: /usr/local/tomcat4.0.4_1.4.0/lib/jk_jni.so: ELF file OS ABI invalid. Then, we were answered: : I'm assuming you're running 1.4 under Linux emulation, since the : native 1.4 isn't near finished yet :). The obvious guess would : then be that the shared library jk_jni.so is in fact a native : FreeBSD shared library when it needs to be a Linux shared : library. Any shared library loaded by a Linux JDK running under : emulation must be a Linux shared library." After that we have tried to build jkjni.so with native freeBSD jdk1.3, so this shared library can use native FreeBSD methods. But, after starting Tomcat 4.0.4 (jdk 1.3) we get: Error JniHandler - -nativeDispatch: error 21000 Error ChannelUn - -receive error: 21000 (info) [jk_jni_aprImpl.c (470)] jkInvoke() invoke 2db8bd2c (info) [jk_channel_un.c (292)] channelUn.close(): close unix socket -1 (error) [jk_channel_un.c (416)] channelUn.receive():error receiving -3 9 Bad file descriptor 0x15abd0f0 -1 ANY ideas, suggestions, guesses - would be greatly appreciated. Thanks in advance. Dev Zero G Team http://devzerog.com >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 22 21:40:56 2002 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 03C4537B400 for ; Thu, 22 Aug 2002 21:40:53 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F4343E70 for ; Thu, 22 Aug 2002 21:40:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17i6Ff-0005Xz-00 for freebsd-java@freebsd.org; Thu, 22 Aug 2002 22:40:52 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17i6Fe-0005Xv-00 for freebsd-java@FreeBSD.ORG; Thu, 22 Aug 2002 22:40:51 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g7N4dRI34438; Fri, 23 Aug 2002 14:09:27 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 23 Aug 2002 14:09:27 +0930 From: Greg Lewis To: Dev Zero G Ltd Cc: freebsd-java@FreeBSD.ORG Subject: Re: JniHandler and ChannelUn Errors Message-ID: <20020823140927.A34395@misty.eyesbeyond.com> References: <3D656CF2.8090506@devzerog.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D656CF2.8090506@devzerog.com>; from mailing_lists@devzerog.com on Fri, Aug 23, 2002 at 12:00:02AM +0100 X-Spam-Status: No, hits=-4.1 required=8.0 tests=IN_REP_TO,X_AUTH_WARNING version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 23, 2002 at 12:00:02AM +0100, Dev Zero G Ltd wrote: > Hello, thanks for reading and PLEASE HELP! > > Building and then launching the Tomcat 4.0.4 connector for Apache 2 on > FreeBSD 4.4, linux-jdk 1.4 , we get: > > org.apache.jk.server.JkMain init > INFO: Starting Jk2, base dir= /usr/local/tomcat4.0.4_1.4.0 > conf=/usr/local/tomcat4.0.4_1.4.0/conf/jk2.properties > org.apache.jk.server.JkMain start > INFO: APR not loaded, disabling jni components: java.io.IOException: > /usr/local/ > tomcat4.0.4_1.4.0/lib/jk_jnicb.so: > /usr/local/tomcat4.0.4_1.4.0/lib/jk_jni.so: > ELF file OS ABI invalid. > > Then, we were answered: > > > I'm assuming you're running 1.4 under Linux emulation, since the > > native 1.4 isn't near finished yet :). The obvious guess would > > then be that the shared library jk_jni.so is in fact a native > > FreeBSD shared library when it needs to be a Linux shared > > library. Any shared library loaded by a Linux JDK running under > > emulation must be a Linux shared library." > > After that we have tried to build jkjni.so with native freeBSD jdk1.3, > so this shared library can use native FreeBSD methods. > But, after starting Tomcat 4.0.4 (jdk 1.3) we get: > > Error JniHandler - -nativeDispatch: error 21000 > Error ChannelUn - -receive error: 21000 > (info) [jk_jni_aprImpl.c (470)] jkInvoke() invoke 2db8bd2c > (info) [jk_channel_un.c (292)] channelUn.close(): close unix socket -1 > (error) [jk_channel_un.c (416)] channelUn.receive():error receiving -3 9 > Bad file descriptor 0x15abd0f0 -1 > > ANY ideas, suggestions, guesses - would be greatly appreciated. > Thanks in advance. Try these: 1. Compile the shared library under Linux and try your application under emulation again. As long as the JNI object format matches the JDK you're ok, it doesn't matter in which direction you go. I'd try the 1.3 Linux JDK though, 1.4 has some problems due to HotSpot. 2. Produce a small test case that demonstrates your problems and submit it as a bug. Its almost impossible to do any sort of debugging when there is almost no information about the code or what its doing. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 10:24:49 2002 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 7581537B400 for ; Fri, 23 Aug 2002 10:24:44 -0700 (PDT) Received: from ns3.ideathcare.com (mail.allneo.com [216.185.96.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 6016743E6A for ; Fri, 23 Aug 2002 10:24:43 -0700 (PDT) (envelope-from jps@funeralexchange.com) Received: (qmail 77675 invoked by uid 85); 23 Aug 2002 17:37:22 -0000 Received: from jps@funeralexchange.com by ns3.ideathcare.com with qmail-scanner-1.03 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.215561 secs); 23 Aug 2002 17:37:22 -0000 Received: from unknown (HELO pimpin) (216.138.114.132) by mail.allneo.com with SMTP; 23 Aug 2002 17:37:22 -0000 Reply-To: From: "Jeremy Suo-Anttila" To: Subject: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Date: Fri, 23 Aug 2002 12:32:03 -0500 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been experiencing allot of java crashes (2-3 some days) with the following error code every time it happens. If any one could tell me what I can do to prevent future crashes from happening or how I can get more info from the crash and find a way to patch my system to make them work that would be great. The errors are listed below along with other info. Also if anyone else has had the same problems please let me know and I will submit a pr for this. I have already upgraded to the latest linux_base last night from linux_base6 and reinstalled the linux-sun-jdk.1.4.0.1 from the ports. Thanks Jeremy Suo-Anttila jps@funeralexchange.com GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Core was generated by `java'. Program terminated with signal 6, Abort trap. /lib/libpthread.so.0: No such file or directory. #0 0x280ae5c1 in ?? () (gdb) bt #0 0x280ae5c1 in ?? () #1 0x280af9a8 in ?? () #2 0x283830a2 in ?? () #3 0x283800ac in ?? () #4 0x28383b2a in ?? () #5 0x28382844 in ?? () #6 0x28070796 in ?? () #7 0xbfbfffdb in ?? () #8 0x2a09ef93 in ?? () #9 0x2a09ef93 in ?? () #10 0x2a09eebc in ?? () #11 0x2a09ef93 in ?? () #12 0x2a09ef93 in ?? () #13 0x2a09ef93 in ?? () #14 0x2a09f299 in ?? () #15 0x2a09ef93 in ?? () #16 0x2a09ef93 in ?? () #17 0x2a09ef93 in ?? () #18 0x2a09f299 in ?? () #19 0x2a09ef93 in ?? () #20 0x2a09ef93 in ?? () #21 0x2a09ef93 in ?? () #22 0x2a09ef93 in ?? () #23 0x2a09f299 in ?? () #24 0x2a09ef93 in ?? () #25 0x2a09ef93 in ?? () #26 0x2a09ee3b in ?? () #27 0x2a09f299 in ?? () #28 0x2a09f299 in ?? () #29 0x2a09c195 in ?? () #30 0x282e74f6 in ?? () #31 0x2838244d in ?? () #32 0x282e7644 in ?? () #33 0x282e70a7 in ?? () #34 0x282e7ad7 in ?? () #35 0x2832ce53 in ?? () #36 0x283bafda in ?? () #37 0x283b7544 in ?? () #38 0x28380e1a in ?? () #39 0x2806dd94 in ?? () (gdb) #### # location of files that where not found by the linux-jdk [root@mortus]/usr/compat/linux/lib% ll libpthread.so.0 lrwxr-xr-x 1 root wheel - 17 Aug 22 21:37 libpthread.so.0@ -> libpthread-0.9.so [root@mortus]/usr/compat/linux/lib% ll libpthread-0.9.so -rwxr-xr-x 1 root wheel - 558014 Apr 6 2001 libpthread-0.9.so* ( do i need to maybe create a symlink from /usr/lib/libpthread.so.0 > to /usr/compat/linux/lib/libpthread.so.0 ?) # java -version [root@mortus]/usr/local/resin% java -version java version "1.4.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03) Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode) # java args /usr/local/linux-jdk1.4.0.01/bin/java -Xms32m -Xmx396m # server uname [root@mortus]/usr/local/resin% uname -a FreeBSD mortus.ideathcare.com 4.6-STABLE FreeBSD 4.6-STABLE #10: Thu Aug 15 21:58:56 CDT 2002 root@mortus.ideathcare.com:/usr/obj/usr/src/sys/MORTUS i386 #loaded kernel modules [root@mortus]/usr/compat/linux/lib% kldstat Id Refs Address Size Name 1 2 0xc0100000 2693f4 kernel 2 1 0xcdffd000 14000 linux.ko # server linux uname [root@mortus]/usr/compat/linux/bin% ./bash bash-2.04# uname -a Linux mortus.ideathcare.com 2.4.2 FreeBSD 4.6-STABLE #10: Thu Aug 15 21:58:56 CDT 2002 root@mo i386 unknown #if you need anymore info please just ask and i will send it. Thanks jps To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 13:12: 3 2002 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 B46C337B400 for ; Fri, 23 Aug 2002 13:12:01 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5080C43E88 for ; Fri, 23 Aug 2002 13:12:01 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17iKmg-0000NL-00; Fri, 23 Aug 2002 13:11:54 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: , Subject: Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Date: Fri, 23 Aug 2002 16:11:54 -0400 User-Agent: KMail/1.4.2 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208231611.54672.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Friday 23 August 2002 01:32pm, Jeremy Suo-Anttila wrote: > I have been experiencing allot of java crashes (2-3 some days) with the > following error code every time it happens. If any one could tell me what I > can do to prevent future crashes from happening or how I can get more info > from the crash and find a way to patch my system to make them work that > would be great. The errors are listed below along with other info. Also if > anyone else has had the same problems please let me know and I will submit > a pr for this. > > I have already upgraded to the latest linux_base last night from > linux_base6 and reinstalled the linux-sun-jdk.1.4.0.1 from the ports. > > Thanks Hi Jeremy, The 1.4 JDK port is not considered "stable" at this time. It is known to crash often. I'm not personally qualified to tell you why, however, unless you need the 1.4.0 API for something specific, I would suggest building and running ports/java/jdk13 or /ports/java/linux-jdk13 if you want as close to a production quality VM for Tomcat and Resiin. I have personally run the native JDK (java/jdk13) under both of those products without problem since patchset 5. That is what I would recommend that you use for the time being. Regards, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 14: 8:47 2002 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 3EC1537B4F7 for ; Fri, 23 Aug 2002 14:08:40 -0700 (PDT) Received: from ns3.ideathcare.com (mail.allneo.com [216.185.96.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A91543E4A for ; Fri, 23 Aug 2002 14:08:39 -0700 (PDT) (envelope-from jps@funeralexchange.com) Received: (qmail 96329 invoked by uid 85); 23 Aug 2002 21:21:19 -0000 Received: from jps@funeralexchange.com by ns3.ideathcare.com with qmail-scanner-1.03 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.172818 secs); 23 Aug 2002 21:21:19 -0000 Received: from unknown (HELO pimpin) (216.138.114.132) by mail.allneo.com with SMTP; 23 Aug 2002 21:21:18 -0000 Reply-To: From: "Jeremy Suo-Anttila" To: , Subject: RE: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Date: Fri, 23 Aug 2002 16:15:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <200208231611.54672.absinthe@pobox.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dylan, Unfortunatley i do need the 1.4 api otherwise i would be using the native 1.3.1. Our application uses alot of the 1.4 features so to downgrade to it would be ALOT of work. I have found that if i create a symlink from the /lib dir to the /usr/compat/linux/lib dir that gets rid of the first error that i posted (libpthread.so.0) but brings up another. Now the server cannot find the libstdc++-libc6.1-1.so.2@ file so i am going to try and link all of the missing files to from the /usr/lib/foo > /usr/compat/linux/usr/lib/foo to see if that will solve the problem. Anyone on the list happen to know a easier way to accomplish this? I can see this not being the best way to handle this since it can be easily broken by a makeworld or other upgrades. Do i need to maybe add the path to the linux libs to a hint file somewhere?? Also this only happens when i run the MS Application Web stress tester against my server with a 100+ threads and the server is under ALOT of load. Thanks Jps -----Original Message----- From: Dylan Carlson [mailto:absinthe@pobox.com] Sent: Friday, August 23, 2002 3:12 PM To: jps@funeralexchange.com; freebsd-java@FreeBSD.ORG Subject: Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat On Friday 23 August 2002 01:32pm, Jeremy Suo-Anttila wrote: > I have been experiencing allot of java crashes (2-3 some days) with the > following error code every time it happens. If any one could tell me what I > can do to prevent future crashes from happening or how I can get more info > from the crash and find a way to patch my system to make them work that > would be great. The errors are listed below along with other info. Also if > anyone else has had the same problems please let me know and I will submit > a pr for this. > > I have already upgraded to the latest linux_base last night from > linux_base6 and reinstalled the linux-sun-jdk.1.4.0.1 from the ports. > > Thanks Hi Jeremy, The 1.4 JDK port is not considered "stable" at this time. It is known to crash often. I'm not personally qualified to tell you why, however, unless you need the 1.4.0 API for something specific, I would suggest building and running ports/java/jdk13 or /ports/java/linux-jdk13 if you want as close to a production quality VM for Tomcat and Resiin. I have personally run the native JDK (java/jdk13) under both of those products without problem since patchset 5. That is what I would recommend that you use for the time being. Regards, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 14:33:13 2002 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 6CBD337B400 for ; Fri, 23 Aug 2002 14:33:11 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBE343E4A for ; Fri, 23 Aug 2002 14:33:11 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17iM3F-00009a-00; Fri, 23 Aug 2002 14:33:05 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: , Subject: Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Date: Fri, 23 Aug 2002 17:33:16 -0400 User-Agent: KMail/1.4.2 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208231733.16012.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Friday 23 August 2002 05:15pm, Jeremy Suo-Anttila wrote: > so i am going to try and > link all of the missing files to from the /usr/lib/foo > > /usr/compat/linux/usr/lib/foo to see if that will solve the problem. Hopefully that won't cause you problems with your FreeBSD binaries, but I guess it's worth a shot. Let us know how it goes. > Anyone on the list happen to know a easier way to accomplish this? I can > see this not being the best way to handle this since it can be easily > broken by a makeworld or other upgrades. Do i need to maybe add the path to > the linux libs to a hint file somewhere?? Also this only happens when i run > the MS Application Web stress tester against my server with a 100+ threads > and the server is under ALOT of load. The threading under 1.4 is an known, open problem. Until we have a native-build port of the 1.4.x SDK I personally wouldn't expect a fix. Green threads are gone, and I doubt the Linuxulator will ever handle that well going forward. (someone correct me if I'm wrong) However, Alexey Zelkin recently bootstrapped a native build of 1.4.0 and that's great news -- which means that we should see a native-build port emerge sometime. It's a first step, anyway. But none of this information will solve your problem today. It sounds to me that you didn't use FreeBSD as your development platform when you wrote your app; you are in turn using FreeBSD as your QA/production platform. 1.4.0 is bleeding edge (IMO) ... if I were you, I would bend the code backwards to 1.3.1. If your 1.4.0 VM isn't predictable, I don't know what choice you have -- apart from making a (pragmatic, undesireable) decision to run it on another platform. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 14:49: 1 2002 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 CBD8E37B401 for ; Fri, 23 Aug 2002 14:48:57 -0700 (PDT) Received: from ns3.ideathcare.com (mail.allneo.com [216.185.96.68]) by mx1.FreeBSD.org (Postfix) with SMTP id E0AD243E75 for ; Fri, 23 Aug 2002 14:48:56 -0700 (PDT) (envelope-from jps@funeralexchange.com) Received: (qmail 99603 invoked by uid 85); 23 Aug 2002 22:01:41 -0000 Received: from jps@funeralexchange.com by ns3.ideathcare.com with qmail-scanner-1.03 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.223469 secs); 23 Aug 2002 22:01:41 -0000 Received: from unknown (HELO pimpin) (216.138.114.132) by mail.allneo.com with SMTP; 23 Aug 2002 22:01:41 -0000 Reply-To: From: "Jeremy Suo-Anttila" To: , Subject: RE: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Date: Fri, 23 Aug 2002 16:56:22 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <200208231733.16012.absinthe@pobox.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dylan, I will try the linking this evening when i can afford for the box to be down for a few minutes if break something. We did develop this application on FreeBSD 4.x with Jdk1.4 + Tomcat 4 and it has been running nice until now when i started with the stress testing. I am not to concerned about the JVM crashing like it has benn since i have 2 resin JVM servers running on the same box and the second is just failover server ready to take over incase the first dies for some odd reason. I just dont like to see programs up and die and dump a nice 500mb core file on my disk. I would be more then willing to be a guinea pig and test out the new 1.4 native if anyone was willing to give me the source to build. Also i will not be running this application on FreeBSD much longer since it looks like we will have to move to a Solaris 9 platform and take adavantage of its native 1.4 jdk. I was just hoping i could do this all with FreeBSD and not have to shell out the money for Sun hardware and OS. Hopefully FreeBSD will have better java support near future and i can keep on using it. I will try out the linking and let you all know how it went. Thanks Jeremy Suo-Anttila jps@funeralexchange.com From: Dylan Carlson [mailto:absinthe@pobox.com] Sent: Friday, August 23, 2002 4:33 PM On Friday 23 August 2002 05:15pm, Jeremy Suo-Anttila wrote: > so i am going to try and > link all of the missing files to from the /usr/lib/foo > > /usr/compat/linux/usr/lib/foo to see if that will solve the problem. Hopefully that won't cause you problems with your FreeBSD binaries, but I guess it's worth a shot. Let us know how it goes. > Anyone on the list happen to know a easier way to accomplish this? I can > see this not being the best way to handle this since it can be easily > broken by a makeworld or other upgrades. Do i need to maybe add the path to > the linux libs to a hint file somewhere?? Also this only happens when i run > the MS Application Web stress tester against my server with a 100+ threads > and the server is under ALOT of load. The threading under 1.4 is an known, open problem. Until we have a native-build port of the 1.4.x SDK I personally wouldn't expect a fix. Green threads are gone, and I doubt the Linuxulator will ever handle that well going forward. (someone correct me if I'm wrong) However, Alexey Zelkin recently bootstrapped a native build of 1.4.0 and that's great news -- which means that we should see a native-build port emerge sometime. It's a first step, anyway. But none of this information will solve your problem today. It sounds to me that you didn't use FreeBSD as your development platform when you wrote your app; you are in turn using FreeBSD as your QA/production platform. 1.4.0 is bleeding edge (IMO) ... if I were you, I would bend the code backwards to 1.3.1. If your 1.4.0 VM isn't predictable, I don't know what choice you have -- apart from making a (pragmatic, undesireable) decision to run it on another platform. Cheers, -- Dylan Carlson [absinthe@pobox.com] >> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 15:50:53 2002 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 C805A37B400 for ; Fri, 23 Aug 2002 15:50:51 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 799EB43E4A for ; Fri, 23 Aug 2002 15:50:51 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17iNGU-0007iJ-00; Fri, 23 Aug 2002 15:50:50 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: , Subject: Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Date: Fri, 23 Aug 2002 18:50:50 -0400 User-Agent: KMail/1.4.2 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208231850.50841.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Friday 23 August 2002 05:56pm, Jeremy Suo-Anttila wrote: > I would be more then willing to be a guinea pig and test out the new 1.4 > native if anyone was willing to give me the source to build. Also i will > not be running this application on FreeBSD much longer since it looks like > we will have to move to a Solaris 9 platform and take adavantage of its > native 1.4 jdk. I was just hoping i could do this all with FreeBSD and not > have to shell out the money for Sun hardware and OS. Hopefully FreeBSD will > have better java support near future and i can keep on using it. I understand. You don't have to buy Sun hardware though. Sun releases Solaris x86, and you can get the same official, native 1.4.x SDK's for that platform without reinvesting in new hardware. Not that I'm advocating switching platforms, mind you. :) Given your current situation, though -- you're pigeonholed into needing 1.4.x for production services. So with that, possible interim solutions: (a) Living with the current "stress failure" situation with the 1.4 SDK while waiting and testing new port versions, and future native-build ports of the 1.4.x SDKs on FreeBSD. (b) Switch to Solaris or Linux temporarily while the wrinkles with 1.4 get sorted out on FreeBSD. Then come back to us when our Release Notes indicate that the SDK should be stable. If you think your services will run acceptably under the current scenario for a while, stick with (a). Platform changes are painful, and nobody here wants to lose a good FreeBSD user... however temporary that might be. We appreciate you working with us. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 16:31:55 2002 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 0A7E237B400 for ; Fri, 23 Aug 2002 16:31:54 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD2543E3B for ; Fri, 23 Aug 2002 16:31:53 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id QAA13389 for ; Fri, 23 Aug 2002 16:31:40 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g7NNUod23140 for freebsd-java@freebsd.org; Fri, 23 Aug 2002 16:30:50 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208232330.g7NNUod23140@arch20m.dellroad.org> Subject: FreeBSD-specific jikes problem To: freebsd-java@freebsd.org Date: Fri, 23 Aug 2002 16:30:50 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, If anyone who knows C++ and is interested in fixing a jikes core dump problem, please take a look at this bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=41961 This bug does *not* occur on Linux, so it appears that the bug may actually be part of FreeBSD rather than jikes. I know zero C++ and so can't do much about it.. Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 17: 0:34 2002 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 B3F3837B4D8 for ; Fri, 23 Aug 2002 17:00:30 -0700 (PDT) Received: from osprey.kermodei.com (kermodei.com [216.103.110.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2325E43E42 for ; Fri, 23 Aug 2002 17:00:30 -0700 (PDT) (envelope-from markd@Kermodei.com) Received: (from markd@localhost) by osprey.kermodei.com (8.11.1/8.11.1) id g7O00Sv67626; Fri, 23 Aug 2002 17:00:28 -0700 (PDT) (envelope-from markd) From: Mark Diekhans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15718.52379.888372.419690@osprey.Kermodei.Com> Date: Fri, 23 Aug 2002 17:00:27 -0700 To: Archie Cobbs Cc: freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD-specific jikes problem In-Reply-To: <200208232330.g7NNUod23140@arch20m.dellroad.org> References: <200208232330.g7NNUod23140@arch20m.dellroad.org> X-Mailer: VM 7.00 under Emacs 21.1.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just tried this with the same version of jikes running on FreeBSD 4.5, and the core dump did not occur. Archie Cobbs writes: > if anyone who knows C++ and is interested in fixing a jikes core dump > problem, please take a look at this bug: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=41961 > > This bug does *not* occur on Linux, so it appears that the bug > may actually be part of FreeBSD rather than jikes. > > I know zero C++ and so can't do much about it.. > > Thanks, > -Archie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 20:30: 8 2002 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 D625537B400 for ; Fri, 23 Aug 2002 20:30:03 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47FB743E3B for ; Fri, 23 Aug 2002 20:30:03 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA14748 for ; Fri, 23 Aug 2002 20:17:59 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g7O3H9823821 for freebsd-java@freebsd.org; Fri, 23 Aug 2002 20:17:09 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208240317.g7O3H9823821@arch20m.dellroad.org> Subject: Re: FreeBSD-specific jikes problem In-Reply-To: <20020824031504.C481637B401@hub.freebsd.org> "from Mail Delivery System at Aug 23, 2002 08:15:04 pm" To: freebsd-java@freebsd.org Date: Fri, 23 Aug 2002 20:17:09 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Mark Diekhans writes: > I just tried this with the same version of jikes running on FreeBSD 4.5, > and the core dump did not occur. Thanks... I tried that too and got the same results. Apparently something changed in -stable after 4.5-REL that is now triggering the bug. Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 23 20:51: 5 2002 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 57A9437B400 for ; Fri, 23 Aug 2002 20:51:02 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0BB243E6E for ; Fri, 23 Aug 2002 20:51:01 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17iRwq-0004Gn-00; Fri, 23 Aug 2002 21:51:01 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17iRwo-0004Ga-00; Fri, 23 Aug 2002 21:50:51 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g7O3oWa43906; Sat, 24 Aug 2002 13:20:32 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 24 Aug 2002 13:20:28 +0930 From: Greg Lewis To: Jeremy Suo-Anttila Cc: freebsd-java@FreeBSD.ORG Subject: Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Message-ID: <20020824132028.A43816@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jps@funeralexchange.com on Fri, Aug 23, 2002 at 12:32:03PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 23, 2002 at 12:32:03PM -0500, Jeremy Suo-Anttila wrote: > I have been experiencing allot of java crashes (2-3 some days) with the > following error code every time it happens. If any one could tell me what I > can do to prevent future crashes from happening or how I can get more info > from the crash and find a way to patch my system to make them work that > would be great. The errors are listed below along with other info. Also if > anyone else has had the same problems please let me know and I will submit a > pr for this. > > I have already upgraded to the latest linux_base last night from linux_base6 > and reinstalled the linux-sun-jdk.1.4.0.1 from the ports. There are known issues with running HotSpot under Linux emulation. I would certainly advise against it for a production system of any kind. > GNU gdb 4.18 (FreeBSD) > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Ok, you do realise that you're running a FreeBSD gdb on a Linux binary? I don't expect that will tell you very much... > Core was generated by `java'. > Program terminated with signal 6, Abort trap. > /lib/libpthread.so.0: No such file or directory. Thats a message from gdb, its got very little to do with your problem. Its basically occuring because you're using the FreeBSD gdb, so it will look in /lib rather than /usr/compat/linux/lib for libpthread.so.0. I don't know if anyone has tried this, but it might be worth asking about your problem on freebsd-emulation (since the problem actually lies in the Linux emulation layer). The information you supplied was fairly extensive, so that can only help. Its a pity there isn't a reliable quick way to produce the problem or I'd suggest to run things under truss and maybe see what system calls are going on around the crash zone. It may also help to use the a Linux gdb which will probably be more help with the binary. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 24 11:38:37 2002 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 7DB0937B40D for ; Sat, 24 Aug 2002 11:38:23 -0700 (PDT) Received: from IG88.GOOBSOFT.COM (h-66-134-6-202.DLLATX37.covad.net [66.134.6.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EAF643E7B for ; Sat, 24 Aug 2002 11:38:22 -0700 (PDT) (envelope-from skeetz@8thdeadlysim.com) Received: from qwerty1234 ([192.168.254.24]) by IG88.GOOBSOFT.COM (8.11.6/8.11.6) with SMTP id g7OIfI085048 for ; Sat, 24 Aug 2002 13:41:19 -0500 (CDT) (envelope-from skeetz@8thdeadlysim.com) From: "skeetz" To: Subject: building native hotspot Date: Sat, 24 Aug 2002 01:38:31 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey all, I'm looking at the java options again for Freebsd. I'm trying to build the hotspot for my jdk13 port. I found this message instructing me how to do it. http://www.geocrawler.com/lists/3/FreeBSD/162/0/9147806/ I'm running a 4.3 box and a 4.6 release, but I'm trying to get things working on my 4.3 box for testing purposes. If I go into /usr/ports/java/jdk13/work/hotspot1.3.1/build/ , I see that there is a bsd directory now. Is that the one I'm supposed to use instead of linux? USING BSD DIRECTORY I first had to edit ./makefiles/top.make and add in DISABLE_HOTSPOT_OS_VERSION_CHECK=ok then I setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.3.1/ is this right? building hot spot requires the linux sun jvm? why can't I use the one I just made /usr/local/jdk1.3.1? then I try running gmake core and I get gmake[1]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake[2]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp In file included from ../generated/incls/_functionAtStart.cpp.incl:2, from /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:27: wchar.h: No such file or directory In file included from ../generated/incls/_functionAtStart.cpp.incl:2, from /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:91: integer constant out of range /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:92: integer constant out of range /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp: In function `int g_isnan(double)': /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:107: implicit declaration of function `int isnand(...)' /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp: In function `int wcslen(const jchar *)': /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:123: passing `const __wchar_t *' as argument 1 of `wcslen(const jchar *)' gmake[2]: *** [functionAtStart.o] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake[1]: *** [the_vm] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake: *** [jvmgcore] Error 2 USING LINUX DIRECTORY sh /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makefi les/buildATree.sh core /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 gmake: *** [linux_i486_core/jvmg] Error 1 SUMMARY I can't seem to figure out how I am supposed to do this. Is the problem that I'm running Freebsd STABLE? I would appreciate if someone pointed me in the right direction. Also, now that we have a licence to distribute a native FreeBSD version of java, doesn't that mean that we should be able to download just the binaries instead of downloading the src and building all of the code? If not, then what exactly does it mean? Chad Skeeters To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 24 12:54:11 2002 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 32CAB37B400 for ; Sat, 24 Aug 2002 12:54:05 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id E396443E75 for ; Sat, 24 Aug 2002 12:53:40 -0700 (PDT) (envelope-from hexghost@attbi.com) Received: from hexghost ([12.231.42.2]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020824195302.VACS1186.rwcrmhc52.attbi.com@hexghost> for ; Sat, 24 Aug 2002 19:53:02 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Branden Root Reply-To: hexghost@attbi.com To: Subject: Re: building native hotspot Date: Sat, 24 Aug 2002 12:52:54 -0700 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208241252.54654.hexghost@attbi.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Chad, I think you're making this more difficult than it really is. First, you will need the linux jdk to build the native jdk, along with a few other things that you can delete after the native jdk build is complete. All you need to do, after installing the dependancies, is cd to the /usr/ports/java/jdk13 directory, type make install, grab both the files that it asks of you (the actual jdk and the patchset), stick them in your /usr/ports/distfiles, and then make install again. You shouldn't have to edit any makefiles, etc. Branden Root On Friday 23 August 2002 11:38 pm, skeetz wrote: > Hey all, I'm looking at the java options again for Freebsd. I'm trying to > build the hotspot for my jdk13 port. I found this message instructing me > how to do it. > > http://www.geocrawler.com/lists/3/FreeBSD/162/0/9147806/ > > I'm running a 4.3 box and a 4.6 release, but I'm trying to get things > working on my 4.3 box for testing purposes. If I go into > /usr/ports/java/jdk13/work/hotspot1.3.1/build/ , I see that there is a bsd > directory now. Is that the one I'm supposed to use instead of linux? > > USING BSD DIRECTORY > > I first had to edit ./makefiles/top.make and add in > > DISABLE_HOTSPOT_OS_VERSION_CHECK=ok > > then I > setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.3.1/ > > is this right? building hot spot requires the linux sun jvm? why can't I > use the one I just made /usr/local/jdk1.3.1? > > then I try running gmake core and I get > > gmake[1]: Entering directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake[2]: Entering directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > Compiling > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp > In file included from ../generated/incls/_functionAtStart.cpp.incl:2, > from > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp:18: > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:27: wchar.h: No such file or directory > In file included from ../generated/incls/_functionAtStart.cpp.incl:2, > from > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp:18: > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:91: integer constant out of range > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:92: integer constant out of range > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp: In function `int g_isnan(double)': > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:107: implicit declaration of function `int isnand(...)' > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp: In function `int wcslen(const jchar *)': > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:123: passing `const __wchar_t *' as argument 1 of > `wcslen(const jchar *)' > gmake[2]: *** [functionAtStart.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake[1]: *** [the_vm] Error 2 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake: *** [jvmgcore] Error 2 > > USING LINUX DIRECTORY > > sh > /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makef >i les/buildATree.sh core > /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 > gmake: *** [linux_i486_core/jvmg] Error 1 > > SUMMARY > > I can't seem to figure out how I am supposed to do this. Is the problem > that I'm running Freebsd STABLE? I would appreciate if someone pointed me > in the right direction. > > Also, now that we have a licence to distribute a native FreeBSD version of > java, doesn't that mean that we should be able to download just the > binaries instead of downloading the src and building all of the code? If > not, then what exactly does it mean? > > Chad Skeeters > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 24 18:57:33 2002 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 3792437B400 for ; Sat, 24 Aug 2002 18:57:27 -0700 (PDT) Received: from IG88.GOOBSOFT.COM (h-66-134-6-202.DLLATX37.covad.net [66.134.6.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D798743E6A for ; Sat, 24 Aug 2002 18:57:25 -0700 (PDT) (envelope-from skeetz@8thdeadlysim.com) Received: from qwerty1234 ([192.168.254.24]) by IG88.GOOBSOFT.COM (8.11.6/8.11.6) with SMTP id g7P20P085763 for ; Sat, 24 Aug 2002 21:00:25 -0500 (CDT) (envelope-from skeetz@8thdeadlysim.com) From: "skeetz" To: "java-freebsd" Subject: RE: building native hotspot Date: Sat, 24 Aug 2002 08:57:37 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200208241252.54654.hexghost@attbi.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org No I have that part built already see below but I don't think that includes the hotspot jvm(s). skeetz %./java -version java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-chad-020823-23:08) Classic VM (build 1.3.1-p7-chad-020823-23:08, green threads, nojit) %./java -client Error: no `client' JVM at `../jre/lib/i386/client/libjvm.so'. %./java -server Error: no `server' JVM at `../jre/lib/i386/server/libjvm.so'. -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Branden Root Sent: Saturday, August 24, 2002 2:53 PM To: freebsd-java@FreeBSD.ORG Subject: Re: building native hotspot Chad, I think you're making this more difficult than it really is. First, you will need the linux jdk to build the native jdk, along with a few other things that you can delete after the native jdk build is complete. All you need to do, after installing the dependancies, is cd to the /usr/ports/java/jdk13 directory, type make install, grab both the files that it asks of you (the actual jdk and the patchset), stick them in your /usr/ports/distfiles, and then make install again. You shouldn't have to edit any makefiles, etc. Branden Root On Friday 23 August 2002 11:38 pm, skeetz wrote: > Hey all, I'm looking at the java options again for Freebsd. I'm trying to > build the hotspot for my jdk13 port. I found this message instructing me > how to do it. > > http://www.geocrawler.com/lists/3/FreeBSD/162/0/9147806/ > > I'm running a 4.3 box and a 4.6 release, but I'm trying to get things > working on my 4.3 box for testing purposes. If I go into > /usr/ports/java/jdk13/work/hotspot1.3.1/build/ , I see that there is a bsd > directory now. Is that the one I'm supposed to use instead of linux? > > USING BSD DIRECTORY > > I first had to edit ./makefiles/top.make and add in > > DISABLE_HOTSPOT_OS_VERSION_CHECK=ok > > then I > setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.3.1/ > > is this right? building hot spot requires the linux sun jvm? why can't I > use the one I just made /usr/local/jdk1.3.1? > > then I try running gmake core and I get > > gmake[1]: Entering directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake[2]: Entering directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > Compiling > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp > In file included from ../generated/incls/_functionAtStart.cpp.incl:2, > from > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp:18: > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:27: wchar.h: No such file or directory > In file included from ../generated/incls/_functionAtStart.cpp.incl:2, > from > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp:18: > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:91: integer constant out of range > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:92: integer constant out of range > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp: In function `int g_isnan(double)': > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:107: implicit declaration of function `int isnand(...)' > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp: In function `int wcslen(const jchar *)': > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:123: passing `const __wchar_t *' as argument 1 of > `wcslen(const jchar *)' > gmake[2]: *** [functionAtStart.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake[1]: *** [the_vm] Error 2 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake: *** [jvmgcore] Error 2 > > USING LINUX DIRECTORY > > sh > /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makef >i les/buildATree.sh core > /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 > gmake: *** [linux_i486_core/jvmg] Error 1 > > SUMMARY > > I can't seem to figure out how I am supposed to do this. Is the problem > that I'm running Freebsd STABLE? I would appreciate if someone pointed me > in the right direction. > > Also, now that we have a licence to distribute a native FreeBSD version of > java, doesn't that mean that we should be able to download just the > binaries instead of downloading the src and building all of the code? If > not, then what exactly does it mean? > > Chad Skeeters > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message