From owner-freebsd-java@FreeBSD.ORG Mon Feb 2 08:16:34 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 881A0106566B for ; Mon, 2 Feb 2009 08:16:34 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8A98FC1C for ; Mon, 2 Feb 2009 08:16:34 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by rv-out-0506.google.com with SMTP id g9so769669rvb.3 for ; Mon, 02 Feb 2009 00:16:34 -0800 (PST) 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 :subject:from:x-mailer:mime-version:content-type :content-transfer-encoding; bh=XrorMQg4Vlb3LOmZ4Fg4F6nwCkoSHI2heJbvelmWs6M=; b=NMTqedau1wRgW6xkji40PWuQAKwXrv740ABVu3n3AwwHEOigvAFIrDflZjPbmWgS2T Tr37fK8TpGfLPSkK/iMDeDRu0UVZXdm0iUAY0j0GKfZDCLkH8fAzWgxvfL/UZaQA4Jj9 lkh/NEk03eIzZ8YBDglgi3gkH4bujGbCfbLM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:subject:from:x-mailer:mime-version :content-type:content-transfer-encoding; b=pXEN5Adi1/uaG/1L5QeCfc2swIcCznKxqHhhUgkGk2Pnpew2I5ininffVcw9NmyxsJ 1kikXh4wIBowLxGzwmocaYTDe2rOn5kvdqMZrTygGOTr7c1Qtu5tZgie+kTP98aDjiAI 3oHLJCkTc188yIRbJ1QN1VdS0AgnDGWm+AYUY= Received: by 10.142.234.16 with SMTP id g16mr1728896wfh.264.1233561038477; Sun, 01 Feb 2009 23:50:38 -0800 (PST) Received: from localhost (rikad85.riken.jp [134.160.214.85]) by mx.google.com with ESMTPS id 24sm6915526wff.37.2009.02.01.23.50.37 (version=SSLv3 cipher=RC4-MD5); Sun, 01 Feb 2009 23:50:38 -0800 (PST) Sender: Maho NAKATA Date: Mon, 02 Feb 2009 16:50:04 +0900 (JST) Message-Id: <20090202.165004.71135074.chat95@mac.com> To: java@FreeBSD.org From: Maho NAKATA 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 Cc: Subject: Building java/jdk16 and jdk15 inside FreeBSD jail 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, 02 Feb 2009 08:16:34 -0000 Hello greg@ and * I cannot build java/jdk16 and jdk15 inside FreeBSD jail. The error message is folloing. I can build both ports outside of the jail. ----------------------------------------------------------------------------- gmake[4]: Entering directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac' Begin Processing SUBDIRS: javac recompile javadoc apt >>>Recursively making javac all @ Mon Feb 2 16:46:55 JST 2009 ... gmake[5]: Entering directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' /usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java -Xmx512m -Xms256m -classpath ../../../../make/tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /usr/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[5]: *** [/usr/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. ----------------------------------------------------------------------------- gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/zip' gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/zip' <<>>Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... gmake[3]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/java/javac' >>>Recursively making ../../sun/javac all @ Mon Feb 2 16:48:20 JST 2009 ... cd ../../sun/javac ; gmake all RELEASE=1.5.0_14-p8 FULL_VERSION=1.5.0_14-p8-maho_02_feb_2009_16_47 gmake[4]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac' >>>Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' rm -f /usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/java -classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/javac' 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 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. ----------------------------------------------------------------------------- /etc/rc.conf has folloing entry for jail. #jail start jail_enable="YES" jail_list="portsjail" jail_portsjail_hostname="ligeti7amd64_portsjail.private.org" jail_portsjail_ip="1.2.3.4" ifconfig_bge0_alias0="inet 1.2.3.4 netmask 255.255.255.255" jail_portsjail_rootdir="/work/portsjail/" jail_portsjail_exec_start="/bin/sh /etc/rc" jail_portsjail_devfs_enable="YES" jail_portsjail_procfs_enable="YES" sendmail_enable="NO" rpcbind_enable="NO" #jail end --- mount shows following output root# mount ... /work/cvsup/ports on /work/portsjail/usr/ports (nullfs, local) devfs on /work/portsjail/dev (devfs, local) procfs on /work/portsjail/proc (procfs, local) .... Any help is really appreciated. Best regards, -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ From owner-freebsd-java@FreeBSD.ORG Mon Feb 2 11:06:55 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 AC2861065677 for ; Mon, 2 Feb 2009 11:06:55 +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 973A68FC17 for ; Mon, 2 Feb 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 n12B6tTU094484 for ; Mon, 2 Feb 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 n12B6sQO094480 for freebsd-java@FreeBSD.org; Mon, 2 Feb 2009 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Feb 2009 11:06:54 GMT Message-Id: <200902021106.n12B6sQO094480@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, 02 Feb 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 -------------------------------------------------------------------------------- o ports/130542 java java/jdk16-doc changed distifo 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 30 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Feb 2 20:51: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 771B910659A9 for ; Mon, 2 Feb 2009 20:51:56 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2A18FC08 for ; Mon, 2 Feb 2009 20:51:56 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 9775 invoked from network); 2 Feb 2009 20:51:55 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 2 Feb 2009 20:51:55 -0000 Message-ID: <49875AE9.6070100@telenix.org> Date: Mon, 02 Feb 2009 15:43:21 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: about installing jsee 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, 02 Feb 2009 20:52:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I need to find a writeup on how to get the Java tools empowering a web database to all installed and configured. The writeups I found, they all assume a several year old set of FreeBSD ports, which means using Linux tools. I'm totally knocked out by the java/jdk16 native java port, it's so reliable and complete, so if it's at all possible, I don't want to back up and use the Linux tools, so please don't make me do that. What I've read so far tells me I need the www/tomcat6, the java/jakarta-struts and the Hibernate tools. Where those tools are, I don't know the portname. I sure could use help in verifying what the ports are. I have a 4 cpu Intel box with 4 cpus, and my java is the java/jdk16 (native Java, I'm iompressed beyond words with that). I'm also showing doglike devotion to eclipse (what a tool!) Thanks for any help, folks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmHWukACgkQz62J6PPcoOntwACgnMOAY6LJV5VvZGmveMjnq+VZ F3cAoIJXNIh+3v9HJlTZTBD4flbBGKR9 =92c9 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Feb 3 00:28:25 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 6E75C106566C for ; Tue, 3 Feb 2009 00:28:25 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx1.utsp.utwente.nl [130.89.2.12]) by mx1.freebsd.org (Postfix) with ESMTP id E85CF8FC0A for ; Tue, 3 Feb 2009 00:28:24 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id n130SHV8032222 for ; Tue, 3 Feb 2009 01:28:17 +0100 From: Pieter de Goeje To: freebsd-java@freebsd.org Date: Tue, 3 Feb 2009 01:28:17 +0100 User-Agent: KMail/1.9.10 References: <49875AE9.6070100@telenix.org> In-Reply-To: <49875AE9.6070100@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902030128.17571.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Subject: Re: about installing jsee 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, 03 Feb 2009 00:28:25 -0000 On Monday 02 February 2009 21:43:21 Chuck Robey wrote: > I need to find a writeup on how to get the Java tools empowering a web > database to all installed and configured. The writeups I found, they all > assume a several year old set of FreeBSD ports, which means using Linux > tools. I'm totally knocked out by the java/jdk16 native java port, it's so > reliable and complete, so if it's at all possible, I don't want to back up > and use the Linux tools, so please don't make me do that. > > What I've read so far tells me I need the www/tomcat6, the > java/jakarta-struts and the Hibernate tools. Where those tools are, I > don't know the portname. I sure could use help in verifying what the ports > are. I have a 4 cpu Intel box with 4 cpus, and my java is the java/jdk16 > (native Java, I'm iompressed beyond words with that). I'm also showing > doglike devotion to eclipse (what a tool!) > > Thanks for any help, folks. The beauty of Java is that it's (in most cases) platform independent. This means that you don't need a FreeBSD port for Hibernate, Struts, Tomcat etc, just download and run it. As for a DB connection, you need a JDBC driver for your database. For MySQL this is MySQL Connector/J (http://www.mysql.com/products/connector/j/), for PostgreSQL the PostgreSQL JDBC Driver (http://jdbc.postgresql.org/). Also there are a number of embedded databases which you might find useful for prototyping applications, like Derby and HSQLDB. Instead of Hibernate you might want to look at the Java Persistence API (which Hibernate is an implementation of). For web development you basically need to install the Web Developer Tools plugin in eclipse, which allows you to create dynamic web applications in no time. Hope this helps. Pieter de Goeje From owner-freebsd-java@FreeBSD.ORG Tue Feb 3 03:02:28 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95F9C10656C0 for ; Tue, 3 Feb 2009 03:02:28 +0000 (UTC) (envelope-from daichi@jp.freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2F08FC0C for ; Tue, 3 Feb 2009 03:02:28 +0000 (UTC) (envelope-from daichi@jp.freebsd.org) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 8C8FF125422; Tue, 3 Feb 2009 11:43:28 +0900 (JST) Message-ID: <4987AF4F.7050301@jp.freebsd.org> Date: Tue, 03 Feb 2009 11:43:27 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: Maho NAKATA References: <20090202.165004.71135074.chat95@mac.com> In-Reply-To: <20090202.165004.71135074.chat95@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail 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, 03 Feb 2009 03:02:29 -0000 I have been doubting that nullfs works properly. Try without nullfs, IMO, combination of jail and nullfs does not work correctly. Maho NAKATA wrote: > Hello greg@ and * > > I cannot build java/jdk16 and jdk15 inside FreeBSD jail. > The error message is folloing. I can build both ports outside of > the jail. > ----------------------------------------------------------------------------- > gmake[4]: Entering directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac' > Begin Processing SUBDIRS: javac recompile javadoc apt >>>> Recursively making javac all @ Mon Feb 2 16:46:55 JST 2009 ... > gmake[5]: Entering directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' > /usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java -Xmx512m -Xms256m -classpath ../../../../make/tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /usr/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > gmake[5]: *** [/usr/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 > gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' > gmake[4]: *** [all] Error 1 > gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/sun/javac' > gmake[3]: *** [all] Error 1 > gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java/javac' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk16. > *** Error code 1 > > Stop in /usr/ports/java/jdk16. > ----------------------------------------------------------------------------- > gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/zip' > gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/zip' > <<>>> Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... > gmake[3]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/java/javac' >>>> Recursively making ../../sun/javac all @ Mon Feb 2 16:48:20 JST 2009 ... > cd ../../sun/javac ; gmake all RELEASE=1.5.0_14-p8 FULL_VERSION=1.5.0_14-p8-maho_02_feb_2009_16_47 > gmake[4]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac' >>>> Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... > gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' > gmake /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/javac VARIANT=OPT > gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' > rm -f /usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/com.sun.tools.javac/javac/.classes.list > /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/java -classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 > gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' > gmake[5]: *** [optimized] Error 2 > gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' > gmake[4]: *** [all] Error 1 > gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac' > gmake[3]: *** [all] Error 2 > gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/javac' > 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 > > Stop in /usr/ports/java/jdk15. > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > ----------------------------------------------------------------------------- > /etc/rc.conf has folloing entry for jail. > > #jail start > jail_enable="YES" > jail_list="portsjail" > jail_portsjail_hostname="ligeti7amd64_portsjail.private.org" > jail_portsjail_ip="1.2.3.4" > ifconfig_bge0_alias0="inet 1.2.3.4 netmask 255.255.255.255" > jail_portsjail_rootdir="/work/portsjail/" > jail_portsjail_exec_start="/bin/sh /etc/rc" > jail_portsjail_devfs_enable="YES" > jail_portsjail_procfs_enable="YES" > sendmail_enable="NO" > rpcbind_enable="NO" > #jail end > --- > mount shows following output > > root# mount > ... > /work/cvsup/ports on /work/portsjail/usr/ports (nullfs, local) > devfs on /work/portsjail/dev (devfs, local) > procfs on /work/portsjail/proc (procfs, local) > .... > > Any help is really appreciated. > Best regards, > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-java@FreeBSD.ORG Tue Feb 3 13:19:53 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E414410656BD for ; Tue, 3 Feb 2009 13:19:53 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 315328FC08 for ; Tue, 3 Feb 2009 13:19:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA06097; Tue, 03 Feb 2009 15:06:21 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4988414C.8060806@icyb.net.ua> Date: Tue, 03 Feb 2009 15:06:20 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: Daichi GOTO References: <20090202.165004.71135074.chat95@mac.com> <4987AF4F.7050301@jp.freebsd.org> In-Reply-To: <4987AF4F.7050301@jp.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: java@freebsd.org, Maho NAKATA Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail 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, 03 Feb 2009 13:19:54 -0000 on 03/02/2009 04:43 Daichi GOTO said the following: > I have been doubting that nullfs works properly. Try without > nullfs, IMO, combination of jail and nullfs does not work correctly. I am using it all the time for kernel/world/packages cross-building (i386 on amd64) and it works great for me. /usr/ports on /export/j386/usr/ports (nullfs, local, read-only) /usr/ports/distfiles on /export/j386/usr/ports/distfiles (nullfs, local) /usr/src on /export/j386/usr/src (nullfs, local, read-only) /usr/devel on /export/j386/usr/devel (nullfs, local, read-only) Original directories are on ZFS. And the builds are done in a jail populated with i386 world. Just yesterday I successfully built jdk-1.6.0.3p4_8 using diablo-jdk-1.6.0.07.02_3 as bootstrap. > Maho NAKATA wrote: >> Hello greg@ and * >> >> I cannot build java/jdk16 and jdk15 inside FreeBSD jail. >> The error message is folloing. I can build both ports outside of >> the jail. >> ----------------------------------------------------------------------------- >> >> gmake[4]: Entering directory >> `/usr/ports/java/jdk16/work/j2se/make/sun/javac' >> Begin Processing SUBDIRS: javac recompile javadoc apt >>>>> Recursively making javac all @ Mon Feb 2 16:46:55 JST 2009 ... >> gmake[5]: Entering directory >> `/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' >> /usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java -Xmx512m >> -Xms256m -classpath ../../../../make/tools/CompileProperties >> CompileProperties >> ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties >> /usr/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java >> Error: could not find libjava.so >> Error: could not find Java 2 Runtime Environment. >> gmake[5]: *** >> [/usr/ports/java/jdk16/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java] >> Error 2 >> gmake[5]: Leaving directory >> `/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' >> gmake[4]: *** [all] Error 1 >> gmake[4]: Leaving directory >> `/usr/ports/java/jdk16/work/j2se/make/sun/javac' >> gmake[3]: *** [all] Error 1 >> gmake[3]: Leaving directory >> `/usr/ports/java/jdk16/work/j2se/make/java/javac' >> gmake[2]: *** [all] Error 1 >> gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java' >> gmake[1]: *** [all] Error 1 >> gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make' >> gmake: *** [j2se-build] Error 2 >> *** Error code 2 >> >> Stop in /usr/ports/java/jdk16. >> *** Error code 1 >> >> Stop in /usr/ports/java/jdk16. >> ----------------------------------------------------------------------------- >> >> gmake[4]: Leaving directory >> `/usr/ports/java/jdk15/work/j2se/make/java/zip' >> gmake[3]: Leaving directory >> `/usr/ports/java/jdk15/work/j2se/make/java/zip' >> <<>>>> Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... >> gmake[3]: Entering directory >> `/usr/ports/java/jdk15/work/j2se/make/java/javac' >>>>> Recursively making ../../sun/javac all @ Mon Feb 2 16:48:20 JST >>>>> 2009 ... >> cd ../../sun/javac ; gmake all RELEASE=1.5.0_14-p8 >> FULL_VERSION=1.5.0_14-p8-maho_02_feb_2009_16_47 >> gmake[4]: Entering directory >> `/usr/ports/java/jdk15/work/j2se/make/sun/javac' >>>>> Recursively making javac all @ Mon Feb 2 16:48:20 JST 2009 ... >> gmake[5]: Entering directory >> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' >> gmake /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/javac >> VARIANT=OPT >> gmake[6]: Entering directory >> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' >> rm -f >> /usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/com.sun.tools.javac/javac/.classes.list >> >> /usr/ports/java/jdk15/work/control/build/bsd-amd64/bin/java -classpath >> ../../../tools/CompileProperties CompileProperties >> ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties >> /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java >> >> Error: could not find libjava.so >> Error: could not find Java 2 Runtime Environment. >> gmake[6]: *** >> [/usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java] >> Error 2 >> gmake[6]: Leaving directory >> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' >> gmake[5]: *** [optimized] Error 2 >> gmake[5]: Leaving directory >> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' >> gmake[4]: *** [all] Error 1 >> gmake[4]: Leaving directory >> `/usr/ports/java/jdk15/work/j2se/make/sun/javac' >> gmake[3]: *** [all] Error 2 >> gmake[3]: Leaving directory >> `/usr/ports/java/jdk15/work/j2se/make/java/javac' >> 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 >> >> Stop in /usr/ports/java/jdk15. >> *** Error code 1 >> >> Stop in /usr/ports/java/jdk15. >> ----------------------------------------------------------------------------- >> >> /etc/rc.conf has folloing entry for jail. >> >> #jail start >> jail_enable="YES" >> jail_list="portsjail" >> jail_portsjail_hostname="ligeti7amd64_portsjail.private.org" >> jail_portsjail_ip="1.2.3.4" >> ifconfig_bge0_alias0="inet 1.2.3.4 netmask 255.255.255.255" >> jail_portsjail_rootdir="/work/portsjail/" >> jail_portsjail_exec_start="/bin/sh /etc/rc" >> jail_portsjail_devfs_enable="YES" >> jail_portsjail_procfs_enable="YES" >> sendmail_enable="NO" >> rpcbind_enable="NO" >> #jail end >> --- >> mount shows following output >> >> root# mount ... >> /work/cvsup/ports on /work/portsjail/usr/ports (nullfs, local) >> devfs on /work/portsjail/dev (devfs, local) >> procfs on /work/portsjail/proc (procfs, local) >> .... >> >> Any help is really appreciated. >> Best regards, >> -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Wed Feb 4 02:22:13 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 DFC35106564A for ; Wed, 4 Feb 2009 02:22:13 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id BD27D8FC0A for ; Wed, 4 Feb 2009 02:22:13 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 14737 invoked from network); 4 Feb 2009 02:22:13 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Feb 2009 02:22:13 -0000 Message-ID: <4988F9D8.5020807@telenix.org> Date: Tue, 03 Feb 2009 21:13:44 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: getting tomcat running 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, 04 Feb 2009 02:22:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I can't get my tomcat6 working. I found an interesting item in the /usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it says that it wants a libtcnative. Here's the log entry: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386: /usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/lib: /usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib So, I found a www/tomcat-native port which installs the libtcnative.so library, and I installed that, but the error above, from the stdout.log file, doesn't change, it still can't find the library. What does tomcat6 refer to, to find it's libraries? The libtcnative it installs is going into /usr/local/lib, it's on that list, ldconfig -r finds it fine. I looked at that list above, I know it's nothing I ever put together, some port's done that. Any idea from where? Maybe I should put the /usr/local/lib higher in that list? I mean, I haven't got any /usr/java, maybe it's seeing a bad entry like that and stopping the entry reading at that point. I need to find that list. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmI+dgACgkQz62J6PPcoOmm/gCfcsRi7/+oe26hT4ql9bLnXS2o GZAAoJRs2h4ExH1pNvk6wE2L582B8OPt =kY/x -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Wed Feb 4 09:21:44 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 C860C1065677 for ; Wed, 4 Feb 2009 09:21:44 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id 64FD88FC1A for ; Wed, 4 Feb 2009 09:21:44 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox-laptop.localnet ([10.0.1.45] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Feb 2009 10:09:38 +0100 From: Pieter de Goeje To: freebsd-java@freebsd.org Date: Wed, 4 Feb 2009 10:09:38 +0100 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; x86_64; ; ) References: <4988F9D8.5020807@telenix.org> In-Reply-To: <4988F9D8.5020807@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902041009.38374.pieter@degoeje.nl> X-OriginalArrivalTime: 04 Feb 2009 09:09:38.0907 (UTC) FILETIME=[4EA89AB0:01C986A8] Cc: Chuck Robey Subject: Re: getting tomcat running 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, 04 Feb 2009 09:21:45 -0000 On Wednesday 04 February 2009 03:13:44 Chuck Robey wrote: > I can't get my tomcat6 working. I found an interesting item in the > /usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it > says that it wants a libtcnative. Here's the log entry: > > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: > /usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386: > /usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/li >b: /usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib > > So, I found a www/tomcat-native port which installs the libtcnative.so > library, and I installed that, but the error above, from the stdout.log > file, doesn't change, it still can't find the library. What does tomcat6 > refer to, to find it's libraries? The libtcnative it installs is going > into /usr/local/lib, it's on that list, ldconfig -r finds it fine. The "Apache Tomcat Native" library really isn't needed to run tomcat. The library speeds up serving of static content. I bet your tomcat started fine, and is listening on port 8180. Are you sure you restarted tomcat after you intstalled tomcat-native? For development I recommend downloading the latest tomcat, extracting it in your homedir. Then simply: cd apache-tomcat-6.x.y export JAVA_HOME=/usr/local/jdk1.6.0 ./bin/startup.sh You can then also configure eclipse to automatically deploy your applications to this tomcat. > > I looked at that list above, I know it's nothing I ever put together, some > port's done that. Any idea from where? Maybe I should put the > /usr/local/lib higher in that list? I mean, I haven't got any /usr/java, > maybe it's seeing a bad entry like that and stopping the entry reading at > that point. I need to find that list. -- Pieter de Goeje From owner-freebsd-java@FreeBSD.ORG Wed Feb 4 10:13: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 0592E1065675 for ; Wed, 4 Feb 2009 10:13:02 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD8D8FC23 for ; Wed, 4 Feb 2009 10:13:00 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.3/8.14.3) with ESMTP id n149ugrr037957 for ; Wed, 4 Feb 2009 12:56:42 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Wed, 4 Feb 2009 12:56:42 +0300 (MSK) From: Dmitry Morozovsky To: freebsd-java@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1210574943-1233741402=:17079" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (woozle.rinet.ru [0.0.0.0]); Wed, 04 Feb 2009 12:56:42 +0300 (MSK) Cc: Subject: RELNG_7/i386: error building jdk16 by diablo-jdk16 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, 04 Feb 2009 10:13:02 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1210574943-1233741402=:17079 Content-Type: TEXT/PLAIN; charset=US-ASCII Dear colleagues, rebuilding my new desktop machine I have an error with Sun JDK. Port Error log attaches, as requested. Any hints? Thanks. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ --0-1210574943-1233741402=:17079 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=hs_err_pid88090.log Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=hs_err_pid88090.log Iw0KIyBBbiB1bmV4cGVjdGVkIGVycm9yIGhhcyBiZWVuIGRldGVjdGVkIGJ5 IEphdmEgUn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Uz DQoNCk1lbW9yeTogNGsgcGFnZSwgcGh5c2ljYWwgMTU5MTk3MmsoMzk3OTkz ayBmcmVlKQ0KDQp2bV9pbmZvOiBEaWFibG8gSmF2YSBIb3RTcG90KFRNKSBD bGllbnQgVk0gKDEwLjAtYjIzKSBmb3IgYnNkLXg4NiBKUkUgKDEuNi4wXzA3 LWIwMiksIGJ1aWx0IG9uIE1heSAxMiAyMDA4IDIzOjE0OjQ2IGJ5ICJ0cnVr IiB3aXRoIGdjYyA0LjIuMSAyMDA3MDcxOSAgW0ZyZWVCU0RdDQoNCnRpbWU6 IFdlZCBGZWIgIDQgMTI6NTE6MzYgMjAwOQ0KZWxhcHNlZCB0aW1lOiAwIHNl Y29uZHMNCg0K --0-1210574943-1233741402=:17079-- From owner-freebsd-java@FreeBSD.ORG Wed Feb 4 10:31:16 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 E289F106566B for ; Wed, 4 Feb 2009 10:31:16 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id 497908FC16 for ; Wed, 4 Feb 2009 10:31:15 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] ([193.5.152.27] verified) by ti-edu.ch (CommuniGate Pro SMTP 5.2.10) with ESMTPS id 30540421; Wed, 04 Feb 2009 10:31:11 +0100 Message-ID: <4989605F.5000808@supsi.ch> Date: Wed, 04 Feb 2009 10:31:11 +0100 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Pieter de Goeje References: <4988F9D8.5020807@telenix.org> <200902041009.38374.pieter@degoeje.nl> In-Reply-To: <200902041009.38374.pieter@degoeje.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Chuck Robey , freebsd-java@freebsd.org Subject: Re: getting tomcat running 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, 04 Feb 2009 10:31:17 -0000 I agree. Also, remember to add this line to your /etc/rc.conf: tomcat55_enable="YES" then, you can start your tomcat, with: /usr/local/etc/rc.d/tomcatxx where xx stand for your tomcat version. Robi Pieter de Goeje ha scritto: > On Wednesday 04 February 2009 03:13:44 Chuck Robey wrote: >> I can't get my tomcat6 working. I found an interesting item in the >> /usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it >> says that it wants a libtcnative. Here's the log entry: >> >> INFO: The APR based Apache Tomcat Native library which allows optimal >> performance in production environments was not found on the >> java.library.path: >> /usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386: >> /usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/li >> b: /usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib >> >> So, I found a www/tomcat-native port which installs the libtcnative.so >> library, and I installed that, but the error above, from the stdout.log >> file, doesn't change, it still can't find the library. What does tomcat6 >> refer to, to find it's libraries? The libtcnative it installs is going >> into /usr/local/lib, it's on that list, ldconfig -r finds it fine. > The "Apache Tomcat Native" library really isn't needed to run tomcat. The > library speeds up serving of static content. I bet your tomcat started fine, > and is listening on port 8180. Are you sure you restarted tomcat after you > intstalled tomcat-native? > > For development I recommend downloading the latest tomcat, extracting it in > your homedir. Then simply: > cd apache-tomcat-6.x.y > export JAVA_HOME=/usr/local/jdk1.6.0 > ./bin/startup.sh > > You can then also configure eclipse to automatically deploy your applications > to this tomcat. > > >> I looked at that list above, I know it's nothing I ever put together, some >> port's done that. Any idea from where? Maybe I should put the >> /usr/local/lib higher in that list? I mean, I haven't got any /usr/java, >> maybe it's seeing a bad entry like that and stopping the entry reading at >> that point. I need to find that list. > From owner-freebsd-java@FreeBSD.ORG Wed Feb 4 17:18:24 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 9841C106566B for ; Wed, 4 Feb 2009 17:18:24 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 732C38FC16 for ; Wed, 4 Feb 2009 17:18:24 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 31630 invoked from network); 4 Feb 2009 17:18:23 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Feb 2009 17:18:23 -0000 Message-ID: <4989CBE5.7080105@telenix.org> Date: Wed, 04 Feb 2009 12:09:57 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Roberto Nunnari References: <4988F9D8.5020807@telenix.org> <200902041009.38374.pieter@degoeje.nl> <4989605F.5000808@supsi.ch> In-Reply-To: <4989605F.5000808@supsi.ch> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pieter de Goeje , freebsd-java@freebsd.org Subject: Re: getting tomcat running 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, 04 Feb 2009 17:18:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roberto Nunnari wrote: > I agree. Also, remember to add this line to your /etc/rc.conf: > tomcat55_enable="YES" > > then, you can start your tomcat, with: > /usr/local/etc/rc.d/tomcatxx > > where xx stand for your tomcat version. Funny, I'm actually anxiously *trying* to be wrong here. First, I started out with a server.xml which I'd modified to have the "8080" connector modified to read "80" only, and it seems that nothing else I've done has changed it, because I've been rechecking it at every turn, it stays still at 80. I even decided to try the 8080 *anyhow*, by putting it in the lookup URL, but that hasn't helped. I wasn't really aware about how the apache server and tomcat interwork. I got that info last night. If I have apache working, I have my little demo url showing up. If I don't have the apache server working, then the browser tells me that it can't find anything at all at localhost. I'd configured tomcat to default to a directory listing, it does that, but I tried to turn "listings" off, it STILL gives me directory listings to begin with. I'm not sure what word to use in the /etc/rc.conf. I've had tomcat6_enable set to YES from the beginning, but I'm not sure it shouldn't be tomcat, tomcat60, or maybe something with periods in it. I need help on that, no script seems to be helping me. Was your comment about setting tomcat55 a mistake, or a real thing? I don't want to sound like some nitpicker, I'm just so desperate for a fix, I really don't know the answer. What I did about adding the APR, it was because of the log entry, I was looking for any possible answer. I'm still thinking that I need an answer about the missing library, and how come the stdout log entry tells me that my java.library.path is not bringing in the libs. I need to fix whatever sets that java.library.path. Is that configured somewhere? Thanks hugely for the help! > > Robi > > > Pieter de Goeje ha scritto: >> On Wednesday 04 February 2009 03:13:44 Chuck Robey wrote: >>> I can't get my tomcat6 working. I found an interesting item in the >>> /usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it >>> says that it wants a libtcnative. Here's the log entry: >>> >>> INFO: The APR based Apache Tomcat Native library which allows optimal >>> performance in production environments was not found on the >>> java.library.path: >>> /usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386: >>> >>> /usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/li >>> >>> b: /usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib >>> >>> So, I found a www/tomcat-native port which installs the libtcnative.so >>> library, and I installed that, but the error above, from the stdout.log >>> file, doesn't change, it still can't find the library. What does >>> tomcat6 >>> refer to, to find it's libraries? The libtcnative it installs is >>> going into /usr/local/lib, it's on that list, ldconfig -r finds it fine. >> The "Apache Tomcat Native" library really isn't needed to run tomcat. >> The library speeds up serving of static content. I bet your tomcat >> started fine, and is listening on port 8180. Are you sure you >> restarted tomcat after you intstalled tomcat-native? >> >> For development I recommend downloading the latest tomcat, extracting >> it in your homedir. Then simply: >> cd apache-tomcat-6.x.y >> export JAVA_HOME=/usr/local/jdk1.6.0 >> ./bin/startup.sh >> >> You can then also configure eclipse to automatically deploy your >> applications to this tomcat. >> >> >>> I looked at that list above, I know it's nothing I ever put together, >>> some >>> port's done that. Any idea from where? Maybe I should put the >>> /usr/local/lib higher in that list? I mean, I haven't got any >>> /usr/java, >>> maybe it's seeing a bad entry like that and stopping the entry >>> reading at >>> that point. I need to find that list. >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmJy+UACgkQz62J6PPcoOnwPgCfezzWP1AHeXZofIRXGNOybSiT 5msAoKTl93gXEpprCG6LwZEFoJjmLhmF =c/lY -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 08:13:33 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 C2E3C106574D for ; Thu, 5 Feb 2009 08:13:33 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id 213DD8FC1D for ; Thu, 5 Feb 2009 08:13:31 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] ([193.5.152.27] verified) by ti-edu.ch (CommuniGate Pro SMTP 5.2.10) with ESMTPS id 30557488; Thu, 05 Feb 2009 09:13:30 +0100 Message-ID: <498A9FAA.40600@supsi.ch> Date: Thu, 05 Feb 2009 09:13:30 +0100 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Chuck Robey References: <4988F9D8.5020807@telenix.org> <200902041009.38374.pieter@degoeje.nl> <4989605F.5000808@supsi.ch> <4989CBE5.7080105@telenix.org> In-Reply-To: <4989CBE5.7080105@telenix.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pieter de Goeje , freebsd-java@freebsd.org Subject: Re: getting tomcat running 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: Thu, 05 Feb 2009 08:13:34 -0000 Hi Chuck, see my comments below.. Chuck Robey ha scritto: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Roberto Nunnari wrote: >> I agree. Also, remember to add this line to your /etc/rc.conf: >> tomcat55_enable="YES" >> >> then, you can start your tomcat, with: >> /usr/local/etc/rc.d/tomcatxx >> >> where xx stand for your tomcat version. > > Funny, I'm actually anxiously *trying* to be wrong here. > > First, I started out with a server.xml which I'd modified to have the "8080" > connector modified to read "80" only, and it seems that nothing else I've done > has changed it, because I've been rechecking it at every turn, it stays still at > 80. I even decided to try the 8080 *anyhow*, by putting it in the lookup URL, > but that hasn't helped. I wasn't really aware about how the apache server and > tomcat interwork. I got that info last night. If I have apache working, I have > my little demo url showing up. If I don't have the apache server working, then > the browser tells me that it can't find anything at all at localhost. I'd > configured tomcat to default to a directory listing, it does that, but I tried > to turn "listings" off, it STILL gives me directory listings to begin with. You don't need at all apache httpd.. especially if you are in a developer environment. Tomcat is always able to serve pages, also without apache httpd. ..maybe this is too naive.. but it sounds like you don't specify the port number in the browser.. :-O If you configure tomcat to run on port 8080, then in the browser, your URL should look like something like http://localhost:8080/ and if you deploy an app named myapp, then: http://localhost:8080/myapp > > I'm not sure what word to use in the /etc/rc.conf. I've had tomcat6_enable set > to YES from the beginning, but I'm not sure it shouldn't be tomcat, tomcat60, or > maybe something with periods in it. I need help on that, no script seems to be > helping me. Yes.. I should have got it from the beginning, since you said you get some output in the logs from tomcat.. if you dont have that in rc.conf then tomcat is never even told to start.. > > Was your comment about setting tomcat55 a mistake, or a real thing? I don't > want to sound like some nitpicker, I'm just so desperate for a fix, I really > don't know the answer. Yes. I wrote tomcat55 because I have tomcat55 installed on the server and I forgot to adapt it to your case. > > What I did about adding the APR, it was because of the log entry, I was looking > for any possible answer. I'm still thinking that I need an answer about the > missing library, and how come the stdout log entry tells me that my > java.library.path is not bringing in the libs. I need to fix whatever sets that > java.library.path. Is that configured somewhere? > > Thanks hugely for the help! I think, you should just deinstall all extra stuff (tomcat-native, apr, etc..) you installed, and once tomcat started, point your browser to the right URL (see above about the port number). If that still doesn't work, deinstall tomcat, remove the tomcat directory, to remove all your editing in the tomcat configuration, and then reinstall tomcat, make sure you still have that line in rc.conf, start tomcat, and point your browser to http://localhost:8180/ Cheers. Robi > >> Robi >> >> >> Pieter de Goeje ha scritto: >>> On Wednesday 04 February 2009 03:13:44 Chuck Robey wrote: >>>> I can't get my tomcat6 working. I found an interesting item in the >>>> /usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it >>>> says that it wants a libtcnative. Here's the log entry: >>>> >>>> INFO: The APR based Apache Tomcat Native library which allows optimal >>>> performance in production environments was not found on the >>>> java.library.path: >>>> /usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386: >>>> >>>> /usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/li >>>> >>>> b: /usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib >>>> >>>> So, I found a www/tomcat-native port which installs the libtcnative.so >>>> library, and I installed that, but the error above, from the stdout.log >>>> file, doesn't change, it still can't find the library. What does >>>> tomcat6 >>>> refer to, to find it's libraries? The libtcnative it installs is >>>> going into /usr/local/lib, it's on that list, ldconfig -r finds it fine. >>> The "Apache Tomcat Native" library really isn't needed to run tomcat. >>> The library speeds up serving of static content. I bet your tomcat >>> started fine, and is listening on port 8180. Are you sure you >>> restarted tomcat after you intstalled tomcat-native? >>> >>> For development I recommend downloading the latest tomcat, extracting >>> it in your homedir. Then simply: >>> cd apache-tomcat-6.x.y >>> export JAVA_HOME=/usr/local/jdk1.6.0 >>> ./bin/startup.sh >>> >>> You can then also configure eclipse to automatically deploy your >>> applications to this tomcat. >>> >>> >>>> I looked at that list above, I know it's nothing I ever put together, >>>> some >>>> port's done that. Any idea from where? Maybe I should put the >>>> /usr/local/lib higher in that list? I mean, I haven't got any >>>> /usr/java, >>>> maybe it's seeing a bad entry like that and stopping the entry >>>> reading at >>>> that point. I need to find that list. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmJy+UACgkQz62J6PPcoOnwPgCfezzWP1AHeXZofIRXGNOybSiT > 5msAoKTl93gXEpprCG6LwZEFoJjmLhmF > =c/lY > -----END PGP SIGNATURE----- -- Roberto Nunnari Servizi Informatici SUPSI-DTI SUPSI-DTI - Via Cantonale - 6928 Manno - Switzerland email: mailto:roberto.nunnari@supsi.ch tel: +41-58-6666561 From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 12:22:50 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 40BEC1065673 for ; Thu, 5 Feb 2009 12:22:50 +0000 (UTC) (envelope-from victor@bsdes.net) Received: from alf.bsdes.net (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.freebsd.org (Postfix) with ESMTP id E826F8FC14 for ; Thu, 5 Feb 2009 12:22:49 +0000 (UTC) (envelope-from victor@bsdes.net) Received: by alf.bsdes.net (Postfix, from userid 1001) id 1FFEA11A2A1; Thu, 5 Feb 2009 13:06:13 +0100 (CET) Date: Thu, 5 Feb 2009 13:06:12 +0100 From: Victor Balada Diaz To: freebsd-java@freebsd.org Message-ID: <20090205120612.GB1571@alf.bsdes.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i Subject: Native Threads 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: Thu, 05 Feb 2009 12:22:51 -0000 Hello, I've been trying to figure out if diablo-jdk does support native threads or just green threads. Searching in google i've found just old posts about version 1.3.1 with just green threads support. Nothing about the current (1.6.0) version. What's the current state with regards to threads and SMP on our JVM? Regards. -- La prueba más fehaciente de que existe vida inteligente en otros planetas, es que no han intentado contactar con nosotros. From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 13:28: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 3097F106566C for ; Thu, 5 Feb 2009 13:28:48 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id BF9198FC12 for ; Thu, 5 Feb 2009 13:28:47 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox-laptop.localnet ([10.0.1.45] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Feb 2009 14:28:45 +0100 From: Pieter de Goeje To: Roberto Nunnari Date: Thu, 5 Feb 2009 14:28:44 +0100 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; x86_64; ; ) References: <4988F9D8.5020807@telenix.org> <4989CBE5.7080105@telenix.org> <498A9FAA.40600@supsi.ch> In-Reply-To: <498A9FAA.40600@supsi.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902051428.45173.pieter@degoeje.nl> X-OriginalArrivalTime: 05 Feb 2009 13:28:45.0646 (UTC) FILETIME=[ABA676E0:01C98795] Cc: Chuck Robey , freebsd-java@freebsd.org Subject: Re: getting tomcat running 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: Thu, 05 Feb 2009 13:28:48 -0000 On Thursday 05 February 2009 09:13:30 Roberto Nunnari wrote: > Hi Chuck, see my comments below.. > > I'm not sure what word to use in the /etc/rc.conf. I've had > > tomcat6_enable set to YES from the beginning, but I'm not sure it > > shouldn't be tomcat, tomcat60, or maybe something with periods in it. I > > need help on that, no script seems to be helping me. Put tomcat60_enable="YES" in rc.conf. For future reference, % /usr/local/etc/rc.d/tomcat6 rcvar tomcat60_enable=YES Or you can just read the tomcat6 rc script. -- Pieter de Goeje From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 13:33:47 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 7D6811065672 for ; Thu, 5 Feb 2009 13:33:47 +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 7ECAF8FC17 for ; Thu, 5 Feb 2009 13:33:45 +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 n15DNIHs004918; Thu, 5 Feb 2009 15:23:18 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id n15DNF5w004916; Thu, 5 Feb 2009 15:23:15 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Thu, 5 Feb 2009 15:23:15 +0200 User-Agent: KMail/1.9.7 References: <20090205120612.GB1571@alf.bsdes.net> In-Reply-To: <20090205120612.GB1571@alf.bsdes.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200902051523.15676.achill@matrix.gatewaynet.com> Cc: Victor Balada Diaz Subject: Re: Native Threads 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: Thu, 05 Feb 2009 13:33:48 -0000 =CE=A3=CF=84=CE=B9=CF=82 Thursday 05 February 2009 14:06:12 =CE=BF/=CE=B7 V= ictor Balada Diaz =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hello, >=20 > I've been trying to figure out if diablo-jdk does support native threads > or just green threads. Searching in google i've found just old posts > about version 1.3.1 with just green threads support. Nothing about > the current (1.6.0) version. >=20 > What's the current state with regards to threads and SMP on our JVM? >=20 > Regards. Its been native for the last several years. =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 14:50: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 A398C10656DF for ; Thu, 5 Feb 2009 14:50:56 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id F347F8FC17 for ; Thu, 5 Feb 2009 14:50:55 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.3/8.14.3) with ESMTP id n15EorST081113 for ; Thu, 5 Feb 2009 17:50:53 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Thu, 5 Feb 2009 17:50:53 +0300 (MSK) From: Dmitry Morozovsky To: freebsd-java@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: MULTIPART/Mixed; BOUNDARY="0-1210574943-1233741402=:17079" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (woozle.rinet.ru [0.0.0.0]); Thu, 05 Feb 2009 17:50:54 +0300 (MSK) Cc: Subject: RELENG_7/i386: error building jdk16 by diablo-jdk16 (fwd) 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: Thu, 05 Feb 2009 14:50:57 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1210574943-1233741402=:17079 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Dear colleagues, rebuilding my new desktop machine I have an error with Sun JDK. Port error log attached, as requested. Any hints? Thanks. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ --0-1210574943-1233741402=:17079 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=hs_err_pid88090.log Content-Transfer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HUsIDEgdGhy ZWFkcyBwZXIgY29yZSkgZmFtaWx5IDYgbW9kZWwgMTUgc3RlcHBpbmcgMTEs IGNtb3YsIGN4OCwgZnhzciwgbW14LCBzc2UsIHNzZTIsIHNzZTMsIHNzc2Uz DQoNCk1lbW9yeTogNGsgcGFnZSwgcGh5c2ljYWwgMTU5MTk3MmsoMzk3OTkz ayBmcmVlKQ0KDQp2bV9pbmZvOiBEaWFibG8gSmF2YSBIb3RTcG90KFRNKSBD bGllbnQgVk0gKDEwLjAtYjIzKSBmb3IgYnNkLXg4NiBKUkUgKDEuNi4wXzA3 LWIwMiksIGJ1aWx0IG9uIE1heSAxMiAyMDA4IDIzOjE0OjQ2IGJ5ICJ0cnVr IiB3aXRoIGdjYyA0LjIuMSAyMDA3MDcxOSAgW0ZyZWVCU0RdDQoNCnRpbWU6 IFdlZCBGZWIgIDQgMTI6NTE6MzYgMjAwOQ0KZWxhcHNlZCB0aW1lOiAwIHNl Y29uZHMNCg0K --0-1210574943-1233741402=:17079-- From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 16:02:36 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 78F081065670 for ; Thu, 5 Feb 2009 16:02:36 +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 40DF18FC08 for ; Thu, 5 Feb 2009 16:02:35 +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.3/8.14.3) with ESMTP id n15G3q9S040303; Thu, 5 Feb 2009 08:03:52 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.3/8.14.3/Submit) id n15G3ohR040302; Thu, 5 Feb 2009 08:03:50 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 5 Feb 2009 08:03:50 -0800 From: Greg Lewis To: Victor Balada Diaz Message-ID: <20090205160350.GA40209@misty.eyesbeyond.com> References: <20090205120612.GB1571@alf.bsdes.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090205120612.GB1571@alf.bsdes.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-java@freebsd.org Subject: Re: Native Threads 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: Thu, 05 Feb 2009 16:02:36 -0000 On Thu, Feb 05, 2009 at 01:06:12PM +0100, Victor Balada Diaz wrote: > I've been trying to figure out if diablo-jdk does support native threads > or just green threads. Searching in google i've found just old posts > about version 1.3.1 with just green threads support. Nothing about > the current (1.6.0) version. > > What's the current state with regards to threads and SMP on our JVM? There haven't been green threads since 1.3.1 is why there haven't been posts since then... -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 20:47: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 A1146106566C for ; Thu, 5 Feb 2009 20:47:29 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 8035E8FC1F for ; Thu, 5 Feb 2009 20:47:29 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 4830 invoked from network); 5 Feb 2009 20:47:29 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 5 Feb 2009 20:47:28 -0000 Message-ID: <498B4E6C.40305@telenix.org> Date: Thu, 05 Feb 2009 15:39:08 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: still trying to get tomcat working 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: Thu, 05 Feb 2009 20:47:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I finally found a writeup on tomcat6 configuration which was new enough not to rely on Linux executeables. Anyhow, early in that writeup, it's talking about using the jsvc java package. I used a little script I wrote myself some years ago to scan all of the ports plists for any mention of "jsvc". I found the tarball that's dropped into the tomcat6 bin/ subdir, but not a port to build it, did I miss an important port? I tried to unpack it and build it, but when the jsvc's configure script realizes it's in FreeBSD-8.0 (I run current), it burped messily and died, guess it can't handle superior OS quality. If anyone has a patch to get jsvc building, or maybe a comment telling me I don't need it for some reason, I'd appreciate either. I found what's described as a very vanilla "conf/server.xml" (one of tomcat6's config files) but it seems to want some minor modifications, and the fields aren't described, only given on example.... damn, I Hate things which only give one example, but no description, if your setup isn't precisely what the author's is, I can't figure out where to go with things. All that instructions I've seen so far, they all fall in that category. If anyone happens to have a pet description of server.xml (not an example, a description of things which need localization) I'd sure appreciate that. Java package names look so much like machine names, I can't tell where I need to localize things or not, not without a description of what the fields are. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmLTmwACgkQz62J6PPcoOm3UQCdEfUmIUvkzvdmqBZML0vOYUwr NbcAniRka/L6LIZXVuPyZdd07LNyrLNQ =sZz3 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Feb 5 21:04:18 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 DBE1F106564A for ; Thu, 5 Feb 2009 21:04:18 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id B79708FC19 for ; Thu, 5 Feb 2009 21:04:18 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 10092 invoked from network); 5 Feb 2009 21:04:18 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 5 Feb 2009 21:04:17 -0000 Message-ID: <498B525D.50904@telenix.org> Date: Thu, 05 Feb 2009 15:55:57 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Pieter de Goeje References: <4988F9D8.5020807@telenix.org> <4989CBE5.7080105@telenix.org> <498A9FAA.40600@supsi.ch> <200902051428.45173.pieter@degoeje.nl> In-Reply-To: <200902051428.45173.pieter@degoeje.nl> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: getting tomcat running 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: Thu, 05 Feb 2009 21:04:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pieter de Goeje wrote: > On Thursday 05 February 2009 09:13:30 Roberto Nunnari wrote: >> Hi Chuck, see my comments below.. >>> I'm not sure what word to use in the /etc/rc.conf. I've had >>> tomcat6_enable set to YES from the beginning, but I'm not sure it >>> shouldn't be tomcat, tomcat60, or maybe something with periods in it. I >>> need help on that, no script seems to be helping me. > Put tomcat60_enable="YES" in rc.conf. > > For future reference, > % /usr/local/etc/rc.d/tomcat6 rcvar > tomcat60_enable=YES > > Or you can just read the tomcat6 rc script. Well, that's usually the right way to handle such things, just go look at the rc.d script, it ordinarily has references to various different variable namings. The script that the port offers, I think it came with the port's tarball, and it doesn't offer anything like the usual informative comment, so your usually good advice, it doesn't work in this one. However, you *DID* say tomcat60 here, that's direct enough for me, thanks. Do you happen to know how rcvar works? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmLUl0ACgkQz62J6PPcoOmQGgCghE2kXOF8PjdwHSCj90EZxCEe 2pAAn37/NMyA3uHlUFjon/I4EYVJaFoM =47P9 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Fri Feb 6 10:53:09 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F78C106564A for ; Fri, 6 Feb 2009 10:53:09 +0000 (UTC) (envelope-from hq@freebsd.org) Received: from 39.mail-out.ovh.net (39.mail-out.ovh.net [213.251.138.60]) by mx1.freebsd.org (Postfix) with SMTP id 655F48FC1C for ; Fri, 6 Feb 2009 10:53:07 +0000 (UTC) (envelope-from hq@freebsd.org) Received: (qmail 26696 invoked by uid 503); 6 Feb 2009 10:53:27 -0000 Received: from b7.ovh.net (HELO mail149.ha.ovh.net) (213.186.33.57) by 39.mail-out.ovh.net with SMTP; 6 Feb 2009 10:53:27 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 6 Feb 2009 10:52:35 -0000 Received: from amarseille-256-1-167-60.w86-211.abo.wanadoo.fr (HELO herve) (herve.quiroz@trancecode.org@86.211.254.60) by ns0.ovh.net with SMTP; 6 Feb 2009 10:52:33 -0000 Date: Fri, 6 Feb 2009 11:53:01 +0100 From: Herve Quiroz To: andy.lavr@gmail.com Message-ID: <20090206105252.GA15887@herve> Mail-Followup-To: andy.lavr@gmail.com, java@FreeBSD.org References: <49749D98.4080402@reactor-xg.kiev.ua> <49779F59.6050209@FreeBSD.org> <49784E41.7070006@reactor-xg.kiev.ua> <4978A11A.1040408@FreeBSD.org> <49822AE8.9020608@FreeBSD.org> <4982AF30.5050400@reactor-xg.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: <4982AF30.5050400@reactor-xg.kiev.ua> X-Operating-System: Linux 2.6.27-11-generic i686 X-Tags: herve quiroz User-Agent: Mutt/1.5.18 (2008-05-17) X-Ovh-Tracer-Id: 1616792266915555847 X-Ovh-Remote: 86.211.254.60 (amarseille-256-1-167-60.w86-211.abo.wanadoo.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: java@FreeBSD.org Subject: Re: New patch ant.sh.in for FreeBSD ports devel/apache-ant 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: Fri, 06 Feb 2009 10:53:09 -0000 --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Andrei, Here is another patch. With this fix I managed to build java/eclipse. Basically, it uses the exact same command line as the mainstream Ant run script. I will try building openoffice as well to make sure we don't break any critical port but as my test machine is quite slow (celeron and 256MB memory) this could take a while. It already took me quite some time to build eclipse. Hence the delay for my reply. Thanks for helping me figuring out the broken ports. Herve On Fri, Jan 30, 2009 at 09:41:36AM +0200, Andrei V. Lavreniyuk wrote: > If > > exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" > -Dant.home="${DATADIR}" -Dant.library.dir="${ANT_LIB}" > org.apache.tools.ant.launch.Launcher ${ANT_ARGS} "$@" > > then > > [...] > > BUILD FAILED > /usr/ports/java/eclipse/work/jdtcoresrc/compilejdtcore.xml:44: Class not > found: org.eclipse.jdt.core.JDTCompilerAdapter > > Total time: 1 second > > BUILD FAILED > /usr/ports/java/eclipse/work/build.xml:318: The Eclipse compiler > (ecj.jar) cannot be found. > > Total time: 0 seconds --NDin8bjvE/0mNLFQ-- From owner-freebsd-java@FreeBSD.ORG Fri Feb 6 20:32:32 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 E725E106572D for ; Fri, 6 Feb 2009 20:32:32 +0000 (UTC) (envelope-from brian@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id D60BA8FC2A for ; Fri, 6 Feb 2009 20:32:32 +0000 (UTC) (envelope-from brian@experts-exchange.com) Received: from [192.168.103.26] (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 6DAC24A5AA81 for ; Fri, 6 Feb 2009 12:32:32 -0800 (PST) Message-ID: <498C9E61.9010109@experts-exchange.com> Date: Fri, 06 Feb 2009 12:32:33 -0800 From: Brian Gardner User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: openjdk6 patch 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: Fri, 06 Feb 2009 20:32:33 -0000 Hello, I've created a patch for openjdk6. http://beta.experts-exchange.com/articles/OS/Unix/BSD/Patch-for-OpenJDK6-on-BSD.html I developed this port on FreeBSD 7.0, and I urge you all to try and give feedback. There are many dependencies, and I'm working on a java/openjdk6 that will make installing this easier. This port should be have all bug fixes that went into suns jdk6 release 11, as well as any FreeBSD bug fixes that have been applied towards the openjdk7. What is the stability of this port? I don't really have an answer for this yet. Currently I'm load testing this port and hope to release this in production next week. Currently the java/jdk16 port crashes fairly regularly for us. We run java on a dual quad-core machine with 16GB of memory, and run a high level of concurrency. We've even found and helped resolve concurrency/synchronization issues in several third party java libraries including Oracle and Lucene. I would encourage everybody to start testing this patch and start moving away from java/jdk16 port, but I would wait until we push into production before doing so yourselves. Thanks, Brian Gardner From owner-freebsd-java@FreeBSD.ORG Fri Feb 6 21:48:17 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 5C90F106566C for ; Fri, 6 Feb 2009 21:48:17 +0000 (UTC) (envelope-from brian@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 4B8598FC0A for ; Fri, 6 Feb 2009 21:48:17 +0000 (UTC) (envelope-from brian@experts-exchange.com) Received: from [192.168.103.26] (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 0522940EDD83 for ; Fri, 6 Feb 2009 13:48:16 -0800 (PST) Message-ID: <498CB022.3060306@experts-exchange.com> Date: Fri, 06 Feb 2009 13:48:18 -0800 From: Brian Gardner User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: OpenJDK6 port direction 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: Fri, 06 Feb 2009 21:48:17 -0000 I'm trying to create the OpenJDK6 port, and I've got a question for the team: Should we use suns source from http://download.java.net/openjdk/jdk6/promoted/b14/openjdk-6-src-b14-25_nov_2008.tar.gz, or should I bundle the current state of jdk6/jdk6 into an package that we host, and use that as a base for the ports. Would there be a licensing issue? The second option is easier for me, however the first seems like the more proper way to create the port. Looking at mercurial comments it doesn't appear like there are any additional changes since b14, so I was expecting things to be identical or close to identical, but they are not. Maybe somebody could elaborate on why and how jdk6/jdk6 from mercurial differs from openjdk-6-src-b14-25_nov_2008.tar.gz from sun. Thanks, Brian From owner-freebsd-java@FreeBSD.ORG Fri Feb 6 23:09:07 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 BCD1B106566B for ; Fri, 6 Feb 2009 23:09:07 +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 33B468FC17 for ; Fri, 6 Feb 2009 23:09:06 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LVZok-0003oh-4A for freebsd-java@freebsd.org; Fri, 06 Feb 2009 23:09:02 +0000 Received: from 81.210.237.210 ([81.210.237.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2009 23:09:02 +0000 Received: from saper by 81.210.237.210 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2009 23:09:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Marcin Cieslak Date: Sat, 07 Feb 2009 00:08:44 +0100 Lines: 154 Message-ID: <498CC2FC.6050804@system.pl> References: <498B4E6C.40305@telenix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.237.210 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.19) Gecko/20090131 SeaMonkey/1.1.14 In-Reply-To: <498B4E6C.40305@telenix.org> Sender: news Subject: Re: still trying to get tomcat working 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: Fri, 06 Feb 2009 23:09:08 -0000 Chuck, It is very difficult for me to understand your report. Could you please provide a real error messages being reported? "Burped messily and died" does not really describe the problem you are experiencing! > I finally found a writeup on tomcat6 configuration which was new enough not to > rely on Linux executeables. Anyhow, early in that writeup, it's talking about > using the jsvc java package. I used a little script I wrote myself some years > ago to scan all of the ports plists for any mention of "jsvc". I found the > tarball that's dropped into the tomcat6 bin/ subdir, but not a port to build it, > did I miss an important port? I tried to unpack it and build it, but when the > jsvc's configure script realizes it's in FreeBSD-8.0 (I run current), it burped > messily and died, guess it can't handle superior OS quality. I *sense* this is the issue related to "config.guess" and "config.sub" files. Can you copy over the /usr/ports/Templates/config.guess and config.sub files to replace the files bundled with the application you are trying to configure? In the real port Makefile those files got overwritten behind the scenes if you specify GNU_CONFIGURE=yes (see /usr/ports/Mk/bsd.port.mk around line 3612 for details if you are interested) Are you sure you really need jsvc for anything? > I found what's described > as a very vanilla "conf/server.xml" (one of tomcat6's config files) but it seems > to want some minor modifications, and the fields aren't described, only given on > example.... damn, I Hate things which only give one example, but no description, > if your setup isn't precisely what the author's is, I can't figure out where to > go with things. All that instructions I've seen so far, they all fall in that > category. First things first. Are you successful in running a freshly built, plain tomcat 6.0 without any applications/patches/configuration file changes? On my machine (7-STABLE as of Feb 1st, amd64) I just did: % cd /usr/ports/www/tomcat6 % make .... (among others) Installation settings: Destination directory: /usr/local/apache-tomcat6.0 Location of JDK: /usr/local/diablo-jdk1.5.0 Location of Java port: java/diablo-jdk15 Running as (user/group): www/www HTTP port: 8180 Shutdown listener port: 8005 AJP 1.3 connector port: 8009 Logfile stdout: /usr/local/apache-tomcat6.0/logs/stdout.log Logfile stderr: /usr/local/apache-tomcat6.0/logs/stderr.log ===> Applying FreeBSD patches for apache-tomcat-6.0.18 >> Removing unneeded files... [ DONE ] >> Customizing server.xml... [ DONE ] ===> Configuring for apache-tomcat-6.0.18 % sudo make install ===> Installing for apache-tomcat-6.0.18 ===> apache-tomcat-6.0.18 depends on file: /usr/local/diablo-jdk1.5.0/bin/java - found ===> Generating temporary packing list ===> Checking if www/tomcat6 already installed >> Creating destination directory... [ DONE ] >> Copying files to destination directory... Installing local configuration file: /usr/local/apache-tomcat6.0/conf/logging.properties Installing local configuration file: /usr/local/apache-tomcat6.0/conf/tomcat-users.xml Installing local configuration file: /usr/local/apache-tomcat6.0/conf/catalina.properties Installing local configuration file: /usr/local/apache-tomcat6.0/conf/catalina.policy Installing local configuration file: /usr/local/apache-tomcat6.0/conf/context.xml Installing local configuration file: /usr/local/apache-tomcat6.0/conf/server.xml Installing local configuration file: /usr/local/apache-tomcat6.0/conf/web.xml [ DONE ] >> Creating log files... [ DONE ] >> Creating symlink to tools.jar... [ DONE ] >> Fixing ownership settings... [ DONE ] >> Fixing permissions... [ DONE ] Apache Tomcat 6.0.18 has been installed in /usr/local/apache-tomcat6.0. ===> Installing rc.d startup script(s) ===> Registering installation for apache-tomcat-6.0.18 Since I prefer to use JDK6 on my machine I have added two lines to /etc/rc.conf: tomcat60_enable=YES tomcat60_java_version=1.6 Then I did /usr/local/etc/rc.d/tomcat6 start after a while, my /usr/local/apache-tomcat6.0/logs/stderr.log was empty and my /usr/local/apache-tomcat6.0/logs/stdout.log looked like this: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0/jre/lib/amd64/server:/usr/local/jdk1.6.0/jre/lib/amd64:/usr/local/jdk1.6.0/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib:%LOCALBASE%/lib Feb 7, 2009 12:02:39 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8180 Feb 7, 2009 12:02:39 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1007 ms Feb 7, 2009 12:02:39 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Feb 7, 2009 12:02:39 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Feb 7, 2009 12:02:41 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Feb 7, 2009 12:02:41 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Feb 7, 2009 12:02:41 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8180 Feb 7, 2009 12:02:41 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 7, 2009 12:02:41 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=null Feb 7, 2009 12:02:41 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1682 ms netstat confirms that the server is listening on the TCP port: %netstat -an | grep 8180 tcp46 0 0 *.8180 *.* LISTEN A browser connected to the http://localhost:8180/ displays a webpage that says, among others: If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations! Are you able to get that far? Only after _this_ one can jump into understanding and changing the server.xml file. Once basic Tomcat setup works, the webpage http://localhost:8180/docs/config/index.html will give you a complete reference to the server.xml file. --Marcin From owner-freebsd-java@FreeBSD.ORG Sat Feb 7 01:00:19 2009 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B2BD1065675 for ; Sat, 7 Feb 2009 01:00:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0AE8FC1B for ; Sat, 7 Feb 2009 01:00:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1710H3Y061609 for ; Sat, 7 Feb 2009 01:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1710HCo061608; Sat, 7 Feb 2009 01:00:17 GMT (envelope-from gnats) Date: Sat, 7 Feb 2009 01:00:17 GMT Message-Id: <200902070100.n1710HCo061608@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Joseph S. Atkinson" Cc: Subject: Re: ports/130542: java/jdk16-doc changed distifo X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Joseph S. Atkinson" List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 01:00:19 -0000 The following reply was made to PR ports/130542; it has been noted by GNATS. From: "Joseph S. Atkinson" To: bug-followup@FreeBSD.org, java@freebsd.org Cc: Subject: Re: ports/130542: java/jdk16-doc changed distifo Date: Fri, 06 Feb 2009 19:51:31 -0500 Hi, this timed out with no response or action taken. The documentation distribution still sits branded u10 on the page here: http://java.sun.com/javase/downloads/index.jsp From owner-freebsd-java@FreeBSD.ORG Sat Feb 7 01:11:26 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA779106564A for ; Sat, 7 Feb 2009 01:11:26 +0000 (UTC) (envelope-from jsatkinson@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD3E8FC12 for ; Sat, 7 Feb 2009 01:11:26 +0000 (UTC) (envelope-from jsatkinson@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1233967884; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=VY/QTbUWSo6kv/MjLlvVJHO7btE=; b=LM00uzK6eyF7zs+YxDnvp1mY1GEYMb+TfhxldCMAO63fFJxXkvpvDA6XAwbn7aIR SVZ7+n1TYan+LYNjn4tIjomQX9vaaCN+gliFyhPgL2TaDr5W5zr3XNZuhrIT6TyC; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=-JKa5sNi7GkA:10 a=oewpAkBNPPYA:10 a=cexIBkohAAAA:8 a=QlpLm4SUCBOCQYmFOtIA:9 a=-bfDeM_rxXXwrIs1Nrt4HSXXFKQA:4 a=50e4U0PicR4A:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.embarq.synacor.com smtp.user=jsatkinson@embarqmail.com; auth=pass (LOGIN) Received: from [76.7.143.213] ([76.7.143.213:58829] helo=mephisto.wickedmachine.net) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.2.36 r(27513/27514)) with ESMTPA id 2E/58-04985-C0BDC894; Fri, 06 Feb 2009 19:51:24 -0500 Message-ID: <498CDB13.4090100@embarqmail.com> Date: Fri, 06 Feb 2009 19:51:31 -0500 From: "Joseph S. Atkinson" User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: bug-followup@FreeBSD.org, java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ports/130542: java/jdk16-doc changed distifo 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: Sat, 07 Feb 2009 01:11:27 -0000 Hi, this timed out with no response or action taken. The documentation distribution still sits branded u10 on the page here: http://java.sun.com/javase/downloads/index.jsp From owner-freebsd-java@FreeBSD.ORG Sat Feb 7 22:57: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 07161106564A for ; Sat, 7 Feb 2009 22:57:02 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id DA27A8FC0C for ; Sat, 7 Feb 2009 22:57:01 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 23798 invoked from network); 7 Feb 2009 22:57:00 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 7 Feb 2009 22:57:00 -0000 Message-ID: <498E0FA7.1020102@telenix.org> Date: Sat, 07 Feb 2009 17:48:07 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: tomcat again 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: Sat, 07 Feb 2009 22:57:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I really don't know if this should go to FreeBSD-Java or FreeBSD-ports, I chose ports, I hope this is right. I'm trying to get the port of tomcat6 to proxy a webpage through the recently installed Apache22 port. Both Apache22 and Tomcat6 seem to work fine when directly queried (port 8008 for Tomcat). From what I've read, I need a mod loaded, according to this line added to my httpd.conf: LoadModule webapp_module libexec/apache22/mod_webapp.so This wasn't the line I found from the web, which asked me to load from apache2 (vice apache22). The problem I'm hitting now, when I try to start Apach22 via the rc.d script, is this error: TCSH-april:root:/usr/local/etc/rc.d:#100-15:18>./apache22 restart Performing sanity check on apache22 configuration: httpd: Syntax error on line 64 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_authnz_ldap.so into server: /usr/local/libexec/apache22/mod_authnz_ldap.so: Undefined symbol "apr_ldap_url_parse" This isn't the error I'm seeing here, now I'm seeing a complaint about mod_authnz_ldap.so. Where do I go from here? It's not some linking error, is it? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmOD6cACgkQz62J6PPcoOnZfwCgn9maAm1hiSOBoxI+HLwO7emb FmIAnjzfCSY81NRPaGfhaHvVifZfBqlq =Lm2c -----END PGP SIGNATURE-----