From owner-freebsd-java@FreeBSD.ORG Mon Dec 29 06:17:50 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915831065670 for ; Mon, 29 Dec 2008 06:17:50 +0000 (UTC) (envelope-from dinesh2.m@aricent.com) Received: from jaguar.aricent.com (jaguar.aricent.com [121.241.96.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5EC2C8FC14 for ; Mon, 29 Dec 2008 06:17:48 +0000 (UTC) (envelope-from dinesh2.m@aricent.com) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by jaguar.aricent.com (8.13.8/8.13.8) with ESMTP id mBT5l2iY005234 for ; Mon, 29 Dec 2008 11:17:02 +0530 Received: from GUREXHT01.ASIAN.AD.ARICENT.COM (gurexht01.asian.ad.aricent.com [10.203.171.136]) by jaguar.aricent.com (8.13.8/8.13.8) with ESMTP id mBT5l1hY005152 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Mon, 29 Dec 2008 11:17:02 +0530 Received: from GUREXMB02.asian.ad.aricent.com ([10.203.171.132]) by GUREXHT01.ASIAN.AD.ARICENT.COM ([10.203.171.136]) with mapi; Mon, 29 Dec 2008 11:23:49 +0530 From: Dinesh M To: "freebsd-java@FreeBSD.org" Date: Mon, 29 Dec 2008 11:23:48 +0530 Thread-Topic: CRASH IN JBOSS(SIGSEGV (0xb) at pc=0x00000008008ac89c) Thread-Index: AclpedFRIRzIa+u5SUWw3r2u4X2Jyg== Message-ID: <0155893A453F6F4CA5451F7F0CD107A28A493532@GUREXMB02.ASIAN.AD.ARICENT.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Umamaheswari, Viswanathan , Balaji Pachaimalai , Vanitha Duraisamy , Sreedhar G , Rajesh Kumar Muthaiya , "Syed Ziaur Rahman A .H" Subject: CRASH IN JBOSS(SIGSEGV (0xb) at pc=0x00000008008ac89c) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 06:17:50 -0000 Hi , Iam seeing a crash in jboss while running ic tcl tce -projects ru-spb64-1 -debug 100 -dur 24hours -specific /SPB/appS= erver/functional/jboss_packaging_03 # An unexpected error has been detected by HotSpot Virtual Machine: Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # SIGSEGV (0xb) at pc=3D0x000000= 08008ac89c, pid=3D14709, tid=3D0x1820000 Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Java VM: Java HotSpot(TM) 64-Bi= t Server VM (diablo-1.5.0_07-b01 mixed mode) Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Problematic frame: Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # C [libc.so.6+0x4e89c] _umtx_o= p+0xc Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # An error report file with more = information is saved as hs_err_pid14709.log Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # If you would like to submit a b= ug report, please write Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # a letter to freebsd-java@FreeBS= D.org mailing list Dec 29 00:25:01 TPC-F19-18 appsrv[14675]: # Dec 29 00:27:06 TPC-F19-18 appsrv[14675]: TERM trapped. Shutting down. Dec 29 00:27:59 TPC-F19-18 appsrv[14675]: JVM received a signal UNKNOWN (6)= . Dec 29 00:27:59 TPC-F19-18 appsrv[14675]: JVM process is gone. Dec 29 00:27:59 TPC-F19-18 appsrv[14675]: JVM exited unexpectedly while sto= pping the application. Dec 29 00:27:59 TPC-F19-18 appsrv[14675]: <-- Wrapper Stopped Dec 29 00:28:01 TPC-F19-18 appsrv[20183]: --> Wrapper Started as Daemon Dec 29 00:28:01 TPC-F19-18 appsrv[20183]: Java Service Wrapper Community Ed= ition (Version 3.3.0-b) Dec 29 00:28:01 TPC-F19-18 appsrv[20183]: Copyright 1999, 2007 Tanuki Sof= tware, Inc. All Rights Reserved. Dec 29 00:28:01 TPC-F19-18 appsrv[20183]: http://wrapper.tanukisoftware= .org Dec 29 00:28:01 TPC-F19-18 appsrv[20183]: Dec 29 00:28:11 TPC-F19-18 appsrv[20183]: Launching a JVM... Dec 29 00:28:11 TPC-F19-18 appsrv[20183]: CompilerOracle: exclude oracle/sq= l/NUMBER toBytes Dec 29 00:28:11 TPC-F19-18 appsrv[20183]: WrapperManager: Initializing... Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,069 INFO [Server] Start= ing JBoss (MX MicroKernel)... Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,070 INFO [Server] Relea= se ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=3DJBoss_4_0_4_GA date=3D2006051= 51000) Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,072 INFO [Server] Home = Dir: /d2/local/jboss Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,072 INFO [Server] Home = URL: file:/d2/local/jboss/ Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,073 INFO [Server] Patch= URL: null Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,074 INFO [Server] Serve= r Name: sandvine Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,075 INFO [Server] Serve= r Home Dir: /d2/local/jboss/server/sandvine Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,075 INFO [Server] Serve= r Home URL: file:/d2/local/jboss/server/sandvine/ Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,075 INFO [Server] Serve= r Log Dir: /d2/local/jboss/server/sandvine/log Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,075 INFO [Server] Serve= r Temp Dir: /d2/local/jboss/server/sandvine/tmp Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,076 INFO [Server] Root = Deployment Filename: jboss-service.xml Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,608 INFO [ServerInfo] J= ava version: 1.5.0,Sun Microsystems Inc. Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,608 INFO [ServerInfo] J= ava VM: Java HotSpot(TM) 64-Bit Server VM diablo-1.5.0_07-b01,Sun Microsyst= ems Inc. Dec 29 00:28:12 TPC-F19-18 appsrv[20183]: 00:28:12,608 INFO [ServerInfo] O= S-System: FreeBSD 6.1-RELEASE-p10,amd64 Dec 29 00:28:14 TPC-F19-18 appsrv[20183]: 00:28:14,062 INFO [Server] Core = system initialized Dec 29 00:28:21 TPC-F19-18 appsrv[20183]: 00:28:21,290 INFO [Log4jService$= URLWatchTimerTask] Configuring from URL: resource:log4j.xml Dec 29 00:28:22 TPC-F19-18 appsrv[20183]: INFO [org.jboss.naming.NamingSer= vice] JNDI bootstrap JNP=3D/127.0.0.1:1099, RMI=3D/127.0.0.1:1098, backlog= =3D50, no client SocketFactory, Server SocketFactory=3Dclass org.jboss.net.= sockets.DefaultSocketFactory Dec 29 00:28:49 TPC-F19-18 appsrv[20183]: INFO [org.jboss.deployment.EARDe= ployer] Init J2EE application: file:/d2/local/jboss/server/sandvine/deploy/= spb-services-ear-5.5.0-SNAPSHOT.ear --Thanks, Dinesh. ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error,please notify the originator immediately. If you are not th= e intended recipient, you are notified that you are strictly prohibited fro= m using, copying, altering, or disclosing the contents of this message. Ari= cent accepts no responsibility for loss or damage arising from the use of t= he information transmitted by this email including damage from virus." From owner-freebsd-java@FreeBSD.ORG Mon Dec 29 11:06:58 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E6F1065688 for ; Mon, 29 Dec 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DAAED8FC2A for ; Mon, 29 Dec 2008 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBTB6vBP024497 for ; Mon, 29 Dec 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBTB6v3U024493 for freebsd-java@FreeBSD.org; Mon, 29 Dec 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Dec 2008 11:06:57 GMT Message-Id: <200812291106.mBTB6v3U024493@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 11:06:58 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Dec 29 15:42:20 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95D4106564A for ; Mon, 29 Dec 2008 15:42:20 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out4.libero.it (cp-out4.libero.it [212.52.84.104]) by mx1.freebsd.org (Postfix) with ESMTP id AFCCC8FC1B for ; Mon, 29 Dec 2008 15:42:20 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from wmail20 (172.31.0.30) by cp-out4.libero.it (8.5.016.1) id 493F94E4018060B6; Mon, 29 Dec 2008 16:30:11 +0100 Message-ID: <31150206.631121230564611740.JavaMail.defaultUser@defaultHost> Date: Mon, 29 Dec 2008 16:30:11 +0100 (CET) From: Barbara To: , MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 87.11.229.158 Cc: Subject: R: Host for jdk16 distfiles? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 15:42:21 -0000 >G'day all, > >As you may have noticed, Sun have removed the source files for Update 3. Really? I thought it was only a problem with messed web pages and hyperlinks. As you can see at http://download.java.net/jdk6/6u3/archive/ the "Source Bundles" links for JDK6, JDK6u1 and JDK6u2 are correct, while starting from JDK6u3 they bring you to the binaries snapshots pages. Maybe someone should ask them to check and eventually correct those links. And aren't these the needed files? http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3- fcs-src-b05-jrl-24_sep_2007.jar http://www.java. net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar http: //www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05- unix-24_sep_2007.jar Best regards Barbara From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 00:45:02 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ACD5106564A for ; Wed, 31 Dec 2008 00:45:02 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA368FC16 for ; Wed, 31 Dec 2008 00:45:01 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LHpCi-00015R-OC for freebsd-java@freebsd.org; Wed, 31 Dec 2008 00:44:56 +0000 Received: from 93-138-86-178.adsl.net.t-com.hr ([93.138.86.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Dec 2008 00:44:56 +0000 Received: from ivoras by 93-138-86-178.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Dec 2008 00:44:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Ivan Voras Date: Wed, 31 Dec 2008 01:44:32 +0100 Lines: 37 Message-ID: References: <20081223075034.GA10260@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD0DED57923D26F8C870DC8A4" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-86-178.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <20081223075034.GA10260@misty.eyesbeyond.com> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Java licencing X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 00:45:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD0DED57923D26F8C870DC8A4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Greg Lewis wrote: > On Mon, Dec 22, 2008 at 10:12:16PM +0100, Ivan Voras wrote: >> If I understand Sun's JRE license correctly, if I have an application = in >> Java I can't distribute the JRE binaries as a part of a VMWare image o= r >> a LiveCD without a "trademark license agreement" with Sun. Would it be= >> possible with OpenJDK? >=20 > OpenJDK is under the GPL, so you can distribute it under those terms. Do you know if the OpenJDK Java interpreter and its libraries count into the viral aspect of the GPL? (I guess yes since it's the same process/address space). --------------enigD0DED57923D26F8C870DC8A4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklawHAACgkQldnAQVacBcgZkgCdF1fPYIc97VV7wQBBUYe5y9Hu r+QAmQFT/MMMUELBYWk7MPd6gw/hKYRF =3kgh -----END PGP SIGNATURE----- --------------enigD0DED57923D26F8C870DC8A4-- From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 00:52:09 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACEFF106564A; Wed, 31 Dec 2008 00:52:09 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5135B8FC08; Wed, 31 Dec 2008 00:52:09 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 3BA1A28449; Wed, 31 Dec 2008 08:52:08 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id D9F21EB92E9; Wed, 31 Dec 2008 08:52:06 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id zHRrAIgmNSsZ; Wed, 31 Dec 2008 08:51:59 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 30C02EB4601; Wed, 31 Dec 2008 08:51:55 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=QBE3sj2yJHq0kJeK7AaHz42+kidZfmZwPGk7IGS/6BAU9/uGjL/Wd3i50oSHfFvTh 5l0mAwakpp2Ni5B3jvXhA== Message-ID: <495AC227.5080108@delphij.net> Date: Tue, 30 Dec 2008 16:51:51 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Ivan Voras References: <20081223075034.GA10260@misty.eyesbeyond.com> In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Java licencing X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 00:52:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivan Voras wrote: > Greg Lewis wrote: >> On Mon, Dec 22, 2008 at 10:12:16PM +0100, Ivan Voras wrote: >>> If I understand Sun's JRE license correctly, if I have an application in >>> Java I can't distribute the JRE binaries as a part of a VMWare image or >>> a LiveCD without a "trademark license agreement" with Sun. Would it be >>> possible with OpenJDK? >> OpenJDK is under the GPL, so you can distribute it under those terms. > > Do you know if the OpenJDK Java interpreter and its libraries count into > the viral aspect of the GPL? (I guess yes since it's the same > process/address space). I think it depends on how you want to distribute the image. Does VMWare enforce some licensing restriction on images it produces? Additionally, GPL allows you to distribute the whole distribution under a different license, as long as you are careful enough to obey it on the software package that is licensed under GPL (i.e. you can distribute Linux kernel source code and binary with your CD-ROM under any license as long as it does not depend on it to run, and the code for Linux kernel including whatever your modification is released under GPL and in an obtainable form). Of course, it's a good idea to avoid GPL software anyway to get rid of the potential problem. I'm not sure, but is there anybody working on the Apache's JDK/JRE? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklawicACgkQi+vbBBjt66AAIACfWDVtfGMfkns4pn/40Y27azzu UnIAoIzNhy1jCSTbGdQ2vchZV6AT6OQp =c6dn -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 01:55:09 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFCC7106564A for ; Wed, 31 Dec 2008 01:55:08 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9548FC12 for ; Wed, 31 Dec 2008 01:55:07 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LHqIZ-0003Xj-CY for freebsd-java@freebsd.org; Wed, 31 Dec 2008 01:55:03 +0000 Received: from 78-1-181-58.adsl.net.t-com.hr ([78.1.181.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Dec 2008 01:55:03 +0000 Received: from ivoras by 78-1-181-58.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Dec 2008 01:55:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Ivan Voras Date: Wed, 31 Dec 2008 02:54:38 +0100 Lines: 183 Message-ID: References: <20081223075034.GA10260@misty.eyesbeyond.com> <495AC227.5080108@delphij.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig709831A734AB21A41AAA57A6" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-181-58.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <495AC227.5080108@delphij.net> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Java licencing X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 01:55:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig709831A734AB21A41AAA57A6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xin LI wrote: > Ivan Voras wrote: >> Greg Lewis wrote: >>> On Mon, Dec 22, 2008 at 10:12:16PM +0100, Ivan Voras wrote: >>>> If I understand Sun's JRE license correctly, if I have an applicatio= n in >>>> Java I can't distribute the JRE binaries as a part of a VMWare image= or >>>> a LiveCD without a "trademark license agreement" with Sun. Would it = be >>>> possible with OpenJDK? >>> OpenJDK is under the GPL, so you can distribute it under those terms.= >> Do you know if the OpenJDK Java interpreter and its libraries count in= to >> the viral aspect of the GPL? (I guess yes since it's the same >> process/address space). >=20 > I think it depends on how you want to distribute the image. Does VMWar= e > enforce some licensing restriction on images it produces? Additionally= , > GPL allows you to distribute the whole distribution under a different > license, as long as you are careful enough to obey it on the software > package that is licensed under GPL (i.e. you can distribute Linux kerne= l > source code and binary with your CD-ROM under any license as long as it= > does not depend on it to run, and the code for Linux kernel including > whatever your modification is released under GPL and in an obtainable f= orm). Thanks, but I'm not that much tied to VM images, my question is about the general case - I.e. if I have a Java application I need some JRE - any JRE, in any form, like a tarball, to run the application. The OpenJDK license (http://openjdk.java.net/legal/gplv2+ce.html) has the following text: """ "CLASSPATH" EXCEPTION TO THE GPL Certain source files distributed by Sun Microsystems, Inc. are subject t= o the following clarification and special exception to the GPL, but only wh= ere Sun has expressly included in the particular source file's header the wor= ds "Sun designates this particular file as subject to the "Classpath" except= ion as provided by Sun in the LICENSE file that accompanied this code." Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give yo= u permission to link this library with independent modules to produce a= n executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of yo= ur choice, provided that you also meet, for each linked independent modu= le, the terms and conditions of the license of that module. An independe= nt module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. """ So it looks like OpenJDK might be clean from GPL's virality. But since there's no OpenJDK for FreeBSD, I'm looking at Sun's JDK. The Windows JRE has this text in the license: """ B. License to Distribute Software. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the Software README file, including, but not limited to the Java Technology Restrictions of these Supplemental Terms, Sun grants you a non-exclusive, non-transferable, limited license without fees to reproduce and distribute the Software, provided that (i) you distribute the Software complete and unmodified and only bundled as part of, and for the sole purpose of running, your Programs, (ii) the Programs add significant and primary functionality to the Software, (iii) you do not distribute additional software intended to replace any component(s) of the Software, (iv) you do not remove or alter any proprietary legends or notices contained in the Software, (v) you only distribute the Software subject to a license agreement that protects Sun's interests consistent with the terms contained in this Agreement, and (vi) you agree to defend and indemnify Sun and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software. """ Which is fine. But the FreeBSD Foundation's binaries have these texts: """ OEM Downloads This section is for OEMs. An OEM is a vendor who will bundle the binaries with other software before distributing the bundled product to end users. The binaries are the same, but the license agreement is different. Vendors who are redistributing the binaries must have a trademark license agreement with Sun. This will be explained more, in Exhibit A of the license agreement, that appears when you start to download a package below. """ and: """ You must be an OEM to download this Software. An OEM is a person who wil= l download the Software and bundle it with other software before distributing the bundled product to its end users. You must have obtaine= d a current Trademark License Agreement from Sun before downloading the Software. """ and: """ Thank you for choosing the Java Standard Edition platform technology (Jav= a SE) with your FreeBSD Operating Environment (FreeBSD). Your license with FreeBSD and Sun Microsystems, Inc. (Sun) currently only permits you to us= e and distribute the FreeBSD and Java SE technologies within a limited, non-commercial field of use. In an effort to maximize your options for both platforms, the FreeBSD Foundation and Sun want to share with you the= process for enabling you to make commercial use of the the FreeBSD and Java SE technologies in a broader field if you so desire. I. Current Field of Use for Java SE You may currently redistribute the combined FreeBSD and Java SE technologies so long as it is bundled with or integrated in Java-enabled general purpose desktop computers and servers, pursuant to your license with FreeBSD Foundation and you have executed a Trademark License with Su= n (see Section III below). You may not distribute Java SE in any other devices or fields of use, including, without limitation, embedded applications, embedded devices, cell phones, wireless devices, TV devices= , telematics devices and home gateway devices. """ --------------enig709831A734AB21A41AAA57A6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkla0N4ACgkQldnAQVacBcgllQCgnDGqxeAfb1O0xhWURC/RrSEj dugAoPoHrOsn0C8yuk08pxWzEgwYXB+/ =o+As -----END PGP SIGNATURE----- --------------enig709831A734AB21A41AAA57A6-- From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 02:24:21 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8385B1065670; Wed, 31 Dec 2008 02:24:21 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 459428FC17; Wed, 31 Dec 2008 02:24:20 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.2/8.14.2) with ESMTP id mBV2P4np079141; Tue, 30 Dec 2008 18:25:04 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.2/8.14.2/Submit) id mBV2P4R8079140; Tue, 30 Dec 2008 18:25:04 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 30 Dec 2008 18:25:03 -0800 From: Greg Lewis To: Ivan Voras Message-ID: <20081231022503.GA79055@misty.eyesbeyond.com> References: <20081223075034.GA10260@misty.eyesbeyond.com> <495AC227.5080108@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-java@freebsd.org Subject: Re: Java licencing X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 02:24:21 -0000 On Wed, Dec 31, 2008 at 02:54:38AM +0100, Ivan Voras wrote: > So it looks like OpenJDK might be clean from GPL's virality. But since > there's no OpenJDK for FreeBSD, I'm looking at Sun's JDK. Actually, there is OpenJDK for FreeBSD: % uname FreeBSD % ./build/bsd-i586/j2sdk-image/bin/java -version openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-glewis_2008_12_28_13_57-b00) OpenJDK Client VM (build 14.0-b10, mixed mode) You need the forest extension for Mercurial and then: hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port/ Its just not available in the ports system yet. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org