From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 08:20:29 2005 Return-Path: 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 7136916A4CE for ; Sun, 17 Apr 2005 08:20:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4459443D2F for ; Sun, 17 Apr 2005 08:20:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3H8KTpG061497 for ; Sun, 17 Apr 2005 08:20:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3H8KTh5061495; Sun, 17 Apr 2005 08:20:29 GMT (envelope-from gnats) Date: Sun, 17 Apr 2005 08:20:29 GMT Message-Id: <200504170820.j3H8KTh5061495@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Samedi Subject: Re: java/80009: jdk14 won't compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Samedi List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 08:20:29 -0000 The following reply was made to PR java/80009; it has been noted by GNATS. From: Samedi To: bug-followup@FreeBSD.org, samedii@gmail.com Cc: Subject: Re: java/80009: jdk14 won't compile Date: Sun, 17 Apr 2005 10:11:08 +0200 To solve this error I patched the /usr/ports/java/jdk14 to the latest version (it was previously using patchset 6 when the latest was patchset 7). By downloading the latest port from ftp.freebsd.org it suddenly worked. From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 16:05:57 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B70D616A4CE; Sun, 17 Apr 2005 16:05:57 +0000 (GMT) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A82943D45; Sun, 17 Apr 2005 16:05:57 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 88705149F7; Sun, 17 Apr 2005 11:05:56 -0500 (CDT) Date: Sun, 17 Apr 2005 11:05:56 -0500 (CDT) From: Mark Linimon X-X-Sender: linimon@pancho To: Samedi In-Reply-To: <200504170820.j3H8KTh5061495@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-gnats-submit@FreeBSD.org cc: freebsd-java@FreeBSD.org Subject: Re: java/80009: jdk14 won't compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 16:05:57 -0000 So does that mean this problem report can be closed? From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 16:10:25 2005 Return-Path: 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 397D516A4CE for ; Sun, 17 Apr 2005 16:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EA2B43D41 for ; Sun, 17 Apr 2005 16:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3HGAOg3024328 for ; Sun, 17 Apr 2005 16:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3HGAOHC024327; Sun, 17 Apr 2005 16:10:24 GMT (envelope-from gnats) Date: Sun, 17 Apr 2005 16:10:24 GMT Message-Id: <200504171610.j3HGAOHC024327@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Mark Linimon Subject: Re: java/80009: jdk14 won't compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Linimon List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 16:10:25 -0000 The following reply was made to PR java/80009; it has been noted by GNATS. From: Mark Linimon To: Samedi Cc: freebsd-java@FreeBSD.org, Subject: Re: java/80009: jdk14 won't compile Date: Sun, 17 Apr 2005 11:05:56 -0500 (CDT) So does that mean this problem report can be closed? From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 17:04:00 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EABED16A4CE for ; Sun, 17 Apr 2005 17:04:00 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E073A43D5C for ; Sun, 17 Apr 2005 17:03:59 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DND7s-0004IF-M7 for freebsd-java@freebsd.org; Sun, 17 Apr 2005 19:00:04 +0200 Received: from e-0.ar4.dp.ukrtel.net ([195.5.61.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2005 19:00:04 +0200 Received: from alexander.prohorenko by e-0.ar4.dp.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2005 19:00:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: "Alexander Prohorenko" Date: Sun, 17 Apr 2005 19:15:07 +0300 Lines: 33 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e-0.ar4.dp.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300 Sender: news Subject: HTML -> Java Browser -> PDF printer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 17:04:01 -0000 SGkuDQoNCkkndmUgZ290IGEgYmlnIHNpdGUsIGNvbXBsZXRlbHkgaW4gSFRNTCAoSlNQKSB3aXRo IENTUywgZXRjLiBJJ3ZlIGdvdCBhIHRhc2sgdG8gYXV0b21hdGljYWxseSBnZW5lcmF0ZSBQREYg ZnJvbSBhbnkgb2YgdGhlIFVSTCBvZiB0aGlzIHNpdGUuDQoNClhNTC1GTyAtIGlzIG5vdCBhbiBh bnN3ZXIuIEZpcnN0IG9mIGFsbCwgdGhlIHdheSBIVE1MLUZPLVBERiBpc24ndCB2ZXJ5IHNob3J0 LCBhbmQgYmVzaWRlcywgaXQgZG9lc24ndCB1bmRlcnN0YW5kIGEgbG90IG9mIEhUTUwgZXh0ZW5z aW9ucywgYXMgd2VsbCBhcyBDU1NlcywgZXRjLg0KDQpIVE1MRE9DIC0gaXMgbm90IGFuIGFuc3dl ciwgdG9vLiBJdCBnZW5lcmF0ZXMgdG9vIHRlcnJpYmxlIFBERiBzb21ldGltZXMsIGJlc2lkZXMs IGRvZXNuJ3Qga25vdyB3aGF0IENTUywgdG9vLg0KDQpUaGUgbGFzdCB0aGluZyB3aGljaCBjb21l cyBpbnRvIG15IG1pbmQgaXMgYSBzZXJ2ZXItc2lkZSBIVE1MIHByaW50aW5nIHRvIFBERiBwcmlu dGVyLiBUaGUgcmVzdWx0IGlzIHRoZSBnb29kLWxvb2tpbmcgaW4gbW9zdCBjYXNlcy4gSG93ZXZl ciwgdGhlcmUgaXMgYW5vdGhlciBwcm9ibGVtLCBpcyBob3cgdG8gZG8gdGhpcyBKYXZhIHNlcnZl ci1zaWRlIHByaW50aW5nIG9mIEhUTUwsIGFzIEhUTUwgc2hvdWxkIGJlIHJlbmRlcmVkICghKSBm aXJzdCAoYW5kIHRoaXMgc2hvdWxkIGJlIGRvbmUgYXV0b21hdGljYWxseSEpLiBBcyBmb3IgdGhl IGZyZWUgc29mdHdhcmUsIHRoZSBvbmx5IHRoaW5nIHdoaWNoIEkgZm91bmQgaXMgSlJleCwgYnV0 IGl0J3MgcHJldHR5IHdldCBhbmQgSSBiZWxpZXZlIGl0J2QgYmUgYmFkIGluIHRoZSBhdXRvbWF0 aWMgbW9kZSBydW5uaW5nIG9uIHByb2R1Y3Rpb24gc2VydmVyLiBVbmZvcnR1bmV0bHksIHdlIGNh bid0IGFsbG93IGNvbW1lcmNpYWwgc29mdHdhcmUgYXQgdGhpcyBtb21lbnQuDQoNCkkndmUgYWxz byB0cmllZCBIb3RKYXZhIGZyb20gcG9ydHMgKHNvbWVib2R5IHRvbGQgbWUgdGhhdCBpdCBjYW4g d29yayBvdXQgZm9yIHRoaXMgdGFzaykgYnV0IGl0IGRvZXNuJ3Qgc3RhcnQgYXQgYWxsIGFuZCBz aG93cyB0aGUgZm9sbG93aW4gZXJyb3I6DQoNCi91c3IvbG9jYWwvamRrMS4xLjgvbGliL2kzODYv Z3JlZW5fdGhyZWFkcy9saWJhd3Quc286IFVuZGVmaW5lZCBzeW1ib2wgInhtRHJhd2luZ0FyZWFX aWRnZXRDbGFzcyIgKGxpYmF3dC5zbykNCmphdmEubGFuZy5VbnNhdGlzZmllZExpbmtFcnJvcjog bm8gYXd0IGluIHNoYXJlZCBsaWJyYXJ5IHBhdGgNCiAgICAgICAgYXQgamF2YS5sYW5nLlJ1bnRp bWUubG9hZExpYnJhcnkoUnVudGltZS5qYXZhKQ0KICAgICAgICBhdCBqYXZhLmxhbmcuU3lzdGVt LmxvYWRMaWJyYXJ5KFN5c3RlbS5qYXZhKQ0KICAgICAgICBhdA0KICAgICAgICBhdCBqYXZhLmF3 dC5Ub29sa2l0LmdldERlZmF1bHRUb29sa2l0KFRvb2xraXQuamF2YTozOTkpDQogICAgICAgIGF0 IHN1bncuaG90amF2YS51aS5TcGxhc2hJbWFnZS48aW5pdD4oU3BsYXNoRnJhbWUuamF2YTo3NSkN CiAgICAgICAgYXQgc3Vudy5ob3RqYXZhLnVpLlNwbGFzaEZyYW1lLjxpbml0PihTcGxhc2hGcmFt ZS5qYXZhOjQ4KQ0KICAgICAgICBhdCBzdW53LmhvdGphdmEuTWFpbi5tYWluKE1haW4uamF2YTo4 NSkNCg0KSGF2ZSBhbnlib2R5IHRyaWVkIHRvIHNvbHZlIHRoaXMgcHJvYmxlbSBhbmQgaGFkIGFu eW9uZSBzdWNlZWRlZD8gSSdkIGJlIHZlcnkgdGhhbmtmdWwgZm9yIGFueSBzdWdnZXN0aW9uLiAN Cg0KVGhhbmsgeW91ISANCg0KLS0gQWxleGFuZGVyIFByb2hvcmVua28uDQo= From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 17:15:44 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 016DD16A4CE; Sun, 17 Apr 2005 17:15:44 +0000 (GMT) Received: from redqueen.evilcoder-services.org (redqueen.evilcoder-services.org [217.148.169.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94AA943D1D; Sun, 17 Apr 2005 17:15:43 +0000 (GMT) (envelope-from remko@freebsd.org) Received: from localhost (localhost [127.0.0.1])AE46829545C; Sun, 17 Apr 2005 19:15:42 +0200 (CEST) Received: from redqueen.evilcoder-services.org ([127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 59623-10; Sun, 17 Apr 2005 19:15:42 +0200 (CEST) Message-ID: <426299D9.7070003@FreeBSD.org> Date: Sun, 17 Apr 2005 19:16:09 +0200 From: Remko Lodder User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: glewis@FreeBSD.org, java@FreeBSD.org, phantom@FreeBSD.org Content-Type: multipart/mixed; boundary="------------060407050601010509070205" X-Virus-Scanned: by the evilcoder-services.org maildomain Subject: [VuXML]: Regarding jdk vulnerabilities X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 17:15:44 -0000 This is a multi-part message in MIME format. --------------060407050601010509070205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello jdk,ibm-jdk,sun-jdk,blackdown-jdk and diablo-jdk maintainers, As recently documented in the FreeBSD VuXML document [1] there is a security vulnerability in jdk and related ports. There is no known patch available yet. Please update the port as soon as possible. Thanks in advance. [1] http://vuxml.freebsd.org/18e5428f-ae7c-11d9-837d-000e0c2e438a.html -- Kind regards, Remko Lodder ** remko@elvandar.org Reporter DSINET ** remko@DSINet.org Founder Tienervaders ** remko@tienervaders.org FreeBSD Documentation Project ** remko@FreeBSD.org --------------060407050601010509070205 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="file:///tmp/nsmail.tmp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="file:///tmp/nsmail.tmp" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCYpPLh9pcDSc1mlERAjPaAJ945NhxkRowciImx3ZdqpnuMcRZfgCggtM9 tkZDoiGWSkkI+DEjBF6Fd/4= =3GlG -----END PGP SIGNATURE----- --------------060407050601010509070205-- From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 18:01:05 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA28016A4CF for ; Sun, 17 Apr 2005 18:01:05 +0000 (GMT) Received: from apate.telenet-ops.be (apate.telenet-ops.be [195.130.132.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E252643D2D for ; Sun, 17 Apr 2005 18:01:04 +0000 (GMT) (envelope-from w_beheydt@telenet.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by apate.telenet-ops.be (Postfix) with SMTP id 7F886381D8; Sun, 17 Apr 2005 20:01:03 +0200 (CEST) Received: from [192.168.1.24] (d54C237A2.access.telenet.be [84.194.55.162]) by apate.telenet-ops.be (Postfix) with ESMTP id 3878538166; Sun, 17 Apr 2005 20:01:03 +0200 (CEST) Message-ID: <4262A402.8000508@telenet.be> Date: Sun, 17 Apr 2005 19:59:30 +0200 From: Wouter Beheydt User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Prohorenko References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: HTML -> Java Browser -> PDF printer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: w_beheydt@telenet.be List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 18:01:06 -0000 Alexander Prohorenko wrote: >Hi. > >I've got a big site, completely in HTML (JSP) with CSS, etc. I've got a task to automatically generate PDF from any of the URL of this site. > >XML-FO - is not an answer. First of all, the way HTML-FO-PDF isn't very short, and besides, it doesn't understand a lot of HTML extensions, as well as CSSes, etc. > >HTMLDOC - is not an answer, too. It generates too terrible PDF sometimes, besides, doesn't know what CSS, too. > >The last thing which comes into my mind is a server-side HTML printing to PDF printer. The result is the good-looking in most cases. However, there is another problem, is how to do this Java server-side printing of HTML, as HTML should be rendered (!) first (and this should be done automatically!). As for the free software, the only thing which I found is JRex, but it's pretty wet and I believe it'd be bad in the automatic mode running on production server. Unfortunetly, we can't allow commercial software at this moment. > >I've also tried HotJava from ports (somebody told me that it can work out for this task) but it doesn't start at all and shows the followin error: > >/usr/local/jdk1.1.8/lib/i386/green_threads/libawt.so: Undefined symbol "xmDrawingAreaWidgetClass" (libawt.so) >java.lang.UnsatisfiedLinkError: no awt in shared library path > at java.lang.Runtime.loadLibrary(Runtime.java) > at java.lang.System.loadLibrary(System.java) > at > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:399) > at sunw.hotjava.ui.SplashImage.(SplashFrame.java:75) > at sunw.hotjava.ui.SplashFrame.(SplashFrame.java:48) > at sunw.hotjava.Main.main(Main.java:85) > >Have anybody tried to solve this problem and had anyone suceeded? I'd be very thankful for any suggestion. > >Thank you! > >-- Alexander Prohorenko. > > >------------------------------------------------------------------------ > >_______________________________________________ >freebsd-java@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-java >To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > Alexander, I don't understand exactly what you're trying to do. If you're talking about generating pdf in java, perhaps try iText. I use it to generate pdf documents from database content on my site. http://www.lowagie.com/iText/ Greetz, Wouter From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 18:53:55 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6225B16A4CE for ; Sun, 17 Apr 2005 18:53:55 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573F643D5F for ; Sun, 17 Apr 2005 18:53:54 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DNEph-0007ZM-Qu for freebsd-java@freebsd.org; Sun, 17 Apr 2005 20:49:25 +0200 Received: from e-0.ar4.dp.ukrtel.net ([195.5.61.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2005 20:49:25 +0200 Received: from alexander.prohorenko by e-0.ar4.dp.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2005 20:49:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: "Alexander Prohorenko" Date: Sun, 17 Apr 2005 21:52:07 +0300 Lines: 56 Message-ID: References: <4262A402.8000508@telenet.be> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: base64 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e-0.ar4.dp.ukrtel.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300 Sender: news Subject: Re: HTML -> Java Browser -> PDF printer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 18:53:55 -0000 WW91IGRpZG4ndCBnZXQgdGhlIGlkZWEsIHNvcnJ5LiAgSSd2ZSBnb3QgYSBiaWcgc2l0ZSB3aXRo IGNvbnRlbnQgaW4gSFRNTCBhbmQgSSB3YW50IHRvIGhhdmUgYSBwb3NzaWJpbGl0eSB0byBzZWUg YW55IHBhZ2UgaW4gUERGICh1c2luZyB0aGUgZXhpc3RpbmcgSFRNTCBjb250ZXh0ISkuICBVbmZv cnR1bmV0bHksIGlUZXh0J3MgcG9zc2liaWxpdHkgb2YgY29udmVydGluZyBIVE1MIHRvIFBERiBp cyBwcmV0dHkgcG9vci4NCg0KIldvdXRlciBCZWhleWR0IiA8d19iZWhleWR0QHRlbGVuZXQuYmU+ IHdyb3RlIGluIG1lc3NhZ2UgbmV3czo0MjYyQTQwMi44MDAwNTA4QHRlbGVuZXQuYmUuLi4NCj4g QWxleGFuZGVyIFByb2hvcmVua28gd3JvdGU6DQo+IA0KPiA+SGkuDQo+ID4NCj4gPkkndmUgZ290 IGEgYmlnIHNpdGUsIGNvbXBsZXRlbHkgaW4gSFRNTCAoSlNQKSB3aXRoIENTUywgZXRjLiBJJ3Zl IGdvdCBhIHRhc2sgdG8gYXV0b21hdGljYWxseSBnZW5lcmF0ZSBQREYgZnJvbSBhbnkgb2YgdGhl IFVSTCBvZiB0aGlzIHNpdGUuDQo+ID4NCj4gPlhNTC1GTyAtIGlzIG5vdCBhbiBhbnN3ZXIuIEZp cnN0IG9mIGFsbCwgdGhlIHdheSBIVE1MLUZPLVBERiBpc24ndCB2ZXJ5IHNob3J0LCBhbmQgYmVz aWRlcywgaXQgZG9lc24ndCB1bmRlcnN0YW5kIGEgbG90IG9mIEhUTUwgZXh0ZW5zaW9ucywgYXMg d2VsbCBhcyBDU1NlcywgZXRjLg0KPiA+DQo+ID5IVE1MRE9DIC0gaXMgbm90IGFuIGFuc3dlciwg dG9vLiBJdCBnZW5lcmF0ZXMgdG9vIHRlcnJpYmxlIFBERiBzb21ldGltZXMsIGJlc2lkZXMsIGRv ZXNuJ3Qga25vdyB3aGF0IENTUywgdG9vLg0KPiA+DQo+ID5UaGUgbGFzdCB0aGluZyB3aGljaCBj b21lcyBpbnRvIG15IG1pbmQgaXMgYSBzZXJ2ZXItc2lkZSBIVE1MIHByaW50aW5nIHRvIFBERiBw cmludGVyLiBUaGUgcmVzdWx0IGlzIHRoZSBnb29kLWxvb2tpbmcgaW4gbW9zdCBjYXNlcy4gSG93 ZXZlciwgdGhlcmUgaXMgYW5vdGhlciBwcm9ibGVtLCBpcyBob3cgdG8gZG8gdGhpcyBKYXZhIHNl cnZlci1zaWRlIHByaW50aW5nIG9mIEhUTUwsIGFzIEhUTUwgc2hvdWxkIGJlIHJlbmRlcmVkICgh KSBmaXJzdCAoYW5kIHRoaXMgc2hvdWxkIGJlIGRvbmUgYXV0b21hdGljYWxseSEpLiBBcyBmb3Ig dGhlIGZyZWUgc29mdHdhcmUsIHRoZSBvbmx5IHRoaW5nIHdoaWNoIEkgZm91bmQgaXMgSlJleCwg YnV0IGl0J3MgcHJldHR5IHdldCBhbmQgSSBiZWxpZXZlIGl0J2QgYmUgYmFkIGluIHRoZSBhdXRv bWF0aWMgbW9kZSBydW5uaW5nIG9uIHByb2R1Y3Rpb24gc2VydmVyLiBVbmZvcnR1bmV0bHksIHdl IGNhbid0IGFsbG93IGNvbW1lcmNpYWwgc29mdHdhcmUgYXQgdGhpcyBtb21lbnQuDQo+ID4NCj4g PkkndmUgYWxzbyB0cmllZCBIb3RKYXZhIGZyb20gcG9ydHMgKHNvbWVib2R5IHRvbGQgbWUgdGhh dCBpdCBjYW4gd29yayBvdXQgZm9yIHRoaXMgdGFzaykgYnV0IGl0IGRvZXNuJ3Qgc3RhcnQgYXQg YWxsIGFuZCBzaG93cyB0aGUgZm9sbG93aW4gZXJyb3I6DQo+ID4NCj4gPi91c3IvbG9jYWwvamRr MS4xLjgvbGliL2kzODYvZ3JlZW5fdGhyZWFkcy9saWJhd3Quc286IFVuZGVmaW5lZCBzeW1ib2wg InhtRHJhd2luZ0FyZWFXaWRnZXRDbGFzcyIgKGxpYmF3dC5zbykNCj4gPmphdmEubGFuZy5VbnNh dGlzZmllZExpbmtFcnJvcjogbm8gYXd0IGluIHNoYXJlZCBsaWJyYXJ5IHBhdGgNCj4gPiAgICAg ICAgYXQgamF2YS5sYW5nLlJ1bnRpbWUubG9hZExpYnJhcnkoUnVudGltZS5qYXZhKQ0KPiA+ICAg ICAgICBhdCBqYXZhLmxhbmcuU3lzdGVtLmxvYWRMaWJyYXJ5KFN5c3RlbS5qYXZhKQ0KPiA+ICAg ICAgICBhdA0KPiA+ICAgICAgICBhdCBqYXZhLmF3dC5Ub29sa2l0LmdldERlZmF1bHRUb29sa2l0 KFRvb2xraXQuamF2YTozOTkpDQo+ID4gICAgICAgIGF0IHN1bncuaG90amF2YS51aS5TcGxhc2hJ bWFnZS48aW5pdD4oU3BsYXNoRnJhbWUuamF2YTo3NSkNCj4gPiAgICAgICAgYXQgc3Vudy5ob3Rq YXZhLnVpLlNwbGFzaEZyYW1lLjxpbml0PihTcGxhc2hGcmFtZS5qYXZhOjQ4KQ0KPiA+ICAgICAg ICBhdCBzdW53LmhvdGphdmEuTWFpbi5tYWluKE1haW4uamF2YTo4NSkNCj4gPg0KPiA+SGF2ZSBh bnlib2R5IHRyaWVkIHRvIHNvbHZlIHRoaXMgcHJvYmxlbSBhbmQgaGFkIGFueW9uZSBzdWNlZWRl ZD8gSSdkIGJlIHZlcnkgdGhhbmtmdWwgZm9yIGFueSBzdWdnZXN0aW9uLiANCj4gPg0KPiA+VGhh bmsgeW91ISANCj4gPg0KPiA+LS0gQWxleGFuZGVyIFByb2hvcmVua28uDQo+ID4gIA0KPiA+DQo+ ID4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0NCj4gPg0KPiA+X19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX18NCj4gPmZyZWVic2QtamF2YUBmcmVlYnNkLm9yZyBtYWlsaW5nIGxp c3QNCj4gPmh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2Qt amF2YQ0KPiA+VG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtamF2YS11 bnN1YnNjcmliZUBmcmVlYnNkLm9yZyINCj4gPiAgDQo+ID4NCj4gQWxleGFuZGVyLA0KPiANCj4g SSBkb24ndCB1bmRlcnN0YW5kIGV4YWN0bHkgd2hhdCB5b3UncmUgdHJ5aW5nIHRvIGRvLiBJZiB5 b3UncmUgdGFsa2luZyANCj4gYWJvdXQgZ2VuZXJhdGluZyBwZGYgaW4gamF2YSwgcGVyaGFwcyB0 cnkgaVRleHQuICBJIHVzZSBpdCB0byBnZW5lcmF0ZSANCj4gcGRmIGRvY3VtZW50cyBmcm9tIGRh dGFiYXNlIGNvbnRlbnQgb24gbXkgc2l0ZS4NCj4gDQo+IGh0dHA6Ly93d3cubG93YWdpZS5jb20v aVRleHQvDQo+IA0KPiBHcmVldHosDQo+IFdvdXRlcg0KPiBfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBmcmVlYnNkLWphdmFAZnJlZWJzZC5vcmcgbWFp bGluZyBsaXN0DQo+IGh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Zy ZWVic2QtamF2YQ0KPiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1q YXZhLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0KPiANCg== From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 18:56:02 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1869516A4CF for ; Sun, 17 Apr 2005 18:56:02 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CAAD643D4C for ; Sun, 17 Apr 2005 18:55:58 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 17 Apr 2005 18:55:56 -0000 Received: from dsl-084-056-160-012.arcor-ip.net (EHLO beaster) [84.56.160.12] by mail.gmx.net (mp022) with SMTP; 17 Apr 2005 20:55:56 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Mike Harding In-Reply-To: <20050414132821.90338170B1@bsd.mvh> References: <20050414132821.90338170B1@bsd.mvh> Content-Type: text/plain Organization: Wohnzimmerrechenzentrum Date: Sun, 17 Apr 2005 20:55:56 +0200 Message-Id: <1113764156.836.6.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: gnome@freebsd.org cc: java@freebsd.org Subject: Re: eclipse doesn't build? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 18:56:02 -0000 On Thu, 2005-04-14 at 06:28 -0700, Mike Harding wrote: Hi Mike, > Eclipse doesn't build right now, these seems to be gnome related... > > Script started on Thu Apr 14 06:23:31 2005 > bsd# make > ===> Vulnerability check disabled, database not found > ===> Extracting for eclipse-3.0.1_4 > => Checksum OK for eclipse/eclipse-sourceBuild-srcIncluded-3.0.1.zip. > ===> eclipse-3.0.1_4 depends on executable: unzip - found > ===> Patching for eclipse-3.0.1_4 > ===> Applying FreeBSD patches for eclipse-3.0.1_4 > ===> eclipse-3.0.1_4 depends on executable: ant - found > ===> eclipse-3.0.1_4 depends on executable: zip - found > ===> eclipse-3.0.1_4 depends on executable: unzip - found > ===> eclipse-3.0.1_4 depends on executable: mozilla - found > ===> eclipse-3.0.1_4 depends on file: /usr/local/jdk1.4.2/bin/java - found > ===> eclipse-3.0.1_4 depends on executable: gmake - found > ===> eclipse-3.0.1_4 depends on file: /usr/local/bin/intltool-extract - found > ===> eclipse-3.0.1_4 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found > ===> eclipse-3.0.1_4 depends on executable: pkg-config - found > ===> eclipse-3.0.1_4 depends on shared library: esd.2 - found > ===> eclipse-3.0.1_4 depends on shared library: atk-1.0.901 - found > ===> eclipse-3.0.1_4 depends on shared library: gconf-2.5 - found > ===> eclipse-3.0.1_4 depends on shared library: glib-2.0.600 - found > ===> eclipse-3.0.1_4 depends on shared library: gnomevfs-2.1000 - found > ===> eclipse-3.0.1_4 depends on shared library: gtk-x11-2.0.600 - found > ===> eclipse-3.0.1_4 depends on shared library: art_lgpl_2.5 - found > ===> eclipse-3.0.1_4 depends on shared library: bonobo-2.0 - found > ===> eclipse-3.0.1_4 depends on shared library: bonoboui-2.0 - found > ===> eclipse-3.0.1_4 depends on shared library: glade-2.0.0 - found > ===> eclipse-3.0.1_4 depends on shared library: gnome-2.1000 - found > ===> eclipse-3.0.1_4 depends on shared library: gnomecanvas-2.1000 - found > ===> eclipse-3.0.1_4 depends on shared library: gnomeui-2.1000 - found > ===> eclipse-3.0.1_4 depends on shared library: IDL-2.0 - found > ===> eclipse-3.0.1_4 depends on shared library: xml2.5 - found > ===> eclipse-3.0.1_4 depends on shared library: xslt.2 - found > ===> eclipse-3.0.1_4 depends on shared library: linc.1 - found > ===> eclipse-3.0.1_4 depends on shared library: ORBit-2.0 - found > ===> eclipse-3.0.1_4 depends on shared library: pango-1.0.800 - found > ===> Configuring for eclipse-3.0.1_4 > Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_freebsd.properties > Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux_gtk.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_freebsd_gtk.properties > Copying plugins/platform-launcher/library/motif/make_linux.mak into plugins/platform-launcher/library/motif/make_freebsd.mak > Copying assemble.org.eclipse.sdk.linux.motif.x86.xml into assemble.org.eclipse.sdk.freebsd.motif.x86.xml > Copying assemble.org.eclipse.sdk.linux.gtk.x86.xml into assemble.org.eclipse.sdk.freebsd.gtk.x86.xml > Copying plugins/org.eclipse.pde.source.linux.gtk.x86 into plugins/org.eclipse.pde.source.freebsd.gtk.x86 > Copying plugins/org.eclipse.pde.source.linux.motif.x86 into plugins/org.eclipse.pde.source.freebsd.motif.x86 > Copying plugins/org.eclipse.platform.source.linux.motif.x86 into plugins/org.eclipse.platform.source.freebsd.motif.x86 > Copying plugins/org.eclipse.swt.motif/os/linux into plugins/org.eclipse.swt.motif/os/freebsd > Copying plugins/org.eclipse.jdt.source.linux.motif.x86 into plugins/org.eclipse.jdt.source.freebsd.motif.x86 > Copying plugins/org.eclipse.platform.source.linux.gtk.x86 into plugins/org.eclipse.platform.source.freebsd.gtk.x86 > Copying plugins/org.eclipse.jdt.source.linux.gtk.x86 into plugins/org.eclipse.jdt.source.freebsd.gtk.x86 > Copying plugins/org.eclipse.update.core.linux into plugins/org.eclipse.update.core.freebsd > Copying plugins/org.eclipse.update.core.linux/os/linux into plugins/org.eclipse.update.core.freebsd/os/freebsd > Copying plugins/org.eclipse.core.resources.linux into plugins/org.eclipse.core.resources.freebsd > Copying plugins/org.eclipse.core.resources.linux/os/linux into plugins/org.eclipse.core.resources.freebsd/os/freebsd > Copying plugins/org.eclipse.swt.gtk/os/linux into plugins/org.eclipse.swt.gtk/os/freebsd > Copying plugins/platform-launcher/bin/linux into plugins/platform-launcher/bin/freebsd > Copying features/org.eclipse.platform/linux.motif into features/org.eclipse.platform/freebsd.motif > ===> Building for eclipse-3.0.1_4 > ===> Building libswt. > cd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" && \ > /bin/sh ./build.sh && \ > /bin/cp *.so ../../../../org.eclipse.swt.gtk/os/freebsd/x86/ > gmake[1]: Entering directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library' > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c swt.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c callback.c > cc -shared -fpic -o libswt-gtk-3063.so swt.o callback.o > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_structs.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_custom.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_stats.c > cc -shared -fpic `pkg-config --libs gtk+-2.0 gthread-2.0` -L/usr/X11R6/lib -lXtst -o libswt-pi-gtk-3063.so swt.o os.o os_structs.o os_custom.o os_stats.o > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_structs.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_custom.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_stats.c > cc -shared -fpic `pkg-config --libs atk gtk+-2.0` -o libswt-atk-gtk-3063.so swt.o atk.o atk_structs.o atk_custom.o atk_stats.o > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_structs.c > cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_stats.c > cc -shared -fpic `pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -o libswt-gnome-gtk-3063.so swt.o gnome.o gnome_structs.o gnome_stats.o > /usr/bin/ld: cannot find -lpopt > gmake[1]: *** [libswt-gnome-gtk-3063.so] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library' > gmake: *** [libswt] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/eclipse. just ran into exactly the same Problem. Compiling the Motif-Version works fine, the GTK-Version stopped. In order to get it compile again I just changed (well, more hacked) the file /usr/X11R6/libdata/pkgconfig/libgnome-2.0.pc In the Line Libs: -L${libdir} -lgnome-2 -lpopt I added a -L/usr/local/lib (as that's were libpopt.so is located). Libs: -L${libdir} -L/usr/local/lib -lgnome-2 -lpopt Then Eclipse/GTK compiled fine. However, I put-back a Backup of the libgnome-2.0.pc after the Compile so some portupgrade might correct that ;-) HTH, cheers, _ralf_ From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 19:06:25 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D93F16A4ED for ; Sun, 17 Apr 2005 19:06:25 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id D966243D39 for ; Sun, 17 Apr 2005 19:06:24 +0000 (GMT) (envelope-from toby.murray@gmail.com) Received: by zproxy.gmail.com with SMTP id 13so1196405nzn for ; Sun, 17 Apr 2005 12:06:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kSSLA22FLstwoJXoNQ4ffYyUWe5xbfM7gfmYR/dGBUeygfZ+6G374DD2ORnbVhQNtwlwnYd3Ieyk/Scaf4UYmP7GHIc/UCfFmtnVcPyUunHnKOBeyJ/JCBFIL5lOU+ykC9dpopy0KX10COqFGeQh/JLmEmvlbumad4C1I/lN9UI= Received: by 10.36.9.5 with SMTP id 5mr311870nzi; Sun, 17 Apr 2005 12:06:24 -0700 (PDT) Received: by 10.36.18.6 with HTTP; Sun, 17 Apr 2005 12:06:24 -0700 (PDT) Message-ID: <324cec6d05041712065a3ff926@mail.gmail.com> Date: Sun, 17 Apr 2005 14:06:24 -0500 From: Toby Murray To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: java crashing when load average is high X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Toby Murray List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 19:06:25 -0000 Hi, I am working on getting a new server online. It is a Dell Poweredge with dual HT Xeons and 1GB of RAM. We are running FreeBSD 5.4-RC1 and java 1.4.2_08. java version "1.4.2_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) I have a java program that reads XML files over an HTTP stream and inserts data from them into a mysql database. After getting java up and running everything appeared to be working normally at first and the program ran fine. But then I tried running it while something else was compiling and the load average was up around 5 or 6.=20 Suddenly the behavior of the JVM became extremely erratic. Sometimes the whole JVM dumps with a signal 11 and leaves the following in = dmsg: kernel trap 12 with interrupts disabled Other times the program throws random exceptions. I have seen 5 or 6 different exceptions being thrown at seemingly random places in the code while parsing the same data. A third behavior is for java to go into what appears to be an infinite loop somewhere. Usually when my program runs, there is one java thread and one mysql process that each take up ~70% of one CPU. When things start looping, 2 java processes start sucking up as much CPU as they can and mysql drops to nothing. This continues until I pull out the kill -9. So to summarize it all: java works fine if it is the only thing running If the box is already under load, java malfunctions in one of 3 ways: Signal 11, random Exception thrown or it starts looping without getting anything done. Any clues? I see several other threads on the list about signal 11 problems but I didn't see anything about the problems being related to load. Let me know if you need more info on something. Thanks, Toby From owner-freebsd-java@FreeBSD.ORG Sun Apr 17 21:51:44 2005 Return-Path: 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 64AC516A4CF; Sun, 17 Apr 2005 21:51:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B17E43D1F; Sun, 17 Apr 2005 21:51:44 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3HLpisS061477; Sun, 17 Apr 2005 21:51:44 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3HLpina061473; Sun, 17 Apr 2005 21:51:44 GMT (envelope-from linimon) Date: Sun, 17 Apr 2005 21:51:44 GMT From: Mark Linimon Message-Id: <200504172151.j3HLpina061473@freefall.freebsd.org> To: samedii@gmail.com, linimon@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/80009: jdk14 won't compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 21:51:44 -0000 Synopsis: jdk14 won't compile State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Sun Apr 17 21:51:23 GMT 2005 State-Changed-Why: Closed at submitter's request. http://www.freebsd.org/cgi/query-pr.cgi?pr=80009 From owner-freebsd-java@FreeBSD.ORG Mon Apr 18 00:36:35 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68B3516A4CE for ; Mon, 18 Apr 2005 00:36:35 +0000 (GMT) Received: from pop-a065c10.pas.sa.earthlink.net (pop-a065c10.pas.sa.earthlink.net [207.217.121.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2902D43D41 for ; Mon, 18 Apr 2005 00:36:35 +0000 (GMT) (envelope-from kwsn@earthlink.net) Received: from dialup-4.240.105.162.dial1.phoenix1.level3.net ([4.240.105.162] helo=jonnyv.kwsn.lan) by pop-a065c10.pas.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1DNKFc-0001nh-00; Sun, 17 Apr 2005 17:36:33 -0700 From: Jon Kuster To: Toby Murray In-Reply-To: <324cec6d05041712065a3ff926@mail.gmail.com> References: <324cec6d05041712065a3ff926@mail.gmail.com> Content-Type: text/plain Date: Sun, 17 Apr 2005 17:36:30 -0700 Message-Id: <1113784590.2757.9.camel@jonnyv.kwsn.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: java crashing when load average is high X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kwsn@earthlink.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 00:36:35 -0000 On Sun, 2005-04-17 at 14:06 -0500, Toby Murray wrote: > Hi, > > I am working on getting a new server online. It is a Dell Poweredge > with dual HT Xeons and 1GB of RAM. We are running FreeBSD 5.4-RC1 and > java 1.4.2_08. Since I'm also helping Toby get this server online, I should note that we're running the amd64 version of RC1 and the linux-sun-jdk14. FreeBSD ni 5.4-RC1 FreeBSD 5.4-RC1 #0: Thu Apr 14 11:34:58 EDT 2005 ruessda@ni:/usr/obj/usr/src/sys/NISMP amd64 > java version "1.4.2_08" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) > Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) > > I have a java program that reads XML files over an HTTP stream and > inserts data from them into a mysql database. After getting java up > and running everything appeared to be working normally at first and > the program ran fine. But then I tried running it while something > else was compiling and the load average was up around 5 or 6. > Suddenly the behavior of the JVM became extremely erratic. > > Sometimes the whole JVM dumps with a signal 11 and leaves the following in dmsg: > kernel trap 12 with interrupts disabled > Other times the program throws random exceptions. I have seen 5 or 6 > different exceptions being thrown at seemingly random places in the > code while parsing the same data. > > A third behavior is for java to go into what appears to be an infinite > loop somewhere. Usually when my program runs, there is one java > thread and one mysql process that each take up ~70% of one CPU. When > things start looping, 2 java processes start sucking up as much CPU as > they can and mysql drops to nothing. This continues until I pull out > the kill -9. > > So to summarize it all: > java works fine if it is the only thing running > If the box is already under load, java malfunctions in one of 3 ways: > Signal 11, random Exception thrown or it starts looping without > getting anything done. > > Any clues? I see several other threads on the list about signal 11 > problems but I didn't see anything about the problems being related to > load. Let me know if you need more info on something. > > Thanks, > Toby From owner-freebsd-java@FreeBSD.ORG Mon Apr 18 11:01:59 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9A0316A4D0 for ; Mon, 18 Apr 2005 11:01:59 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DB2243D3F for ; Mon, 18 Apr 2005 11:01:59 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3IB1xpT093300 for ; Mon, 18 Apr 2005 11:01:59 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3IB1wCD093294 for freebsd-java@freebsd.org; Mon, 18 Apr 2005 11:01:58 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 18 Apr 2005 11:01:58 GMT Message-Id: <200504181101.j3IB1wCD093294@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 11:01:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/07/27] ports/69675 java Eclipse slow typing o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/12/06] ports/74760 java javavmwrapper messes up amavisd-new f [2004/12/21] ports/75348 java Tomcat port overwrites server.xml config o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME f [2003/11/21] ports/59571 java improvements of www/jakarta-tomcat4[1] Ma o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 5 problems total. From owner-freebsd-java@FreeBSD.ORG Wed Apr 20 14:28:50 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94A8116A4CE for ; Wed, 20 Apr 2005 14:28:50 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBEEF43D2D for ; Wed, 20 Apr 2005 14:28:49 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 5339FC13E; Wed, 20 Apr 2005 16:28:49 +0200 (CEST) Date: Wed, 20 Apr 2005 16:28:49 +0200 From: Guido van Rooij To: freebsd-java@freebsd.org Message-ID: <20050420142849.GA58837@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Problems with jdk-1.4.2-p{6,7} X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 14:28:50 -0000 I am running an application called Paros. This is an OSS tool written in Java. When I use it on FreeBSD, it hangs in the following code snippet. void shutdown(boolean compact) throws SQLException { Connection conn = getSingletonConnection(); //CallableStatement psCompact = mConn.prepareCall("SHUTDOWN COMPACT"); CallableStatement psCompact = null; if (compact) { // db is not new and useful for future. Compact it. psCompact = conn.prepareCall("SHUTDOWN COMPACT"); } else { // new need to compact database. just shutdown. psCompact = conn.prepareCall("SHUTDOWN"); } psCompact.execute(); The execute just hangs. When I use it on other platforms (Windows, Solaris), (also 1.4.2) it does not hang. Is this a known problem? -Guido From owner-freebsd-java@FreeBSD.ORG Wed Apr 20 14:39:25 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A43D816A4CE for ; Wed, 20 Apr 2005 14:39:25 +0000 (GMT) Received: from www.enhyper.com (mailgate.enhyper.com [62.49.250.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AA3D43D1D for ; Wed, 20 Apr 2005 14:39:24 +0000 (GMT) (envelope-from iang@iang.org) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.enhyper.com (8.11.6/8.11.6) with SMTP id j3KEceU16888; Wed, 20 Apr 2005 15:38:51 +0100 X-Authentication-Warning: www.enhyper.com: localhost.localdomain [127.0.0.1] didn't use HELO protocol Message-ID: <42666A3D.9040902@iang.org> Date: Wed, 20 Apr 2005 15:42:05 +0100 From: Ian G Organization: http://iang.org/ User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Guido van Rooij References: <20050420142849.GA58837@gvr.gvr.org> In-Reply-To: <20050420142849.GA58837@gvr.gvr.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Problems with jdk-1.4.2-p{6,7} X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 14:39:25 -0000 Guido van Rooij wrote: > psCompact.execute(); > > The execute just hangs. If you send a sig 3 (I think, experiment) to the JVM, it will dump the stack and thread traces and stuff, this may give you enough information to work out where it is hanging. iang ps: kill -3 PID_of_JVM -- News and views on what matters in finance+crypto: http://financialcryptography.com/ From owner-freebsd-java@FreeBSD.ORG Wed Apr 20 14:53:39 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E704E16A4CF for ; Wed, 20 Apr 2005 14:53:39 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D40943D53 for ; Wed, 20 Apr 2005 14:53:39 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j3KErbks078174; Wed, 20 Apr 2005 08:53:37 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j3KEraNR078173; Wed, 20 Apr 2005 08:53:36 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 20 Apr 2005 08:53:36 -0600 From: Greg Lewis To: Ian G Message-ID: <20050420145336.GA78133@misty.eyesbeyond.com> References: <20050420142849.GA58837@gvr.gvr.org> <42666A3D.9040902@iang.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42666A3D.9040902@iang.org> User-Agent: Mutt/1.4.2.1i cc: Guido van Rooij cc: freebsd-java@freebsd.org Subject: Re: Problems with jdk-1.4.2-p{6,7} X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 14:53:40 -0000 On Wed, Apr 20, 2005 at 03:42:05PM +0100, Ian G wrote: > Guido van Rooij wrote: > > > psCompact.execute(); > > > >The execute just hangs. > > If you send a sig 3 (I think, experiment) to the JVM, it > will dump the stack and thread traces and stuff, this may > give you enough information to work out where it is > hanging. Thats correct, SIGQUIT causes a thread dump. You can do it if the code is running interactively with Ctrl-\. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Apr 20 14:54:36 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 534FA16A4CE for ; Wed, 20 Apr 2005 14:54:36 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFDF043D5E for ; Wed, 20 Apr 2005 14:54:35 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j3KEsYii078185; Wed, 20 Apr 2005 08:54:34 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j3KEsXbw078184; Wed, 20 Apr 2005 08:54:33 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 20 Apr 2005 08:54:33 -0600 From: Greg Lewis To: Guido van Rooij Message-ID: <20050420145433.GB78133@misty.eyesbeyond.com> References: <20050420142849.GA58837@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050420142849.GA58837@gvr.gvr.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@FreeBSD.org Subject: Re: Problems with jdk-1.4.2-p{6,7} X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 14:54:36 -0000 On Wed, Apr 20, 2005 at 04:28:49PM +0200, Guido van Rooij wrote: > I am running an application called Paros. This is an OSS tool written > in Java. When I use it on FreeBSD, it hangs in the following code > snippet. > [snip] > > The execute just hangs. > > > When I use it on other platforms (Windows, Solaris), (also 1.4.2) it does not > hang. > > Is this a known problem? No. Are you able to provide a fully functional test case rather than just a snippet? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Apr 20 14:59:18 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ED6716A4CE for ; Wed, 20 Apr 2005 14:59:18 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F75743D1D for ; Wed, 20 Apr 2005 14:59:17 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j3KExF3J078248; Wed, 20 Apr 2005 08:59:16 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j3KExF8Q078247; Wed, 20 Apr 2005 08:59:15 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 20 Apr 2005 08:59:15 -0600 From: Greg Lewis To: Toby Murray Message-ID: <20050420145915.GC78133@misty.eyesbeyond.com> References: <324cec6d05041712065a3ff926@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <324cec6d05041712065a3ff926@mail.gmail.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: java crashing when load average is high X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 14:59:18 -0000 On Sun, Apr 17, 2005 at 02:06:24PM -0500, Toby Murray wrote: > I am working on getting a new server online. It is a Dell Poweredge > with dual HT Xeons and 1GB of RAM. We are running FreeBSD 5.4-RC1 and > java 1.4.2_08. > > java version "1.4.2_08" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) > Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) > > I have a java program that reads XML files over an HTTP stream and > inserts data from them into a mysql database. After getting java up > and running everything appeared to be working normally at first and > the program ran fine. But then I tried running it while something > else was compiling and the load average was up around 5 or 6. > Suddenly the behavior of the JVM became extremely erratic. > > Sometimes the whole JVM dumps with a signal 11 and leaves the following in dmsg: > kernel trap 12 with interrupts disabled > Other times the program throws random exceptions. I have seen 5 or 6 > different exceptions being thrown at seemingly random places in the > code while parsing the same data. > > A third behavior is for java to go into what appears to be an infinite > loop somewhere. Usually when my program runs, there is one java > thread and one mysql process that each take up ~70% of one CPU. When > things start looping, 2 java processes start sucking up as much CPU as > they can and mysql drops to nothing. This continues until I pull out > the kill -9. > > So to summarize it all: > java works fine if it is the only thing running > If the box is already under load, java malfunctions in one of 3 ways: > Signal 11, random Exception thrown or it starts looping without > getting anything done. > > Any clues? I see several other threads on the list about signal 11 > problems but I didn't see anything about the problems being related to > load. Let me know if you need more info on something. Sounds like you are running into a race condition or corruption problem. There are several places this could be, the most likely being the Linux emulation layer. You may be able to use the native 1.4 if its compiled on an x86, but I'm not sure how well that works on amd64. If you were particularly brave you could try the native 1.5 which will compile natively on amd64. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Apr 20 17:30:31 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B6E516A4CE for ; Wed, 20 Apr 2005 17:30:31 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F1143D3F for ; Wed, 20 Apr 2005 17:30:31 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 627FBC131; Wed, 20 Apr 2005 19:30:30 +0200 (CEST) Date: Wed, 20 Apr 2005 19:30:30 +0200 From: Guido van Rooij To: Greg Lewis Message-ID: <20050420173030.GA61118@gvr.gvr.org> References: <20050420142849.GA58837@gvr.gvr.org> <20050420145433.GB78133@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050420145433.GB78133@misty.eyesbeyond.com> cc: freebsd-java@FreeBSD.org Subject: Re: Problems with jdk-1.4.2-p{6,7} X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 17:30:31 -0000 On Wed, Apr 20, 2005 at 08:54:33AM -0600, Greg Lewis wrote: > > > > When I use it on other platforms (Windows, Solaris), (also 1.4.2) it does not > > hang. > > > > Is this a known problem? > > No. Are you able to provide a fully functional test case rather than just > a snippet? Not on short notice. Tomorrow, I'll try to get a stacktrace (as suggested in the other reply). -Guido From owner-freebsd-java@FreeBSD.ORG Thu Apr 21 06:10:10 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E80916A4CE for ; Thu, 21 Apr 2005 06:10:10 +0000 (GMT) Received: from pop-a065c10.pas.sa.earthlink.net (pop-a065c10.pas.sa.earthlink.net [207.217.121.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id D095743D31 for ; Thu, 21 Apr 2005 06:10:09 +0000 (GMT) (envelope-from kwsn@earthlink.net) Received: from dialup-4.240.51.143.dial1.phoenix1.level3.net ([4.240.51.143] helo=jonnyv.kwsn.lan) by pop-a065c10.pas.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1DOUt1-00035g-00; Wed, 20 Apr 2005 23:10:04 -0700 From: Jon Kuster To: Greg Lewis In-Reply-To: <20050420145915.GC78133@misty.eyesbeyond.com> References: <324cec6d05041712065a3ff926@mail.gmail.com> <20050420145915.GC78133@misty.eyesbeyond.com> Content-Type: text/plain Date: Wed, 20 Apr 2005 23:10:00 -0700 Message-Id: <1114063800.12807.17.camel@jonnyv.kwsn.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: Toby Murray cc: freebsd-java@freebsd.org Subject: Re: java crashing when load average is high X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kwsn@earthlink.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 06:10:10 -0000 On Wed, 2005-04-20 at 08:59 -0600, Greg Lewis wrote: > On Sun, Apr 17, 2005 at 02:06:24PM -0500, Toby Murray wrote: > > I am working on getting a new server online. It is a Dell Poweredge > > with dual HT Xeons and 1GB of RAM. We are running FreeBSD 5.4-RC1 and > > java 1.4.2_08. > > > > java version "1.4.2_08" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) > > Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) > > > > I have a java program that reads XML files over an HTTP stream and > > inserts data from them into a mysql database. After getting java up > > and running everything appeared to be working normally at first and > > the program ran fine. But then I tried running it while something > > else was compiling and the load average was up around 5 or 6. > > Suddenly the behavior of the JVM became extremely erratic. > > > > Sometimes the whole JVM dumps with a signal 11 and leaves the following in dmsg: > > kernel trap 12 with interrupts disabled > > Other times the program throws random exceptions. I have seen 5 or 6 > > different exceptions being thrown at seemingly random places in the > > code while parsing the same data. > > > > A third behavior is for java to go into what appears to be an infinite > > loop somewhere. Usually when my program runs, there is one java > > thread and one mysql process that each take up ~70% of one CPU. When > > things start looping, 2 java processes start sucking up as much CPU as > > they can and mysql drops to nothing. This continues until I pull out > > the kill -9. > > > > So to summarize it all: > > java works fine if it is the only thing running > > If the box is already under load, java malfunctions in one of 3 ways: > > Signal 11, random Exception thrown or it starts looping without > > getting anything done. > > > > Any clues? I see several other threads on the list about signal 11 > > problems but I didn't see anything about the problems being related to > > load. Let me know if you need more info on something. > > Sounds like you are running into a race condition or corruption problem. > There are several places this could be, the most likely being the Linux > emulation layer. > > You may be able to use the native 1.4 if its compiled on an x86, but I'm > not sure how well that works on amd64. If you were particularly brave > you could try the native 1.5 which will compile natively on amd64. Native x86 1.4 went straight into the loop. Native x86 1.5 immediately segfaulted - even on `java -version`. I removed all java-related ports and linux ports, then reinstalled linux_base-8 and linux-sun-jdk14 and tried to build jdk15 again. That build hung. I tried it again this afternoon and somehow, it succeeded (after manual intervention when the build craps out on a spectacularly long command, but I expected that). We tested it this evening, and it's stable under load. So now we've got java working on amd64 with our Xeons. For anyone else trying to use jdk15 on EM64T Xeons, be sure to use the patch in the message linked below, otherwise your javavm will abort with an illegal instruction error. Thanks to Ernst Winter for all of his help in trying to get java running for us. -Jon The patch to enable jdk15 to run on EM64T Xeons: http://docs.freebsd.org/cgi/mid.cgi?20050123040212.71599.qmail From owner-freebsd-java@FreeBSD.ORG Thu Apr 21 07:17:30 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1822D16A4CE for ; Thu, 21 Apr 2005 07:17:30 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D4E543D48 for ; Thu, 21 Apr 2005 07:17:29 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 69514C13B; Thu, 21 Apr 2005 09:17:28 +0200 (CEST) Date: Thu, 21 Apr 2005 09:17:28 +0200 From: Guido van Rooij To: Ian G Message-ID: <20050421071728.GA73947@gvr.gvr.org> References: <20050420142849.GA58837@gvr.gvr.org> <42666A3D.9040902@iang.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <42666A3D.9040902@iang.org> cc: freebsd-java@freebsd.org Subject: Re: Problems with jdk-1.4.2-p{6,7} X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 07:17:30 -0000 On Wed, Apr 20, 2005 at 03:42:05PM +0100, Ian G wrote: > Guido van Rooij wrote: >=20 > > psCompact.execute(); > > > >The execute just hangs. >=20 > If you send a sig 3 (I think, experiment) to the JVM, it > will dump the stack and thread traces and stuff, this may > give you enough information to work out where it is > hanging. Unfortunately not. Here is the trace. Apparently I'm reading it wrong: "TimerQueue" daemon prio=3D5 tid=3D0x0816cc00 nid=3D0x8403800 in Object.wai= t() [bf822000..bf822d00] at java.lang.Object.wait(Native Method) - waiting on <0x2d04d7c8> (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:231) - locked <0x2d04d7c8> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:534) This seem like a deadlock to me, because it has 0x2d04d7c8 locked but it is also waiting for it. However if this is truel the trace is full of deadl= ocks. -Guido Full thread dump Java HotSpot(TM) Client VM (1.4.2-p6-devet_09_dec_2004_22_= 03 mixed mode): "Thread-4" prio=3D3 tid=3D0x080e3600 nid=3D0x8372600 runnable [bf8a4000..bf= 8a4d00] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) - locked <0x2d05b8c8> (a java.io.BufferedInputStream) at java.io.FilterInputStream.read(FilterInputStream.java:66) at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) at org.hsqldb.Result.read(Unknown Source) at org.hsqldb.HSQLClientConnection.read(Unknown Source) at org.hsqldb.HSQLClientConnection.execute(Unknown Source) - locked <0x2d05b930> (a org.hsqldb.HSQLClientConnection) at org.hsqldb.jdbc.jdbcPreparedStatement.execute(Unknown Source) at org.parosproxy.paros.db.DatabaseServer.shutdown(Unknown Source) at org.parosproxy.paros.db.Database.close(Unknown Source) at org.parosproxy.paros.model.Model.copySessionDb(Unknown Source) at org.parosproxy.paros.model.Model.moveSessionDb(Unknown Source) at org.parosproxy.paros.model.Session.save(Unknown Source) at org.parosproxy.paros.model.Session.access$000(Unknown Source) at org.parosproxy.paros.model.Session$2.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "TimerQueue" daemon prio=3D5 tid=3D0x0816cc00 nid=3D0x8403800 in Object.wai= t() [bf822000..bf822d00] at java.lang.Object.wait(Native Method) - waiting on <0x2d04d7c8> (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:231) - locked <0x2d04d7c8> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:534) "DestroyJavaVM" prio=3D5 tid=3D0x08058a00 nid=3D0x8058000 waiting on condit= ion [0..bfbfd830] "Thread-3" daemon prio=3D10 tid=3D0x084bf000 nid=3D0x84bf200 runnable [bf59= 8000..bf598d00] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) - locked <0x2cfdf298> (a java.net.PlainSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:448) at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(DashoA6275) at org.parosproxy.paros.core.proxy.ProxyServer.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "Thread-2" daemon prio=3D10 tid=3D0x084b8c00 nid=3D0x84b8e00 runnable [bf5d= 9000..bf5d9d00] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) - locked <0x2cfdf458> (a java.net.PlainSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:448) at java.net.ServerSocket.accept(ServerSocket.java:419) at org.parosproxy.paros.core.proxy.ProxyServer.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "Thread-1" daemon prio=3D5 tid=3D0x084a0a00 nid=3D0x84a0c00 waiting on cond= ition [bf61a000..bf61ad00] at java.lang.Thread.sleep(Native Method) at org.parosproxy.paros.extension.filter.ExtensionFilter.run(Unknown Sourc= e) at java.lang.Thread.run(Thread.java:534) "HSQLDB Connection @1c18a4c" prio=3D5 tid=3D0x08465600 nid=3D0x8465800 runn= able [bf65b000..bf65bd00] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) - locked <0x2ce777c8> (a java.io.BufferedInputStream) at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) at org.hsqldb.Result.read(Unknown Source) at org.hsqldb.ServerConnection.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "HSQLDB Connection @1a0ae6" prio=3D5 tid=3D0x08465200 nid=3D0x8465400 runna= ble [bf69c000..bf69cd00] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) - locked <0x2ce780e0> (a java.io.BufferedInputStream) at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) at org.hsqldb.Result.read(Unknown Source) at org.hsqldb.ServerConnection.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "HSQLDB Connection @457d21" prio=3D5 tid=3D0x08463e00 nid=3D0x8465000 runna= ble [bf6dd000..bf6ddd00] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) - locked <0x2ce789e8> (a java.io.BufferedInputStream) at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) at org.hsqldb.Result.read(Unknown Source) at org.hsqldb.ServerConnection.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "HSQLDB Connection @4ed904" prio=3D5 tid=3D0x0845a600 nid=3D0x845a800 runna= ble [bf71e000..bf71ed00] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) - locked <0x2ce64670> (a java.io.BufferedInputStream) at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) at org.hsqldb.Result.read(Unknown Source) at org.hsqldb.ServerConnection.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "HSQLDB Timer @61373f" daemon prio=3D5 tid=3D0x08450800 nid=3D0x8450a00 in = Object.wait() [bf75f000..bf75fd00] at java.lang.Object.wait(Native Method) - waiting on <0x2cd17308> (a org.hsqldb.lib.HsqlTimer) at java.lang.Object.wait(Object.java:429) at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source) - locked <0x2cd17308> (a org.hsqldb.lib.HsqlTimer) at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) "HSQLDB Server @b957ea" prio=3D5 tid=3D0x08430c00 nid=3D0x8430e00 runnable = [bf7a0000..bf7a0d00] at java.lang.Object.wait(Native Method) at org.hsqldb.Server.shutdown(Unknown Source) at org.hsqldb.Server.run(Unknown Source) at org.hsqldb.Server.access$000(Unknown Source) at org.hsqldb.Server$ServerThread.run(Unknown Source) "AWT-EventQueue-0" prio=3D6 tid=3D0x08413400 nid=3D0x8413600 in Object.wait= () [bf7e1000..bf7e1d00] at java.lang.Object.wait(Native Method) - waiting on <0x2cc9f9c0> (a java.awt.EventQueue) at java.lang.Object.wait(Object.java:429) at java.awt.EventQueue.getNextEvent(EventQueue.java:339) - locked <0x2cc9f9c0> (a java.awt.EventQueue) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThre= ad.java:162) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread= =2Ejava:151) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread= =2Ejava:141) at java.awt.Dialog$1.run(Dialog.java:540) at java.awt.Dialog.show(Dialog.java:561) at java.awt.Component.show(Component.java:1133) at java.awt.Component.setVisible(Component.java:1088) at org.parosproxy.paros.extension.AbstractDialog.setVisible(Unknown Source) at org.parosproxy.paros.control.MenuFileControl.saveAsSession(Unknown Sour= ce) at org.parosproxy.paros.view.MainMenuBar$4.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstract= Button.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.j= ava:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:111= 3) at javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMou= seReleased(BasicMenuItemUI.java:1006) at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:584) at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:481) at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428) at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager= =2Ejava:277) at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(Basi= cMenuUI.java:360) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThre= ad.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread= =2Ejava:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) "Java2D Disposer" daemon prio=3D10 tid=3D0x0838b400 nid=3D0x838b600 in Obje= ct.wait() [bf863000..bf863d00] at java.lang.Object.wait(Native Method) - waiting on <0x2ccd8c30> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) - locked <0x2ccd8c30> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) at sun.java2d.Disposer.run(Disposer.java:100) at java.lang.Thread.run(Thread.java:534) "AWT-Motif" daemon prio=3D6 tid=3D0x08372000 nid=3D0x8372200 runnable [bf8e= 5000..bf8e5d00] at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:534) "AWT-Shutdown" prio=3D5 tid=3D0x08366c00 nid=3D0x8366e00 in Object.wait() [= bf926000..bf926d00] at java.lang.Object.wait(Native Method) - waiting on <0x2cc55dc8> (a java.lang.Object) at java.lang.Object.wait(Object.java:429) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0x2cc55dc8> (a java.lang.Object) at java.lang.Thread.run(Thread.java:534) "Signal Dispatcher" daemon prio=3D10 tid=3D0x08100600 nid=3D0x8100800 waiti= ng on condition [0..0] "Finalizer" daemon prio=3D8 tid=3D0x08100000 nid=3D0x8100200 in Object.wait= () [bfa6b000..bfa6bd00] at java.lang.Object.wait(Native Method) - waiting on <0x2cbebea8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) - locked <0x2cbebea8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=3D10 tid=3D0x080b4c00 nid=3D0x80b4e00 in Ob= ject.wait() [bfaac000..bfaacd00] at java.lang.Object.wait(Native Method) - waiting on <0x2cbebf10> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:429) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115) - locked <0x2cbebf10> (a java.lang.ref.Reference$Lock) "VM Thread" prio=3D5 tid=3D0x080f5300 nid=3D0x80b4a00 runnable=20 "VM Periodic Task Thread" prio=3D10 tid=3D0x08108e80 nid=3D0x8058c00 waitin= g on condition=20 "Suspend Checker Thread" prio=3D10 tid=3D0x08108a80 nid=3D0x8100400 runnabl= e=20 ^C21.642u 0.731s 0:29.88 74.8% 34+5827k 0+20io 0pf+0w =1B[1m[~/work/Paros/paros-3.2.0] guido@beck>=1B[m=0F ^D=08=08exit Script done on Thu Apr 21 09:13:05 2005 From owner-freebsd-java@FreeBSD.ORG Thu Apr 21 22:11:00 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A30B016A509 for ; Thu, 21 Apr 2005 22:11:00 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 458FE43D39 for ; Thu, 21 Apr 2005 22:10:59 +0000 (GMT) (envelope-from xordos@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so520818wri for ; Thu, 21 Apr 2005 15:10:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=reb4K4Co8KOn3Ct3RW1V7DZX99UK/UNMCrY6wtvqFoZY437RfekRDUhh2M7f0F6OGbZOYR+edwB54iPSFyaJBm5IoAyFEHf7+1UcacanaQei96NJWiDPrLJXrE0/Ar1zGwB5CI7si7kZpH50gLbWlxYjokAv6cuSNqLAXNOfVkE= Received: by 10.54.49.31 with SMTP id w31mr93395wrw; Thu, 21 Apr 2005 15:10:58 -0700 (PDT) Received: by 10.54.63.15 with HTTP; Thu, 21 Apr 2005 15:10:58 -0700 (PDT) Message-ID: <646f14be05042115106a8d7d33@mail.gmail.com> Date: Thu, 21 Apr 2005 18:10:58 -0400 From: xordos dos To: freebsd-java@freebsd.org In-Reply-To: <20050421120101.C0E0016A4CF@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050421120101.C0E0016A4CF@hub.freebsd.org> Subject: Re: freebsd-java Digest, Vol 108, Issue 2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: xordos dos List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 22:11:00 -0000 > On Wed, Apr 20, 2005 at 03:42:05PM +0100, Ian G wrote: > > Guido van Rooij wrote: > > > > > psCompact.execute(); > > > > > >The execute just hangs. > > > > If you send a sig 3 (I think, experiment) to the JVM, it > > will dump the stack and thread traces and stuff, this may > > give you enough information to work out where it is > > hanging. >=20 > Unfortunately not. Here is the trace. > Apparently I'm reading it wrong: > "TimerQueue" daemon prio=3D5 tid=3D0x0816cc00 nid=3D0x8403800 in Object.w= ait() [bf822000..bf822d00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2d04d7c8> (a javax.swing.TimerQueue) > at javax.swing.TimerQueue.run(TimerQueue.java:231) > - locked <0x2d04d7c8> (a javax.swing.TimerQueue) > at java.lang.Thread.run(Thread.java:534) > This seem like a deadlock to me, because it has 0x2d04d7c8 locked but it > is also waiting for it. However if this is truel the trace is full of dea= dlocks. >=20 > -Guido >=20 > Full thread dump Java HotSpot(TM) Client VM (1.4.2-p6-devet_09_dec_2004_2= 2_03 mixed mode): >=20 > "Thread-4" prio=3D3 tid=3D0x080e3600 nid=3D0x8372600 runnable [bf8a4000..= bf8a4d00] > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) > at java.io.BufferedInputStream.read(BufferedInputStream.java:201) > - locked <0x2d05b8c8> (a java.io.BufferedInputStream) > at java.io.FilterInputStream.read(FilterInputStream.java:66) > at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) > at org.hsqldb.Result.read(Unknown Source) > at org.hsqldb.HSQLClientConnection.read(Unknown Source) > at org.hsqldb.HSQLClientConnection.execute(Unknown Source) > - locked <0x2d05b930> (a org.hsqldb.HSQLClientConnection) > at org.hsqldb.jdbc.jdbcPreparedStatement.execute(Unknown Source) > at org.parosproxy.paros.db.DatabaseServer.shutdown(Unknown Source= ) > at org.parosproxy.paros.db.Database.close(Unknown Source) > at org.parosproxy.paros.model.Model.copySessionDb(Unknown Source) > at org.parosproxy.paros.model.Model.moveSessionDb(Unknown Source) > at org.parosproxy.paros.model.Session.save(Unknown Source) > at org.parosproxy.paros.model.Session.access$000(Unknown Source) > at org.parosproxy.paros.model.Session$2.run(Unknown Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "TimerQueue" daemon prio=3D5 tid=3D0x0816cc00 nid=3D0x8403800 in Object.w= ait() [bf822000..bf822d00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2d04d7c8> (a javax.swing.TimerQueue) > at javax.swing.TimerQueue.run(TimerQueue.java:231) > - locked <0x2d04d7c8> (a javax.swing.TimerQueue) > at java.lang.Thread.run(Thread.java:534) >=20 > "DestroyJavaVM" prio=3D5 tid=3D0x08058a00 nid=3D0x8058000 waiting on cond= ition [0..bfbfd830] >=20 > "Thread-3" daemon prio=3D10 tid=3D0x084bf000 nid=3D0x84bf200 runnable [bf= 598000..bf598d00] > at java.net.PlainSocketImpl.socketAccept(Native Method) > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) > - locked <0x2cfdf298> (a java.net.PlainSocketImpl) > at java.net.ServerSocket.implAccept(ServerSocket.java:448) > at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(DashoA= 6275) > at org.parosproxy.paros.core.proxy.ProxyServer.run(Unknown Source= ) > at java.lang.Thread.run(Thread.java:534) >=20 > "Thread-2" daemon prio=3D10 tid=3D0x084b8c00 nid=3D0x84b8e00 runnable [bf= 5d9000..bf5d9d00] > at java.net.PlainSocketImpl.socketAccept(Native Method) > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) > - locked <0x2cfdf458> (a java.net.PlainSocketImpl) > at java.net.ServerSocket.implAccept(ServerSocket.java:448) > at java.net.ServerSocket.accept(ServerSocket.java:419) > at org.parosproxy.paros.core.proxy.ProxyServer.run(Unknown Source= ) > at java.lang.Thread.run(Thread.java:534) >=20 > "Thread-1" daemon prio=3D5 tid=3D0x084a0a00 nid=3D0x84a0c00 waiting on co= ndition [bf61a000..bf61ad00] > at java.lang.Thread.sleep(Native Method) > at org.parosproxy.paros.extension.filter.ExtensionFilter.run(Unkn= own Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "HSQLDB Connection @1c18a4c" prio=3D5 tid=3D0x08465600 nid=3D0x8465800 ru= nnable [bf65b000..bf65bd00] > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) > at java.io.BufferedInputStream.read(BufferedInputStream.java:201) > - locked <0x2ce777c8> (a java.io.BufferedInputStream) > at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) > at org.hsqldb.Result.read(Unknown Source) > at org.hsqldb.ServerConnection.run(Unknown Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "HSQLDB Connection @1a0ae6" prio=3D5 tid=3D0x08465200 nid=3D0x8465400 run= nable [bf69c000..bf69cd00] > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) > at java.io.BufferedInputStream.read(BufferedInputStream.java:201) > - locked <0x2ce780e0> (a java.io.BufferedInputStream) > at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) > at org.hsqldb.Result.read(Unknown Source) > at org.hsqldb.ServerConnection.run(Unknown Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "HSQLDB Connection @457d21" prio=3D5 tid=3D0x08463e00 nid=3D0x8465000 run= nable [bf6dd000..bf6ddd00] > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) > at java.io.BufferedInputStream.read(BufferedInputStream.java:201) > - locked <0x2ce789e8> (a java.io.BufferedInputStream) > at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) > at org.hsqldb.Result.read(Unknown Source) > at org.hsqldb.ServerConnection.run(Unknown Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "HSQLDB Connection @4ed904" prio=3D5 tid=3D0x0845a600 nid=3D0x845a800 run= nable [bf71e000..bf71ed00] > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) > at java.io.BufferedInputStream.read(BufferedInputStream.java:201) > - locked <0x2ce64670> (a java.io.BufferedInputStream) > at org.hsqldb.lib.InOutUtil.readInt(Unknown Source) > at org.hsqldb.Result.read(Unknown Source) > at org.hsqldb.ServerConnection.run(Unknown Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "HSQLDB Timer @61373f" daemon prio=3D5 tid=3D0x08450800 nid=3D0x8450a00 i= n Object.wait() [bf75f000..bf75fd00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2cd17308> (a org.hsqldb.lib.HsqlTimer) > at java.lang.Object.wait(Object.java:429) > at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source) > - locked <0x2cd17308> (a org.hsqldb.lib.HsqlTimer) > at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source) > at java.lang.Thread.run(Thread.java:534) >=20 > "HSQLDB Server @b957ea" prio=3D5 tid=3D0x08430c00 nid=3D0x8430e00 runnabl= e [bf7a0000..bf7a0d00] > at java.lang.Object.wait(Native Method) > at org.hsqldb.Server.shutdown(Unknown Source) > at org.hsqldb.Server.run(Unknown Source) > at org.hsqldb.Server.access$000(Unknown Source) > at org.hsqldb.Server$ServerThread.run(Unknown Source) >=20 > "AWT-EventQueue-0" prio=3D6 tid=3D0x08413400 nid=3D0x8413600 in Object.wa= it() [bf7e1000..bf7e1d00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2cc9f9c0> (a java.awt.EventQueue) > at java.lang.Object.wait(Object.java:429) > at java.awt.EventQueue.getNextEvent(EventQueue.java:339) > - locked <0x2cc9f9c0> (a java.awt.EventQueue) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDis= patchThread.java:162) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispa= tchThread.java:151) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispa= tchThread.java:141) > at java.awt.Dialog$1.run(Dialog.java:540) > at java.awt.Dialog.show(Dialog.java:561) > at java.awt.Component.show(Component.java:1133) > at java.awt.Component.setVisible(Component.java:1088) > at org.parosproxy.paros.extension.AbstractDialog.setVisible(Unkno= wn Source) > at org.parosproxy.paros.control.MenuFileControl.saveAsSession(Unk= nown Source) > at org.parosproxy.paros.view.MainMenuBar$4.actionPerformed(Unknow= n Source) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.= java:1786) > at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed= (AbstractButton.java:1839) > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButt= onModel.java:420) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.j= ava:258) > at javax.swing.AbstractButton.doClick(AbstractButton.java:289) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI= .java:1113) > at javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.me= nuDragMouseReleased(BasicMenuItemUI.java:1006) > at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java= :584) > at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java= :481) > at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428) > at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelecti= onManager.java:277) > at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseRele= ased(BasicMenuUI.java:360) > at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster= .java:231) > at java.awt.Component.processMouseEvent(Component.java:5100) > at java.awt.Component.processEvent(Component.java:4897) > at java.awt.Container.processEvent(Container.java:1569) > at java.awt.Component.dispatchEventImpl(Component.java:3615) > at java.awt.Container.dispatchEventImpl(Container.java:1627) > at java.awt.Component.dispatchEvent(Component.java:3477) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.ja= va:3483) > at java.awt.LightweightDispatcher.processMouseEvent(Container.jav= a:3198) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:31= 28) > at java.awt.Container.dispatchEventImpl(Container.java:1613) > at java.awt.Window.dispatchEventImpl(Window.java:1606) > at java.awt.Component.dispatchEvent(Component.java:3477) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDis= patchThread.java:201) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispa= tchThread.java:151) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.ja= va:145) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.ja= va:137) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) >=20 > "Java2D Disposer" daemon prio=3D10 tid=3D0x0838b400 nid=3D0x838b600 in Ob= ject.wait() [bf863000..bf863d00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2ccd8c30> (a java.lang.ref.ReferenceQueue$Lock) > at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) > - locked <0x2ccd8c30> (a java.lang.ref.ReferenceQueue$Lock) > at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) > at sun.java2d.Disposer.run(Disposer.java:100) > at java.lang.Thread.run(Thread.java:534) >=20 > "AWT-Motif" daemon prio=3D6 tid=3D0x08372000 nid=3D0x8372200 runnable [bf= 8e5000..bf8e5d00] > at sun.awt.motif.MToolkit.run(Native Method) > at java.lang.Thread.run(Thread.java:534) >=20 > "AWT-Shutdown" prio=3D5 tid=3D0x08366c00 nid=3D0x8366e00 in Object.wait()= [bf926000..bf926d00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2cc55dc8> (a java.lang.Object) > at java.lang.Object.wait(Object.java:429) > at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) > - locked <0x2cc55dc8> (a java.lang.Object) > at java.lang.Thread.run(Thread.java:534) >=20 > "Signal Dispatcher" daemon prio=3D10 tid=3D0x08100600 nid=3D0x8100800 wai= ting on condition [0..0] >=20 > "Finalizer" daemon prio=3D8 tid=3D0x08100000 nid=3D0x8100200 in Object.wa= it() [bfa6b000..bfa6bd00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2cbebea8> (a java.lang.ref.ReferenceQueue$Lock) > at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) > - locked <0x2cbebea8> (a java.lang.ref.ReferenceQueue$Lock) > at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) > at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159= ) >=20 > "Reference Handler" daemon prio=3D10 tid=3D0x080b4c00 nid=3D0x80b4e00 in = Object.wait() [bfaac000..bfaacd00] > at java.lang.Object.wait(Native Method) > - waiting on <0x2cbebf10> (a java.lang.ref.Reference$Lock) > at java.lang.Object.wait(Object.java:429) > at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:11= 5) > - locked <0x2cbebf10> (a java.lang.ref.Reference$Lock) >=20 > "VM Thread" prio=3D5 tid=3D0x080f5300 nid=3D0x80b4a00 runnable >=20 > "VM Periodic Task Thread" prio=3D10 tid=3D0x08108e80 nid=3D0x8058c00 wait= ing on condition > "Suspend Checker Thread" prio=3D10 tid=3D0x08108a80 nid=3D0x8100400 runna= ble > ^C21.642u 0.731s 0:29.88 74.8% 34+5827k 0+20io 0pf+0w > =1B[1m[~/work/Paros/paros-3.2.0] guido@beck>=1B[m=0F ^D=08=08exit >=20 > Script done on Thu Apr 21 09:13:05 2005 >=20 > ------------------------------ >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 > End of freebsd-java Digest, Vol 108, Issue 2 > ******************************************** >=20 No, there is no deadlock. The thread simply goto wait state, and wait some other thread to notify it. I may guess it is a DB connection problem.=20 Just my 2 cents. Xordos. From owner-freebsd-java@FreeBSD.ORG Sat Apr 23 16:14:53 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF94916A4CE for ; Sat, 23 Apr 2005 16:14:53 +0000 (GMT) Received: from ns.novavox.ru (ns.novavox.ru [195.201.56.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7CBB43D2D for ; Sat, 23 Apr 2005 16:14:52 +0000 (GMT) (envelope-from pavel.andreev@novavox.ru) Received: from bandog03.nvr.spb.ru (owa.novavox.spb.ru [194.220.188.55]) by ns.novavox.ru (8.12.11/8.12.10) with ESMTP id j3NGEAAf021426 for ; Sat, 23 Apr 2005 20:14:31 +0400 (MSD) (envelope-from pavel.andreev@novavox.ru) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Sat, 23 Apr 2005 20:14:09 +0400 Message-ID: <4EEFE5D2905A9C4CBF5D64E908C567EB26604E@bandog03.nvr.spb.ru> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: failed to make jdk1.5 Thread-Index: AcVIH3s3P3wleUAIQhq2wbzYINl1eA== From: "Andreev, Pavel" To: X-Scanned-By: MIMEDefang 2.43 Subject: failed to make jdk1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 16:14:54 -0000 Hi there! I'm trying to make jdk 1.5 on 5.3-RELEASE-p9 #0 platform from ports and got the following: < cut > cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning result =3D meth.invoke(instance,null); =20 ^ ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl .java:162: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning moi=3D cons.newInstance(null); ^ Note: * uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 21 errors 12 warnings gmake[3]: *** [.compile.classlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 The question is how to compile it as mentioned above or what is the right way to make jdk 1.5 run on 5.3? Thank you, Pavel