From owner-freebsd-java@FreeBSD.ORG Sun May 24 11:20:01 2009 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 DF1891065679 for ; Sun, 24 May 2009 11:20:01 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id CEC138FC1D for ; Sun, 24 May 2009 11:20:00 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id n4OAi3bw011218 for ; Sun, 24 May 2009 19:44:03 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sun, 24 May 2009 19:42:52 +0900 (JST) Message-Id: <20090524.194252.598552788702432679.ken@tydfam.jp> To: freebsd-java@freebsd.org From: ken X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=9.5 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Subject: jdk16 does not allow to connect to socket 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: Sun, 24 May 2009 11:20:02 -0000 Dear all, It might be a stupid question... Recent update to 7.2 release and reinstallation of jdk16/openjdk6 disabled me to connect to through sockets/ports - svn in eclipse is not usable, while I can connect to with diablo-jdk1.6.0. I rewrote /usr/local/{jdk1.6.0,openjdk6}/jre/lib/security/java.policy, but it seems that it is not reflected. What am I wrong? From owner-freebsd-java@FreeBSD.ORG Sun May 24 11:25:46 2009 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 9A50D106566C for ; Sun, 24 May 2009 11:25:46 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 5F6DE8FC16 for ; Sun, 24 May 2009 11:25:46 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out0.tiscali.nl with esmtp id 1M8Bpp-0004MC-4c; Sun, 24 May 2009 13:25:45 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 753C394FF; Sun, 24 May 2009 13:25:43 +0200 (CEST) Date: Sun, 24 May 2009 13:25:42 +0200 To: ken , freebsd-java@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20090524.194252.598552788702432679.ken@tydfam.jp> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20090524.194252.598552788702432679.ken@tydfam.jp> User-Agent: Opera Mail/9.64 (FreeBSD) Cc: Subject: Re: jdk16 does not allow to connect to socket 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: Sun, 24 May 2009 11:25:47 -0000 On Sun, 24 May 2009 12:42:52 +0200, ken wrote: > Dear all, > It might be a stupid question... > > Recent update to 7.2 release and reinstallation of jdk16/openjdk6 > disabled me to connect to through sockets/ports - svn in eclipse is not > usable, while I can connect to with diablo-jdk1.6.0. > I rewrote /usr/local/{jdk1.6.0,openjdk6}/jre/lib/security/java.policy, > but it seems that it is not reflected. > > What am I wrong? > _______________________________________________ > 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" Does it help if you start java with the option -Djava.net.preferIPv4Stack=true? Or if you compile openjdk6 without IPV6 support? Otherwise it helps to post the error/stacktrace. Ronald. From owner-freebsd-java@FreeBSD.ORG Sun May 24 13:51:41 2009 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 F38AD106564A for ; Sun, 24 May 2009 13:51:40 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id 878C08FC0C for ; Sun, 24 May 2009 13:51:40 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id n4ODpkoE015684; Sun, 24 May 2009 22:51:46 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sun, 24 May 2009 22:50:35 +0900 (JST) Message-Id: <20090524.225035.4959786962510811.ken@tydfam.jp> To: ronald-freebsd8@www.klop.ws From: ken In-Reply-To: References: <20090524.194252.598552788702432679.ken@tydfam.jp> X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=9.5 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Cc: freebsd-java@freebsd.org Subject: Re: jdk16 does not allow to connect to socket 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: Sun, 24 May 2009 13:51:41 -0000 Thank you for your suggestion, Ronald. Yes, "JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true" in /usr/local/etc/javavm_opts.conf seemingly solved the problem. I may need to watch for a while to confirm, though. I'll try openjdk6 without IPV6 support compilation, too. From owner-freebsd-java@FreeBSD.ORG Mon May 25 11:06:56 2009 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 04498106564A for ; Mon, 25 May 2009 11:06:56 +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 CA4F38FC1F for ; Mon, 25 May 2009 11:06:55 +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 n4PB6tVF092864 for ; Mon, 25 May 2009 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4PB6tFE092860 for freebsd-java@FreeBSD.org; Mon, 25 May 2009 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 May 2009 11:06:55 GMT Message-Id: <200905251106.n4PB6tFE092860@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, 25 May 2009 11:06:56 -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 -------------------------------------------------------------------------------- f ports/134648 java [patch] java/openjdk6 reduce depenedencies on cups-bas 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 f 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/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From owner-freebsd-java@FreeBSD.ORG Mon May 25 16:37:29 2009 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 6482110656AC for ; Mon, 25 May 2009 16:37:29 +0000 (UTC) (envelope-from artemciy@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id D47D78FC15 for ; Mon, 25 May 2009 16:37:28 +0000 (UTC) (envelope-from artemciy@gmail.com) Received: by fg-out-1718.google.com with SMTP id 22so1021828fge.12 for ; Mon, 25 May 2009 09:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=2QGrv6A4LG2SttvSt+6nRWFK4G5aMtUO35oAA2szxbA=; b=KxqinhWpMVvcnz9fmqDtCACHFzNZCdUAEfCIwb/sEGdhNB+LZCkpc8RIRfstDjO6hm 703bDByTzkyQhOO+MtnGA/5BQbGrNr0hECJ/CE21EAaJR9ZIVKtxQhIbZ3Oj8gqJXaIJ LMRHmpSOlbg+p7BACwb+IeB6VuFrhh6z/cwbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=iSrzMLjHBzav9+jU1oucZF7fBMD/KGnBTUj2leiFhwjzhrD7HCi78F41mdGQSp5Hc9 988Dk3Bs7IiBtBm1OEPud9C12F+dHvH6IUseNzHGI7LLwzE1rtDPLFHG4k/rZTFzt3It vzWRe7ZEJU6kSSkOOVuTLMqSKAPUzr6U2fhMk= Received: by 10.86.80.17 with SMTP id d17mr5892550fgb.27.1243269447518; Mon, 25 May 2009 09:37:27 -0700 (PDT) Received: from ?192.168.1.2? ([77.232.13.65]) by mx.google.com with ESMTPS id d4sm10754367fga.29.2009.05.25.09.37.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 May 2009 09:37:26 -0700 (PDT) Message-ID: <4A1AC937.2000202@gmail.com> Date: Mon, 25 May 2009 20:37:11 +0400 From: ArtemGr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: can't draw charts in openjdk6 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, 25 May 2009 16:37:30 -0000 java.lang.Error: Probable fatal error:No fonts found. at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088) at sun.font.FontManager.initialiseDeferredFont(FontManager.java:967) at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:254) at sun.font.CompositeFont.getSlotFont(CompositeFont.java:334) at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:77) at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:358) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:349) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:301) at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:798) I have tried copying fontconfig.* from /usr/local/diablo-jdk1.6.0/jre/lib to /usr/local/openjdk6/jre/lib to no avail. PORTNAME= openjdk6 PORTVERSION= b16 PORTREVISION= 1 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon May 25 17:56:31 MSD 2009 From owner-freebsd-java@FreeBSD.ORG Tue May 26 08:14:46 2009 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 220CD1065686 for ; Tue, 26 May 2009 08:14:46 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from mail-px0-f106.google.com (mail-px0-f106.google.com [209.85.216.106]) by mx1.freebsd.org (Postfix) with ESMTP id E1F6A8FC1B for ; Tue, 26 May 2009 08:14:45 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by pxi4 with SMTP id 4so3183383pxi.3 for ; Tue, 26 May 2009 01:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to:cc :subject:from:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=+ujAt7iSR3azhtfESq6+7aSgUm6qrxLvPW2Kzvr4jeU=; b=R2OGy0XQWVcg8+IIn825kRvjQPNFyj4A4tKA8ykxCp4MCFMar+w1JvbgjjEUK6wSpR 3dqVmfdxCJgPKmU5ILyRQxQtg4/3QWNiu6PnYprED/+95hW8Na6O7oy3/1cLKl4gdgD8 ioBRMUhPSqt28C38ngjhAXCpqhqUmZoF0kBrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=TyQgqZ7tbAYbvWrPL50z1Ge3IMD39B93FN2v1ecRQ1x3ZSrVBYvR7E/lY5fjD2fh8E GPlb1KgWRKW1sdje9JoIH6Dp3utVj7/XYK7FNQegq9TLWPQAi9GRZ4SWL0KUG0PxegET 2o6IfHzmIqrez89ILqlyStkp1v4D+NTeN74PA= Received: by 10.142.107.5 with SMTP id f5mr2591876wfc.130.1243323760684; Tue, 26 May 2009 00:42:40 -0700 (PDT) Received: from localhost (rikad42.riken.jp [134.160.214.42]) by mx.google.com with ESMTPS id 27sm11810209wfa.2.2009.05.26.00.42.38 (version=SSLv3 cipher=RC4-MD5); Tue, 26 May 2009 00:42:39 -0700 (PDT) Sender: Maho NAKATA Date: Tue, 26 May 2009 16:40:36 +0900 (JST) Message-Id: <20090526.164036.55849859.chat95@mac.com> To: jonc@chen.org.nz From: Maho NAKATA In-Reply-To: <20090510210726.C9DE52840C@chen.org.nz> References: <20090510210726.C9DE52840C@chen.org.nz> X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_May_26_16_40_36_2009_616)--" Content-Transfer-Encoding: 7bit Cc: brian@experts-exchange.com, freebsd-java@freebsd.org Subject: openjdk + openoffice.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: Tue, 26 May 2009 08:14:46 -0000 ----Security_Multipart(Tue_May_26_16_40_36_2009_616)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit I just tried openjdk+openoffice.org3.1.0 on amd64/FBSD7.2 build was broken like at qadevOoo > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. anybody can help me out? following is the more presice error log: /work/ports/editors/openoffice.org-3/work/OOO310_m11/qadevOOo/runner ------------- jar cfm ../unxfbsdx.pro/class/OOoRunnerLight.jar manifest -C ../unxfbsdx.pro/class util -C ../unxfbsdx.pro/class share -C ../unxfbsdx.pro/class stats -C ../unxfbsdx.pro/class lib -C ../unxfbsdx.pro/class complexlib -C ../unx fbsdx.pro/class helper -C ../unxfbsdx.pro/class basicrunner -C ../unxfbsdx.pro/class base -C ../unxfbsdx.pro/cla ss org/openoffice -C ../unxfbsdx.pro/class convwatch -C ../unxfbsdx.pro/class graphical Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. dmake: Error code 2, while making 'LIGHT' Running processes: 0 thanks -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt ----Security_Multipart(Tue_May_26_16_40_36_2009_616)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkobnPQACgkQpcQqaPiEzfmk8ACfd9TKPM0LDuiW3gvOz/irwv8H XEYAoLUE3Z5LpcVIj/3sCJi6o3G9f1Lv =RoAI -----END PGP SIGNATURE----- ----Security_Multipart(Tue_May_26_16_40_36_2009_616)---- From owner-freebsd-java@FreeBSD.ORG Tue May 26 11:55:48 2009 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 580851065672 for ; Tue, 26 May 2009 11:55:48 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED898FC1F for ; Tue, 26 May 2009 11:55:47 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1130599wfg.7 for ; Tue, 26 May 2009 04:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to:cc :subject:from:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=McHs2+T4UFFTz4RZOwvoyVjpfAls0x7RuXoeg6mrL5I=; b=XR1/HRDQ+7yce4VeVHcX/qVoeQaWnm5Fc/3g1sbZ7i31RGcnkUldr1m5WHtspdLYFp 2xfM/a9ZNcvzQf0Y0obOPhJspjgrmUXxPIlUw7vGeXMqogTuUWr9WjlVoDgctCqyUOJ0 ah7Pf3JQPeYo9jMwHBp/iwvFruVV243awbeqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=xEHrGXkjbqcjmNpN4o2y1dwOJvfPHOtQ2pY8lA/X5f7HahDka5h/A2cuhAx5Mujp3x 7pMivARiIkHubGILvPESNwDaPO0gZu9IHgdPCwejQnH+ZLb0yBmY7dCiRVLOv4v4ZdSj p3r83qKpcxAfs3bDgMtBM9lNSmPsgCzZhZzDg= Received: by 10.142.77.11 with SMTP id z11mr2644556wfa.277.1243338947594; Tue, 26 May 2009 04:55:47 -0700 (PDT) Received: from localhost (rikad42.riken.jp [134.160.214.42]) by mx.google.com with ESMTPS id 22sm4802901wfd.19.2009.05.26.04.55.45 (version=SSLv3 cipher=RC4-MD5); Tue, 26 May 2009 04:55:46 -0700 (PDT) Sender: Maho NAKATA Date: Tue, 26 May 2009 20:53:37 +0900 (JST) Message-Id: <20090526.205337.193713045.chat95@mac.com> To: jonc@chen.org.nz From: Maho NAKATA In-Reply-To: <20090526.164036.55849859.chat95@mac.com> References: <20090510210726.C9DE52840C@chen.org.nz> <20090526.164036.55849859.chat95@mac.com> X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_May_26_20_53_37_2009_097)--" Content-Transfer-Encoding: 7bit Cc: brian@experts-exchange.com, freebsd-java@freebsd.org Subject: openjdk dies with: could not find libjava.so as root 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: Tue, 26 May 2009 11:55:48 -0000 ----Security_Multipart(Tue_May_26_20_53_37_2009_097)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi I cannot launch openjdk java as root # which java /usr/local/openjdk6/bin/java root# java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. root# pkg_info | grep openjdk openjdk6-b16_1 Sun\'s java 6 virtual machine release under the GPL v2 however as normal user: % which java /usr/X11R6/bin/java % java -version openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-maho_26_may_2009_11_16-b00) OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) strange :) best, -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt ----Security_Multipart(Tue_May_26_20_53_37_2009_097)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkob2EQACgkQpcQqaPiEzflnQgCg1AypG+60G0U+irFyYbjBRY/x lyMAn2F69bYnqjlnLaUld6N50STMSUir =3dxe -----END PGP SIGNATURE----- ----Security_Multipart(Tue_May_26_20_53_37_2009_097)---- From owner-freebsd-java@FreeBSD.ORG Tue May 26 12:05:02 2009 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 6D92D1065731 for ; Tue, 26 May 2009 12:05: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 BC1608FC20 for ; Tue, 26 May 2009 12:05:01 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M8uNS-0003vf-F6 for freebsd-java@freebsd.org; Tue, 26 May 2009 10:59:26 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 May 2009 10:59:26 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 May 2009 10:59:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Ivan Voras Date: Tue, 26 May 2009 12:59:11 +0200 Lines: 58 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDD0D6FC6CF8C3E292C81A579" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) X-Enigmail-Version: 0.95.7 Sender: news Subject: tomcat41 dies? 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: Tue, 26 May 2009 12:05:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDD0D6FC6CF8C3E292C81A579 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I cannot get tomcat41 to work reliably - it boots up, I can access its pages for about a minute (it varies, possibly something like X seconds from last page reload) and then it apparently shuts down on its own. It doesn't seem to crash - it looks like it shuts down nicely, or at least that's what I can conclude based on this stdout log: 2009.05.26 12:48:29 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.36 2009.05.26 12:48:31 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 2009.05.26 12:48:31 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 2009.05.26 12:48:31 org.apache.jk.server.JkMain start INFO: Jk running ID=3D0 time=3D0/76 config=3Dnull Stopping service Tomcat-Standalone 2009.05.26 12:48:36 org.apache.coyote.http11.Http11BaseProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 I've just reinstalled it and this is the whole contents of stdout.log. System details: # java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) # uname -a FreeBSD f 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Any ideas? --------------enigDD0D6FC6CF8C3E292C81A579 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 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoby4YACgkQldnAQVacBcg0YQCg05+52GLCTKIvQx38yhHqxSHn BvUAoP0iD7VLUAL2X/pxxjqpta8db607 =nCkQ -----END PGP SIGNATURE----- --------------enigDD0D6FC6CF8C3E292C81A579-- From owner-freebsd-java@FreeBSD.ORG Tue May 26 12:19:02 2009 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 64159106564A for ; Tue, 26 May 2009 12:19:02 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id B1EF88FC17 for ; Tue, 26 May 2009 12:19:01 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id n4QC3CsV022545; Tue, 26 May 2009 15:03:12 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id n4QC3BKl022544; Tue, 26 May 2009 15:03:11 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Tue, 26 May 2009 15:03:11 +0300 User-Agent: KMail/1.9.7 References: <20090510210726.C9DE52840C@chen.org.nz> <20090526.164036.55849859.chat95@mac.com> <20090526.205337.193713045.chat95@mac.com> In-Reply-To: <20090526.205337.193713045.chat95@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905261503.11498.achill@matrix.gatewaynet.com> Cc: Maho NAKATA Subject: Re: openjdk dies with: could not find libjava.so as root 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: Tue, 26 May 2009 12:19:02 -0000 =CE=A3=CF=84=CE=B9=CF=82 Tuesday 26 May 2009 14:53:37 =CE=BF/=CE=B7 Maho NA= KATA =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hi > I cannot launch openjdk java as root >=20 > # which java > /usr/local/openjdk6/bin/java > root# java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > root# pkg_info | grep openjdk > openjdk6-b16_1 Sun\'s java 6 virtual machine release under the GPL v2 >=20 > however as normal user: > % which java > /usr/X11R6/bin/java > % java -version > openjdk version "1.6.0-internal" > OpenJDK Runtime Environment (build 1.6.0-internal-maho_26_may_2009_11_16-= b00) > OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) Are /usr/X11R6/bin/java and /usr/local/openjdk6/bin/java the same executabl= e? How about=20 ldd /usr/X11R6/bin/java=20 ldd /usr/local/openjdk6/bin/java=20 >=20 > strange :) > best, > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Tue May 26 13:11:12 2009 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 41FF71065677 for ; Tue, 26 May 2009 13:11:12 +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 ED8B08FC18 for ; Tue, 26 May 2009 13:11:11 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M8wQv-00028G-Hf for freebsd-java@freebsd.org; Tue, 26 May 2009 13:11:09 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 May 2009 13:11:09 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 May 2009 13:11:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Ivan Voras Date: Tue, 26 May 2009 15:11:06 +0200 Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE8983CEB09890C94B16DAE88" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) In-Reply-To: X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: tomcat41 dies? 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: Tue, 26 May 2009 13:11:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8983CEB09890C94B16DAE88 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ivan Voras wrote: >=20 > # java -version > java version "1.6.0_07" > Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) > Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) >=20 > # uname -a > FreeBSD f 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC > 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386= Ok, I got the developer to look at it and he claimed tomcat41 doesn't work with java 6 so we upgraded to tomcat 6 and fixed the application incompatibilities. --------------enigE8983CEB09890C94B16DAE88 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 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkob6moACgkQldnAQVacBcjkgQCeMjXGYWrI1YqPJhdXvue+sR8c ug8AoJ/l74xIauCRCVMS3S3w/iPkxDEA =ZlD9 -----END PGP SIGNATURE----- --------------enigE8983CEB09890C94B16DAE88-- From owner-freebsd-java@FreeBSD.ORG Tue May 26 19:01:49 2009 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 BEAC0106574B for ; Tue, 26 May 2009 19:01:49 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 290B58FC08 for ; Tue, 26 May 2009 19:00:59 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 666B228414; Wed, 27 May 2009 07:00:55 +1200 (NZST) Date: Wed, 27 May 2009 07:00:55 +1200 From: Jonathan Chen To: Maho NAKATA Message-ID: <20090526190055.GA17574@osiris.chen.org.nz> References: <20090510210726.C9DE52840C@chen.org.nz> <20090526.164036.55849859.chat95@mac.com> <20090526.205337.193713045.chat95@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090526.205337.193713045.chat95@mac.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: openjdk dies with: could not find libjava.so as root 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: Tue, 26 May 2009 19:01:50 -0000 On Tue, May 26, 2009 at 08:53:37PM +0900, Maho NAKATA wrote: > Hi > I cannot launch openjdk java as root > > # which java > /usr/local/openjdk6/bin/java > root# java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > root# pkg_info | grep openjdk > openjdk6-b16_1 Sun\'s java 6 virtual machine release under the GPL v2 > > however as normal user: > % which java > /usr/X11R6/bin/java > % java -version > openjdk version "1.6.0-internal" > OpenJDK Runtime Environment (build 1.6.0-internal-maho_26_may_2009_11_16-b00) > OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) > Something strange about your environment? On my system it looks like: osiris-~,6:59am> which java /usr/local/bin/java osiris-~,6:59am> java -version openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-root_24_may_2009_16_24-b00) OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) osiris-~,6:59am> su - Password: osiris-~,6:59am# which java /usr/local/bin/java osiris-~,6:59am# java -version openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-root_24_may_2009_16_24-b00) OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) Is you LD_LIBRARY_PATH set? -- Jonathan Chen ---------------------------------------------------------------------- Power corrupts, Absolute Power is pretty neat