From chat95 at mac.com Mon Feb 2 00:16:34 2009 From: chat95 at mac.com (Maho NAKATA) Date: Mon Feb 2 00:16:41 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail Message-ID: <20090202.165004.71135074.chat95@mac.com> 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 bugmaster at FreeBSD.org Mon Feb 2 03:06:56 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Feb 2 03:08:22 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200902021106.n12B6sQO094480@freefall.freebsd.org> 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 chuckr at telenix.org Mon Feb 2 12:52:00 2009 From: chuckr at telenix.org (Chuck Robey) Date: Mon Feb 2 12:52:07 2009 Subject: about installing jsee Message-ID: <49875AE9.6070100@telenix.org> -----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 pieter at degoeje.nl Mon Feb 2 16:28:25 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Mon Feb 2 16:28:32 2009 Subject: about installing jsee In-Reply-To: <49875AE9.6070100@telenix.org> References: <49875AE9.6070100@telenix.org> Message-ID: <200902030128.17571.pieter@degoeje.nl> 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 daichi at jp.freebsd.org Mon Feb 2 19:02:29 2009 From: daichi at jp.freebsd.org (Daichi GOTO) Date: Mon Feb 2 19:02:36 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <20090202.165004.71135074.chat95@mac.com> References: <20090202.165004.71135074.chat95@mac.com> Message-ID: <4987AF4F.7050301@jp.freebsd.org> 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 avg at icyb.net.ua Tue Feb 3 05:19:54 2009 From: avg at icyb.net.ua (Andriy Gapon) Date: Tue Feb 3 05:20:02 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <4987AF4F.7050301@jp.freebsd.org> References: <20090202.165004.71135074.chat95@mac.com> <4987AF4F.7050301@jp.freebsd.org> Message-ID: <4988414C.8060806@icyb.net.ua> 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 chuckr at telenix.org Tue Feb 3 18:22:14 2009 From: chuckr at telenix.org (Chuck Robey) Date: Tue Feb 3 18:22:21 2009 Subject: getting tomcat running Message-ID: <4988F9D8.5020807@telenix.org> -----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 pieter at degoeje.nl Wed Feb 4 01:21:45 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Wed Feb 4 01:21:52 2009 Subject: getting tomcat running In-Reply-To: <4988F9D8.5020807@telenix.org> References: <4988F9D8.5020807@telenix.org> Message-ID: <200902041009.38374.pieter@degoeje.nl> 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 marck at rinet.ru Wed Feb 4 02:13:02 2009 From: marck at rinet.ru (Dmitry Morozovsky) Date: Wed Feb 4 02:13:09 2009 Subject: RELNG_7/i386: error building jdk16 by diablo-jdk16 Message-ID: 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 *** ------------------------------------------------------------------------ -------------- next part -------------- # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x68095971, pid=88090, tid=0x68201200 # # Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode bsd-x86) # Problematic frame: # C [libthr.so.3+0xa971] _pthread_mutex_trylock+0xf # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x68c29800): Thread [stack: 0x7f5ff000,0x7f9ff000] [id=1746932224] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000 Registers: EAX=0x00000000, EBX=0x68181798, ECX=0x00000000, EDX=0x00000001 ESP=0x7f9fec80, EBP=0x7f9fec88, ESI=0x00000000, EDI=0x68201200 EIP=0x68095971, EFLAGS=0x00010202 Top of Stack: (sp=0x7f9fec80) 0x7f9fec80: 000000fe 7f900be8 7f9fecc8 680ff3df 0x7f9fec90: 00000000 68c29800 7f9fecb8 685a249c 0x7f9feca0: 7f900000 00000000 0805ad3c 6833319a 0x7f9fecb0: 686cf294 686cf294 7f9fecd8 68bd0d9c 0x7f9fecc0: 7f9fee00 68c29800 7f9fecd8 68baaf79 0x7f9fecd0: 7f9fee00 686cf294 7f9fed08 6862ea02 0x7f9fece0: 7f9fee00 686cf294 7f9fed08 68332b8c 0x7f9fecf0: 68c330f0 7f9fecfc fffffffc 686cf294 Instructions: (pc=0x68095971) 0x68095961: c3 55 89 e5 57 56 8b 75 08 65 8b 3d 08 00 00 00 0x68095971: 8b 06 85 c0 74 0c 89 f2 89 f8 5e 5f 5d e9 ad f8 Stack: [0x7f5ff000,0x7f9ff000], sp=0x7f9fec80, free space=4095k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libthr.so.3+0xa971] _pthread_mutex_trylock+0xf C [libc.so.7+0x623df] free+0x1a6 C [libstdc++.so.6+0xc1f79] _ZdlPv+0x21 V [libjvm.so+0x32ea02] V [libjvm.so+0x32f175] V [libjvm.so+0x333a2b] V [libjvm.so+0x1b3433] C [javac+0xa755] JavaMain+0x1cf5 C [javac+0x8b01] JavaMain+0xa1 C [libthr.so.3+0x67a5] pthread_getprio+0xd9 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: =>0x68c29800 (exited) Thread [stack: 0x7f5ff000,0x7f9ff000] [id=1746932224] VM state:not at safepoint (not fully initialized) VM Mutex/Monitor currently owned by a thread: None Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.6.0/bin/javac 0x6808b000 /lib/libthr.so.3 0x6809d000 /lib/libc.so.7 0x68300000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so 0x68ae9000 /usr/lib/libstdc++.so.6 0x68197000 /lib/libm.so.5 0x681ac000 /lib/libgcc_s.so.1 0x681b7000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/libhpi.so 0x681d2000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so 0x68bd8000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so 0x681df000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so 0x681e8000 /lib/libz.so.4 0x68059000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Denv.class.path= -Dapplication.home=/usr/local/diablo-jdk1.6.0 -Xms8m -Xss4m -ea:com.sun.tools... -XX:ThreadStackSize=768 -Xmx512m -Xms256m -Xbootclasspath/p:../../../make/sun/javac/javac/gjc.jar java_command: com.sun.tools.javac.Main -target 5 -d /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jsum ../../tools/sharing/AddJsum.java Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/home/marck/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/games USERNAME=root LD_LIBRARY_PATH=/usr/local/diablo-jdk1.6.0/jre/lib/i386/client:/usr/local/diablo-jdk1.6.0/jre/lib/i386:/usr/local/diablo-jdk1.6.0/jre/../lib/i386: SHELL=/bin/sh HOSTTYPE=FreeBSD OSTYPE=FreeBSD ARCH=i586 MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 SIGUSR2: [libjvm.so+0x2a7660], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002 SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.1-STABLE FreeBSD 7.1-STABLE #25: Tue Feb 3 22:28:11 MSK 2009 marck@wizzle.woozle.net:/usr/obj/usr/src/sys/Wizzle i386 rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 1591972k(397993k free) vm_info: Diablo Java HotSpot(TM) Client VM (10.0-b23) for bsd-x86 JRE (1.6.0_07-b02), built on May 12 2008 23:14:46 by "truk" with gcc 4.2.1 20070719 [FreeBSD] time: Wed Feb 4 12:51:36 2009 elapsed time: 0 seconds From roberto.nunnari at supsi.ch Wed Feb 4 02:31:17 2009 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Wed Feb 4 02:31:26 2009 Subject: getting tomcat running In-Reply-To: <200902041009.38374.pieter@degoeje.nl> References: <4988F9D8.5020807@telenix.org> <200902041009.38374.pieter@degoeje.nl> Message-ID: <4989605F.5000808@supsi.ch> 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 chuckr at telenix.org Wed Feb 4 09:18:24 2009 From: chuckr at telenix.org (Chuck Robey) Date: Wed Feb 4 09:18:32 2009 Subject: getting tomcat running In-Reply-To: <4989605F.5000808@supsi.ch> References: <4988F9D8.5020807@telenix.org> <200902041009.38374.pieter@degoeje.nl> <4989605F.5000808@supsi.ch> Message-ID: <4989CBE5.7080105@telenix.org> -----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 roberto.nunnari at supsi.ch Thu Feb 5 00:13:34 2009 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Thu Feb 5 00:13:41 2009 Subject: getting tomcat running In-Reply-To: <4989CBE5.7080105@telenix.org> References: <4988F9D8.5020807@telenix.org> <200902041009.38374.pieter@degoeje.nl> <4989605F.5000808@supsi.ch> <4989CBE5.7080105@telenix.org> Message-ID: <498A9FAA.40600@supsi.ch> 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 victor at bsdes.net Thu Feb 5 04:22:51 2009 From: victor at bsdes.net (Victor Balada Diaz) Date: Thu Feb 5 04:22:59 2009 Subject: Native Threads Message-ID: <20090205120612.GB1571@alf.bsdes.net> 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 pieter at degoeje.nl Thu Feb 5 05:28:48 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Thu Feb 5 05:28:55 2009 Subject: getting tomcat running In-Reply-To: <498A9FAA.40600@supsi.ch> References: <4988F9D8.5020807@telenix.org> <4989CBE5.7080105@telenix.org> <498A9FAA.40600@supsi.ch> Message-ID: <200902051428.45173.pieter@degoeje.nl> 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 achill at matrix.gatewaynet.com Thu Feb 5 05:33:48 2009 From: achill at matrix.gatewaynet.com (Achilleas Mantzios) Date: Thu Feb 5 05:33:55 2009 Subject: Native Threads In-Reply-To: <20090205120612.GB1571@alf.bsdes.net> References: <20090205120612.GB1571@alf.bsdes.net> Message-ID: <200902051523.15676.achill@matrix.gatewaynet.com> ???? Thursday 05 February 2009 14:06:12 ?/? Victor Balada Diaz ??????: > 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. Its been native for the last several years. -- Achilleas Mantzios From marck at rinet.ru Thu Feb 5 06:50:57 2009 From: marck at rinet.ru (Dmitry Morozovsky) Date: Thu Feb 5 06:51:04 2009 Subject: RELENG_7/i386: error building jdk16 by diablo-jdk16 (fwd) Message-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 *** ------------------------------------------------------------------------ -------------- next part -------------- # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x68095971, pid=88090, tid=0x68201200 # # Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode bsd-x86) # Problematic frame: # C [libthr.so.3+0xa971] _pthread_mutex_trylock+0xf # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x68c29800): Thread [stack: 0x7f5ff000,0x7f9ff000] [id=1746932224] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000 Registers: EAX=0x00000000, EBX=0x68181798, ECX=0x00000000, EDX=0x00000001 ESP=0x7f9fec80, EBP=0x7f9fec88, ESI=0x00000000, EDI=0x68201200 EIP=0x68095971, EFLAGS=0x00010202 Top of Stack: (sp=0x7f9fec80) 0x7f9fec80: 000000fe 7f900be8 7f9fecc8 680ff3df 0x7f9fec90: 00000000 68c29800 7f9fecb8 685a249c 0x7f9feca0: 7f900000 00000000 0805ad3c 6833319a 0x7f9fecb0: 686cf294 686cf294 7f9fecd8 68bd0d9c 0x7f9fecc0: 7f9fee00 68c29800 7f9fecd8 68baaf79 0x7f9fecd0: 7f9fee00 686cf294 7f9fed08 6862ea02 0x7f9fece0: 7f9fee00 686cf294 7f9fed08 68332b8c 0x7f9fecf0: 68c330f0 7f9fecfc fffffffc 686cf294 Instructions: (pc=0x68095971) 0x68095961: c3 55 89 e5 57 56 8b 75 08 65 8b 3d 08 00 00 00 0x68095971: 8b 06 85 c0 74 0c 89 f2 89 f8 5e 5f 5d e9 ad f8 Stack: [0x7f5ff000,0x7f9ff000], sp=0x7f9fec80, free space=4095k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libthr.so.3+0xa971] _pthread_mutex_trylock+0xf C [libc.so.7+0x623df] free+0x1a6 C [libstdc++.so.6+0xc1f79] _ZdlPv+0x21 V [libjvm.so+0x32ea02] V [libjvm.so+0x32f175] V [libjvm.so+0x333a2b] V [libjvm.so+0x1b3433] C [javac+0xa755] JavaMain+0x1cf5 C [javac+0x8b01] JavaMain+0xa1 C [libthr.so.3+0x67a5] pthread_getprio+0xd9 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: =>0x68c29800 (exited) Thread [stack: 0x7f5ff000,0x7f9ff000] [id=1746932224] VM state:not at safepoint (not fully initialized) VM Mutex/Monitor currently owned by a thread: None Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.6.0/bin/javac 0x6808b000 /lib/libthr.so.3 0x6809d000 /lib/libc.so.7 0x68300000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so 0x68ae9000 /usr/lib/libstdc++.so.6 0x68197000 /lib/libm.so.5 0x681ac000 /lib/libgcc_s.so.1 0x681b7000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/libhpi.so 0x681d2000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so 0x68bd8000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so 0x681df000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so 0x681e8000 /lib/libz.so.4 0x68059000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Denv.class.path= -Dapplication.home=/usr/local/diablo-jdk1.6.0 -Xms8m -Xss4m -ea:com.sun.tools... -XX:ThreadStackSize=768 -Xmx512m -Xms256m -Xbootclasspath/p:../../../make/sun/javac/javac/gjc.jar java_command: com.sun.tools.javac.Main -target 5 -d /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jsum ../../tools/sharing/AddJsum.java Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/home/marck/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/games USERNAME=root LD_LIBRARY_PATH=/usr/local/diablo-jdk1.6.0/jre/lib/i386/client:/usr/local/diablo-jdk1.6.0/jre/lib/i386:/usr/local/diablo-jdk1.6.0/jre/../lib/i386: SHELL=/bin/sh HOSTTYPE=FreeBSD OSTYPE=FreeBSD ARCH=i586 MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 SIGUSR2: [libjvm.so+0x2a7660], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002 SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.1-STABLE FreeBSD 7.1-STABLE #25: Tue Feb 3 22:28:11 MSK 2009 marck@wizzle.woozle.net:/usr/obj/usr/src/sys/Wizzle i386 rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 1591972k(397993k free) vm_info: Diablo Java HotSpot(TM) Client VM (10.0-b23) for bsd-x86 JRE (1.6.0_07-b02), built on May 12 2008 23:14:46 by "truk" with gcc 4.2.1 20070719 [FreeBSD] time: Wed Feb 4 12:51:36 2009 elapsed time: 0 seconds From glewis at eyesbeyond.com Thu Feb 5 08:02:36 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Thu Feb 5 08:02:43 2009 Subject: Native Threads In-Reply-To: <20090205120612.GB1571@alf.bsdes.net> References: <20090205120612.GB1571@alf.bsdes.net> Message-ID: <20090205160350.GA40209@misty.eyesbeyond.com> 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 chuckr at telenix.org Thu Feb 5 12:47:30 2009 From: chuckr at telenix.org (Chuck Robey) Date: Thu Feb 5 12:47:36 2009 Subject: still trying to get tomcat working Message-ID: <498B4E6C.40305@telenix.org> -----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 chuckr at telenix.org Thu Feb 5 13:04:19 2009 From: chuckr at telenix.org (Chuck Robey) Date: Thu Feb 5 13:04:25 2009 Subject: getting tomcat running In-Reply-To: <200902051428.45173.pieter@degoeje.nl> References: <4988F9D8.5020807@telenix.org> <4989CBE5.7080105@telenix.org> <498A9FAA.40600@supsi.ch> <200902051428.45173.pieter@degoeje.nl> Message-ID: <498B525D.50904@telenix.org> -----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 hq at FreeBSD.org Fri Feb 6 02:53:09 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Fri Feb 6 02:53:16 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <4982AF30.5050400@reactor-xg.kiev.ua> 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> Message-ID: <20090206105252.GA15887@herve> 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 From brian at experts-exchange.com Fri Feb 6 12:32:33 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Fri Feb 6 12:32:39 2009 Subject: openjdk6 patch Message-ID: <498C9E61.9010109@experts-exchange.com> 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 brian at experts-exchange.com Fri Feb 6 13:48:17 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Fri Feb 6 13:48:23 2009 Subject: OpenJDK6 port direction Message-ID: <498CB022.3060306@experts-exchange.com> 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 saper at system.pl Fri Feb 6 15:09:08 2009 From: saper at system.pl (Marcin Cieslak) Date: Fri Feb 6 15:09:15 2009 Subject: still trying to get tomcat working In-Reply-To: <498B4E6C.40305@telenix.org> References: <498B4E6C.40305@telenix.org> Message-ID: <498CC2FC.6050804@system.pl> 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 jsatkinson at embarqmail.com Fri Feb 6 17:00:19 2009 From: jsatkinson at embarqmail.com (Joseph S. Atkinson) Date: Fri Feb 6 17:00:26 2009 Subject: ports/130542: java/jdk16-doc changed distifo Message-ID: <200902070100.n1710HCo061608@freefall.freebsd.org> 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 jsatkinson at embarqmail.com Fri Feb 6 17:11:27 2009 From: jsatkinson at embarqmail.com (Joseph S. Atkinson) Date: Fri Feb 6 17:11:33 2009 Subject: ports/130542: java/jdk16-doc changed distifo Message-ID: <498CDB13.4090100@embarqmail.com> 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 chuckr at telenix.org Sat Feb 7 14:57:02 2009 From: chuckr at telenix.org (Chuck Robey) Date: Sat Feb 7 14:57:09 2009 Subject: tomcat again Message-ID: <498E0FA7.1020102@telenix.org> -----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----- From m.seaman at infracaninophile.co.uk Sat Feb 7 17:39:36 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Feb 7 17:39:42 2009 Subject: tomcat again In-Reply-To: <498E0FA7.1020102@telenix.org> References: <498E0FA7.1020102@telenix.org> Message-ID: <498E37C5.8090208@infracaninophile.co.uk> Chuck Robey wrote: > 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 > Why wouldn't you use either mod_jk or mod_proxy_ajp here? Of course, you need tomcat to have an AJP13 listener set up (usually port 8009 -- example config is in the standard server.xml but commented out I think) AJP13 is just a condensed version of HTTP with most of the standard text strings replaced by binary codes, and it uses persistent apache <-> tomcat connections rather than tearing them down after each session, so it's a bit more efficient. mod_jk is more developed and more widely used but it's yet another package to install. mod_proxy_ajp comes as standard with apache22 -- it's a refactoring of the mod_jk code to take all the load-balancy stuff out into a separate mod_proxy module and then add back in the AJP13-ness separately. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090208/fb090211/signature.pgp From broadcasts at myfanbox.com Sun Feb 8 17:00:26 2009 From: broadcasts at myfanbox.com (FanBox Broadcast) Date: Sun Feb 8 17:00:37 2009 Subject: Your fan Baby_G sent you a broadcast on FanBox Message-ID: <498F7911.00000C37@smtp953.sms.ac> Hi freebsd-java! Your fan Baby_G sent you a broadcast on FanBox. [1]Automatically You can [2]change the frequency of this type of notification. Visit our [3]Terms of Service or [4]Privacy Policy. FanBox - 255 G Street #723, San Diego, References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.WdufJxzEf2Nn7wjM1eJxjAHdYgKoNqTMIF9KtN3.WKZQwjLyi0o2fp0VnppqszH3AQDFzA6WMrsZtVYPQFyfYaPezoLM-Iac2HDXgdv1lq5xcBpGRR0mmc2OZ-v1jB0SOvtiEUtf6v-20FhGNkvUOaO8SE14L-zGwI7yVhxK-66&fan=uRZVsVGgKnfEtHtD2w0egA==&opg=http://profile.fanbox.com/Inbox/Main.aspx?messages=34&vet=30&dt=020809&mlid=1381522903" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=30&mlid=1381522903" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.WdufJxzEf2Nn7wjM1eJxjAHdYgKoNqTMIF9KtN3.WKZQwjLyi0o2fp0VnppqszH3PLnuSSsNT-lfPEVNcwFmNRhFrinO3G5WfLSzwT-fWse0URAREHEgnYmHsN1z4ZzrnRoCPlU8eCN4C1D8d8Oausv3VrlDqKMIjczD5IUK47Q&fan=uRZVsVGgKnfEtHtD2w0egA==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=30&dt=020809&mlid=1381522903" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.WdufJxzEf2Nn7wjM1eJxjAHdYgKoNqTMIF9KtN3.WKZQwjLyi0o2fp0VnppqszH3AJmgU4tsON8uur6.QdSzZO0.pa9apCwwihWhC-Uar1T-BXlTjGI-K3hr9KpvU8Gv2xJTkNq5BVD36E-.mzOHBHWggULv9dEXY.QpCf00vEe&fan=uRZVsVGgKnfEtHtD2w0egA==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=30&dt=020809&mlid=1381522903" From horst.leitenmueller at liwest.at Mon Feb 9 01:02:12 2009 From: horst.leitenmueller at liwest.at (Horst Leitenmueller) Date: Mon Feb 9 01:02:26 2009 Subject: Jboss 5.0 GA Message-ID: <1234167308.1925.9.camel@lap02.be-informed.at> hello greg lewis, just information for jboss 5.GA PORTVERSION= 5.0.0.GA PORTEPOCH= 1 there is the common dir missing on toplevel which must be copied to the output (small fix for now) cp -R /usr/ports/java/jboss5/work/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/common /usr/local/jboss5/ chown -R www:www /usr/local/jboss5/common this is new; changed from jboss 4 to jboss 5 common contains the jar files for the base server/* missing in Makefile: APP_HOME_FILES= bin client lib server *common* br horst leitenmueller -- ------------------------------------ Horst Leitenmueller email: horst.leitenmueller@liwest.at ------------------------------------ From bugmaster at FreeBSD.org Mon Feb 9 03:06:55 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Feb 9 03:08:33 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200902091106.n19B6sWA009171@freefall.freebsd.org> 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 tommyhp2 at yahoo.com Mon Feb 9 05:19:11 2009 From: tommyhp2 at yahoo.com (Tommy Pham) Date: Mon Feb 9 05:19:17 2009 Subject: still trying to get tomcat working References: <498B4E6C.40305@telenix.org> Message-ID: <879358.90788.qm@web38205.mail.mud.yahoo.com> Hi Chuck, ----- Original Message ---- From: Chuck Robey To: freebsd-java@FreeBSD.org Sent: Thursday, February 5, 2009 12:39:08 PM Subject: still trying to get tomcat working -----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----- _______________________________________________ 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" If I'm not mistaken, I think this is OT.? You'll have a better answer if you ask the tomcat ML since you're asking for is tomcat related?"conf/server.xml" ?:) Regards, Tommy From nwsadm at piekmarketing.eu Tue Feb 10 06:11:43 2009 From: nwsadm at piekmarketing.eu (Piek International Education Centre (I.E.C.)) Date: Tue Feb 10 06:11:53 2009 Subject: Newsletter PIEK International Education Center I.E.C. Message-ID: <701AD24802304FB5B921134227D4C210@ZRE001> From broadcasts at myfanbox.com Tue Feb 10 12:04:30 2009 From: broadcasts at myfanbox.com (FanBox Broadcast) Date: Tue Feb 10 12:04:45 2009 Subject: Your fan inc754856731768 sent you a broadcast on FanBox Message-ID: <4991A527.00000DAD@smtp961.sms.ac> Hi freebsd-java! Your fan inc754856731768 sent you a broadcast [1]Automatically inc754856731768. You can [2]change the frequency of this type of notification. Visit our [3]Terms of Service or [4]Privacy Policy. FanBox - 255 G Street #723, San Diego, References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.eYhA.V8PfB4noshuT.FQItXA1pm0hs0-hWoUKs5XObbU8iu0VdUmnHboIBQ4sR-aU9HTk0DQSsJR8OBC9RBcShCMFfRyLwV6riM8o7d-Y-54mHI0X6ZO4X-e4AgIlhpFAauvFFp8Cs8jzy-6ZlTT3OweQ7uUzh1L8DQeVFyZyYq&fan=0EdCkKsavnYqcHXV4NeJ+w==&opg=http://profile.fanbox.com/Inbox/Main.aspx?messages=34&vet=30&dt=021009&mlid=1398117400" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=30&mlid=1398117400" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.eYhA.V8PfB4noshuT.FQItXA1pm0hs0-hWoUKs5XObbU8iu0VdUmnHboIBQ4sR-aYklP10hBZaLHtO0jETcklYjBt5r6MM.p44ORXEbh-3bCS.n7b91DY1PN7OSn6OHpzcB9BWeNNhkamw2iqwqvkFOD40zM2H3c1iM8N1JhiAp&fan=0EdCkKsavnYqcHXV4NeJ+w==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=30&dt=021009&mlid=1398117400" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.eYhA.V8PfB4noshuT.FQItXA1pm0hs0-hWoUKs5XObbU8iu0VdUmnHboIBQ4sR-aV5jM4CZqnTwjksNnucXg1Ap3PGLdlHmyeE7IQp.zvKw1K5QyZhJjZ-NhnfhG3Rotj8GWdT2P7D-qi8gk-teanXZouC80PxKWEpF71rzn6oS&fan=0EdCkKsavnYqcHXV4NeJ+w==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=30&dt=021009&mlid=1398117400" From brian at getsnappy.com Tue Feb 10 15:29:00 2009 From: brian at getsnappy.com (Brian Gardner) Date: Tue Feb 10 15:29:06 2009 Subject: openjdk6 port complete and ready for testing Message-ID: <49920439.8010208@getsnappy.com> I've completed creating the following ports: java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This port will probably only function properly for amd64, and there are probably some dependency issues. I've been grinding (load testing) this port over the weekend with some serious concurrency and it's held its own. We released this port to a production machine today as well without any hickups so far. I'd appreciate any help in testing the port and openjdk6 and patching it to support all other architectures. Anybody interested please email me, and I'll email you the zipped up ports. From adam at thegeeklord.com Tue Feb 10 16:57:40 2009 From: adam at thegeeklord.com (Adam Stroud) Date: Tue Feb 10 16:57:47 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49920439.8010208@getsnappy.com> References: <49920439.8010208@getsnappy.com> Message-ID: <49921BFF.7080605@thegeeklord.com> Brian Gardner wrote: > I've completed creating the following ports: > java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This > port will probably only function properly for amd64, and there are > probably some dependency issues. I've been grinding (load testing) this > port over the weekend with some serious concurrency and it's held its > own. We released this port to a production machine today as well > without any hickups so far. > I'd appreciate any help in testing the port and openjdk6 and patching it > to support all other architectures. Anybody interested please email me, > and I'll email you the zipped up ports. > _______________________________________________ > 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" I am interested in the port. Any specific places you want me to start testing first? Adam From ken at tydfam.jp Tue Feb 10 18:24:25 2009 From: ken at tydfam.jp (ken) Date: Tue Feb 10 18:24:33 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49920439.8010208@getsnappy.com> References: <49920439.8010208@getsnappy.com> Message-ID: <20090211.111211.29593248145863070.ken@tydfam.jp> Brian, Appreciate your big effort on openjdk6. I'd like to test the openjdk6 with my amd64-current machine running jboss4/5, seam, tomcat6, eclipse, eclipse-devel. Thank you in advance. From ulrich at pukruppa.net Tue Feb 10 19:31:38 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Tue Feb 10 19:31:45 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49920439.8010208@getsnappy.com> References: <49920439.8010208@getsnappy.com> Message-ID: <499244BC.7020506@pukruppa.net> Brian Gardner schrieb: > I've completed creating the following ports: > java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This > port will probably only function properly for amd64, and there are > probably some dependency issues. I've been grinding (load testing) this > port over the weekend with some serious concurrency and it's held its > own. We released this port to a production machine today as well > without any hickups so far. > I'd appreciate any help in testing the port and openjdk6 and patching it > to support all other architectures. Anybody interested please email me, > and I'll email you the zipped up ports. Yes - though I only run some minor java apps - I would like to test it on my amd64. Greetings Uli. > _______________________________________________ > 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" > From chat95 at mac.com Tue Feb 10 19:58:17 2009 From: chat95 at mac.com (Maho NAKATA) Date: Tue Feb 10 19:58:24 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49920439.8010208@getsnappy.com> References: <49920439.8010208@getsnappy.com> Message-ID: <20090211.123119.193699308.chat95@mac.com> From: Brian Gardner Subject: openjdk6 port complete and ready for testing Date: Tue, 10 Feb 2009 14:48:25 -0800 > I've completed creating the following ports: > java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This > port will probably only function properly for amd64, and there are > probably some dependency issues. I've been grinding (load testing) > this port over the weekend with some serious concurrency and it's held > its own. We released this port to a production machine today as well > without any hickups so far. > > I'd appreciate any help in testing the port and openjdk6 and patching > it to support all other architectures. Anybody interested please > email me, and I'll email you the zipped up ports. > _______________________________________________ > 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" Hello Brian, great work! Please send me a port for me or submit your port as PR. My recommendation is submitting as a PR so that everyone can test openjdk6 easily. I'm interested in your port! I'm a de facto maintainer of openoffice.org port. One of the major headache for OOo port is no free Java is available. Best, -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090211/9268ebd0/attachment.pgp From photos at myfanbox.com Tue Feb 10 23:05:56 2009 From: photos at myfanbox.com (FanBox Photos) Date: Tue Feb 10 23:06:02 2009 Subject: Marrriaaa has uploaded a new photo Message-ID: <49927421.0000089F@smtp143.sms.ac> Hi freebsd-java! Marrriaaa has uploaded a new photo. [1]Automatically You can [2]change the frequency of this type of notification. Visit our [3]Terms of Service or [4]Privacy Policy. FanBox - 255 G Street #723, San Diego, References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.eYhA.V8PfB4noshuT.FQItQDDzbfdcR5OY2uUU0957kPbZCvDeDIAJ01XHefKVS50Fl5.tT5OxI-rNCBNhYoXgUVAgDHpEHPaU5kn50X0l9T6qWXtj5alRHujaIpkStYFlLV2l72heb-aLbhstw1OfCxwTZcnyh3dHiA8TY0J1d&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/mpa/default.aspx?u=xxmixedbeautyxx670904768&phi=6728708&vet=9&dt=021009&mlid=1405947139" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=9&mlid=1405947139" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.eYhA.V8PfB4noshuT.FQItQDDzbfdcR5OY2uUU0957kPbZCvDeDIAJ01XHefKVS59o7KegyQ7kFiOqcYnFW.b2cAQ5U755hx5AdEVYhyEMVfLFGYfTa1VgnxtuqSJlT3ztH1gDWOaKQLbKm66B5b7hoCx-hNXBGdRpEzZOBly0O&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=9&dt=021009&mlid=1405947139" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.eYhA.V8PfB4noshuT.FQItQDDzbfdcR5OY2uUU0957kPbZCvDeDIAJ01XHefKVS57OxX7bqcNq59FJpg8Gh8oksPXFpusa5AJTNfLIe.pPQ.MyJQpI8nGs.mWOubRKbCL-3z.x-fJ1fYyTTYGK-EoNmO8pbH82LhehLsBEdj5HG&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=9&dt=021009&mlid=1405947139" From daichi at jp.freebsd.org Wed Feb 11 00:42:31 2009 From: daichi at jp.freebsd.org (Daichi GOTO) Date: Wed Feb 11 00:42:37 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49920439.8010208@getsnappy.com> References: <49920439.8010208@getsnappy.com> Message-ID: <49928B75.5090307@jp.freebsd.org> There is awesome great respect for your work, Brian! I want to join your port test, would you please mail me openjdk6 port. Thanks Brian Gardner wrote: > I've completed creating the following ports: > java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This > port will probably only function properly for amd64, and there are > probably some dependency issues. I've been grinding (load testing) this > port over the weekend with some serious concurrency and it's held its > own. We released this port to a production machine today as well > without any hickups so far. > I'd appreciate any help in testing the port and openjdk6 and patching it > to support all other architectures. Anybody interested please email me, > and I'll email you the zipped up ports. > _______________________________________________ > 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 photos at myfanbox.com Wed Feb 11 21:28:35 2009 From: photos at myfanbox.com (FanBox Photos) Date: Wed Feb 11 21:28:41 2009 Subject: Marrriaaa has uploaded a new photo Message-ID: <4993B37B.00000B95@smtp137.sms.ac> Hi freebsd-java! Marrriaaa has uploaded a new photo. [1]Automatically You can [2]change the frequency of this type of notification. Visit our [3]Terms of Service or [4]Privacy Policy. FanBox - 255 G Street #723, San Diego, References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.VzHtw7k2rz.hERDkQKKrnTUIcPXXj-xofwPLvK3vLxuUAOeMj4ynL4lw4ChvEuvQSMDxT3DM4qAocoDxzK0Wfes5.tLbJnSgi6Q-QjqGWDCzDYe-ySa7QqBJZLENGPAFHwZ.VJ42j4UJksNUdqLuQSk8gCZ3Mmc1S3rWeEbUXEe&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/mpa/default.aspx?u=xxmixedbeautyxx670904768&phi=6731327&vet=9&dt=021109&mlid=1415367790" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=9&mlid=1415367790" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.VzHtw7k2rz.hERDkQKKrnTUIcPXXj-xofwPLvK3vLxuUAOeMj4ynL4lw4ChvEuvQYZZgN9kAI9KQAY8Pkc2Dps6ah4VNPmmHTNJyvHIN7SNKNi0voG1Bwl2fhqI68jmc82SXp5Q2SawlDAouGC1Y8EFaVCoFylrYbbADkD3HkQ0&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=9&dt=021109&mlid=1415367790" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.VzHtw7k2rz.hERDkQKKrnTUIcPXXj-xofwPLvK3vLxuUAOeMj4ynL4lw4ChvEuvQU055Hp62b9VRydYdBwgZRR-3bT8Jp-ZRS4s.4dNYp8AbuHIMdvYSmuVu7aUS9MN-TAMZm8Gm49xAvzf.vhciuNwocbqv1izEXO.6P8D4g3s&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=9&dt=021109&mlid=1415367790" From aryeh.friedman at gmail.com Thu Feb 12 04:03:25 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Thu Feb 12 04:03:34 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49928B75.5090307@jp.freebsd.org> References: <49920439.8010208@getsnappy.com> <49928B75.5090307@jp.freebsd.org> Message-ID: <499408E2.8060708@gmail.com> Daichi GOTO wrote: > There is awesome great respect for your work, Brian! > > I want to join your port test, would you please > mail me openjdk6 port. > Thanks > > Brian Gardner wrote: >> I've completed creating the following ports: >> java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). >> This port will probably only function properly for amd64, and there >> are probably some dependency issues. I've been grinding (load >> testing) this port over the weekend with some serious concurrency and >> it's held its own. We released this port to a production machine >> today as well without any hickups so far. >> I'd appreciate any help in testing the port and openjdk6 and patching >> it to support all other architectures. Anybody interested please >> email me, and I'll email you the zipped up ports. >> _______________________________________________ >> 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" > Same here (if anyone knows how to inject a file into a local cvsup repo is [I already have a semi-public cvsup server and would be willing to serve a testing cvsup version from there).... I am a i386 person so it is likelly to be that I am going to migrate from java/jdk16 (sun update 7 I think) and a very heavy mysql<---->tomcat6 config From gogeiger at comcast.net Thu Feb 12 16:00:38 2009 From: gogeiger at comcast.net (Geiger Associates Heating and Air) Date: Thu Feb 12 16:00:45 2009 Subject: Learn how to save up to 30% on your monthly energy bill! Message-ID: <124a585fbae8e81cf48f5ddb5f9ebfac@localhost.localdomain> If you are having trouble viewing this message, please go to http://community.icontact.com/p/geigerassociates/newsletters/energy-saverorg/rss.xml And we can also show you how to easily earn a few hundred dollars a month...even in this troubled economy! No work or investment needed. Just a casual conversation with any homeowner can add to profits. The average homeowner is scrambling for ways to cut everyday costs just to make ends meet. As a professional and homeowner, you know how heating and cooling expenses can hurt anyone's wallet. And with a market hit very hard, you have an opportunity to earn an extra income that can make a real difference for yourself and others. Our energy misers are saving the average homeowner up to 30% a month. We can provide a brief informal demo and show you how to earn a nice profit just by word of mouth. See below for details! or Request a free starter kit today. For every referral that leads to a sale, you will earn $200 for every Heat/Air upgrade, $100 for every electric meter miser and $50 for all other energy misers! Contact us for personal discounts on your own miser and or heating cooling system upgrade. Visit energy-saver.org for more information This message was sent by: Tim Geiger, 11 Cross Keys Road, Collegeville, Pa 19462 Powered by iContact: http://freetrial.icontact.com Manage your subscription: http://app.icontact.com/icp/mmail-mprofile.pl?r=1022366725&l=49055&s=MNZ2&m=1767738&c=410502 Forward to a friend: http://app.icontact.com/icp/sub/forward?m=1767738&s=1022366725&c=MNZ2&cid=410502 Comment on this message in the iContact Community: http://community.icontact.com/p/geigerassociates/newsletters/energy-saverorg/posts/learn-how-to-save-up-to-30-on-your-monthly-energy-bill#commentform Receive our messages as an RSS feed: http://community.icontact.com/p/geigerassociates/newsletters/energy-saverorg/rss.xml?r=1022366725&l=49055&s=MNZ2&m=1767738&c=410502 From mariomartin39 at rapidmail.sytes.net Fri Feb 13 06:12:44 2009 From: mariomartin39 at rapidmail.sytes.net (RapidMail) Date: Fri Feb 13 06:12:50 2009 Subject: Ud. elige y decide cuando, cuanto y como... Message-ID: Aprender ingl?s. Aprendizaje Holistico? le propone hacerlo en un tiempo determinado, en forma continua, todos los d?as, durante unas horas, en grupos reducidos, lo que reduce la cantidad de horas de clase a la mitad de lo empleado tradicionalmente, y le permite hablar ingl?s en pocos d?as, con un costo reducido. El m?todo de aprendizaje est? dise?ado para quienes desean y necesitan aprovechar su tiempo, aprendiendo en forma r?pida, efectiva y manejarse bien con el idioma, ya sea por viajes, congresos, negocios, trabajos o por razones culturales. Cumpliendo con los requisitos m?nimos de asistencia, puntualidad y compromiso grupal, lograr? los objetivos de comunicarse en forma oral y escrita de acuerdo al nivel realizado. Aproveche, consulte sobre nuestra super promo y descuentos de marzo! .... Consultar Si Ud. adquiere el curso y lo abona, pero quiere desistir, tiene el derecho al reintegro del dinero abonado por las clases que no cursar?. Si tiene dudas que te reintegremos el dinero, puede abonar por semana adelantada. Salga de dudas curse los primeros 5 d?as y luego decida si contin?a. M?s de 20.000 alumnos satisfechos Nos avalan... Los cursos comienzan el jueves 5 de marzo. Ingl?s en 20 d?as? (011) 4383-4412 de 10 a 19 hs. m?s informacion Pulse AQUI! y podremos informarte sobre las distintas promociones, las diferentes formas de pago. Te esperamos!! Departamento Alumnos Nuestro lema es: Cuando una persona m?s se r?e y m?s se equivoca m?s aprende. 26 a?os de experiencia en Superaprendizaje?, y 20.000 exalumnos, Si desea eliminado del listado PULSE AQUI! From chuckr at telenix.org Sun Feb 15 14:03:19 2009 From: chuckr at telenix.org (Chuck Robey) Date: Sun Feb 15 14:03:26 2009 Subject: tomcat: dead because ports "already in use" Message-ID: <49988EEB.5050202@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been happily playing with my tomcat installation, gaming with the apps in the Sun Core servlets and JSP pages books, when I suddenly can't get tomcat6 to start up anymore, for longer than about 10 seconds. The only thing I can find, which seem to make the least sense, is the long entries I get in the /usr/local/apache-tomcat6.0/logs/stdout.log file. I'll be copying all that stuff here (even though I hate to put long error lists to *these* lists) but the stuff that repeats are the lines that look like: java.lang.Exception: Socket bind failed: [48] Address already in use There are several like this. I normally go out of my way to avoid use of IPV6, because I figure I'm experimenting enough with all that. I'm saying, I suppose it could have something to do with IPV6 stuff I see now and then, but I sure did try to avoid that. OK, here's the stdout.log file. Feb 15, 2009 4:41:23 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. Feb 15, 2009 4:41:23 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [true], random [true]. Feb 15, 2009 4:41:23 PM org.apache.coyote.http11.Http11AprProtocol init SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [48] Address already in use at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) at org.apache.catalina.startup.Catalina.load(Catalina.java:530) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) Feb 15, 2009 4:41:23 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [48] Address already in use at org.apache.catalina.connector.Connector.initialize(Connector.java:1060) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) at org.apache.catalina.startup.Catalina.load(Catalina.java:530) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) Feb 15, 2009 4:41:23 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 713 ms Feb 15, 2009 4:41:23 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Feb 15, 2009 4:41:23 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Feb 15, 2009 4:41:24 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Feb 15, 2009 4:41:24 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Feb 15, 2009 4:41:25 PM org.apache.jasper.EmbeddedServletOptions SEVERE: The scratchDir you specified: /usr/local/apache-tomcat6.0/work/Catalina/localhost/host-manager is unusable. Feb 15, 2009 4:41:25 PM org.apache.jasper.EmbeddedServletOptions SEVERE: The scratchDir you specified: /usr/local/apache-tomcat6.0/work/Catalina/localhost/manager is unusable. Feb 15, 2009 4:41:25 PM org.apache.coyote.http11.Http11AprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [48] Address already in use at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:717) at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137) at org.apache.catalina.connector.Connector.start(Connector.java:1131) at org.apache.catalina.core.StandardService.start(StandardService.java:531) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Feb 15, 2009 4:41:25 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [48] Address already in use at org.apache.catalina.connector.Connector.start(Connector.java:1138) at org.apache.catalina.core.StandardService.start(StandardService.java:531) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Feb 15, 2009 4:41:25 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1343 ms Feb 15, 2009 4:41:25 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[8005]: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) atorg.apache.catalina.core.StandardServer.await(StandardServer.java:373) at org.apache.catalina.startup.Catalina.await(Catalina.java:642) at org.apache.catalina.startup.Catalina.start(Catalina.java:602) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) ~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmYjusACgkQz62J6PPcoOnUMQCfVZIQ3FGTCVgv74mkQWJBS4XG 5igAn00L7aj03Oi04lIM8IkwSuvLl2E+ =aEpc -----END PGP SIGNATURE----- From hq at FreeBSD.org Sun Feb 15 14:28:47 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Sun Feb 15 14:29:20 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <20090206105252.GA15887@herve> 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> <20090206105252.GA15887@herve> Message-ID: <4998971B.5040400@FreeBSD.org> Herve Quiroz wrote: > 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. I could not manage to build OpenOffice packages on my own, because my machine just lacks memory. However, people from openoffice@ tested the patch and the packages still build fine. I am now working on the patches to fix depending ports (e.g. textproc/ant-xinclude-task). You may still review the patch until I commit it (next few days hopefully). Oh, and BTW, I just realized I forgot to attach the patch in my last message. So here it is. Herve -------------- next part -------------- A non-text attachment was scrubbed... Name: apache-ant.diff Type: text/x-patch Size: 1195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090215/89caff05/apache-ant.bin From aryeh.friedman at gmail.com Sun Feb 15 14:46:47 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Feb 15 14:46:54 2009 Subject: tomcat: dead because ports "already in use" In-Reply-To: <49988EEB.5050202@telenix.org> References: <49988EEB.5050202@telenix.org> Message-ID: <49989B4F.6090106@gmail.com> Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've been happily playing with my tomcat installation, gaming with the apps in > the Sun Core servlets and JSP pages books, when I suddenly can't get tomcat6 to > start up anymore, for longer than about 10 seconds. The only thing I can find, > which seem to make the least sense, is the long entries I get in the > /usr/local/apache-tomcat6.0/logs/stdout.log file. I'll be copying all that > stuff here (even though I hate to put long error lists to *these* lists) but the > stuff that repeats are the lines that look like: > > java.lang.Exception: Socket bind failed: [48] Address already in use > > There are several like this. I normally go out of my way to avoid use of IPV6, > because I figure I'm experimenting enough with all that. I'm saying, I suppose > it could have something to do with IPV6 stuff I see now and then, but I sure did > try to avoid that. > > OK, here's the stdout.log file. > > Feb 15, 2009 4:41:23 PM org.apache.catalina.core.AprLifecycleListener init > INFO: Loaded APR based Apache Tomcat Native library 1.1.16. > Feb 15, 2009 4:41:23 PM org.apache.catalina.core.AprLifecycleListener init > INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [true], > random [true]. > Feb 15, 2009 4:41:23 PM org.apache.coyote.http11.Http11AprProtocol init > SEVERE: Error initializing endpoint > java.lang.Exception: Socket bind failed: [48] Address already in use > at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) > at > org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) > at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) > at > org.apache.catalina.core.StandardService.initialize(StandardService.java:677) > at > org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) > at org.apache.catalina.startup.Catalina.load(Catalina.java:530) > at org.apache.catalina.startup.Catalina.load(Catalina.java:550) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) > Feb 15, 2009 4:41:23 PM org.apache.catalina.startup.Catalina load > SEVERE: Catalina.start > LifecycleException: Protocol handler initialization failed: > java.lang.Exception: Socket bind failed: [48] Address already in use > at org.apache.catalina.connector.Connector.initialize(Connector.java:1060) > at > org.apache.catalina.core.StandardService.initialize(StandardService.java:677) > at > org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) > at org.apache.catalina.startup.Catalina.load(Catalina.java:530) > at org.apache.catalina.startup.Catalina.load(Catalina.java:550) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) > Feb 15, 2009 4:41:23 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 713 ms > Feb 15, 2009 4:41:23 PM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Feb 15, 2009 4:41:23 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 > Feb 15, 2009 4:41:24 PM org.apache.catalina.core.ApplicationContext log > INFO: ContextListener: contextInitialized() > Feb 15, 2009 4:41:24 PM org.apache.catalina.core.ApplicationContext log > INFO: SessionListener: contextInitialized() > Feb 15, 2009 4:41:25 PM org.apache.jasper.EmbeddedServletOptions > SEVERE: The scratchDir you specified: > /usr/local/apache-tomcat6.0/work/Catalina/localhost/host-manager is unusable. > Feb 15, 2009 4:41:25 PM org.apache.jasper.EmbeddedServletOptions > SEVERE: The scratchDir you specified: > /usr/local/apache-tomcat6.0/work/Catalina/localhost/manager is unusable. > Feb 15, 2009 4:41:25 PM org.apache.coyote.http11.Http11AprProtocol start > SEVERE: Error starting endpoint > java.lang.Exception: Socket bind failed: [48] Address already in use > at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) > at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:717) > at > org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137) > at org.apache.catalina.connector.Connector.start(Connector.java:1131) > at org.apache.catalina.core.StandardService.start(StandardService.java:531) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:578) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > Feb 15, 2009 4:41:25 PM org.apache.catalina.startup.Catalina start > SEVERE: Catalina.start: > LifecycleException: service.getName(): "Catalina"; Protocol handler start > failed: java.lang.Exception: Socket bind failed: [48] Address already in use > at org.apache.catalina.connector.Connector.start(Connector.java:1138) > at org.apache.catalina.core.StandardService.start(StandardService.java:531) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:578) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > Feb 15, 2009 4:41:25 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 1343 ms > Feb 15, 2009 4:41:25 PM org.apache.catalina.core.StandardServer await > SEVERE: StandardServer.await: create[8005]: > java.net.BindException: Address already in use > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > at java.net.ServerSocket.bind(ServerSocket.java:319) > at java.net.ServerSocket.(ServerSocket.java:185) > atorg.apache.catalina.core.StandardServer.await(StandardServer.java:373) > at org.apache.catalina.startup.Catalina.await(Catalina.java:642) > at org.apache.catalina.startup.Catalina.start(Catalina.java:602) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > ~ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmYjusACgkQz62J6PPcoOnUMQCfVZIQ3FGTCVgv74mkQWJBS4XG > 5igAn00L7aj03Oi04lIM8IkwSuvLl2E+ > =aEpc > -----END PGP SIGNATURE----- > _______________________________________________ > 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" > > You have several options... wait for java complete (shutdown.dh naterious)... you can also this by editing by modifiing serveer.xml, conntext.xml... I both cases you really to now what your doing From fans at myfanbox.com Sun Feb 15 18:02:16 2009 From: fans at myfanbox.com (FanBox Fan) Date: Sun Feb 15 18:02:29 2009 Subject: Cris wants to be your loyal fan Message-ID: <4998C468.00000E9A@smtp145.sms.ac> Hi freebsd-java! Cris wants to be your loyal and/or photo, and accept or reject her fan request. notification. Privacy Policy. References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.YofM0JUtIpExLoPOIe72ozuYPQP4QuSWRhLAJBYQ6C.UA1BboVJ7sta6akbzP6ft.YER3c5EZT7SH3BSfR1X2.DPco48C.iN9UAuD-apAwOKLFMuiBWR3c8G-LEXOD0hwZ6MzkOGFuqsrmN5eFbVXDH256xBhTU-PpQhD9z1Ky3&fan=6N/dht4HokZUTxYta4g1mw==&opg=http://profile.fanbox.com/profile/NewCustomProfile.aspx?u=ourunshe930474768&vet=75&dt=021509&mlid=1466659853" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=75&mlid=1466659853" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.YofM0JUtIpExLoPOIe72ozuYPQP4QuSWRhLAJBYQ6C.UA1BboVJ7sta6akbzP6ft3UJTdJ-UvmmBADkK0N4Jeslk3PyIFk1-T-UIyk6P4PxjHhAuDKTZtnk8nUJCTmX4BjVoRHH5rjkxb.AN6PaiAxP6dkotglzUN6k2O3WnP6T&fan=6N/dht4HokZUTxYta4g1mw==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=75&dt=021509&mlid=1466659853" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.YofM0JUtIpExLoPOIe72ozuYPQP4QuSWRhLAJBYQ6C.UA1BboVJ7sta6akbzP6ft18yVwPrCT8vMHasaGQXbtdyd03RQAmPiiiXejNp7i78e6R-7tA8NrMUGp5IuWpL23u-5FvoS.0TdWDwsT4xb2FeHMB6sgN8PmR-0Xd8Xx4w&fan=6N/dht4HokZUTxYta4g1mw==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=75&dt=021509&mlid=1466659853" From fans at myfanbox.com Sun Feb 15 18:02:17 2009 From: fans at myfanbox.com (FanBox Fan) Date: Sun Feb 15 18:02:29 2009 Subject: Cris wants to be your loyal fan Message-ID: <4998C469.00000EA6@smtp139.sms.ac> Hi freebsd-java! Cris wants to be your loyal and/or photo, and accept or reject her fan request. notification. Privacy Policy. References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.YofM0JUtIpExLoPOIe72ozuYPQP4QuSWRhLAJBYQ6C.j9vAUs0N5q6q3fmaREWKYPwfUCLe.mEsU8gcoGRpAh5YmpcWodI2at3eAtGuugYaudr8QVf-mMWjf1i7.Pyem.8gDdR4Eb6BTUzlZgV1GcIYTiW0aFD22JFqny3k-KuZ&fan=6N/dht4HokZUTxYta4g1mw==&opg=http://profile.fanbox.com/profile/NewCustomProfile.aspx?u=ourunshe930474768&vet=75&dt=021509&mlid=1466660177" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=75&mlid=1466660177" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.YofM0JUtIpExLoPOIe72ozuYPQP4QuSWRhLAJBYQ6C.j9vAUs0N5q6q3fmaREWKYNmFw1cQztrdK0hqWXB4dOfmiqSuG2Vvk-7niP8FEpnMUWlzn4uM7vuVN3F75Tst3YBhH6n-pQnA0dea1-mt.6ujEHeEev5av.3t0pu3c0jV&fan=6N/dht4HokZUTxYta4g1mw==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=75&dt=021509&mlid=1466660177" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.YofM0JUtIpExLoPOIe72ozuYPQP4QuSWRhLAJBYQ6C.j9vAUs0N5q6q3fmaREWKYAbF6hEXUgQ1dPY2Q7sNT8jgH-EXgxF7XK6x8kOZzUgsxliPPTXq9EoHHzw5R4TatEbKAw05QhFGU5moCggpX6cpA-CYh6PiSSCu3tDqXfWC&fan=6N/dht4HokZUTxYta4g1mw==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=75&dt=021509&mlid=1466660177" From horst.leitenmueller at liwest.at Mon Feb 16 01:28:26 2009 From: horst.leitenmueller at liwest.at (Horst Leitenmueller) Date: Mon Feb 16 01:28:34 2009 Subject: Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl Message-ID: <1234776494.1485.11.camel@lap02.be-informed.at> hello together, problem on jboss 5.0 GA and enable via jboss5ctl on: FreeBSD 7.1-RELEASE-p2 #3 i have tried both with /usr/local/jboss5/bin/run.sh jdk set to diablo1.6/jdk16 via javavm_opt.conf normal boot (with some warnings in log file but normal as post of scott starky) when i try to start via rc.conf (jboss5_enable="YES") which calls in background the /usr/local/bin/jboss5ctl the i always get an error 09:23:51,788 DEBUG [BaseClassLoader] Created BaseClassLoader@e771f3{bindings-classloader:0.0.0$MODULE} with policy VFSClassLoaderPolicy@ea3932{name=bindings-classloader:0.0.0$MODULE domain=null roots=[DelegatingHandler@22091943[path=jboss-bindingservice.jar context=file:/s/usr-local/jboss5/common/lib/ real=file:/s/usr-local/jboss5/common/lib/jboss-bindingservice.jar]] delegates=null exported=[org.jboss.services.binding, org.jboss.services.binding.impl, META-INF] NON_EMPTY} 09:23:51,789 DEBUG [BaseClassLoaderDomain] ClassLoaderDomain@118fa47{DefaultDomain} registerClassLoader BaseClassLoader@e771f3{bindings-classloader:0.0.0$MODULE} 09:23:52,781 ERROR [AbstractKernelController] Error installing to Instantiated: name=StandardBindings state=Described java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet] at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395) and system shutsdown....... 09:23:57,988 DEBUG [ServerImpl] Failed to start java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name -> Error StandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet] *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} ServiceBindingManager -> ServiceBindingStore{Installed:Instantiated} ServiceBindingStore -> StandardBindings{Installed:**ERROR**} SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Described} SystemPropertyBinder -> SystemPropertyBinder#1{Installed:Described} at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174) at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:148) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Thread.java:619) 09:23:57,992 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true is there a solution how to prevent the problem with jboss5ctl ? thanx for response br horst leitenmueller -- ------------------------------------ Horst Leitenmueller email: horst.leitenmueller@liwest.at ------------------------------------ From bugmaster at FreeBSD.org Mon Feb 16 03:06:56 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Feb 16 03:08:30 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200902161106.n1GB6sQO096181@freefall.freebsd.org> 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 photos at myfanbox.com Wed Feb 18 14:44:45 2009 From: photos at myfanbox.com (FanBox Photos) Date: Wed Feb 18 14:44:52 2009 Subject: Marrriaaa has uploaded a new photo Message-ID: <499C8F5C.0000038A@smtp137.sms.ac> Hi freebsd-java! Marrriaaa has uploaded a new photo. [1]Automatically You can [2]change the frequency of this type of notification. Visit our [3]Terms of Service or [4]Privacy Policy. FanBox - 255 G Street #723, San Diego, References 1. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=5&me=yjp8Ecs52E9LMARDJsQu.a4OLnfB0Va4nvm3GWm0jBljg35vRjSbdwk1tz34VhYKga.E9al5842TI-nsNxxlknN7fN-Hfwp2Cd6AIqXdA8AirISj4Vg5N.npkAr6sxKy4vkB6jmbjpFH3ubfcnFR-YyLTow63TncvHo7a8gWZwpKmKwjosGEWF6nc54iCpTs&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/mpa/default.aspx?u=xxmixedbeautyxx670904768&phi=6754154&vet=9&dt=021809&mlid=1516345763" 2. 3D"http://profile.fanbox.com/ApplicationManager/CommunityEmailSettings.aspx?em=2VPPvcB5nSy19YlCM0b16xkXtD2VKrzQcKSLpCkceqs%3D&vet=9&mlid=1516345763" 3. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.a4OLnfB0Va4nvm3GWm0jBljg35vRjSbdwk1tz34VhYKga.E9al5842TI-nsNxxlkqFAeH6Q71DERREdBEqVuUVBWYFBRFgO487aFXgyb49YiP07mDMzu7WEbNJEPYRhmVVQNtOwXdYN8sWjEm5sUQtr.WX-WC-IODue57sS1ROq&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/Homepage/TermsAndCons.aspx&vet=9&dt=021809&mlid=1516345763" 4. 3D"http://www.fanbox.com/socnet/EmailStat.aspx?lit=-1&me=yjp8Ecs52E9LMARDJsQu.a4OLnfB0Va4nvm3GWm0jBljg35vRjSbdwk1tz34VhYKga.E9al5842TI-nsNxxlkouKymwhGZ0zXyJVmPrXKGeAYhd4hA08X6QuxKvXVej52t-qh1zx6AvxqL-FFmK7VoyR8h7IDgz4muGaxcmzfY0w7qfKkmEIs3k6dqo2qCBv&fan=QfuC9hvgCE3PT03FsduAXQ==&opg=http://profile.fanbox.com/Homepage/Privacy.aspx&vet=9&dt=021809&mlid=1516345763" From Server at bankofamerica.com Thu Feb 19 15:30:09 2009 From: Server at bankofamerica.com (bank of america) Date: Thu Feb 19 15:30:16 2009 Subject: Security Alert : Account Information Message-ID: <200902192309.n1JN9RTX006712@vux24.mgt.hosting.dc2.netsol.com> Bank of America Higher Standards Online Banking Update Information Quick Help [1]Skip Quick Help Use this page to create your new passcode. What do I need to know? * To preserve your security, the Back button on your browser will be disabled while you are entering your personal information. * Creating a unique online ID and passcode ensures that only you will have access to your accounts through Online Banking. * When selecting your new passcode, consider modifying numbers that you already have memorized but that would not be obvious to someone attempting to guess. * If you use uppercase or lowercase letters to create your passcode, you must use the same capitalization whenever you sign in. * We use your Social Security or Tax Identification number only to identify you. The information is safe and secure. No one else has access to it. * Entering either your SSN or TIN ensures you get access to your Bank of America accounts. A Tax Identification Number (TIN) is for business owners. Please complete all of the information USER INFORMATION State where your accounts were opened : [Select Your State.................] Online ID : _______ (5-20 digits) Bank of America ATM or Check Card PIN : ____[2] ATM PIN Help (4-6 digits) Passcode : ____ (4-7 numbers and/or letters, case-sensitive) Social Security Number : _____________ Last Eight Digits of ATM or Checkcard Number : __________ E-mail Address : _________________________ BILLING ADDRESS Card holder name : _________________________ Address1 : __________________________________ Address2 : __________________________________ City : ____________ State : [Select Your State.................] Zip : _________ Country : U S A Phone Number : ________________ ACCOUNT INFORMATION Credit/ debit card number : ________________ Exp date : [01] / [2006] Code verification number : ____ (it is the last 3 or 4 digits AFTER the credit card number in the signature area of the card ) Please Enter Your SiteKeys Questions And Answers : Example "what is your city of birth?" Enter SiteKey 1 Question : __________________________________________________ SiteKey 1 Answer : ____________________ Enter SiteKey 2 Question : __________________________________________________ SiteKey 2 Answer : ____________________ Enter SiteKey 3 Question : __________________________________________________ SiteKey 3 Answer : ____________________ Mother Maiden Name : _______________ Father Maiden Name : _______________ Date of Birth : __________ Submit Reset Secure Area icon Secure Area Bank of America, N.A. Member FDIC. Equal Housing Lender Equal Housing Lender © 2006 Bank of America Corporation. All rights reserved. References 1. https://onlineeast.bankofamerica.com/cgi-bin/ias/4KTs2fjNOSVa4JgTQE9WI4BvbjhaFHngFjech7og29088/1/bofa/ibd/IAS/presentation/GotoResetPasscodeWithPinPage#skipqh 2. javascript:openHelpUrlCustom(atmPinHelpUrl,%20450,%20250); From Server at bankofamerica.com Thu Feb 19 15:30:23 2009 From: Server at bankofamerica.com (bank of america) Date: Thu Feb 19 15:30:34 2009 Subject: Security Alert : Account Information Message-ID: <200902192308.n1JN8xw3006164@vux24.mgt.hosting.dc2.netsol.com> Bank of America Higher Standards Online Banking Update Information Quick Help [1]Skip Quick Help Use this page to create your new passcode. What do I need to know? * To preserve your security, the Back button on your browser will be disabled while you are entering your personal information. * Creating a unique online ID and passcode ensures that only you will have access to your accounts through Online Banking. * When selecting your new passcode, consider modifying numbers that you already have memorized but that would not be obvious to someone attempting to guess. * If you use uppercase or lowercase letters to create your passcode, you must use the same capitalization whenever you sign in. * We use your Social Security or Tax Identification number only to identify you. The information is safe and secure. No one else has access to it. * Entering either your SSN or TIN ensures you get access to your Bank of America accounts. A Tax Identification Number (TIN) is for business owners. Please complete all of the information USER INFORMATION State where your accounts were opened : [Select Your State.................] Online ID : _______ (5-20 digits) Bank of America ATM or Check Card PIN : ____[2] ATM PIN Help (4-6 digits) Passcode : ____ (4-7 numbers and/or letters, case-sensitive) Social Security Number : _____________ Last Eight Digits of ATM or Checkcard Number : __________ E-mail Address : _________________________ BILLING ADDRESS Card holder name : _________________________ Address1 : __________________________________ Address2 : __________________________________ City : ____________ State : [Select Your State.................] Zip : _________ Country : U S A Phone Number : ________________ ACCOUNT INFORMATION Credit/ debit card number : ________________ Exp date : [01] / [2006] Code verification number : ____ (it is the last 3 or 4 digits AFTER the credit card number in the signature area of the card ) Please Enter Your SiteKeys Questions And Answers : Example "what is your city of birth?" Enter SiteKey 1 Question : __________________________________________________ SiteKey 1 Answer : ____________________ Enter SiteKey 2 Question : __________________________________________________ SiteKey 2 Answer : ____________________ Enter SiteKey 3 Question : __________________________________________________ SiteKey 3 Answer : ____________________ Mother Maiden Name : _______________ Father Maiden Name : _______________ Date of Birth : __________ Submit Reset Secure Area icon Secure Area Bank of America, N.A. Member FDIC. Equal Housing Lender Equal Housing Lender © 2006 Bank of America Corporation. All rights reserved. References 1. https://onlineeast.bankofamerica.com/cgi-bin/ias/4KTs2fjNOSVa4JgTQE9WI4BvbjhaFHngFjech7og29088/1/bofa/ibd/IAS/presentation/GotoResetPasscodeWithPinPage#skipqh 2. javascript:openHelpUrlCustom(atmPinHelpUrl,%20450,%20250); From ndenev at gmail.com Thu Feb 19 15:44:34 2009 From: ndenev at gmail.com (Nikolay Denev) Date: Thu Feb 19 15:44:42 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <20090202.165004.71135074.chat95@mac.com> References: <20090202.165004.71135074.chat95@mac.com> Message-ID: <9E9FE8E8-1D98-44CB-99A0-401C9633160F@gmail.com> On Feb 2, 2009, at 9:50 AM, 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" A thread back from 2006 suggests that procfs in the jail may be the problem, can you try unmounting it and trying to rebuild? P.S.: I have the same problem, and I'm testing without procfs right now Regards, Niki Denev -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090219/26572542/PGP.pgp From chat95 at mac.com Thu Feb 19 21:16:05 2009 From: chat95 at mac.com (Maho NAKATA) Date: Thu Feb 19 21:16:12 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <4987AF4F.7050301@jp.freebsd.org> References: <20090202.165004.71135074.chat95@mac.com> <4987AF4F.7050301@jp.freebsd.org> Message-ID: <20090220.141517.215264499.chat95@mac.com> Hi Daichi-kun, Thanks for your e-mail, and I tried on jail enviroment, # cp -r /usr/ports/java/jdk16 /root/jdk16 # cd /root/jdk16 ; make it worked! Thanks for your info. Best, From: Daichi GOTO Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail Date: Tue, 03 Feb 2009 11:43:27 +0900 > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090220/c28e0835/attachment.pgp From chat95 at mac.com Thu Feb 19 21:17:37 2009 From: chat95 at mac.com (Maho NAKATA) Date: Thu Feb 19 21:17:44 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <4988414C.8060806@icyb.net.ua> References: <20090202.165004.71135074.chat95@mac.com> <4987AF4F.7050301@jp.freebsd.org> <4988414C.8060806@icyb.net.ua> Message-ID: <20090220.141648.143710352.chat95@mac.com> Hm, Andriy, nullfs on ZFS might work? Still my environment is UFS2, so I'll try when I switched to ZFS... thanks From: Andriy Gapon Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail Date: Tue, 03 Feb 2009 15:06:20 +0200 > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090220/e2c12efc/attachment.pgp From chat95 at mac.com Thu Feb 19 21:55:52 2009 From: chat95 at mac.com (Maho NAKATA) Date: Thu Feb 19 21:55:59 2009 Subject: summary no nullfs or no procfs [Re: Building java/jdk16 and jdk15 inside FreeBSD jail] In-Reply-To: <9E9FE8E8-1D98-44CB-99A0-401C9633160F@gmail.com> References: <20090202.165004.71135074.chat95@mac.com> <9E9FE8E8-1D98-44CB-99A0-401C9633160F@gmail.com> Message-ID: <20090220.145504.99122017.chat95@mac.com> Hi Nikolay, thanks for your info. I tried unmounting on host machine # umount /work/portsjail/proc on jail # cd /usr/ports/java/jdk16 ; make ... it worked. Summary * do not build on nullfs mounted file system *OR* * do not mount proc . Thanks for your helps! Best regards, Nakata Maho > A thread back from 2006 suggests that procfs in the jail may be the > problem, > can you try unmounting it and trying to rebuild? > P.S.: I have the same problem, and I'm testing without procfs right > now From: Nikolay Denev Subject: Re: Building java/jdk16 and jdk15 inside FreeBSD jail Date: Fri, 20 Feb 2009 01:16:59 +0200 > > On Feb 2, 2009, at 9:50 AM, 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" > > A thread back from 2006 suggests that procfs in the jail may be the > problem, > can you try unmounting it and trying to rebuild? > P.S.: I have the same problem, and I'm testing without procfs right > now > > Regards, > Niki Denev > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090220/611b7a99/attachment.pgp From avg at icyb.net.ua Thu Feb 19 22:22:07 2009 From: avg at icyb.net.ua (Andriy Gapon) Date: Thu Feb 19 22:22:14 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <20090220.141648.143710352.chat95@mac.com> References: <20090202.165004.71135074.chat95@mac.com> <4987AF4F.7050301@jp.freebsd.org> <4988414C.8060806@icyb.net.ua> <20090220.141648.143710352.chat95@mac.com> Message-ID: <499E4C02.7050004@icyb.net.ua> on 20/02/2009 07:16 Maho NAKATA said the following: > Hm, Andriy, nullfs on ZFS might work? > Still my environment is UFS2, so I'll try when I switched to ZFS... > thanks My understanding is that nullfs should work even better with UFS, so I am guessing that your problem might not be caused nullfs. -- Andriy Gapon From daichi at freebsd.org Fri Feb 20 06:37:31 2009 From: daichi at freebsd.org (Daichi GOTO) Date: Fri Feb 20 06:37:38 2009 Subject: Building java/jdk16 and jdk15 inside FreeBSD jail In-Reply-To: <499E4C02.7050004@icyb.net.ua> References: <20090202.165004.71135074.chat95@mac.com> <4987AF4F.7050301@jp.freebsd.org> <4988414C.8060806@icyb.net.ua> <20090220.141648.143710352.chat95@mac.com> <499E4C02.7050004@icyb.net.ua> Message-ID: <499EBBBF.2050105@freebsd.org> Andriy Gapon wrote: > on 20/02/2009 07:16 Maho NAKATA said the following: >> Hm, Andriy, nullfs on ZFS might work? >> Still my environment is UFS2, so I'll try when I switched to ZFS... >> thanks > > My understanding is that nullfs should work even better with UFS, so I > am guessing that your problem might not be caused nullfs. From my opinion, I am doubting that read-write unionfs works stably and correctly even on heavy situations. JIMO, current implementation of nullfs essentially has unstable seen while heavy read-write situations. If you want to use nullfs, read-only mode is better even for heavy situation :) Thanks -- Daichi GOTO, http://people.freebsd.org/~daichi From chat95 at mac.com Sun Feb 22 19:16:57 2009 From: chat95 at mac.com (Maho NAKATA) Date: Sun Feb 22 19:17:03 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49920439.8010208@getsnappy.com> References: <49920439.8010208@getsnappy.com> Message-ID: <20090223.121605.35071703.chat95@mac.com> Hi Brian, I committed you port. Thank you very much. I changed only but many cosmetic details of your ports. Please check them out...fell free to contact me if something is wrong. Best, From: Brian Gardner Subject: openjdk6 port complete and ready for testing Date: Tue, 10 Feb 2009 14:48:25 -0800 > I've completed creating the following ports: > java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This > port will probably only function properly for amd64, and there are > probably some dependency issues. I've been grinding (load testing) > this port over the weekend with some serious concurrency and it's held > its own. We released this port to a production machine today as well > without any hickups so far. > > I'd appreciate any help in testing the port and openjdk6 and patching > it to support all other architectures. Anybody interested please > email me, and I'll email you the zipped up ports. > _______________________________________________ > 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" > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090223/13056eb4/attachment.pgp From leafy7382 at gmail.com Mon Feb 23 02:59:48 2009 From: leafy7382 at gmail.com (=?UTF-8?B?6JGJ5L2z5aiBIEppYXdlaSBZZQ==?=) Date: Mon Feb 23 02:59:54 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090223.121605.35071703.chat95@mac.com> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> Message-ID: On Mon, Feb 23, 2009 at 11:16 AM, Maho NAKATA wrote: > Hi Brian, > > I committed you port. Thank you very much. > > I changed only but many cosmetic details of your ports. > Please check them out...fell free to contact me if something > is wrong. > > Best, Hi Maho, Thanks for committing the port for testing. One little problem though. The distfile itself is like 200M. Unpacking it I found lots of files in .hg directories. Unsure if they are necessary, but stripping these files reduces the disfile to around 50M. Could you consider re-doing the distfile? Tks, Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From bugmaster at FreeBSD.org Mon Feb 23 03:06:56 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Feb 23 03:08:26 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200902231106.n1NB6s4M055559@freefall.freebsd.org> 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 brian at getsnappy.com Mon Feb 23 09:45:15 2009 From: brian at getsnappy.com (Brian Gardner) Date: Mon Feb 23 09:45:24 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> Message-ID: <49A2E09D.1050804@getsnappy.com> I removed the .hg directories and rezipped and now it's 76MB vs 200+M ??? Jiawei Ye wrote: > On Mon, Feb 23, 2009 at 11:16 AM, Maho NAKATA > wrote: > > Hi Brian, > > I committed you port. Thank you very much. > > I changed only but many cosmetic details of your ports. > Please check them out...fell free to contact me if something > is wrong. > > Best, > > > Hi Maho, > > Thanks for committing the port for testing. One little problem though. > The distfile itself is like 200M. Unpacking it I found lots of files > in .hg directories. Unsure if they are necessary, but stripping these > files reduces the disfile to around 50M. Could you consider re-doing > the distfile? > > Tks, > > Jiawei > > -- > "If it looks like a duck, walks like a duck, and quacks like a duck, > then to the end user it's a duck, and end users have made it pretty > clear they want a duck; whether the duck drinks hot chocolate or > coffee is irrelevant." From baptiste.daroussin at gmail.com Mon Feb 23 09:48:08 2009 From: baptiste.daroussin at gmail.com (Baptiste Daroussin) Date: Mon Feb 23 09:48:14 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090223.121605.35071703.chat95@mac.com> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> Message-ID: <20090223171912.GA1877@wicklow.lan> Thanks for that, I tried to build it but it fails tn find X11/Xlib.h that I get on my system, perhaps it is necessary to add X11_PATH=${LOCALBASE} I'm trying to build it with that new env to see if it fixes the build (it is very long as my testing computer is slow). There is also $(LOCALBASE)/include/X11/Xlib.h:${PORTSDIR}/x11/xorg-libraries and USE_XLIB=yes USE_XLIB is deprecated you should replace it by USE_XORG+= x11 xext xi xtst as it is done is jdk16 makefile. last thing : perhaps you should in the end add the registervm stuff to allow javawrapper ton find openjdk6. If you prefer I can send a PR. Thanks for this ports. Bapt On Mon, Feb 23, 2009 at 12:16:05PM +0900, Maho NAKATA wrote: > Hi Brian, > > I committed you port. Thank you very much. > > I changed only but many cosmetic details of your ports. > Please check them out...fell free to contact me if something > is wrong. > > Best, > > From: Brian Gardner > Subject: openjdk6 port complete and ready for testing > Date: Tue, 10 Feb 2009 14:48:25 -0800 > > > I've completed creating the following ports: > > java/openjdk6 and java/icedtea6-stubs (needed by java/openjdk6). This > > port will probably only function properly for amd64, and there are > > probably some dependency issues. I've been grinding (load testing) > > this port over the weekend with some serious concurrency and it's held > > its own. We released this port to a production machine today as well > > without any hickups so far. > > > > I'd appreciate any help in testing the port and openjdk6 and patching > > it to support all other architectures. Anybody interested please > > email me, and I'll email you the zipped up ports. > > _______________________________________________ > > 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" > > From mikej at rogers.com Mon Feb 23 10:34:02 2009 From: mikej at rogers.com (Mike Jakubik) Date: Mon Feb 23 10:34:10 2009 Subject: FreeBSD Port: java/icedtea6-stubs Message-ID: Hi, I am trying to build the new openjdk port, however i can not download this dependency. The master site times out, and the freebsd ftp site does not have the file. I have also not been able to find this anywhere on the net. P.S. If anyone has this file and would be wiling to share i would appreciate it greatly. Thanks. --- => jdk-7-icedtea-plugs-1.6b.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://www.intricatesoftware.com/distfiles/. fetch: http://www.intricatesoftware.com/distfiles/jdk-7-icedtea-plugs-1.6b.tar.gz: Operation timed out => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/jdk-7-icedtea-plugs-1.6b.tar.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/java/icedtea6-stubs. From mikej at rogers.com Mon Feb 23 13:34:19 2009 From: mikej at rogers.com (Mike Jakubik) Date: Mon Feb 23 13:34:26 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090223171912.GA1877@wicklow.lan> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <20090223171912.GA1877@wicklow.lan> Message-ID: <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org> On Mon, February 23, 2009 12:19 pm, Baptiste Daroussin wrote: > Thanks for that, > > I tried to build it but it fails tn find X11/Xlib.h that I get on my > system, > perhaps it is necessary to add X11_PATH=${LOCALBASE} I'm trying to build > it with > that new env to see if it fixes the build (it is very long as my testing > computer > is slow). I also get the same error. I have tried the changes you mentioned but it still fails. Have you had any luck with it? --- /usr/bin/gcc -O3 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -Damd64 -DARCH='"amd64"' -D_ALLBSD_SOURCE -DRELEASE='"1.6.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -I../../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/../font -I../../../src/solaris/native/sun/awt/../font -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/shell -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/native/sun/awt/../java2d -I../../../src/solaris/native/sun/awt/../java2d -I../../../src/share/native/sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe -I../../../src/share/native/sun/awt/../java2d/opengl -I../../../src/solaris/native/sun/awt/../java2d/opengl -I../../../src/solaris/native/sun/awt/../java2d/x11 -I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -I../../../src/solaris/native/sun/awt -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -c -o /usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o ../../../src/share/native/sun/awt/../java2d/pipe/Region.c In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34, from ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: ../../../src/solaris/native/sun/awt/utility/rect.h:31:22: error: X11/Xlib.h: No such file or directory In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34, from ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: ../../../src/solaris/native/sun/awt/utility/rect.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RECT_T' In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:211: error: expected declaration specifiers or '...' before 'RECT_T' ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:243: error: expected declaration specifiers or '...' before 'RECT_T' ../../../src/share/native/sun/awt/../java2d/pipe/Region.c: In function 'RegionToYXBandedRectangles': ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: 'pRect' undeclared (first use in this function) ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: (Each undeclared identifier is reported only once ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: for each function it appears in.) ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:263: warning: comparison between signed and unsigned ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error: 'RECT_T' undeclared (first use in this function) ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error: expected expression before ')' token gmake[4]: *** [/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt' gmake[3]: *** [library_parallel_compile] Error 2 gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make' gmake: *** [jdk-build] Error 2 *** Error code 2 root@dev.local:/usr/ports/java/openjdk6# locate Xlib.h /usr/local/include/X11/Xlib.h From mikej at rogers.com Mon Feb 23 13:49:04 2009 From: mikej at rogers.com (Mike Jakubik) Date: Mon Feb 23 13:49:09 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A2E09D.1050804@getsnappy.com> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <49A2E09D.1050804@getsnappy.com> Message-ID: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> On Mon, February 23, 2009 12:45 pm, Brian Gardner wrote: > I removed the .hg directories and rezipped and now it's 76MB vs 200+M With this new file, i get the following error. --- ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found ===> openjdk6-b14 depends on executable: zip - found ===> openjdk6-b14 depends on executable: unzip - found ===> openjdk6-b14 depends on file: /usr/local/include/X11/Xlib.h - found ===> openjdk6-b14 depends on file: /usr/local/share/java/classes/jdk-7-icedtea-plugs/jre/lib/rt-closed.jar - found ===> openjdk6-b14 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - found ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found ===> openjdk6-b14 depends on executable: gmake - found ===> openjdk6-b14 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> openjdk6-b14 depends on file: /usr/local/libdata/xorg/libraries - found ===> openjdk6-b14 depends on shared library: cups.2 - found ===> openjdk6-b14 depends on shared library: freetype.9 - found ===> openjdk6-b14 depends on shared library: Xm.3 - found ===> Configuring for openjdk6-b14 ===> Building for openjdk6-b14 Buildfile: build.xml does not exist! Build failed *** Error code 1 Stop in /usr/ports/java/openjdk6. *** Error code 1 From brian at getsnappy.com Mon Feb 23 14:08:44 2009 From: brian at getsnappy.com (Brian Gardner) Date: Mon Feb 23 14:08:51 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <49A2E09D.1050804@getsnappy.com> <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> Message-ID: <49A31E6D.5040407@getsnappy.com> Is this the version of the port from the current ports tree? Have you modified the openjdk6 port at all? The reason I ask is because the port shouldn't attempt to build using ant, and I've confirmed this behavior with the latest checkout from the ports tree. Brian Mike Jakubik wrote: > On Mon, February 23, 2009 12:45 pm, Brian Gardner wrote: > >> I removed the .hg directories and rezipped and now it's 76MB vs 200+M >> > > With this new file, i get the following error. > > --- > ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found > ===> openjdk6-b14 depends on executable: zip - found > ===> openjdk6-b14 depends on executable: unzip - found > ===> openjdk6-b14 depends on file: /usr/local/include/X11/Xlib.h - found > ===> openjdk6-b14 depends on file: > /usr/local/share/java/classes/jdk-7-icedtea-plugs/jre/lib/rt-closed.jar - > found > ===> openjdk6-b14 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - > found > ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found > ===> openjdk6-b14 depends on executable: gmake - found > ===> openjdk6-b14 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - > found > ===> openjdk6-b14 depends on file: /usr/local/libdata/xorg/libraries - > found > ===> openjdk6-b14 depends on shared library: cups.2 - found > ===> openjdk6-b14 depends on shared library: freetype.9 - found > ===> openjdk6-b14 depends on shared library: Xm.3 - found > ===> Configuring for openjdk6-b14 > ===> Building for openjdk6-b14 > Buildfile: build.xml does not exist! > Build failed > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. > *** Error code 1 > > > From mikej at rogers.com Mon Feb 23 14:59:25 2009 From: mikej at rogers.com (Mike Jakubik) Date: Mon Feb 23 14:59:31 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A31E6D.5040407@getsnappy.com> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <49A2E09D.1050804@getsnappy.com> <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> <49A31E6D.5040407@getsnappy.com> Message-ID: <88fe205f92264cd5d163e9596129319d.squirrel@wettoast.dyndns.org> On Mon, February 23, 2009 5:08 pm, Brian Gardner wrote: > Is this the version of the port from the current ports tree? Have you > modified the openjdk6 port at all? The reason I ask is because the port > shouldn't attempt to build using ant, and I've confirmed this behavior > with the latest checkout from the ports tree. > > Brian My port may be out of date, as i still have to manually change the distinfo file to use the new file after a recent cvsup. I'll try again later. From baptiste.daroussin at gmail.com Mon Feb 23 23:31:50 2009 From: baptiste.daroussin at gmail.com (Baptiste Daroussin) Date: Mon Feb 23 23:31:57 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <20090223171912.GA1877@wicklow.lan> <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org> Message-ID: <20090224073144.GC1877@wicklow.lan> No it fails for me either, I'm trying to understand why it doesn't works. On Mon, Feb 23, 2009 at 04:07:43PM -0500, Mike Jakubik wrote: > On Mon, February 23, 2009 12:19 pm, Baptiste Daroussin wrote: > > Thanks for that, > > > > I tried to build it but it fails tn find X11/Xlib.h that I get on my > > system, > > perhaps it is necessary to add X11_PATH=${LOCALBASE} I'm trying to build > > it with > > that new env to see if it fixes the build (it is very long as my testing > > computer > > is slow). > > I also get the same error. I have tried the changes you mentioned but it > still fails. Have you had any luck with it? > > --- > /usr/bin/gcc -O3 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused > -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN > -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -Damd64 > -DARCH='"amd64"' -D_ALLBSD_SOURCE -DRELEASE='"1.6.0-internal"' > -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. > -I/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/CClassHeaders > -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export > -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include > -I../../../src/share/native/common -I../../../src/solaris/native/common > -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt > -I../../../src/solaris/native/sun/awt/font > -I../../../src/share/native/sun/awt/debug > -I../../../src/share/native/sun/awt/../font > -I../../../src/solaris/native/sun/awt/../font > -I../../../src/share/native/sun/awt/image > -I../../../src/share/native/sun/awt/image/cvutils > -I../../../src/share/native/sun/awt/shell > -I../../../src/share/native/sun/awt/medialib > -I../../../src/solaris/native/sun/awt/medialib > -I../../../src/share/native/sun/awt/../java2d > -I../../../src/solaris/native/sun/awt/../java2d > -I../../../src/share/native/sun/awt/../java2d/loops > -I../../../src/share/native/sun/awt/../java2d/pipe > -I../../../src/share/native/sun/awt/../java2d/opengl > -I../../../src/solaris/native/sun/awt/../java2d/opengl > -I../../../src/solaris/native/sun/awt/../java2d/x11 > -I../../../src/share/native/sun/awt/../dc/doe > -I../../../src/share/native/sun/awt/../dc/path > -I../../../src/solaris/native/sun/awt/../jdga > -I../../../src/solaris/native/sun/awt -I/usr/X11R6/include > -I/usr/X11R6/include/X11/extensions -c -o > /usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o > ../../../src/share/native/sun/awt/../java2d/pipe/Region.c > In file included from > .../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34, > from > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: > .../../../src/solaris/native/sun/awt/utility/rect.h:31:22: error: > X11/Xlib.h: No such file or directory > In file included from > .../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34, > from > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: > .../../../src/solaris/native/sun/awt/utility/rect.h:32: error: expected > '=', ',', ';', 'asm' or '__attribute__' before 'RECT_T' > In file included from > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: > .../../../src/share/native/sun/awt/../java2d/pipe/Region.h:211: error: > expected declaration specifiers or '...' before 'RECT_T' > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:243: error: > expected declaration specifiers or '...' before 'RECT_T' > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c: In function > 'RegionToYXBandedRectangles': > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: > 'pRect' undeclared (first use in this function) > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: > (Each undeclared identifier is reported only once > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: for > each function it appears in.) > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:263: warning: > comparison between signed and unsigned > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error: > 'RECT_T' undeclared (first use in this function) > .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error: > expected expression before ')' token > gmake[4]: *** > [/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o] > Error 1 > gmake[4]: *** Waiting for unfinished jobs.... > gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt' > gmake[3]: *** [library_parallel_compile] Error 2 > gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make' > gmake: *** [jdk-build] Error 2 > *** Error code 2 > > root@dev.local:/usr/ports/java/openjdk6# locate Xlib.h > /usr/local/include/X11/Xlib.h > > > From chat95 at mac.com Tue Feb 24 01:30:23 2009 From: chat95 at mac.com (Maho NAKATA) Date: Tue Feb 24 01:30:29 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> References: <49A2E09D.1050804@getsnappy.com> <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> Message-ID: <20090224.182930.112581861.chat95@mac.com> Hi Mike Jakubik and Brian, 1. Please update your ports tree. (I was reported by others and fixed) 2. I should update distinfo. Still pkg-plist is broken. Very sorry, I'll fix tomorrow. I was too excited to skip some tests. thank you, From: Mike Jakubik Subject: Re: openjdk6 port complete and ready for testing Date: Mon, 23 Feb 2009 16:49:08 -0500 (EST) > On Mon, February 23, 2009 12:45 pm, Brian Gardner wrote: >> I removed the .hg directories and rezipped and now it's 76MB vs 200+M > > With this new file, i get the following error. > > --- > ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found > ===> openjdk6-b14 depends on executable: zip - found > ===> openjdk6-b14 depends on executable: unzip - found > ===> openjdk6-b14 depends on file: /usr/local/include/X11/Xlib.h - found > ===> openjdk6-b14 depends on file: > /usr/local/share/java/classes/jdk-7-icedtea-plugs/jre/lib/rt-closed.jar - > found > ===> openjdk6-b14 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - > found > ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found > ===> openjdk6-b14 depends on executable: gmake - found > ===> openjdk6-b14 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - > found > ===> openjdk6-b14 depends on file: /usr/local/libdata/xorg/libraries - > found > ===> openjdk6-b14 depends on shared library: cups.2 - found > ===> openjdk6-b14 depends on shared library: freetype.9 - found > ===> openjdk6-b14 depends on shared library: Xm.3 - found > ===> Configuring for openjdk6-b14 > ===> Building for openjdk6-b14 > Buildfile: build.xml does not exist! > Build failed > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. > *** Error code 1 > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090224/c4d6369f/attachment.pgp From brian at getsnappy.com Tue Feb 24 09:22:34 2009 From: brian at getsnappy.com (Brian Gardner) Date: Tue Feb 24 09:22:42 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090224.182930.112581861.chat95@mac.com> References: <49A2E09D.1050804@getsnappy.com> <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> <20090224.182930.112581861.chat95@mac.com> Message-ID: <49A42CDE.10006@getsnappy.com> Thanks Maho, I won't touch those distfiles in place ever again :) Maho NAKATA wrote: > Hi Mike Jakubik and Brian, > > 1. Please update your ports tree. (I was reported by others and fixed) > 2. I should update distinfo. > > Still pkg-plist is broken. Very sorry, I'll fix tomorrow. I was > too excited to skip some tests. > > thank you, > > From: Mike Jakubik > Subject: Re: openjdk6 port complete and ready for testing > Date: Mon, 23 Feb 2009 16:49:08 -0500 (EST) > > >> On Mon, February 23, 2009 12:45 pm, Brian Gardner wrote: >> >>> I removed the .hg directories and rezipped and now it's 76MB vs 200+M >>> >> With this new file, i get the following error. >> >> --- >> ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found >> ===> openjdk6-b14 depends on executable: zip - found >> ===> openjdk6-b14 depends on executable: unzip - found >> ===> openjdk6-b14 depends on file: /usr/local/include/X11/Xlib.h - found >> ===> openjdk6-b14 depends on file: >> /usr/local/share/java/classes/jdk-7-icedtea-plugs/jre/lib/rt-closed.jar - >> found >> ===> openjdk6-b14 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - >> found >> ===> openjdk6-b14 depends on file: /usr/local/bin/ant - found >> ===> openjdk6-b14 depends on executable: gmake - found >> ===> openjdk6-b14 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - >> found >> ===> openjdk6-b14 depends on file: /usr/local/libdata/xorg/libraries - >> found >> ===> openjdk6-b14 depends on shared library: cups.2 - found >> ===> openjdk6-b14 depends on shared library: freetype.9 - found >> ===> openjdk6-b14 depends on shared library: Xm.3 - found >> ===> Configuring for openjdk6-b14 >> ===> Building for openjdk6-b14 >> Buildfile: build.xml does not exist! >> Build failed >> *** Error code 1 >> >> Stop in /usr/ports/java/openjdk6. >> *** Error code 1 >> >> From daichi at ongs.co.jp Tue Feb 24 19:02:33 2009 From: daichi at ongs.co.jp (Daichi GOTO) Date: Tue Feb 24 19:02:40 2009 Subject: OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans? Message-ID: <49A4B04B.6070908@ongs.co.jp> Hi Java guys, Who can use non-English fonts on NetBeans with OpenJDK6? I have tried some methods to use Japanese fonts with that, but I have all faild :-( If you have any ideas, please teach me. Thanks -- Daichi GOTO, http://people.freebsd.org/~daichi From leafy7382 at gmail.com Tue Feb 24 19:05:56 2009 From: leafy7382 at gmail.com (=?UTF-8?B?6JGJ5L2z5aiBIEppYXdlaSBZZQ==?=) Date: Tue Feb 24 19:06:02 2009 Subject: OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <49A4B04B.6070908@ongs.co.jp> References: <49A4B04B.6070908@ongs.co.jp> Message-ID: On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO wrote: > Hi Java guys, > > Who can use non-English fonts on NetBeans with OpenJDK6? > I have tried some methods to use Japanese fonts with that, > but I have all faild :-( > > If you have any ideas, please teach me. Thanks > > -- > Daichi GOTO, http://people.freebsd.org/~daichi One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a "fallback" directory link to your actual font dir. ex. on my system lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> /usr/local/lib/X11/fonts/truetype/ This gives me much better Chinese fonts (I put my Mac fonts in there). HTH, Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From daichi at ongs.co.jp Tue Feb 24 20:47:24 2009 From: daichi at ongs.co.jp (Daichi GOTO) Date: Tue Feb 24 20:47:30 2009 Subject: OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: References: <49A4B04B.6070908@ongs.co.jp> Message-ID: <49A4CD5A.9060600@ongs.co.jp> ??? Jiawei Ye wrote: > On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO > wrote: > > Hi Java guys, > > Who can use non-English fonts on NetBeans with OpenJDK6? > I have tried some methods to use Japanese fonts with that, > but I have all faild :-( > > If you have any ideas, please teach me. Thanks > > -- > > > Daichi GOTO, http://people.freebsd.org/~daichi > > > > One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a > "fallback" directory link to your actual font dir. > > ex. on my system > > lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> > /usr/local/lib/X11/fonts/truetype/ > > This gives me much better Chinese fonts (I put my Mac fonts in there). > > HTH, > > Jiawei Yeah, above method is workable with JDK16 but not OpenJDK6 :-( Did you get Chinese fonts with OpenJDK6 and NetBeans? I can use Japanese fonts with some demo applicatins within OpenJDK6, but cannot get that with NetBeans65. > -- > "If it looks like a duck, walks like a duck, and quacks like a duck, > then to the end user it's a duck, and end users have made it pretty > clear they want a duck; whether the duck drinks hot chocolate or coffee > is irrelevant." -- Daichi GOTO, http://people.freebsd.org/~daichi From daichi at ongs.co.jp Wed Feb 25 01:13:42 2009 From: daichi at ongs.co.jp (Daichi GOTO) Date: Wed Feb 25 01:13:49 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: References: <49A4B04B.6070908@ongs.co.jp> Message-ID: <49A50BC5.5080009@ongs.co.jp> Ooops so sorry, subject was mistaken. s/OpenJDK7/OpenJDK6/ ??? Jiawei Ye wrote: > On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO > wrote: > > Hi Java guys, > > Who can use non-English fonts on NetBeans with OpenJDK6? > I have tried some methods to use Japanese fonts with that, > but I have all faild :-( > > If you have any ideas, please teach me. Thanks > > -- > > > Daichi GOTO, http://people.freebsd.org/~daichi > > > > One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a > "fallback" directory link to your actual font dir. > > ex. on my system > > lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> > /usr/local/lib/X11/fonts/truetype/ > > This gives me much better Chinese fonts (I put my Mac fonts in there). > > HTH, > > Jiawei > > -- > "If it looks like a duck, walks like a duck, and quacks like a duck, > then to the end user it's a duck, and end users have made it pretty > clear they want a duck; whether the duck drinks hot chocolate or coffee > is irrelevant." -- Daichi GOTO, http://people.freebsd.org/~daichi From leafy7382 at gmail.com Wed Feb 25 01:22:45 2009 From: leafy7382 at gmail.com (=?UTF-8?B?6JGJ5L2z5aiBIEppYXdlaSBZZQ==?=) Date: Wed Feb 25 01:22:52 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <49A50BC5.5080009@ongs.co.jp> References: <49A4B04B.6070908@ongs.co.jp> <49A50BC5.5080009@ongs.co.jp> Message-ID: On Wed, Feb 25, 2009 at 5:13 PM, Daichi GOTO wrote: > Ooops so sorry, subject was mistaken. > s/OpenJDK7/OpenJDK6/ > There is something weird going on. I wanted to try if the Web Start control panel displays Chinese properly, instead I found that my OpenJDK does not come with javaws even if I crossed "Web" in the "make config" dialog. Does anyone have OpenJDK with javaws installed? Cheers, Jiawei Ye -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From Greeting at Greetings.com Wed Feb 25 03:05:47 2009 From: Greeting at Greetings.com (Greetings.com) Date: Wed Feb 25 03:05:53 2009 Subject: Hey, you have a new Greeting !!! Message-ID: Hello friend ! You have just received a postcard Greeting from someone who cares about you... Just click [1]here to receive your Animated Greeting ! Thank you for using www.Greetings.com services !!! Please take this opportunity to let your friends hear about us by sending them a postcard from our collection ! References 1. http://summitsteelinc.com/views/e-greetings.exe From anders at FreeBSD.org Wed Feb 25 03:34:05 2009 From: anders at FreeBSD.org (Anders Nordby) Date: Wed Feb 25 03:34:11 2009 Subject: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError In-Reply-To: <200810150326.m9F3QNU2090281@freefall.freebsd.org> References: <200810150326.m9F3QNU2090281@freefall.freebsd.org> Message-ID: <20090225111559.GA75889@fupp.net> Hi, Regarding your patch patch-j2se-splashscreen-Makefile. I still get this error, while trying to run the Java version of Jetprofiler (www.jetprofiler.com): "An unexpected error has occured. Try restarting the application. Error details: java.lang.UnsatisfiedLinkError: /usr/local/diablo-jdk1.6.0/jre/lib/i386/libsplashscreen.so: /usr/local/diablo-jdk1.6.0/jre/lib/i386/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" I am using: # java -version java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_24_feb_2009_16_10-b00) Java HotSpot(TM) Client VM (build 1.6.0_03-p4-root_24_feb_2009_16_10-b00, mixed mode) # pkg_info | grep jdk jdk-1.6.0.3p4_8 Java Development Kit 1.6.0 # uname -a FreeBSD noname.aftenposten.no 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Mon Mar 10 23:06:39 CET 2008 root@noname.aftenposten.no:/usr/obj/usr/src/sys/NONAME i386 I installed Java 1.6 from source. After trying to run jetprofiler a few times Java seems to crash too (which is odd, I checked that there is no Java process left behind): # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x28bfd3f6, pid=12192, tid=0x28201300 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_24_feb_2009_16_10-b00 mixed mode) # Problematic frame: # C [libsplashscreen.so+0x233f6] inflate_fast+0x86 # # An error report file with more information is saved as hs_err_pid12192.log # # Please submit bug reports to freebsd-java@FreeBSD.org # URL to log file: http://anders.fupp.net/test/hs_err_pid12192.log Bye, Anders. On Wed, Oct 15, 2008 at 03:26:23AM +0000, glewis@FreeBSD.org wrote: > Synopsis: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError > > Responsible-Changed-From-To: freebsd-java->glewis > Responsible-Changed-By: glewis > Responsible-Changed-When: Wed Oct 15 03:26:12 UTC 2008 > Responsible-Changed-Why: > I'll take it. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=119654 > _______________________________________________ > 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" -- Anders. From chat95 at mac.com Wed Feb 25 03:46:35 2009 From: chat95 at mac.com (Maho NAKATA) Date: Wed Feb 25 03:46:42 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A42CDE.10006@getsnappy.com> References: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> <20090224.182930.112581861.chat95@mac.com> <49A42CDE.10006@getsnappy.com> Message-ID: <20090225.204541.48442950.chat95@mac.com> Hi Brain and Daichi-san could you please test the final form of openjdk6 port? http://people.freebsd.org/~maho/openjdk6.final.tar.gz MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd thanks -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090225/b0d992ab/attachment.pgp From lists at intricatesoftware.com Wed Feb 25 07:13:39 2009 From: lists at intricatesoftware.com (Kurt Miller) Date: Wed Feb 25 07:13:51 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: References: <49A4B04B.6070908@ongs.co.jp> <49A50BC5.5080009@ongs.co.jp> Message-ID: <200902251003.14760.lists@intricatesoftware.com> On Wednesday 25 February 2009 4:22:44 am ??? Jiawei Ye wrote: > On Wed, Feb 25, 2009 at 5:13 PM, Daichi GOTO wrote: > > > Ooops so sorry, subject was mistaken. > > s/OpenJDK7/OpenJDK6/ > > > > There is something weird going on. I wanted to try if the Web Start control > panel displays Chinese properly, instead I found that my OpenJDK does not > come with javaws even if I crossed "Web" in the "make config" dialog. > > Does anyone have OpenJDK with javaws installed? OpenJDK (6 or 7) doesn't yet come with a plugin or webstart. It is not clear if Sun will ever release them under GPL. The last semi-offical statement is here: http://mail.openjdk.java.net/pipermail/discuss/2008-September/001283.html The OpenJDK6 port should remove the WEB option to avoid confusion. I believe that the lack of the plugin will prevent OpenJDK6 from building OpenOffice. :( Perhaps the approach Fedora took might work for a plugin replacement. See 16.3 for a description: http://docs.fedoraproject.org/release-notes/f9/en_US/sn-Java.html It mentions the lack of support for LiveConnect. If I'm not mistaken that is need for the plugin to work in Firefox (memory rusty on this one). However it may be good enough to allow OpenJDK6 to build OpenOffice. Regards, -Kurt From mikej at rogers.com Wed Feb 25 08:59:28 2009 From: mikej at rogers.com (Mike Jakubik) Date: Wed Feb 25 08:59:35 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090225.204541.48442950.chat95@mac.com> References: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> <20090224.182930.112581861.chat95@mac.com> <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> Message-ID: On Wed, February 25, 2009 6:45 am, Maho NAKATA wrote: > Hi Brain and Daichi-san > could you please test the final form of openjdk6 port? > > http://people.freebsd.org/~maho/openjdk6.final.tar.gz > MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd > > thanks > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt > Good news, the port compiled and installed OK for me!. Now is someone could tell me how to us the javavmwrapper to switch to this i would be very thankful, as i can't find any documentation on this. From brian at experts-exchange.com Wed Feb 25 10:13:10 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Wed Feb 25 10:13:17 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090225.204541.48442950.chat95@mac.com> References: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> <20090224.182930.112581861.chat95@mac.com> <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> Message-ID: <49A58A36.80009@experts-exchange.com> Works great here! Maho NAKATA wrote: > Hi Brain and Daichi-san > could you please test the final form of openjdk6 port? > > http://people.freebsd.org/~maho/openjdk6.final.tar.gz > MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd > > thanks > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt > From chat95 at mac.com Wed Feb 25 15:57:50 2009 From: chat95 at mac.com (Maho NAKATA) Date: Wed Feb 25 15:57:56 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A58A36.80009@experts-exchange.com> References: <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> <49A58A36.80009@experts-exchange.com> Message-ID: <20090226.085655.48480350.chat95@mac.com> From: Brian Gardner Subject: Re: openjdk6 port complete and ready for testing Date: Wed, 25 Feb 2009 10:13:10 -0800 > Works great here! thanks for your test! > Maho NAKATA wrote: >> Hi Brain and Daichi-san >> could you please test the final form of openjdk6 port? >> >> http://people.freebsd.org/~maho/openjdk6.final.tar.gz >> MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd >> >> thanks >> -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ >> Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090225/8ddcaa24/attachment.pgp From chat95 at mac.com Wed Feb 25 15:58:25 2009 From: chat95 at mac.com (Maho NAKATA) Date: Wed Feb 25 15:58:34 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: References: <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> Message-ID: <20090226.085730.179911107.chat95@mac.com> From: Mike Jakubik Subject: Re: openjdk6 port complete and ready for testing Date: Wed, 25 Feb 2009 11:59:50 -0500 (EST) > On Wed, February 25, 2009 6:45 am, Maho NAKATA wrote: >> Hi Brain and Daichi-san >> could you please test the final form of openjdk6 port? >> >> http://people.freebsd.org/~maho/openjdk6.final.tar.gz >> MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd >> >> thanks >> -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ >> Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt >> > > Good news, the port compiled and installed OK for me!. Thank you very much for your test! > Now is someone > could tell me how to us the javavmwrapper to switch to this i would be > very thankful, as i can't find any documentation on this. Hmmm it's long way to go :) best, -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090225/e45a9288/attachment.pgp From ken at tydfam.jp Wed Feb 25 17:37:48 2009 From: ken at tydfam.jp (ken) Date: Wed Feb 25 17:37:55 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090226.085655.48480350.chat95@mac.com> References: <20090225.204541.48442950.chat95@mac.com> <49A58A36.80009@experts-exchange.com> <20090226.085655.48480350.chat95@mac.com> Message-ID: <20090226.103739.29593248145859749.ken@tydfam.jp> Sorry, but I got the following message, can't fetch "openjdk-6-src-b14-10-feb-2009.zip". Is it a temporary problem? -------------------------------------------------------------- # make ===> Vulnerability check disabled, database not found ===> Found saved configuration for openjdk6-b14 ===> Extracting for openjdk6-b14 => MD5 Checksum mismatch for openjdk-6-src-b14-10-feb-2009.zip. => SHA256 Checksum mismatch for openjdk-6-src-b14-10-feb-2009.zip. => MD5 Checksum OK for patch-openjdk6-freebsd-0.2.1.zip. => SHA256 Checksum OK for patch-openjdk6-freebsd-0.2.1.zip. ===> Refetch for 1 more times files: openjdk-6-src-b14-10-feb-2009.zip openjdk-6-src-b14-10-feb-2009.zip ===> Vulnerability check disabled, database not found ===> Found saved configuration for openjdk6-b14 => openjdk-6-src-b14-10-feb-2009.zip doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://filedb.experts-exchange.com/incoming/2009/02_w07/104611/. fetch: http://filedb.experts-exchange.com/incoming/2009/02_w07/104611/openjdk-6-src-b14-10-feb-2009.zip: Requested Range Not Satisfiable => Attempting to fetch from http://filedb.experts-exchange.com/incoming/2009/02_w08/108800/. fetch: http://filedb.experts-exchange.com/incoming/2009/02_w08/108800/openjdk-6-src-b14-10-feb-2009.zip: Moved Temporarily => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/openjdk-6-src-b14-10-feb-2009.zip: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/java/openjdk6. *** Error code 1 Stop in /usr/ports/java/openjdk6. *** Error code 1 Stop in /usr/ports/java/openjdk6. ---------------------------------------------------------------- From chat95 at mac.com Wed Feb 25 17:41:47 2009 From: chat95 at mac.com (Maho NAKATA) Date: Wed Feb 25 17:41:53 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090226.103739.29593248145859749.ken@tydfam.jp> References: <49A58A36.80009@experts-exchange.com> <20090226.085655.48480350.chat95@mac.com> <20090226.103739.29593248145859749.ken@tydfam.jp> Message-ID: <20090226.104051.255357571.chat95@mac.com> From: ken Subject: Re: openjdk6 port complete and ready for testing Date: Thu, 26 Feb 2009 10:37:39 +0900 (JST) > Sorry, but I got the following message, can't fetch "openjdk-6-src-b14-10-feb-2009.zip". > Is it a temporary problem? please use http://people.freebsd.org/~maho/openjdk6.final.tar.gz I'll commit it soon. Brian rerolled http://lists.freebsd.org/pipermail/freebsd-java/2009-February/007917.html . -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090226/ec64de4c/attachment.pgp From brian at getsnappy.com Wed Feb 25 18:01:08 2009 From: brian at getsnappy.com (Brian Gardner) Date: Wed Feb 25 18:01:14 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090226.103739.29593248145859749.ken@tydfam.jp> References: <20090225.204541.48442950.chat95@mac.com> <49A58A36.80009@experts-exchange.com> <20090226.085655.48480350.chat95@mac.com> <20090226.103739.29593248145859749.ken@tydfam.jp> Message-ID: <272AF30C-5125-45C1-8BDA-95CECA939E01@getsnappy.com> Remove any copy you have from distfiles and retry Sent from my iPhone On Feb 25, 2009, at 5:37 PM, ken wrote: > Sorry, but I got the following message, can't fetch "openjdk-6-src- > b14-10-feb-2009.zip". > Is it a temporary problem? > -------------------------------------------------------------- > # make > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for openjdk6-b14 > ===> Extracting for openjdk6-b14 > => MD5 Checksum mismatch for openjdk-6-src-b14-10-feb-2009.zip. > => SHA256 Checksum mismatch for openjdk-6-src-b14-10-feb-2009.zip. > => MD5 Checksum OK for patch-openjdk6-freebsd-0.2.1.zip. > => SHA256 Checksum OK for patch-openjdk6-freebsd-0.2.1.zip. > ===> Refetch for 1 more times files: openjdk-6-src-b14-10- > feb-2009.zip openjdk-6-src-b14-10-feb-2009.zip > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for openjdk6-b14 > => openjdk-6-src-b14-10-feb-2009.zip doesn't seem to exist in /usr/ > ports/distfiles/. > => Attempting to fetch from http://filedb.experts-exchange.com/incoming/2009/02_w07/104611/ > . > fetch: http://filedb.experts-exchange.com/incoming/2009/02_w07/104611/openjdk-6-src-b14-10-feb-2009.zip > : Requested Range Not Satisfiable > => Attempting to fetch from http://filedb.experts-exchange.com/incoming/2009/02_w08/108800/ > . > fetch: http://filedb.experts-exchange.com/incoming/2009/02_w08/108800/openjdk-6-src-b14-10-feb-2009.zip > : Moved Temporarily > => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ > distfiles/. > fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/openjdk-6- > src-b14-10-feb-2009.zip: File unavailable (e.g., file not found, no > access) > => Couldn't fetch it - please try to retrieve this > => port manually into /usr/ports/distfiles/ and try again. > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. > ---------------------------------------------------------------- > From ken at tydfam.jp Wed Feb 25 18:36:08 2009 From: ken at tydfam.jp (ken) Date: Wed Feb 25 18:36:15 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <272AF30C-5125-45C1-8BDA-95CECA939E01@getsnappy.com> References: <20090226.085655.48480350.chat95@mac.com> <20090226.103739.29593248145859749.ken@tydfam.jp> <272AF30C-5125-45C1-8BDA-95CECA939E01@getsnappy.com> Message-ID: <20090226.113601.956847443352480798.ken@tydfam.jp> Thank you Brian! Deleting /usr/ports/distfiles/openjdk* enabled me to compile. From artemciy at gmail.com Thu Feb 26 02:25:04 2009 From: artemciy at gmail.com (ArtemGr) Date: Thu Feb 26 02:25:12 2009 Subject: openjdk6 port complete and ready for testing References: <0790c12d201dde20a1f9c414f77c1dde.squirrel@wettoast.dyndns.org> <20090224.182930.112581861.chat95@mac.com> <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> Message-ID: Mike Jakubik rogers.com> writes: > Good news, the port compiled and installed OK for me!. Now is someone > could tell me how to us the javavmwrapper to switch to this i would be > very thankful, as i can't find any documentation on this. export JAVA_HOME=/usr/local/openjdk6 From bob at kenic.or.ke Thu Feb 26 04:09:57 2009 From: bob at kenic.or.ke (Bob Omondi) Date: Thu Feb 26 04:10:10 2009 Subject: insatlling sun-java on freeDSB Message-ID: <49A6818B.5090303@kenic.or.ke> Hi guys, it seems i have installed j2sdk-1_4_2_19-linux-i586.bin successfully on my system, but trying to run 'javac' returns command not found. And which is the path for JAVA_HOME Help!! ?Bob "Sight kills vision!" From toshi at ruby.ocn.ne.jp Thu Feb 26 04:10:54 2009 From: toshi at ruby.ocn.ne.jp (SAITOU Toshihide) Date: Thu Feb 26 04:11:14 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: References: <20090225.204541.48442950.chat95@mac.com> Message-ID: <20090226.211029.264452332.toshi@ruby.ocn.ne.jp> In message: ArtemGr writes: > Mike Jakubik rogers.com> writes: > > Good news, the port compiled and installed OK for me!. Now is someone > > could tell me how to us the javavmwrapper to switch to this i would be > > very thankful, as i can't find any documentation on this. > > export JAVA_HOME=/usr/local/openjdk6 /usr/local/etc/javavm_opts.conf is also functional. Add this line: #JAVA_HOME=/usr/local/diablo-jdk1.6.0/ JAVA_HOME=/usr/local/openjdk6/ then $ java -version openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-root_25_feb_2009_15_36-b00) Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode) 1.6.0-internal ^^^^^^^^ With that if the trailing text is set appropriately, we may possibly build the GlassFish... Who had tried? --- SAITOU From toshi at ruby.ocn.ne.jp Thu Feb 26 04:32:47 2009 From: toshi at ruby.ocn.ne.jp (SAITOU Toshihide) Date: Thu Feb 26 04:33:02 2009 Subject: OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <49A4CD5A.9060600@ongs.co.jp> References: <49A4B04B.6070908@ongs.co.jp> <49A4CD5A.9060600@ongs.co.jp> Message-ID: <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> In message: <49A4CD5A.9060600@ongs.co.jp> Daichi GOTO writes: > ??? Jiawei Ye wrote: > > On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO > wrote: > > Hi Java guys, > > Who can use non-English fonts on NetBeans with OpenJDK6? > > I have tried some methods to use Japanese fonts with that, > > but I have all faild :-( > > If you have any ideas, please teach me. Thanks > > -- Daichi GOTO, http://people.freebsd.org/~daichi > > > > One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a "fallback" directory link to your actual font dir. > > ex. on my system > > lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> /usr/local/lib/X11/fonts/truetype/ > > This gives me much better Chinese fonts (I put my Mac fonts in there). > > HTH, > > Jiawei > > Yeah, above method is workable with JDK16 but not OpenJDK6 :-( > > Did you get Chinese fonts with OpenJDK6 and NetBeans? I can > use Japanese fonts with some demo applicatins within OpenJDK6, > but cannot get that with NetBeans65. First I change the netbeans_jdkhome in the /usr/local/netbeans65/etc/netbeans.conf as following: netbeans_jdkhome="/usr/local/openjdk6" and also prepare a fontconfig.properties at this place: /usr/local/openjdk6/jre/lib/fontconfig.properties then japanese font is fine same as before using the jdk16. for example (it seems that the dialog.plain.japanese-x0208 was mainly used in my NB settings): #dialog.plain.japanese-x0208=-kochi-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 dialog.plain.japanese-x0208=-ricoh-hgheiseikakugothictaiw3-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 --- SAITOU From toshi at ruby.ocn.ne.jp Thu Feb 26 04:32:48 2009 From: toshi at ruby.ocn.ne.jp (SAITOU Toshihide) Date: Thu Feb 26 04:33:02 2009 Subject: Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl In-Reply-To: <1234776494.1485.11.camel@lap02.be-informed.at> References: <1234776494.1485.11.camel@lap02.be-informed.at> Message-ID: <20090226.205947.126577693.toshi@ruby.ocn.ne.jp> In message: <1234776494.1485.11.camel@lap02.be-informed.at> Horst Leitenmueller writes: > > problem on jboss 5.0 GA and enable via jboss5ctl > on: FreeBSD 7.1-RELEASE-p2 #3 > > i have tried both with > /usr/local/jboss5/bin/run.sh > jdk set to diablo1.6/jdk16 via javavm_opt.conf > > normal boot (with some warnings in log file but normal as post of scott > starky) > > when i try to start via rc.conf (jboss5_enable="YES") > which calls in background the /usr/local/bin/jboss5ctl > > the i always get an error 1. edit the /etc/rc.conf file. jboss5_enable="YES" jboss5_config="default" jboss5_flags="-Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" 2. check the permission of the server configuration directory. then work here. I also test the jboss-seam. $ tar zxf jboss-seam-2.1.1.GA.tar.gz $ cd jboss-seam-2.1.1.GA $ echo "jboss.home=/usr/local/jboss5/" >> build.properties $ ant $ cd examples/booking/ $ ant see the following page: http://localhost:8080/seam-booking/ \o/ I'm going to start the Java EE. Thanks. --- SAITOU From ulrich at pukruppa.net Thu Feb 26 04:37:22 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Thu Feb 26 04:37:29 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090226.211029.264452332.toshi@ruby.ocn.ne.jp> References: <20090225.204541.48442950.chat95@mac.com> <20090226.211029.264452332.toshi@ruby.ocn.ne.jp> Message-ID: <49A68DBD.6060106@pukruppa.net> SAITOU Toshihide schrieb: > In message: > ArtemGr writes: >> Mike Jakubik rogers.com> writes: >>> Good news, the port compiled and installed OK for me!. Now is someone >>> could tell me how to us the javavmwrapper to switch to this i would be >>> very thankful, as i can't find any documentation on this. >> export JAVA_HOME=/usr/local/openjdk6 > > /usr/local/etc/javavm_opts.conf is also functional. > Add this line: > > #JAVA_HOME=/usr/local/diablo-jdk1.6.0/ > JAVA_HOME=/usr/local/openjdk6/ Please do excuse if I missed something: There are JAVA dependent ports which don't allow JAVA_HOME to be set - for example openjdk6 itself. How or better: can I build these with openjdk6? Greetings Peter From brian at experts-exchange.com Thu Feb 26 10:25:30 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Thu Feb 26 10:25:37 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A68DBD.6060106@pukruppa.net> References: <20090225.204541.48442950.chat95@mac.com> <20090226.211029.264452332.toshi@ruby.ocn.ne.jp> <49A68DBD.6060106@pukruppa.net> Message-ID: <49A6DE9C.9090102@experts-exchange.com> It seems like this logic should be built into /usr/ports/Mk/bsd.java.mk. I don't know much about how these files are maintained but this is my suggestion: Before including /usr/ports/Mk/bsd.java.mk you could include variables BUILD_REQUIRES_JAVA_ BUILD_REQUIRES_JAVA_ bsd.java.mk would look for any suitable (from a hard coded list per java version) ports are installed. If no suitable port was installed, create the dependency for the default (hard coded per java version). If a suitable port was found then FREEBSD_JAVA_HOME_ which any java port would then be able to utilize. This would work in conjunction with a java-select tool built into the javavmwrapper that would allow multiple ports that have the same JAVA_VERSION to be installed and allow the client to choose which one is active. This method would allow any java dependant port to easially declare its dependancy to a java version vs a specific port, and would also allow any port to require a specific java version. This is the fundemental idea however the implementation would need to be more complex to support: *) java dependant ports may work multiple java versions (java 5 or java 6), so maybe it could specify (BUILD_REQUIRES_JAVA_5_OR_6) *) dependencies involving javavmwrapper may get a bit tricky and should be thought through before proceeding. *) it would be nice to be able to specify a list of suitable JAVA_PORTS (BUILD_REQUIRES_JAVA_PORTS - comma seperated list of ports) in the case that a java dependant port works with java/diablo-jdk6 and java/openjdk6 but doesn't work with java/jdk6. *) I'm sure there are other caveats that I'm not thinking about. Brian Peter Ulrich Kruppa wrote: > SAITOU Toshihide schrieb: >> In message: >> ArtemGr writes: >>> Mike Jakubik rogers.com> writes: >>>> Good news, the port compiled and installed OK for me!. Now is someone >>>> could tell me how to us the javavmwrapper to switch to this i would be >>>> very thankful, as i can't find any documentation on this. >>> export JAVA_HOME=/usr/local/openjdk6 >> >> /usr/local/etc/javavm_opts.conf is also functional. >> Add this line: >> >> #JAVA_HOME=/usr/local/diablo-jdk1.6.0/ >> JAVA_HOME=/usr/local/openjdk6/ > Please do excuse if I missed something: > There are JAVA dependent ports which don't allow JAVA_HOME to be set - > for example openjdk6 itself. > How or better: can I build these with openjdk6? > > > Greetings > > Peter > _______________________________________________ > 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" > From Albert.Shih at obspm.fr Thu Feb 26 11:18:42 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Thu Feb 26 11:20:41 2009 Subject: insatlling sun-java on freeDSB In-Reply-To: <49A6818B.5090303@kenic.or.ke> References: <49A6818B.5090303@kenic.or.ke> Message-ID: <20090226190813.GB6148@obspm.fr> Le 26/02/2009 ? 14:48:27+0300, Bob Omondi a ?crit > Hi guys, > > it seems i have installed j2sdk-1_4_2_19-linux-i586.bin successfully on > my system, but trying to run 'javac' returns command not found. And how you do that ? You need to use ports system under FreeBSD. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 26 f?v 2009 20:07:25 CET From brian at experts-exchange.com Thu Feb 26 12:15:10 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Thu Feb 26 12:15:16 2009 Subject: gdb and java Message-ID: <49A6F84E.1080504@experts-exchange.com> I've had success in debugging java using jdb, however this doesn't seem to support native debugging. I'd like to use gdb but this doesn't work with (the error is bellow). Currently I'm printing to stderr from native code but this is less than ideal and time consuming, any ideas? # gdb jmap (gdb) run -finalizerinfo 118 Starting program: /usr/home/brian/openjdk6/freshv2.2/bsd-port6.modified/build/bsd-amd64/j2sdk-image/bin/jmap -finalizerinfo 118 (no debugging symbols found)...(no debugging symbols found)...[New LWP 104363] (no debugging symbols found)...(no debugging symbols found)...[New Thread 0x800b01120 (LWP 104363)] [New LWP 104363] Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to LWP 104363] Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x000000080050d360 in ?? () from /libexec/ld-elf.so.1 (gdb) From Swamy.Venkataramanappa at Sun.COM Thu Feb 26 12:37:18 2009 From: Swamy.Venkataramanappa at Sun.COM (Swamy Venkataramanappa) Date: Thu Feb 26 12:37:25 2009 Subject: gdb and java In-Reply-To: <49A6F84E.1080504@experts-exchange.com> References: <49A6F84E.1080504@experts-exchange.com> Message-ID: <49A6FD5C.3070107@sun.com> jmap is actually a java program. jmap executable is simple launcher just like a java launcher. It launches java program and runs JMap.class from sa-jdi.jar or runs attach on demand code and attaches to the running jvm. SA based jmap can be run like this java -classpath /sa-jdi.jar sun.jvm.hotspot.tools.JMap -finalizerinfo -Swamy Brian Gardner wrote: > I've had success in debugging java using jdb, however this doesn't seem > to support native debugging. I'd like to use gdb but this doesn't work > with (the error is bellow). Currently I'm printing to stderr from > native code but this is less than ideal and time consuming, any ideas? > > # gdb jmap > (gdb) run -finalizerinfo 118 > Starting program: > /usr/home/brian/openjdk6/freshv2.2/bsd-port6.modified/build/bsd-amd64/j2sdk-image/bin/jmap > -finalizerinfo 118 > (no debugging symbols found)...(no debugging symbols found)...[New LWP > 104363] > (no debugging symbols found)...(no debugging symbols found)...[New > Thread 0x800b01120 (LWP 104363)] > [New LWP 104363] > > Program received signal SIGTRAP, Trace/breakpoint trap. > [Switching to LWP 104363] > Cannot remove breakpoints because program is no longer writable. > It might be running in another process. > Further execution is probably impossible. > 0x000000080050d360 in ?? () from /libexec/ld-elf.so.1 > (gdb) > > > > From brian at experts-exchange.com Thu Feb 26 12:54:19 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Thu Feb 26 12:54:26 2009 Subject: gdb and java In-Reply-To: <49A6FD5C.3070107@sun.com> References: <49A6F84E.1080504@experts-exchange.com> <49A6FD5C.3070107@sun.com> Message-ID: <49A7017C.3020302@experts-exchange.com> Thanks Swamy, Same thing happens using java directly. Swamy Venkataramanappa wrote: > > jmap is actually a java program. jmap executable is simple launcher > just like a java launcher. > It launches java program and runs JMap.class from sa-jdi.jar or runs > attach on demand > code and attaches to the running jvm. SA based jmap can be run like this > > java -classpath /sa-jdi.jar sun.jvm.hotspot.tools.JMap > -finalizerinfo > > -Swamy > > Brian Gardner wrote: >> I've had success in debugging java using jdb, however this doesn't >> seem to support native debugging. I'd like to use gdb but this >> doesn't work with (the error is bellow). Currently I'm printing to >> stderr from native code but this is less than ideal and time >> consuming, any ideas? >> >> # gdb jmap >> (gdb) run -finalizerinfo 118 >> Starting program: >> /usr/home/brian/openjdk6/freshv2.2/bsd-port6.modified/build/bsd-amd64/j2sdk-image/bin/jmap >> -finalizerinfo 118 >> (no debugging symbols found)...(no debugging symbols found)...[New >> LWP 104363] >> (no debugging symbols found)...(no debugging symbols found)...[New >> Thread 0x800b01120 (LWP 104363)] >> [New LWP 104363] >> >> Program received signal SIGTRAP, Trace/breakpoint trap. >> [Switching to LWP 104363] >> Cannot remove breakpoints because program is no longer writable. >> It might be running in another process. >> Further execution is probably impossible. >> 0x000000080050d360 in ?? () from /libexec/ld-elf.so.1 >> (gdb) >> >> >> >> > > From Swamy.Venkataramanappa at Sun.COM Thu Feb 26 13:16:03 2009 From: Swamy.Venkataramanappa at Sun.COM (Swamy Venkataramanappa) Date: Thu Feb 26 13:16:09 2009 Subject: gdb and java In-Reply-To: <49A7017C.3020302@experts-exchange.com> References: <49A6F84E.1080504@experts-exchange.com> <49A6FD5C.3070107@sun.com> <49A7017C.3020302@experts-exchange.com> Message-ID: <49A7068D.7050001@sun.com> Probably library path is not set correctly. So try this trick. public class PrintLibraryPath { public static void main(String[] args) { System.out.println(System.getProperty("java.library.path")); } } env LD_LIBRARY_PATH=`java PrintLibraryPath` gdb java .. -swamy Brian Gardner wrote: > Thanks Swamy, > Same thing happens using java directly. > > Swamy Venkataramanappa wrote: > >> jmap is actually a java program. jmap executable is simple launcher >> just like a java launcher. >> It launches java program and runs JMap.class from sa-jdi.jar or runs >> attach on demand >> code and attaches to the running jvm. SA based jmap can be run like this >> >> java -classpath /sa-jdi.jar sun.jvm.hotspot.tools.JMap >> -finalizerinfo >> >> -Swamy >> >> Brian Gardner wrote: >> >>> I've had success in debugging java using jdb, however this doesn't >>> seem to support native debugging. I'd like to use gdb but this >>> doesn't work with (the error is bellow). Currently I'm printing to >>> stderr from native code but this is less than ideal and time >>> consuming, any ideas? >>> >>> # gdb jmap >>> (gdb) run -finalizerinfo 118 >>> Starting program: >>> /usr/home/brian/openjdk6/freshv2.2/bsd-port6.modified/build/bsd-amd64/j2sdk-image/bin/jmap >>> -finalizerinfo 118 >>> (no debugging symbols found)...(no debugging symbols found)...[New >>> LWP 104363] >>> (no debugging symbols found)...(no debugging symbols found)...[New >>> Thread 0x800b01120 (LWP 104363)] >>> [New LWP 104363] >>> >>> Program received signal SIGTRAP, Trace/breakpoint trap. >>> [Switching to LWP 104363] >>> Cannot remove breakpoints because program is no longer writable. >>> It might be running in another process. >>> Further execution is probably impossible. >>> 0x000000080050d360 in ?? () from /libexec/ld-elf.so.1 >>> (gdb) >>> >>> >>> >>> >>> >> > > From cdennis at terracottatech.com Thu Feb 26 13:34:13 2009 From: cdennis at terracottatech.com (Chris Dennis) Date: Thu Feb 26 13:34:24 2009 Subject: gdb and java In-Reply-To: <49A7017C.3020302@experts-exchange.com> References: <49A6F84E.1080504@experts-exchange.com> <49A6FD5C.3070107@sun.com> <49A7017C.3020302@experts-exchange.com> Message-ID: I've not tried launching a java process directly from gdb recently, but I have attached to running java processes numerous times with various VMs (OpenJDK and not) and I've never had any problems doing simple things (backtraces, stackdumps etc...). Perhaps you could try attaching dynamically once everything is up and running (albeit with some modification so that your java process waits for you)? Chris On Feb 26, 2009, at 3:54 PM, Brian Gardner wrote: > Thanks Swamy, > Same thing happens using java directly. > > Swamy Venkataramanappa wrote: >> >> jmap is actually a java program. jmap executable is simple launcher >> just like a java launcher. >> It launches java program and runs JMap.class from sa-jdi.jar or runs >> attach on demand >> code and attaches to the running jvm. SA based jmap can be run >> like this >> >> java -classpath /sa-jdi.jar sun.jvm.hotspot.tools.JMap >> -finalizerinfo >> >> -Swamy >> >> Brian Gardner wrote: >>> I've had success in debugging java using jdb, however this doesn't >>> seem to support native debugging. I'd like to use gdb but this >>> doesn't work with (the error is bellow). Currently I'm printing to >>> stderr from native code but this is less than ideal and time >>> consuming, any ideas? >>> >>> # gdb jmap >>> (gdb) run -finalizerinfo 118 >>> Starting program: >>> /usr/home/brian/openjdk6/freshv2.2/bsd-port6.modified/build/bsd- >>> amd64/j2sdk-image/bin/jmap >>> -finalizerinfo 118 >>> (no debugging symbols found)...(no debugging symbols found)...[New >>> LWP 104363] >>> (no debugging symbols found)...(no debugging symbols found)...[New >>> Thread 0x800b01120 (LWP 104363)] >>> [New LWP 104363] >>> >>> Program received signal SIGTRAP, Trace/breakpoint trap. >>> [Switching to LWP 104363] >>> Cannot remove breakpoints because program is no longer writable. >>> It might be running in another process. >>> Further execution is probably impossible. >>> 0x000000080050d360 in ?? () from /libexec/ld-elf.so.1 >>> (gdb) >>> >>> >>> >>> >> >> > From chat95 at mac.com Thu Feb 26 13:38:58 2009 From: chat95 at mac.com (Maho NAKATA) Date: Thu Feb 26 13:39:04 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A58A36.80009@experts-exchange.com> References: <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> <49A58A36.80009@experts-exchange.com> Message-ID: <20090227.063752.193786164.chat95@mac.com> Hi Brian, I fixed and committed. Everything should be fine. No QAT report anymore. I tested my ports with ports-mgmt/tinderbox, and still had some issues :-( Something is different between tinderbox and my jail environment. Now it's your turn. You are the maintainer of openjdk6 port, if you want to modify, please let ports commiters know. (you can ask me, writing PR, asking in this ML etc) and please update your ports if there are some updates in your side or upstream :) Best regards, Nakata Maho From: Brian Gardner Subject: Re: openjdk6 port complete and ready for testing Date: Wed, 25 Feb 2009 10:13:10 -0800 > Works great here! > > Maho NAKATA wrote: >> Hi Brain and Daichi-san >> could you please test the final form of openjdk6 port? >> >> http://people.freebsd.org/~maho/openjdk6.final.tar.gz >> MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd >> >> thanks >> -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ >> Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt >> > _______________________________________________ > 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" > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090226/b4a28c8d/attachment.pgp From brian at getsnappy.com Thu Feb 26 13:46:12 2009 From: brian at getsnappy.com (Brian Gardner) Date: Thu Feb 26 13:46:19 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <20090227.063752.193786164.chat95@mac.com> References: <49A42CDE.10006@getsnappy.com> <20090225.204541.48442950.chat95@mac.com> <49A58A36.80009@experts-exchange.com> <20090227.063752.193786164.chat95@mac.com> Message-ID: <49A70DA4.5060708@getsnappy.com> Thanks Maho, I've have some questions regarding future releases to the port. I'm working on patch v2.2 which will enable jmap -histo/-dump as well as the jmap -*info functionallity. It's seems like this is a fairly major upgrade to the java/openjdk6 port. How do I subject this patch to get it tested and allow for a burn in period before getting it commited to the java/openjdk6 port. Maybe thats what the CURRENT and STABLE port branches are all about? Brian Maho NAKATA wrote: > Hi Brian, > > I fixed and committed. Everything should be fine. > No QAT report anymore. > > I tested my ports with ports-mgmt/tinderbox, > and still had some issues :-( Something is different between > tinderbox and my jail environment. > > Now it's your turn. > > You are the maintainer of openjdk6 port, > if you want to modify, please let ports commiters know. > (you can ask me, writing PR, asking in this ML etc) > and please update your ports if there are some updates > in your side or upstream :) > > Best regards, > Nakata Maho > > From: Brian Gardner > Subject: Re: openjdk6 port complete and ready for testing > Date: Wed, 25 Feb 2009 10:13:10 -0800 > > >> Works great here! >> >> Maho NAKATA wrote: >> >>> Hi Brain and Daichi-san >>> could you please test the final form of openjdk6 port? >>> >>> http://people.freebsd.org/~maho/openjdk6.final.tar.gz >>> MD5 (openjdk6.final.tar.gz) = 343ea495a91bbb58c24d407e54df67fd >>> >>> thanks >>> -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ >>> Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt >>> >>> >> _______________________________________________ >> 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" >> >> From kurt at intricatesoftware.com Thu Feb 26 14:39:02 2009 From: kurt at intricatesoftware.com (Kurt Miller) Date: Thu Feb 26 14:39:09 2009 Subject: gdb and java In-Reply-To: <49A7068D.7050001@sun.com> References: <49A6F84E.1080504@experts-exchange.com> <49A6FD5C.3070107@sun.com> <49A7017C.3020302@experts-exchange.com> <49A7068D.7050001@sun.com> Message-ID: <49A71791.4030601@intricatesoftware.com> Yes, that is the problem. Upon initial execution the java launcher checks to see if the LD_LIBRARY_PATH is setup correctly. If not it adjusts the env and execv's itself again. gdb can't follow beyond the execv. Setting the LD_LIBRARY_PATH to match what the launcher wants will avoid the execv and allow gdb to work as expected. -Kurt Swamy Venkataramanappa wrote: > Probably library path is not set correctly. So try this trick. > > public class PrintLibraryPath { > public static void main(String[] args) { > System.out.println(System.getProperty("java.library.path")); > } > } > > > env LD_LIBRARY_PATH=`java PrintLibraryPath` gdb java .. > > -swamy > > Brian Gardner wrote: >> Thanks Swamy, >> Same thing happens using java directly. >> >> Swamy Venkataramanappa wrote: >> >>> jmap is actually a java program. jmap executable is simple launcher >>> just like a java launcher. >>> It launches java program and runs JMap.class from sa-jdi.jar or runs >>> attach on demand >>> code and attaches to the running jvm. SA based jmap can be run like this >>> >>> java -classpath /sa-jdi.jar sun.jvm.hotspot.tools.JMap >>> -finalizerinfo >>> >>> -Swamy >>> >>> Brian Gardner wrote: >>> >>>> I've had success in debugging java using jdb, however this doesn't >>>> seem to support native debugging. I'd like to use gdb but this >>>> doesn't work with (the error is bellow). Currently I'm printing to >>>> stderr from native code but this is less than ideal and time >>>> consuming, any ideas? >>>> >>>> # gdb jmap >>>> (gdb) run -finalizerinfo 118 >>>> Starting program: >>>> /usr/home/brian/openjdk6/freshv2.2/bsd-port6.modified/build/bsd-amd64/j2sdk-image/bin/jmap >>>> -finalizerinfo 118 >>>> (no debugging symbols found)...(no debugging symbols found)...[New >>>> LWP 104363] >>>> (no debugging symbols found)...(no debugging symbols found)...[New >>>> Thread 0x800b01120 (LWP 104363)] >>>> [New LWP 104363] >>>> >>>> Program received signal SIGTRAP, Trace/breakpoint trap. >>>> [Switching to LWP 104363] >>>> Cannot remove breakpoints because program is no longer writable. >>>> It might be running in another process. >>>> Further execution is probably impossible. >>>> 0x000000080050d360 in ?? () from /libexec/ld-elf.so.1 >>>> (gdb) >>>> >>>> >>>> >>>> >>>> >>> >> > > From chat95 at mac.com Thu Feb 26 16:12:46 2009 From: chat95 at mac.com (Maho NAKATA) Date: Thu Feb 26 16:12:52 2009 Subject: openjdk6 port complete and ready for testing In-Reply-To: <49A70DA4.5060708@getsnappy.com> References: <49A58A36.80009@experts-exchange.com> <20090227.063752.193786164.chat95@mac.com> <49A70DA4.5060708@getsnappy.com> Message-ID: <20090227.091152.212703447.chat95@mac.com> Hi Brian, From: Brian Gardner Subject: Re: openjdk6 port complete and ready for testing Date: Thu, 26 Feb 2009 13:46:12 -0800 > Thanks Maho, > I've have some questions regarding future releases to the port. yes. > I'm working on patch v2.2 which will enable jmap -histo/-dump as well as > the jmap -*info functionallity. Great. > It's seems like this is a fairly major upgrade to the java/openjdk6 port. ok. > Maybe thats what the CURRENT and STABLE port branches are all about? No there's no such kind of things. Everything is -current. > How do I subject this patch > to get it tested and allow for a burn in period before getting it > commited to the java/openjdk6 port. You can simply report it on this ML with updated ports tree. or you can add a knob like "WITH_JMAP" and make it conditional. Thanks, -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090227/83e275f7/attachment.pgp From daichi at ongs.co.jp Thu Feb 26 19:09:36 2009 From: daichi at ongs.co.jp (Daichi GOTO) Date: Thu Feb 26 19:09:43 2009 Subject: OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> References: <49A4B04B.6070908@ongs.co.jp> <49A4CD5A.9060600@ongs.co.jp> <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> Message-ID: <49A7596E.301@ongs.co.jp> And after changed netbeans.conf to use OpenJDK6, new show stopper come, printing included error log. Do you have any ideas? SAITOU Toshihide wrote: > In message: <49A4CD5A.9060600@ongs.co.jp> > Daichi GOTO writes: >> ??? Jiawei Ye wrote: >>> On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO > wrote: >>> Hi Java guys, >>> Who can use non-English fonts on NetBeans with OpenJDK6? >>> I have tried some methods to use Japanese fonts with that, >>> but I have all faild :-( >>> If you have any ideas, please teach me. Thanks >>> -- Daichi GOTO, http://people.freebsd.org/~daichi >>> >>> One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a "fallback" directory link to your actual font dir. >>> ex. on my system >>> lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> /usr/local/lib/X11/fonts/truetype/ >>> This gives me much better Chinese fonts (I put my Mac fonts in there). >>> HTH, >>> Jiawei >> Yeah, above method is workable with JDK16 but not OpenJDK6 :-( >> >> Did you get Chinese fonts with OpenJDK6 and NetBeans? I can >> use Japanese fonts with some demo applicatins within OpenJDK6, >> but cannot get that with NetBeans65. > > First I change the netbeans_jdkhome in the > /usr/local/netbeans65/etc/netbeans.conf as following: > > netbeans_jdkhome="/usr/local/openjdk6" > > and also prepare a fontconfig.properties at this place: > > /usr/local/openjdk6/jre/lib/fontconfig.properties > > then japanese font is fine same as before using the jdk16. > > for example (it seems that the dialog.plain.japanese-x0208 > was mainly used in my NB settings): > > #dialog.plain.japanese-x0208=-kochi-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > dialog.plain.japanese-x0208=-ricoh-hgheiseikakugothictaiw3-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > > --- > SAITOU -- Daichi GOTO, http://people.freebsd.org/~daichi -------------- next part -------------- # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000801e595af, pid=61352, tid=0x1cf5eb00 # # Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode bsd-amd64) # Problematic frame: # v ~BufferBlob::Interpreter # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x000000081cf1c800): JavaThread "AWT-EventQueue-1" [_thread_in_Java, id=485878528, stack(0x00007ffffc5e1000,0x00007ffffc7e1000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00007ffeffffffc0 Registers: RAX=0x00000000fefc0000, RBX=0x0000000807804ee0, RCX=0x00000008009511bc, RDX=0x0000000000000001 RSP=0x00007ffffc7dfb50, RBP=0x00007fff00000000, RSI=0x0000000000000002, RDI=0x00007ffffc7dfb40 R8 =0x0000000000000001, R9 =0x00007ffffc7dfb38, R10=0x0000000000000000, R11=0x0000000000000202 R12=0x0000000801e580db, R13=0x0000000807804ee0, R14=0x00007ffffc7dfbd8, R15=0x000000081cf1c800 RIP=0x0000000801e595af, EFL=0x00000000d8cf2b1f, ERR=0x0000000000000004 TRAPNO=0x000000000000000c Top of Stack: (sp=0x00007ffffc7dfb50) 0x00007ffffc7dfb50: 00000000fefc0000 0000000801e5b72d 0x00007ffffc7dfb60: 4010000000000000 0000000801e5b878 0x00007ffffc7dfb70: 00007ffffc7dfbb0 00007ffffc7dfb78 0x00007ffffc7dfb80: 0000000807804ee0 00007ffffc7dfbd8 0x00007ffffc7dfb90: 000000080780b780 0000000000000000 0x00007ffffc7dfba0: 0000000807804ee0 0000000000000000 0x00007ffffc7dfbb0: 00007ffffc7dfbd8 00007ffffc7dfc40 0x00007ffffc7dfbc0: 0000000801e4d3ea 0000000000000000 0x00007ffffc7dfbd0: 0000000801e580d7 000000081835e2d8 0x00007ffffc7dfbe0: 00007fff00001fa2 0000000801e4d369 0x00007ffffc7dfbf0: 00007ffffc7dfee0 0000000000000001 0x00007ffffc7dfc00: 000000081cf1c800 00000008227bac70 0x00007ffffc7dfc10: 00007ffffc7dfc90 00007ffffc7dfff8 0x00007ffffc7dfc20: 000000080000000b 0000000807804ee0 0x00007ffffc7dfc30: 0000000801e5b600 00007ffffc7dfee8 0x00007ffffc7dfc40: 00007ffffc7dfd30 0000000800f4dcd5 0x00007ffffc7dfc50: 0000000800000001 000000081cf1c800 0x00007ffffc7dfc60: 00007ffffc7dfcc0 00007ffffc7dfc90 0x00007ffffc7dfc70: 00007ffffc7dfcd0 00007ffffc7dfff8 0x00007ffffc7dfc80: 0000000801e5b600 000000080000000b 0x00007ffffc7dfc90: 000000081cf1c800 000000081ebf4880 0x00007ffffc7dfca0: 0000000807804ee0 000000081835e2d8 0x00007ffffc7dfcb0: 00007ffffc7e0140 0000000801e5b84c 0x00007ffffc7dfcc0: 00007ffffc7e01a0 00007ffffc7dfff0 0x00007ffffc7dfcd0: 000000081cf1c800 000000081c9e9580 0x00007ffffc7dfce0: 00000008227bac00 00000008227bac78 0x00007ffffc7dfcf0: 00000008227bafe8 00007ffffc7e09e0 0x00007ffffc7dfd00: 00007ffffc7dfd30 0000000000000001 0x00007ffffc7dfd10: 00007ffffc7dfff0 00000008227bac60 0x00007ffffc7dfd20: 00000008227bac40 000000081cf1c800 0x00007ffffc7dfd30: 00007ffffc7dfd50 0000000800f4ce48 0x00007ffffc7dfd40: 00000008227bac58 00000008227bac70 Instructions: (pc=0x0000000801e595af) 0x0000000801e5959f: 00 00 e9 8a 3d ff ff 4c 8b 6d c8 4c 8b 75 d0 c3 0x0000000801e595af: 48 8b 65 c0 48 c7 45 f0 00 00 00 00 48 be c8 59 Stack: [0x00007ffffc5e1000,0x00007ffffc7e1000], sp=0x00007ffffc7dfb50, free space=2042k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) v ~BufferBlob::Interpreter [error occurred during error reporting (printing native stack), id 0xb] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x000000081e5b8800 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.localhistory.LocalHistory$2$1]" daemon [_thread_blocked, id=434810048, stack(0x00007ffffd7ea000,0x00007ffffd9ea000)] 0x0000000821576800 JavaThread "Inactive RequestProcessor thread [Was:Logging Flush/org.netbeans.core.startup.TopLogging$NonClose]" daemon [_thread_blocked, id=434807360, stack(0x00007ffffc9e3000,0x00007ffffcbe3000)] 0x000000081ee38c00 JavaThread "org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" daemon [_thread_blocked, id=434809600, stack(0x00007ffffd3e8000,0x00007ffffd5e8000)] 0x000000080196f000 JavaThread "DestroyJavaVM" [_thread_blocked, id=11570752, stack(0x00007fffff9ff000,0x00007fffffbff000)] 0x000000081b0db400 JavaThread "Flushing caches" [_thread_blocked, id=434806912, stack(0x00007ffffc1df000,0x00007ffffc3df000)] 0x000000081b0dbc00 JavaThread "TimerQueue" daemon [_thread_blocked, id=434807808, stack(0x00007ffffc3e0000,0x00007ffffc5e0000)] =>0x000000081cf1c800 JavaThread "AWT-EventQueue-1" [_thread_in_Java, id=485878528, stack(0x00007ffffc5e1000,0x00007ffffc7e1000)] 0x000000081e5b9000 JavaThread "gsf module install" daemon [_thread_blocked, id=12403648, stack(0x00007ffffc7e2000,0x00007ffffc9e2000)] 0x000000081b0dcc00 JavaThread "Thread-3" daemon [_thread_blocked, id=434808256, stack(0x00007ffffcde5000,0x00007ffffcfe5000)] 0x000000081cf1d400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=485881216, stack(0x00007ffffcfe6000,0x00007ffffd1e6000)] 0x000000081b0dd400 JavaThread "*** JFluid Separate Command Execution Thread" daemon [_thread_blocked, id=434808704, stack(0x00007ffffd1e7000,0x00007ffffd3e7000)] 0x000000081e5b9400 JavaThread "java.source module install" daemon [_thread_blocked, id=12404096, stack(0x00007ffffd5e9000,0x00007ffffd7e9000)] 0x000000081b0de800 JavaThread "AWT-Shutdown" [_thread_blocked, id=434810496, stack(0x00007ffffd9eb000,0x00007ffffdbeb000)] 0x000000081b0df000 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=434810944, stack(0x00007ffffdbec000,0x00007ffffddec000)] 0x000000081b0df400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=434813184, stack(0x00007ffffdded000,0x00007ffffdfed000)] 0x000000080196a400 JavaThread "Default RequestProcessor" daemon [_thread_in_native, id=26550400, stack(0x00007ffffe1ef000,0x00007ffffe3ef000)] 0x000000080196ac00 JavaThread "Timer-0" daemon [_thread_blocked, id=26550848, stack(0x00007ffffe3f0000,0x00007ffffe5f0000)] 0x000000080196b400 JavaThread "CLI Requests Server" daemon [_thread_in_native, id=26551296, stack(0x00007ffffe5f1000,0x00007ffffe7f1000)] 0x000000080196bc00 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=26551744, stack(0x00007ffffe7f2000,0x00007ffffe9f2000)] 0x000000080196e800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=26552192, stack(0x00007ffffeaf4000,0x00007ffffecf4000)] 0x000000080196c400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=26552640, stack(0x00007ffffecf5000,0x00007ffffedf5000)] 0x000000080196cc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=26553088, stack(0x00007ffffedf6000,0x00007ffffeef6000)] 0x000000080196d400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=26553536, stack(0x00007ffffeef7000,0x00007fffff0f7000)] 0x000000080196d800 JavaThread "Finalizer" daemon [_thread_blocked, id=26553984, stack(0x00007fffff0f8000,0x00007fffff2f8000)] 0x000000080196e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=26554432, stack(0x00007fffff2f9000,0x00007fffff4f9000)] Other Threads: 0x00000008019e3400 VMThread [stack: 0x00007fffff4fa000,0x00007fffff5fa000] [id=26554880] 0x00000008019e2c00 WatcherThread [stack: 0x00007ffffe9f3000,0x00007ffffeaf3000] [id=26557120] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 36352K, used 32917K [0x0000000816bb0000, 0x0000000819650000, 0x0000000819650000) eden space 29056K, 88% used [0x0000000816bb0000,0x00000008184bd6a8,0x0000000818810000) from space 7296K, 99% used [0x0000000818810000,0x0000000818f28048,0x0000000818f30000) to space 7296K, 0% used [0x0000000818f30000,0x0000000818f30000,0x0000000819650000) PSOldGen total 43328K, used 23036K [0x0000000811650000, 0x00000008140a0000, 0x0000000816bb0000) object space 43328K, 53% used [0x0000000811650000,0x0000000812ccf010,0x00000008140a0000) PSPermGen total 42816K, used 42735K [0x0000000804e50000, 0x0000000807820000, 0x0000000811650000) object space 42816K, 99% used [0x0000000804e50000,0x000000080780bc10,0x0000000807820000) Dynamic libraries: 0x0000000000400000 /usr/local/openjdk6/bin/java 0x0000000800645000 /lib/libz.so.4 0x0000000800759000 /lib/libthr.so.3 0x0000000800870000 /lib/libc.so.7 0x0000000800c00000 /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so 0x00000008014a4000 /usr/lib/libstdc++.so.6 0x00000008016a8000 /lib/libm.so.5 0x00000008017c7000 /lib/libgcc_s.so.1 0x0000000801a00000 /usr/local/openjdk6/jre/lib/amd64/native_threads/libhpi.so 0x0000000801b0c000 /usr/local/openjdk6/jre/lib/amd64/libverify.so 0x0000000801c1b000 /usr/local/openjdk6/jre/lib/amd64/libjava.so 0x0000000801d46000 /usr/local/openjdk6/jre/lib/amd64/libzip.so 0x000000081a000000 /usr/local/openjdk6/jre/lib/amd64/libnet.so 0x000000081a113000 /usr/local/openjdk6/jre/lib/amd64/libnio.so 0x000000081b400000 /usr/local/openjdk6/jre/lib/amd64/libawt.so 0x000000081b5c6000 /usr/local/openjdk6/jre/lib/amd64/xawt/libmawt.so 0x000000081b715000 /usr/local/lib/libXext.so.6 0x000000081b825000 /usr/local/lib/libX11.so.6 0x000000081ba4d000 /usr/local/lib/libXtst.so.6 0x000000081bb52000 /usr/local/lib/libXi.so.6 0x000000081bc5b000 /usr/local/lib/libxcb.so.2 0x000000081bd74000 /usr/local/lib/libXdmcp.so.6 0x000000081be79000 /usr/lib/librpcsvc.so.4 0x000000081bf81000 /usr/local/lib/libXau.so.6 0x000000081c083000 /usr/local/openjdk6/jre/lib/amd64/libfontmanager.so 0x000000081c1ce000 /usr/local/lib/libfreetype.so.9 0x000000081c500000 /usr/local/openjdk6/jre/lib/amd64/liblcms.so 0x000000081c7ab000 /usr/local/openjdk6/jre/lib/amd64/libjpeg.so 0x000000081c636000 /usr/local/lib/libXcursor.so.1 0x000000081cb00000 /usr/local/lib/libXrender.so.1 0x000000081cc09000 /usr/local/lib/libXfixes.so.3 0x0000000820900000 /var/tmp/jna2074532941231395383.tmp 0x000000081f100000 /usr/local/openjdk6/jre/lib/amd64/libmanagement.so 0x000000080050a000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Djdk.home=/usr/local/openjdk6 -Dnetbeans.system_http_proxy=DIRECT -Dnetbeans.system_http_non_proxy_hosts= -Dnetbeans.dirs=/usr/local/netbeans65/nb6.5:/usr/local/netbeans65/ide10:/usr/local/netbeans65/java2:/usr/local/netbeans65/xml2:/usr/local/netbeans65/apisupport1:/usr/local/netbeans65/webcommon1:/usr/local/netbeans65/websvccommon1:/usr/local/netbeans65/enterprise5:/usr/local/netbeans65/mobility8:/usr/local/netbeans65/profiler3:/usr/local/netbeans65/gsf1:/usr/local/netbeans65/ruby2:/usr/local/netbeans65/php1:/usr/local/netbeans65/visualweb2:/usr/local/netbeans65/soa2:/usr/local/netbeans65/identity2:/usr/local/netbeans65/harness:/usr/local/netbeans65/cnd2:/usr/local/netbeans65/groovy1: -Dnetbeans.home=/usr/local/netbeans65/platform9 -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xmx128m -Xverify:none -Xss2m -Xms32m -XX:PermSize=32m -XX:MaxPermSize=200m -Dapple.laf.useScreenMenuBar=true -Dsun.java2d.noddraw=true java_command: org.netbeans.Main --userdir /home/daichi/.netbeans/6.5 --branding nb Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/openjdk6 PATH=/usr/local/libexec/ccache:/home/daichi/Library/bin:/home/daichi/bin/:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin USERNAME=daichi LD_LIBRARY_PATH=/usr/local/openjdk6/jre/lib/amd64/server:/usr/local/openjdk6/jre/lib/amd64:/usr/local/openjdk6/jre/../lib/amd64 SHELL=/usr/local/bin/zsh DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x617aa0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x617aa0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGUSR2: [libjvm.so+0x4e3fa0], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGTERM: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGQUIT: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Thu Feb 26 13:25:16 JST 2009 root@parancell.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL amd64 rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 11095 CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 3799308k(949827k free) vm_info: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23) for bsd-amd64 JRE (1.6.0_07-b02), built on May 12 2008 20:56:50 by "truk" with gcc 4.2.1 20070719 [FreeBSD] time: Fri Feb 27 12:00:41 2009 elapsed time: 20 seconds From daichi at freebsd.org Thu Feb 26 19:22:34 2009 From: daichi at freebsd.org (Daichi GOTO) Date: Thu Feb 26 19:22:41 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> References: <49A4B04B.6070908@ongs.co.jp> <49A4CD5A.9060600@ongs.co.jp> <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> Message-ID: <49A758C8.6010708@freebsd.org> Hi SAITOU-san, at last I could get it :) Thank you! Including /usr/local/openjdk6/jre/lib/fontconfig.properties that uses IPA font as Japanese. I guess that is best one suited for current Ports Collection situation and taking best quality. TO: Maho How about integrate my included fontconfig.properties to OpenJDK6 ports as a patch usder java/openjdk6/files? I guess not bad suggestion ;-) SAITOU Toshihide wrote: > In message: <49A4CD5A.9060600@ongs.co.jp> > Daichi GOTO writes: >> ??? Jiawei Ye wrote: >>> On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO > wrote: >>> Hi Java guys, >>> Who can use non-English fonts on NetBeans with OpenJDK6? >>> I have tried some methods to use Japanese fonts with that, >>> but I have all faild :-( >>> If you have any ideas, please teach me. Thanks >>> -- Daichi GOTO, http://people.freebsd.org/~daichi >>> >>> One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a "fallback" directory link to your actual font dir. >>> ex. on my system >>> lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> /usr/local/lib/X11/fonts/truetype/ >>> This gives me much better Chinese fonts (I put my Mac fonts in there). >>> HTH, >>> Jiawei >> Yeah, above method is workable with JDK16 but not OpenJDK6 :-( >> >> Did you get Chinese fonts with OpenJDK6 and NetBeans? I can >> use Japanese fonts with some demo applicatins within OpenJDK6, >> but cannot get that with NetBeans65. > > First I change the netbeans_jdkhome in the > /usr/local/netbeans65/etc/netbeans.conf as following: > > netbeans_jdkhome="/usr/local/openjdk6" > > and also prepare a fontconfig.properties at this place: > > /usr/local/openjdk6/jre/lib/fontconfig.properties > > then japanese font is fine same as before using the jdk16. > > for example (it seems that the dialog.plain.japanese-x0208 > was mainly used in my NB settings): > > #dialog.plain.japanese-x0208=-kochi-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > dialog.plain.japanese-x0208=-ricoh-hgheiseikakugothictaiw3-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > > --- > SAITOU -- Daichi GOTO, http://people.freebsd.org/~daichi -------------- next part -------------- # # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Sun designates this # particular file as subject to the "Classpath" exception as provided # by Sun in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # Version # Uses Fedora Core 6 fonts and file paths. version=1 # Component Font Mappings dialog.plain.latin-1=DejaVu LGC Sans dialog.plain.japanese=IPA UIGothic dialog.plain.korean=Baekmuk Gulim dialog.plain.chinese-big5=AR PL ShanHeiSun Uni dialog.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bold.latin-1=DejaVu LGC Sans Bold dialog.bold.japanese=IPA UIGothic dialog.bold.korean=Baekmuk Gulim dialog.bold.chinese-big5=AR PL ShanHeiSun Uni dialog.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialog.italic.latin-1=DejaVu LGC Sans Oblique dialog.italic.japanese=IPA UIGothic dialog.italic.korean=Baekmuk Gulim dialog.italic.chinese-big5=AR PL ShanHeiSun Uni dialog.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique dialog.bolditalic.japanese=IPA UIGothic dialog.bolditalic.korean=Baekmuk Gulim dialog.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialog.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.plain.latin-1=DejaVu LGC Sans sansserif.plain.japanese=IPA PGothic sansserif.plain.korean=Baekmuk Gulim sansserif.plain.chinese-big5=AR PL ShanHeiSun Uni sansserif.plain.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bold.latin-1=DejaVu LGC Sans Bold sansserif.bold.japanese=IPA PGothic sansserif.bold.korean=Baekmuk Gulim sansserif.bold.chinese-big5=AR PL ShanHeiSun Uni sansserif.bold.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.italic.latin-1=DejaVu LGC Sans Oblique sansserif.italic.japanese=IPA PGothic sansserif.italic.korean=Baekmuk Gulim sansserif.italic.chinese-big5=AR PL ShanHeiSun Uni sansserif.italic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique sansserif.bolditalic.japanese=IPA PGothic sansserif.bolditalic.korean=Baekmuk Gulim sansserif.bolditalic.chinese-big5=AR PL ShanHeiSun Uni sansserif.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni serif.plain.latin-1=DejaVu LGC Serif serif.plain.japanese=IPA PMincho serif.plain.korean=Baekmuk Batang serif.plain.chinese-big5=AR PL ZenKai Uni serif.plain.chinese-gb18030=AR PL ZenKai Uni serif.bold.latin-1=DejaVu LGC Serif Bold serif.bold.japanese=IPA PMincho serif.bold.korean=Baekmuk Batang serif.bold.chinese-big5=AR PL ZenKai Uni serif.bold.chinese-gb18030=AR PL ZenKai Uni serif.italic.latin-1=DejaVu LGC Serif Oblique serif.italic.japanese=IPA PMincho serif.italic.korean=Baekmuk Batang serif.italic.chinese-big5=AR PL ZenKai Uni serif.italic.chinese-gb18030=AR PL ZenKai Uni serif.bolditalic.latin-1=DejaVu LGC Serif Bold Oblique serif.bolditalic.japanese=IPA PMincho serif.bolditalic.korean=Baekmuk Batang serif.bolditalic.chinese-big5=AR PL ZenKai Uni serif.bolditalic.chinese-gb18030=AR PL ZenKai Uni monospaced.plain.latin-1=DejaVu LGC Sans Mono monospaced.plain.japanese=IPA Gothic monospaced.plain.korean=Baekmuk Gulim monospaced.plain.chinese-big5=AR PL ShanHeiSun Uni monospaced.plain.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bold.latin-1=DejaVu LGC Sans Mono Bold monospaced.bold.japanese=IPA Gothic monospaced.bold.korean=Baekmuk Gulim monospaced.bold.chinese-big5=AR PL ShanHeiSun Uni monospaced.bold.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.italic.latin-1=DejaVu LGC Sans Mono Oblique monospaced.italic.japanese=IPA Gothic monospaced.italic.korean=Baekmuk Gulim monospaced.italic.chinese-big5=AR PL ShanHeiSun Uni monospaced.italic.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique monospaced.bolditalic.japanese=IPA Gothic monospaced.bolditalic.korean=Baekmuk Gulim monospaced.bolditalic.chinese-big5=AR PL ShanHeiSun Uni monospaced.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.plain.latin-1=DejaVu LGC Sans Mono dialoginput.plain.japanese=IPA UIGothic dialoginput.plain.korean=Baekmuk Gulim dialoginput.plain.chinese-big5=AR PL ShanHeiSun Uni dialoginput.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bold.latin-1=DejaVu LGC Sans Mono Bold dialoginput.bold.japanese=IPA UIGothic dialoginput.bold.korean=Baekmuk Gulim dialoginput.bold.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.italic.latin-1=DejaVu LGC Sans Mono Oblique dialoginput.italic.japanese=IPA UIGothic dialoginput.italic.korean=Baekmuk Gulim dialoginput.italic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique dialoginput.bolditalic.japanese=IPA UIGothic dialoginput.bolditalic.korean=Baekmuk Gulim dialoginput.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.Big5=chinese-big5,latin-1 sequence.allfonts.x-euc-jp-bsd=japanese,latin-1 sequence.allfonts.EUC-KR=korean,latin-1 sequence.allfonts.GB18030=chinese-gb18030,latin-1 sequence.fallback=chinese-big5,chinese-gb18030,japanese,korean # Font File Names filename.DejaVu_LGC_Sans=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf filename.DejaVu_LGC_Sans_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf filename.DejaVu_LGC_Sans_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Oblique.ttf filename.DejaVu_LGC_Sans_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-BoldOblique.ttf filename.DejaVu_LGC_Sans_Mono=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf filename.DejaVu_LGC_Sans_Mono_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Bold.ttf filename.DejaVu_LGC_Sans_Mono_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Oblique.ttf filename.DejaVu_LGC_Sans_Mono_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-BoldOblique.ttf filename.DejaVu_LGC_Serif=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif.ttf filename.DejaVu_LGC_Serif_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Bold.ttf filename.DejaVu_LGC_Serif_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Oblique.ttf filename.DejaVu_LGC_Serif_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-BoldOblique.ttf filename.IPA_Gothic=/usr/local/share/ipa-ttfonts/fonts/ipag.ttf filename.IPA_PGothic=/usr/local/share/ipa-ttfonts/fonts/ipagp.ttf filename.IPA_UIGothic=/usr/local/share/ipa-ttfonts/fonts/ipagui.ttf filename.IPA_Mincho=/usr/local/share/ipa-ttfonts/fonts/ipam.ttf filename.IPA_PMincho=/usr/local/share/ipa-ttfonts/fonts/ipamp.ttf filename.Sazanami_Gothic=/usr/share/fonts/japanese/TrueType/sazanami-gothic.ttf filename.Sazanami_Mincho=/usr/share/fonts/japanese/TrueType/sazanami-mincho.ttf filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/chinese/TrueType/uming.ttf filename.AR_PL_ZenKai_Uni=/usr/share/fonts/chinese/TrueType/ukai.ttf filename.Baekmuk_Gulim=/usr/share/fonts/korean/TrueType/gulim.ttf filename.Baekmuk_Batang=/usr/share/fonts/korean/TrueType/batang.ttf From chat95 at mac.com Thu Feb 26 19:37:24 2009 From: chat95 at mac.com (Maho NAKATA) Date: Thu Feb 26 19:37:31 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <49A758C8.6010708@freebsd.org> References: <49A4CD5A.9060600@ongs.co.jp> <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> <49A758C8.6010708@freebsd.org> Message-ID: <20090227.123640.228963683.chat95@mac.com> Hi Daichi-kun and Brian, Brian: I'd like to include Daichi-san's patch for fixing Japanese font issue. Please approve. From: Daichi GOTO Subject: Re: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? Date: Fri, 27 Feb 2009 12:06:48 +0900 > How about integrate my included fontconfig.properties > to OpenJDK6 ports as a patch usder java/openjdk6/files? > I guess not bad suggestion ;-) Daichi-kun, no problem. Have you signed to SCA so that your patch can be integrated into the upstream? Best, -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090227/5fe015bb/attachment.pgp From daichi at freebsd.org Thu Feb 26 19:40:44 2009 From: daichi at freebsd.org (Daichi GOTO) Date: Thu Feb 26 19:40:51 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <20090227.123640.228963683.chat95@mac.com> References: <49A4CD5A.9060600@ongs.co.jp> <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> <49A758C8.6010708@freebsd.org> <20090227.123640.228963683.chat95@mac.com> Message-ID: <49A760BB.9090801@freebsd.org> Maho NAKATA wrote: > Hi Daichi-kun and Brian, > > Brian: I'd like to include Daichi-san's patch for fixing Japanese font issue. > Please approve. > > From: Daichi GOTO > Subject: Re: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? > Date: Fri, 27 Feb 2009 12:06:48 +0900 > >> How about integrate my included fontconfig.properties >> to OpenJDK6 ports as a patch usder java/openjdk6/files? >> I guess not bad suggestion ;-) > > Daichi-kun, no problem. Have you signed to SCA so that your patch can > be integrated into the upstream? Give me a way how to sign up that :) Can I complete that on-line work only? Or do I need to send real air mail? > Best, > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt -- Daichi GOTO, http://people.freebsd.org/~daichi From daichi at ongs.co.jp Thu Feb 26 22:07:36 2009 From: daichi at ongs.co.jp (Daichi GOTO) Date: Thu Feb 26 22:07:43 2009 Subject: Japanese font conf for JDK16 to use IPA font Message-ID: <49A77F4A.2080508@ongs.co.jp> Hi greg :) How about to deploy or integrate included fontconfig.properties file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. I have known some Japanese java developers have been giving up to use FreeBSD and Java as their default development environment because FreeBSD JDK16 default configurations lacks of proper Japanese font setting. Right now, IPA font(japanese/ipa-ttfonts) is proper high quality font as Japanese font. To enable that font as default font makes a lot of sense. I have checked included one with JDK16 and OpenJDK6, that looks like working well. Thanks :) -- Daichi GOTO, http://people.freebsd.org/~daichi -------------- next part -------------- # # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Sun designates this # particular file as subject to the "Classpath" exception as provided # by Sun in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # Version # Uses Fedora Core 6 fonts and file paths. version=1 # Component Font Mappings dialog.plain.latin-1=DejaVu LGC Sans dialog.plain.japanese=IPA UIGothic dialog.plain.korean=Baekmuk Gulim dialog.plain.chinese-big5=AR PL ShanHeiSun Uni dialog.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bold.latin-1=DejaVu LGC Sans Bold dialog.bold.japanese=IPA UIGothic dialog.bold.korean=Baekmuk Gulim dialog.bold.chinese-big5=AR PL ShanHeiSun Uni dialog.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialog.italic.latin-1=DejaVu LGC Sans Oblique dialog.italic.japanese=IPA UIGothic dialog.italic.korean=Baekmuk Gulim dialog.italic.chinese-big5=AR PL ShanHeiSun Uni dialog.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique dialog.bolditalic.japanese=IPA UIGothic dialog.bolditalic.korean=Baekmuk Gulim dialog.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialog.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.plain.latin-1=DejaVu LGC Sans sansserif.plain.japanese=IPA PGothic sansserif.plain.korean=Baekmuk Gulim sansserif.plain.chinese-big5=AR PL ShanHeiSun Uni sansserif.plain.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bold.latin-1=DejaVu LGC Sans Bold sansserif.bold.japanese=IPA PGothic sansserif.bold.korean=Baekmuk Gulim sansserif.bold.chinese-big5=AR PL ShanHeiSun Uni sansserif.bold.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.italic.latin-1=DejaVu LGC Sans Oblique sansserif.italic.japanese=IPA PGothic sansserif.italic.korean=Baekmuk Gulim sansserif.italic.chinese-big5=AR PL ShanHeiSun Uni sansserif.italic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique sansserif.bolditalic.japanese=IPA PGothic sansserif.bolditalic.korean=Baekmuk Gulim sansserif.bolditalic.chinese-big5=AR PL ShanHeiSun Uni sansserif.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni serif.plain.latin-1=DejaVu LGC Serif serif.plain.japanese=IPA PMincho serif.plain.korean=Baekmuk Batang serif.plain.chinese-big5=AR PL ZenKai Uni serif.plain.chinese-gb18030=AR PL ZenKai Uni serif.bold.latin-1=DejaVu LGC Serif Bold serif.bold.japanese=IPA PMincho serif.bold.korean=Baekmuk Batang serif.bold.chinese-big5=AR PL ZenKai Uni serif.bold.chinese-gb18030=AR PL ZenKai Uni serif.italic.latin-1=DejaVu LGC Serif Oblique serif.italic.japanese=IPA PMincho serif.italic.korean=Baekmuk Batang serif.italic.chinese-big5=AR PL ZenKai Uni serif.italic.chinese-gb18030=AR PL ZenKai Uni serif.bolditalic.latin-1=DejaVu LGC Serif Bold Oblique serif.bolditalic.japanese=IPA PMincho serif.bolditalic.korean=Baekmuk Batang serif.bolditalic.chinese-big5=AR PL ZenKai Uni serif.bolditalic.chinese-gb18030=AR PL ZenKai Uni monospaced.plain.latin-1=DejaVu LGC Sans Mono monospaced.plain.japanese=IPA Gothic monospaced.plain.korean=Baekmuk Gulim monospaced.plain.chinese-big5=AR PL ShanHeiSun Uni monospaced.plain.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bold.latin-1=DejaVu LGC Sans Mono Bold monospaced.bold.japanese=IPA Gothic monospaced.bold.korean=Baekmuk Gulim monospaced.bold.chinese-big5=AR PL ShanHeiSun Uni monospaced.bold.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.italic.latin-1=DejaVu LGC Sans Mono Oblique monospaced.italic.japanese=IPA Gothic monospaced.italic.korean=Baekmuk Gulim monospaced.italic.chinese-big5=AR PL ShanHeiSun Uni monospaced.italic.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique monospaced.bolditalic.japanese=IPA Gothic monospaced.bolditalic.korean=Baekmuk Gulim monospaced.bolditalic.chinese-big5=AR PL ShanHeiSun Uni monospaced.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.plain.latin-1=DejaVu LGC Sans Mono dialoginput.plain.japanese=IPA UIGothic dialoginput.plain.korean=Baekmuk Gulim dialoginput.plain.chinese-big5=AR PL ShanHeiSun Uni dialoginput.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bold.latin-1=DejaVu LGC Sans Mono Bold dialoginput.bold.japanese=IPA UIGothic dialoginput.bold.korean=Baekmuk Gulim dialoginput.bold.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.italic.latin-1=DejaVu LGC Sans Mono Oblique dialoginput.italic.japanese=IPA UIGothic dialoginput.italic.korean=Baekmuk Gulim dialoginput.italic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique dialoginput.bolditalic.japanese=IPA UIGothic dialoginput.bolditalic.korean=Baekmuk Gulim dialoginput.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.Big5=chinese-big5,latin-1 sequence.allfonts.x-euc-jp-bsd=japanese,latin-1 sequence.allfonts.EUC-KR=korean,latin-1 sequence.allfonts.GB18030=chinese-gb18030,latin-1 sequence.fallback=chinese-big5,chinese-gb18030,japanese,korean # Font File Names filename.DejaVu_LGC_Sans=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf filename.DejaVu_LGC_Sans_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf filename.DejaVu_LGC_Sans_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Oblique.ttf filename.DejaVu_LGC_Sans_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-BoldOblique.ttf filename.DejaVu_LGC_Sans_Mono=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf filename.DejaVu_LGC_Sans_Mono_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Bold.ttf filename.DejaVu_LGC_Sans_Mono_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Oblique.ttf filename.DejaVu_LGC_Sans_Mono_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-BoldOblique.ttf filename.DejaVu_LGC_Serif=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif.ttf filename.DejaVu_LGC_Serif_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Bold.ttf filename.DejaVu_LGC_Serif_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Oblique.ttf filename.DejaVu_LGC_Serif_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-BoldOblique.ttf filename.IPA_Gothic=/usr/local/share/ipa-ttfonts/fonts/ipag.ttf filename.IPA_PGothic=/usr/local/share/ipa-ttfonts/fonts/ipagp.ttf filename.IPA_UIGothic=/usr/local/share/ipa-ttfonts/fonts/ipagui.ttf filename.IPA_Mincho=/usr/local/share/ipa-ttfonts/fonts/ipam.ttf filename.IPA_PMincho=/usr/local/share/ipa-ttfonts/fonts/ipamp.ttf filename.Sazanami_Gothic=/usr/share/fonts/japanese/TrueType/sazanami-gothic.ttf filename.Sazanami_Mincho=/usr/share/fonts/japanese/TrueType/sazanami-mincho.ttf filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/chinese/TrueType/uming.ttf filename.AR_PL_ZenKai_Uni=/usr/share/fonts/chinese/TrueType/ukai.ttf filename.Baekmuk_Gulim=/usr/share/fonts/korean/TrueType/gulim.ttf filename.Baekmuk_Batang=/usr/share/fonts/korean/TrueType/batang.ttf From jkim at FreeBSD.org Fri Feb 27 08:59:25 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 08:59:38 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <49A77F4A.2080508@ongs.co.jp> References: <49A77F4A.2080508@ongs.co.jp> Message-ID: <200902271159.15176.jkim@FreeBSD.org> On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > Hi greg :) > > How about to deploy or integrate included fontconfig.properties > file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > I have known some Japanese java developers have been giving up to > use FreeBSD and Java as their default development environment > because FreeBSD JDK16 default configurations lacks of proper > Japanese font setting. > > Right now, IPA font(japanese/ipa-ttfonts) is proper high quality > font as Japanese font. To enable that font as default font makes > a lot of sense. > > I have checked included one with JDK16 and OpenJDK6, that looks > like working well. I have been using the attached properties for korean fonts for many years, which uses korean/unfonts-ttf. Baekmuk fonts in your properties are unmaintained and obsolete. Un-series fonts are de facto standard for korean FOSS projects these days. One of the reasons is it works pretty well with Freetype2. I believe many FOSS projects still use Baekmuk because Redhat does. :-( https://bugzilla.redhat.com/show_bug.cgi?id=112877 FYI... Jung-uk Kim -------------- next part -------------- # @(#)bsd.fontconfig.properties 1.2 03/10/28 # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # # Version version=1 # Component Font Mappings allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 serif.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1 serif.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1 serif.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1 serif.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1 sansserif.plain.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.bold.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.italic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.bolditalic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 monospaced.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 dialog.plain.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.bold.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.italic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.bolditalic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 dialoginput.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.EUC-KR=latin-1,korean sequence.fallback=lucida,korean # Exclusion Ranges # Font File Names filename.-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/local/lib/X11/fonts/TrueType/UnBatang.ttf filename.-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/local/lib/X11/fonts/TrueType/UnDotum.ttf # AWT X11 font paths awtfontpath.latin-1=/usr/local/lib/X11/fonts/Type1 awtfontpath.korean=/usr/local/lib/X11/fonts/TrueType From jkim at FreeBSD.org Fri Feb 27 08:59:25 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 08:59:38 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <49A77F4A.2080508@ongs.co.jp> References: <49A77F4A.2080508@ongs.co.jp> Message-ID: <200902271159.15176.jkim@FreeBSD.org> On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > Hi greg :) > > How about to deploy or integrate included fontconfig.properties > file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > I have known some Japanese java developers have been giving up to > use FreeBSD and Java as their default development environment > because FreeBSD JDK16 default configurations lacks of proper > Japanese font setting. > > Right now, IPA font(japanese/ipa-ttfonts) is proper high quality > font as Japanese font. To enable that font as default font makes > a lot of sense. > > I have checked included one with JDK16 and OpenJDK6, that looks > like working well. I have been using the attached properties for korean fonts for many years, which uses korean/unfonts-ttf. Baekmuk fonts in your properties are unmaintained and obsolete. Un-series fonts are de facto standard for korean FOSS projects these days. One of the reasons is it works pretty well with Freetype2. I believe many FOSS projects still use Baekmuk because Redhat does. :-( https://bugzilla.redhat.com/show_bug.cgi?id=112877 FYI... Jung-uk Kim -------------- next part -------------- # @(#)bsd.fontconfig.properties 1.2 03/10/28 # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # # Version version=1 # Component Font Mappings allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 serif.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1 serif.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1 serif.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1 serif.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1 sansserif.plain.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.bold.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.italic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.bolditalic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 monospaced.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 dialog.plain.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.bold.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.italic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.bolditalic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 dialoginput.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1 dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.EUC-KR=latin-1,korean sequence.fallback=lucida,korean # Exclusion Ranges # Font File Names filename.-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/local/lib/X11/fonts/TrueType/UnBatang.ttf filename.-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/local/lib/X11/fonts/TrueType/UnDotum.ttf # AWT X11 font paths awtfontpath.latin-1=/usr/local/lib/X11/fonts/Type1 awtfontpath.korean=/usr/local/lib/X11/fonts/TrueType From jkim at FreeBSD.org Fri Feb 27 10:02:06 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 10:02:19 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <200902271159.15176.jkim@FreeBSD.org> References: <49A77F4A.2080508@ongs.co.jp> <200902271159.15176.jkim@FreeBSD.org> Message-ID: <200902271301.57014.jkim@FreeBSD.org> On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: > On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > > Hi greg :) > > > > How about to deploy or integrate included fontconfig.properties > > file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > > > I have known some Japanese java developers have been giving up to > > use FreeBSD and Java as their default development environment > > because FreeBSD JDK16 default configurations lacks of proper > > Japanese font setting. > > > > Right now, IPA font(japanese/ipa-ttfonts) is proper high quality > > font as Japanese font. To enable that font as default font makes > > a lot of sense. > > > > I have checked included one with JDK16 and OpenJDK6, that looks > > like working well. > > I have been using the attached properties for korean fonts for many > years, which uses korean/unfonts-ttf. Baekmuk fonts in your > properties are unmaintained and obsolete. Un-series fonts are de > facto standard for korean FOSS projects these days. One of the > reasons is it works pretty well with Freetype2. I believe many > FOSS projects still use Baekmuk because Redhat does. :-( > > https://bugzilla.redhat.com/show_bug.cgi?id=112877 It is little OT but I found Fedora project approved Un-series fonts as the next default korean fonts: http://fedoraproject.org/wiki/UN_fonts "Fontconfig has been changed upstream to use UN as default Korean font set instead of Baekmuk (current Fedora Korean font)." Yeah! Jung-uk Kim From jkim at FreeBSD.org Fri Feb 27 10:02:06 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 10:02:19 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <200902271159.15176.jkim@FreeBSD.org> References: <49A77F4A.2080508@ongs.co.jp> <200902271159.15176.jkim@FreeBSD.org> Message-ID: <200902271301.57014.jkim@FreeBSD.org> On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: > On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > > Hi greg :) > > > > How about to deploy or integrate included fontconfig.properties > > file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > > > I have known some Japanese java developers have been giving up to > > use FreeBSD and Java as their default development environment > > because FreeBSD JDK16 default configurations lacks of proper > > Japanese font setting. > > > > Right now, IPA font(japanese/ipa-ttfonts) is proper high quality > > font as Japanese font. To enable that font as default font makes > > a lot of sense. > > > > I have checked included one with JDK16 and OpenJDK6, that looks > > like working well. > > I have been using the attached properties for korean fonts for many > years, which uses korean/unfonts-ttf. Baekmuk fonts in your > properties are unmaintained and obsolete. Un-series fonts are de > facto standard for korean FOSS projects these days. One of the > reasons is it works pretty well with Freetype2. I believe many > FOSS projects still use Baekmuk because Redhat does. :-( > > https://bugzilla.redhat.com/show_bug.cgi?id=112877 It is little OT but I found Fedora project approved Un-series fonts as the next default korean fonts: http://fedoraproject.org/wiki/UN_fonts "Fontconfig has been changed upstream to use UN as default Korean font set instead of Baekmuk (current Fedora Korean font)." Yeah! Jung-uk Kim From glewis at eyesbeyond.com Fri Feb 27 10:58:49 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Fri Feb 27 10:58:56 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <200902271301.57014.jkim@FreeBSD.org> References: <49A77F4A.2080508@ongs.co.jp> <200902271159.15176.jkim@FreeBSD.org> <200902271301.57014.jkim@FreeBSD.org> Message-ID: <20090227190138.GA24778@misty.eyesbeyond.com> On Fri, Feb 27, 2009 at 01:01:31PM -0500, Jung-uk Kim wrote: > On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: > > On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > > > Hi greg :) > > > > > > How about to deploy or integrate included fontconfig.properties > > > file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > > > > > I have known some Japanese java developers have been giving up to > > > use FreeBSD and Java as their default development environment > > > because FreeBSD JDK16 default configurations lacks of proper > > > Japanese font setting. > > > > > > Right now, IPA font(japanese/ipa-ttfonts) is proper high quality > > > font as Japanese font. To enable that font as default font makes > > > a lot of sense. > > > > > > I have checked included one with JDK16 and OpenJDK6, that looks > > > like working well. > > > > I have been using the attached properties for korean fonts for many > > years, which uses korean/unfonts-ttf. Baekmuk fonts in your > > properties are unmaintained and obsolete. Un-series fonts are de > > facto standard for korean FOSS projects these days. One of the > > reasons is it works pretty well with Freetype2. I believe many > > FOSS projects still use Baekmuk because Redhat does. :-( > > > > https://bugzilla.redhat.com/show_bug.cgi?id=112877 > > It is little OT but I found Fedora project approved Un-series fonts as > the next default korean fonts: > > http://fedoraproject.org/wiki/UN_fonts > > "Fontconfig has been changed upstream to use UN as default Korean font > set instead of Baekmuk (current Fedora Korean font)." > > Yeah! So which Korean fonts should we be using? The new ones or the ones in the fontconfig.properties you sent? I'd like to merge those changes with Daichi-san's and get them both committed :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From glewis at eyesbeyond.com Fri Feb 27 11:24:53 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Fri Feb 27 11:25:00 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <200902271301.57014.jkim@FreeBSD.org> References: <49A77F4A.2080508@ongs.co.jp> <200902271159.15176.jkim@FreeBSD.org> <200902271301.57014.jkim@FreeBSD.org> Message-ID: <20090227190138.GA24778@misty.eyesbeyond.com> On Fri, Feb 27, 2009 at 01:01:31PM -0500, Jung-uk Kim wrote: > On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: > > On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > > > Hi greg :) > > > > > > How about to deploy or integrate included fontconfig.properties > > > file to /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > > > > > I have known some Japanese java developers have been giving up to > > > use FreeBSD and Java as their default development environment > > > because FreeBSD JDK16 default configurations lacks of proper > > > Japanese font setting. > > > > > > Right now, IPA font(japanese/ipa-ttfonts) is proper high quality > > > font as Japanese font. To enable that font as default font makes > > > a lot of sense. > > > > > > I have checked included one with JDK16 and OpenJDK6, that looks > > > like working well. > > > > I have been using the attached properties for korean fonts for many > > years, which uses korean/unfonts-ttf. Baekmuk fonts in your > > properties are unmaintained and obsolete. Un-series fonts are de > > facto standard for korean FOSS projects these days. One of the > > reasons is it works pretty well with Freetype2. I believe many > > FOSS projects still use Baekmuk because Redhat does. :-( > > > > https://bugzilla.redhat.com/show_bug.cgi?id=112877 > > It is little OT but I found Fedora project approved Un-series fonts as > the next default korean fonts: > > http://fedoraproject.org/wiki/UN_fonts > > "Fontconfig has been changed upstream to use UN as default Korean font > set instead of Baekmuk (current Fedora Korean font)." > > Yeah! So which Korean fonts should we be using? The new ones or the ones in the fontconfig.properties you sent? I'd like to merge those changes with Daichi-san's and get them both committed :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From jonc at chen.org.nz Fri Feb 27 12:03:26 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Fri Feb 27 12:03:32 2009 Subject: OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans? In-Reply-To: <20090227.123640.228963683.chat95@mac.com> References: <49A4CD5A.9060600@ongs.co.jp> <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> <49A758C8.6010708@freebsd.org> <20090227.123640.228963683.chat95@mac.com> Message-ID: <20090227194735.GA42177@osiris.chen.org.nz> Hi, On Fri, Feb 27, 2009 at 12:36:40PM +0900, Maho NAKATA wrote: > Hi Daichi-kun and Brian, > > Brian: I'd like to include Daichi-san's patch for fixing Japanese font issue. > Please approve. Instead of modifying fontconfig.properties, wouldn't it be better to *include* it as jre/lib/fontconfig.FreeBSD.properties? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Irrationality is the square root of all evil" - Douglas Hofstadter From jkim at FreeBSD.org Fri Feb 27 12:11:04 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 12:11:18 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <20090227190138.GA24778@misty.eyesbeyond.com> References: <49A77F4A.2080508@ongs.co.jp> <200902271301.57014.jkim@FreeBSD.org> <20090227190138.GA24778@misty.eyesbeyond.com> Message-ID: <200902271510.56365.jkim@FreeBSD.org> On Friday 27 February 2009 02:01 pm, Greg Lewis wrote: > On Fri, Feb 27, 2009 at 01:01:31PM -0500, Jung-uk Kim wrote: > > On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: > > > On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > > > > Hi greg :) > > > > > > > > How about to deploy or integrate included > > > > fontconfig.properties file to > > > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > > > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > > > > > > > I have known some Japanese java developers have been giving > > > > up to use FreeBSD and Java as their default development > > > > environment because FreeBSD JDK16 default configurations > > > > lacks of proper Japanese font setting. > > > > > > > > Right now, IPA font(japanese/ipa-ttfonts) is proper high > > > > quality font as Japanese font. To enable that font as default > > > > font makes a lot of sense. > > > > > > > > I have checked included one with JDK16 and OpenJDK6, that > > > > looks like working well. > > > > > > I have been using the attached properties for korean fonts for > > > many years, which uses korean/unfonts-ttf. Baekmuk fonts in > > > your properties are unmaintained and obsolete. Un-series fonts > > > are de facto standard for korean FOSS projects these days. One > > > of the reasons is it works pretty well with Freetype2. I > > > believe many FOSS projects still use Baekmuk because Redhat > > > does. :-( > > > > > > https://bugzilla.redhat.com/show_bug.cgi?id=112877 > > > > It is little OT but I found Fedora project approved Un-series > > fonts as the next default korean fonts: > > > > http://fedoraproject.org/wiki/UN_fonts > > > > "Fontconfig has been changed upstream to use UN as default Korean > > font set instead of Baekmuk (current Fedora Korean font)." > > > > Yeah! > > So which Korean fonts should we be using? The new ones or the ones > in the fontconfig.properties you sent? I'd like to merge those > changes with Daichi-san's and get them both committed :). I merged them and attached (not tested). In fact, I thought about doing something like this (i.e., converting Fedora font properties to BSD-specific file) but I never committed it for few reasons. For example, we do not have default fonts as Linux "distros" do (although I agree that FreeBSD specific property file is good to have in the ports but not on Mercurial). Also, I was concerned about package dependencies. Maybe we can add a knob, e.g., WITH_CJK to include properties if we just do this in the ports. Now, more specific issues: # Uses Fedora Core 6 fonts and file paths. - Yeah, I know. :-( /usr/share/fonts/dejavu-lgc/DejaVuLGC*.ttf - Changing default Latin fonts is a POLA violation, I think. - This is Fedora path and we don't have that in the ports[1]. /usr/share/fonts/japanese/TrueType/sazanami-*.ttf - The path has to be corrected. See japanese/sazanami-ttf. /usr/share/fonts/chinese/TrueType/ukai.ttf /usr/share/fonts/chinese/TrueType/uming.ttf - The path has to be corrected. See chinese/CJKUnifonts. - We need Chinese Java users to confirm its usefulness. I am not qualified. ;-) FYI, Fedora has font history here: http://fedoraproject.org/wiki/Fonts_inclusion_history Jung-uk Kim [1] We have x11-fonts/dejavu but DejaVu-LGC (a derivative of DejaVu fonts) is not ported. If really needed, we can make a ports for it, though. -------------- next part -------------- # # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Sun designates this # particular file as subject to the "Classpath" exception as provided # by Sun in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # Version # Uses Fedora Core 6 fonts and file paths. version=1 # Component Font Mappings dialog.plain.latin-1=DejaVu LGC Sans dialog.plain.japanese=IPA UIGothic dialog.plain.korean=UnDotum dialog.plain.chinese-big5=AR PL ShanHeiSun Uni dialog.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bold.latin-1=DejaVu LGC Sans Bold dialog.bold.japanese=IPA UIGothic dialog.bold.korean=UnDotum dialog.bold.chinese-big5=AR PL ShanHeiSun Uni dialog.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialog.italic.latin-1=DejaVu LGC Sans Oblique dialog.italic.japanese=IPA UIGothic dialog.italic.korean=UnDotum dialog.italic.chinese-big5=AR PL ShanHeiSun Uni dialog.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique dialog.bolditalic.japanese=IPA UIGothic dialog.bolditalic.korean=UnDotum dialog.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialog.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.plain.latin-1=DejaVu LGC Sans sansserif.plain.japanese=IPA PGothic sansserif.plain.korean=UnDotum sansserif.plain.chinese-big5=AR PL ShanHeiSun Uni sansserif.plain.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bold.latin-1=DejaVu LGC Sans Bold sansserif.bold.japanese=IPA PGothic sansserif.bold.korean=UnDotum sansserif.bold.chinese-big5=AR PL ShanHeiSun Uni sansserif.bold.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.italic.latin-1=DejaVu LGC Sans Oblique sansserif.italic.japanese=IPA PGothic sansserif.italic.korean=UnDotum sansserif.italic.chinese-big5=AR PL ShanHeiSun Uni sansserif.italic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique sansserif.bolditalic.japanese=IPA PGothic sansserif.bolditalic.korean=UnDotum sansserif.bolditalic.chinese-big5=AR PL ShanHeiSun Uni sansserif.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni serif.plain.latin-1=DejaVu LGC Serif serif.plain.japanese=IPA PMincho serif.plain.korean=UnBatang serif.plain.chinese-big5=AR PL ZenKai Uni serif.plain.chinese-gb18030=AR PL ZenKai Uni serif.bold.latin-1=DejaVu LGC Serif Bold serif.bold.japanese=IPA PMincho serif.bold.korean=UnBatang serif.bold.chinese-big5=AR PL ZenKai Uni serif.bold.chinese-gb18030=AR PL ZenKai Uni serif.italic.latin-1=DejaVu LGC Serif Oblique serif.italic.japanese=IPA PMincho serif.italic.korean=UnBatang serif.italic.chinese-big5=AR PL ZenKai Uni serif.italic.chinese-gb18030=AR PL ZenKai Uni serif.bolditalic.latin-1=DejaVu LGC Serif Bold Oblique serif.bolditalic.japanese=IPA PMincho serif.bolditalic.korean=UnBatang serif.bolditalic.chinese-big5=AR PL ZenKai Uni serif.bolditalic.chinese-gb18030=AR PL ZenKai Uni monospaced.plain.latin-1=DejaVu LGC Sans Mono monospaced.plain.japanese=IPA Gothic monospaced.plain.korean=UnDotum monospaced.plain.chinese-big5=AR PL ShanHeiSun Uni monospaced.plain.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bold.latin-1=DejaVu LGC Sans Mono Bold monospaced.bold.japanese=IPA Gothic monospaced.bold.korean=UnDotum monospaced.bold.chinese-big5=AR PL ShanHeiSun Uni monospaced.bold.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.italic.latin-1=DejaVu LGC Sans Mono Oblique monospaced.italic.japanese=IPA Gothic monospaced.italic.korean=UnDotum monospaced.italic.chinese-big5=AR PL ShanHeiSun Uni monospaced.italic.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique monospaced.bolditalic.japanese=IPA Gothic monospaced.bolditalic.korean=UnDotum monospaced.bolditalic.chinese-big5=AR PL ShanHeiSun Uni monospaced.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.plain.latin-1=DejaVu LGC Sans Mono dialoginput.plain.japanese=IPA UIGothic dialoginput.plain.korean=UnDotum dialoginput.plain.chinese-big5=AR PL ShanHeiSun Uni dialoginput.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bold.latin-1=DejaVu LGC Sans Mono Bold dialoginput.bold.japanese=IPA UIGothic dialoginput.bold.korean=UnDotum dialoginput.bold.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.italic.latin-1=DejaVu LGC Sans Mono Oblique dialoginput.italic.japanese=IPA UIGothic dialoginput.italic.korean=UnDotum dialoginput.italic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique dialoginput.bolditalic.japanese=IPA UIGothic dialoginput.bolditalic.korean=UnDotum dialoginput.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.Big5=chinese-big5,latin-1 sequence.allfonts.x-euc-jp-bsd=japanese,latin-1 sequence.allfonts.EUC-KR=korean,latin-1 sequence.allfonts.GB18030=chinese-gb18030,latin-1 sequence.fallback=chinese-big5,chinese-gb18030,japanese,korean # Font File Names filename.DejaVu_LGC_Sans=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf filename.DejaVu_LGC_Sans_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf filename.DejaVu_LGC_Sans_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Oblique.ttf filename.DejaVu_LGC_Sans_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-BoldOblique.ttf filename.DejaVu_LGC_Sans_Mono=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf filename.DejaVu_LGC_Sans_Mono_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Bold.ttf filename.DejaVu_LGC_Sans_Mono_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Oblique.ttf filename.DejaVu_LGC_Sans_Mono_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-BoldOblique.ttf filename.DejaVu_LGC_Serif=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif.ttf filename.DejaVu_LGC_Serif_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Bold.ttf filename.DejaVu_LGC_Serif_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Oblique.ttf filename.DejaVu_LGC_Serif_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-BoldOblique.ttf filename.IPA_Gothic=/usr/local/share/ipa-ttfonts/fonts/ipag.ttf filename.IPA_PGothic=/usr/local/share/ipa-ttfonts/fonts/ipagp.ttf filename.IPA_UIGothic=/usr/local/share/ipa-ttfonts/fonts/ipagui.ttf filename.IPA_Mincho=/usr/local/share/ipa-ttfonts/fonts/ipam.ttf filename.IPA_PMincho=/usr/local/share/ipa-ttfonts/fonts/ipamp.ttf filename.Sazanami_Gothic=/usr/share/fonts/japanese/TrueType/sazanami-gothic.ttf filename.Sazanami_Mincho=/usr/share/fonts/japanese/TrueType/sazanami-mincho.ttf filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/chinese/TrueType/uming.ttf filename.AR_PL_ZenKai_Uni=/usr/share/fonts/chinese/TrueType/ukai.ttf filename.UnDotum=/usr/local/lib/X11/fonts/TrueType/UnDotum.ttf filename.UnBatang=/usr/local/lib/X11/fonts/TrueType/UnBatang.ttf From jkim at FreeBSD.org Fri Feb 27 12:11:04 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 12:11:18 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <20090227190138.GA24778@misty.eyesbeyond.com> References: <49A77F4A.2080508@ongs.co.jp> <200902271301.57014.jkim@FreeBSD.org> <20090227190138.GA24778@misty.eyesbeyond.com> Message-ID: <200902271510.56365.jkim@FreeBSD.org> On Friday 27 February 2009 02:01 pm, Greg Lewis wrote: > On Fri, Feb 27, 2009 at 01:01:31PM -0500, Jung-uk Kim wrote: > > On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: > > > On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: > > > > Hi greg :) > > > > > > > > How about to deploy or integrate included > > > > fontconfig.properties file to > > > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or > > > > /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. > > > > > > > > I have known some Japanese java developers have been giving > > > > up to use FreeBSD and Java as their default development > > > > environment because FreeBSD JDK16 default configurations > > > > lacks of proper Japanese font setting. > > > > > > > > Right now, IPA font(japanese/ipa-ttfonts) is proper high > > > > quality font as Japanese font. To enable that font as default > > > > font makes a lot of sense. > > > > > > > > I have checked included one with JDK16 and OpenJDK6, that > > > > looks like working well. > > > > > > I have been using the attached properties for korean fonts for > > > many years, which uses korean/unfonts-ttf. Baekmuk fonts in > > > your properties are unmaintained and obsolete. Un-series fonts > > > are de facto standard for korean FOSS projects these days. One > > > of the reasons is it works pretty well with Freetype2. I > > > believe many FOSS projects still use Baekmuk because Redhat > > > does. :-( > > > > > > https://bugzilla.redhat.com/show_bug.cgi?id=112877 > > > > It is little OT but I found Fedora project approved Un-series > > fonts as the next default korean fonts: > > > > http://fedoraproject.org/wiki/UN_fonts > > > > "Fontconfig has been changed upstream to use UN as default Korean > > font set instead of Baekmuk (current Fedora Korean font)." > > > > Yeah! > > So which Korean fonts should we be using? The new ones or the ones > in the fontconfig.properties you sent? I'd like to merge those > changes with Daichi-san's and get them both committed :). I merged them and attached (not tested). In fact, I thought about doing something like this (i.e., converting Fedora font properties to BSD-specific file) but I never committed it for few reasons. For example, we do not have default fonts as Linux "distros" do (although I agree that FreeBSD specific property file is good to have in the ports but not on Mercurial). Also, I was concerned about package dependencies. Maybe we can add a knob, e.g., WITH_CJK to include properties if we just do this in the ports. Now, more specific issues: # Uses Fedora Core 6 fonts and file paths. - Yeah, I know. :-( /usr/share/fonts/dejavu-lgc/DejaVuLGC*.ttf - Changing default Latin fonts is a POLA violation, I think. - This is Fedora path and we don't have that in the ports[1]. /usr/share/fonts/japanese/TrueType/sazanami-*.ttf - The path has to be corrected. See japanese/sazanami-ttf. /usr/share/fonts/chinese/TrueType/ukai.ttf /usr/share/fonts/chinese/TrueType/uming.ttf - The path has to be corrected. See chinese/CJKUnifonts. - We need Chinese Java users to confirm its usefulness. I am not qualified. ;-) FYI, Fedora has font history here: http://fedoraproject.org/wiki/Fonts_inclusion_history Jung-uk Kim [1] We have x11-fonts/dejavu but DejaVu-LGC (a derivative of DejaVu fonts) is not ported. If really needed, we can make a ports for it, though. -------------- next part -------------- # # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Sun designates this # particular file as subject to the "Classpath" exception as provided # by Sun in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # Version # Uses Fedora Core 6 fonts and file paths. version=1 # Component Font Mappings dialog.plain.latin-1=DejaVu LGC Sans dialog.plain.japanese=IPA UIGothic dialog.plain.korean=UnDotum dialog.plain.chinese-big5=AR PL ShanHeiSun Uni dialog.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bold.latin-1=DejaVu LGC Sans Bold dialog.bold.japanese=IPA UIGothic dialog.bold.korean=UnDotum dialog.bold.chinese-big5=AR PL ShanHeiSun Uni dialog.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialog.italic.latin-1=DejaVu LGC Sans Oblique dialog.italic.japanese=IPA UIGothic dialog.italic.korean=UnDotum dialog.italic.chinese-big5=AR PL ShanHeiSun Uni dialog.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique dialog.bolditalic.japanese=IPA UIGothic dialog.bolditalic.korean=UnDotum dialog.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialog.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.plain.latin-1=DejaVu LGC Sans sansserif.plain.japanese=IPA PGothic sansserif.plain.korean=UnDotum sansserif.plain.chinese-big5=AR PL ShanHeiSun Uni sansserif.plain.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bold.latin-1=DejaVu LGC Sans Bold sansserif.bold.japanese=IPA PGothic sansserif.bold.korean=UnDotum sansserif.bold.chinese-big5=AR PL ShanHeiSun Uni sansserif.bold.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.italic.latin-1=DejaVu LGC Sans Oblique sansserif.italic.japanese=IPA PGothic sansserif.italic.korean=UnDotum sansserif.italic.chinese-big5=AR PL ShanHeiSun Uni sansserif.italic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique sansserif.bolditalic.japanese=IPA PGothic sansserif.bolditalic.korean=UnDotum sansserif.bolditalic.chinese-big5=AR PL ShanHeiSun Uni sansserif.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni serif.plain.latin-1=DejaVu LGC Serif serif.plain.japanese=IPA PMincho serif.plain.korean=UnBatang serif.plain.chinese-big5=AR PL ZenKai Uni serif.plain.chinese-gb18030=AR PL ZenKai Uni serif.bold.latin-1=DejaVu LGC Serif Bold serif.bold.japanese=IPA PMincho serif.bold.korean=UnBatang serif.bold.chinese-big5=AR PL ZenKai Uni serif.bold.chinese-gb18030=AR PL ZenKai Uni serif.italic.latin-1=DejaVu LGC Serif Oblique serif.italic.japanese=IPA PMincho serif.italic.korean=UnBatang serif.italic.chinese-big5=AR PL ZenKai Uni serif.italic.chinese-gb18030=AR PL ZenKai Uni serif.bolditalic.latin-1=DejaVu LGC Serif Bold Oblique serif.bolditalic.japanese=IPA PMincho serif.bolditalic.korean=UnBatang serif.bolditalic.chinese-big5=AR PL ZenKai Uni serif.bolditalic.chinese-gb18030=AR PL ZenKai Uni monospaced.plain.latin-1=DejaVu LGC Sans Mono monospaced.plain.japanese=IPA Gothic monospaced.plain.korean=UnDotum monospaced.plain.chinese-big5=AR PL ShanHeiSun Uni monospaced.plain.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bold.latin-1=DejaVu LGC Sans Mono Bold monospaced.bold.japanese=IPA Gothic monospaced.bold.korean=UnDotum monospaced.bold.chinese-big5=AR PL ShanHeiSun Uni monospaced.bold.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.italic.latin-1=DejaVu LGC Sans Mono Oblique monospaced.italic.japanese=IPA Gothic monospaced.italic.korean=UnDotum monospaced.italic.chinese-big5=AR PL ShanHeiSun Uni monospaced.italic.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique monospaced.bolditalic.japanese=IPA Gothic monospaced.bolditalic.korean=UnDotum monospaced.bolditalic.chinese-big5=AR PL ShanHeiSun Uni monospaced.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.plain.latin-1=DejaVu LGC Sans Mono dialoginput.plain.japanese=IPA UIGothic dialoginput.plain.korean=UnDotum dialoginput.plain.chinese-big5=AR PL ShanHeiSun Uni dialoginput.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bold.latin-1=DejaVu LGC Sans Mono Bold dialoginput.bold.japanese=IPA UIGothic dialoginput.bold.korean=UnDotum dialoginput.bold.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.italic.latin-1=DejaVu LGC Sans Mono Oblique dialoginput.italic.japanese=IPA UIGothic dialoginput.italic.korean=UnDotum dialoginput.italic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique dialoginput.bolditalic.japanese=IPA UIGothic dialoginput.bolditalic.korean=UnDotum dialoginput.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.Big5=chinese-big5,latin-1 sequence.allfonts.x-euc-jp-bsd=japanese,latin-1 sequence.allfonts.EUC-KR=korean,latin-1 sequence.allfonts.GB18030=chinese-gb18030,latin-1 sequence.fallback=chinese-big5,chinese-gb18030,japanese,korean # Font File Names filename.DejaVu_LGC_Sans=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf filename.DejaVu_LGC_Sans_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf filename.DejaVu_LGC_Sans_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Oblique.ttf filename.DejaVu_LGC_Sans_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-BoldOblique.ttf filename.DejaVu_LGC_Sans_Mono=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf filename.DejaVu_LGC_Sans_Mono_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Bold.ttf filename.DejaVu_LGC_Sans_Mono_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Oblique.ttf filename.DejaVu_LGC_Sans_Mono_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-BoldOblique.ttf filename.DejaVu_LGC_Serif=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif.ttf filename.DejaVu_LGC_Serif_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Bold.ttf filename.DejaVu_LGC_Serif_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Oblique.ttf filename.DejaVu_LGC_Serif_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-BoldOblique.ttf filename.IPA_Gothic=/usr/local/share/ipa-ttfonts/fonts/ipag.ttf filename.IPA_PGothic=/usr/local/share/ipa-ttfonts/fonts/ipagp.ttf filename.IPA_UIGothic=/usr/local/share/ipa-ttfonts/fonts/ipagui.ttf filename.IPA_Mincho=/usr/local/share/ipa-ttfonts/fonts/ipam.ttf filename.IPA_PMincho=/usr/local/share/ipa-ttfonts/fonts/ipamp.ttf filename.Sazanami_Gothic=/usr/share/fonts/japanese/TrueType/sazanami-gothic.ttf filename.Sazanami_Mincho=/usr/share/fonts/japanese/TrueType/sazanami-mincho.ttf filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/chinese/TrueType/uming.ttf filename.AR_PL_ZenKai_Uni=/usr/share/fonts/chinese/TrueType/ukai.ttf filename.UnDotum=/usr/local/lib/X11/fonts/TrueType/UnDotum.ttf filename.UnBatang=/usr/local/lib/X11/fonts/TrueType/UnBatang.ttf From jkim at FreeBSD.org Fri Feb 27 12:26:43 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 12:26:54 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <200902271510.56365.jkim@FreeBSD.org> References: <49A77F4A.2080508@ongs.co.jp> <20090227190138.GA24778@misty.eyesbeyond.com> <200902271510.56365.jkim@FreeBSD.org> Message-ID: <200902271526.33669.jkim@FreeBSD.org> On Friday 27 February 2009 03:10 pm, Jung-uk Kim wrote: > /usr/share/fonts/japanese/TrueType/sazanami-*.ttf > > - The path has to be corrected. See japanese/sazanami-ttf. Actually, these are not referenced in the file any more and should be removed. Jung-uk Kim From jkim at FreeBSD.org Fri Feb 27 12:26:43 2009 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Fri Feb 27 12:26:54 2009 Subject: Japanese font conf for JDK16 to use IPA font In-Reply-To: <200902271510.56365.jkim@FreeBSD.org> References: <49A77F4A.2080508@ongs.co.jp> <20090227190138.GA24778@misty.eyesbeyond.com> <200902271510.56365.jkim@FreeBSD.org> Message-ID: <200902271526.33669.jkim@FreeBSD.org> On Friday 27 February 2009 03:10 pm, Jung-uk Kim wrote: > /usr/share/fonts/japanese/TrueType/sazanami-*.ttf > > - The path has to be corrected. See japanese/sazanami-ttf. Actually, these are not referenced in the file any more and should be removed. Jung-uk Kim