From adam at imedmobility.com Fri Jan 2 22:41:01 2009 From: adam at imedmobility.com (Adam Vande More) Date: Fri Jan 2 22:41:07 2009 Subject: Crash on Netbeans 65 startup Message-ID: <495E915C.1040501@imedmobility.com> This started when I was editing the preferences tab. -- Adam Vande More Systems Administrator IMED Mobility (605) 498-1610 From adam at imedmobility.com Fri Jan 2 22:51:15 2009 From: adam at imedmobility.com (Adam Vande More) Date: Fri Jan 2 22:51:25 2009 Subject: Crash on Netbeans 65 startup In-Reply-To: <495E915C.1040501@imedmobility.com> References: <495E915C.1040501@imedmobility.com> Message-ID: <495E9A79.6030109@imedmobility.com> Apparently it didn't like the attachment. > # > # An unexpected error has been detected by Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x34180af6, pid=2939, tid=0x347c0200 > # > # Java VM: Java HotSpot(TM) Client VM > (1.6.0_03-p4-adam_21_aug_2008_19_03-b00 mixed mode) > # Problematic frame: > # V [libjvm.so+0x280af6] > # > # Please submit bug reports to freebsd-java@FreeBSD.org > # > > --------------- T H R E A D --------------- > > Current thread (0x34710800): VMThread [id=880542208] > > siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00001000 > > Registers: > EAX=0x00001001, EBX=0x342d7048, ECX=0x0000904f, EDX=0x00001000 > ESP=0xbf7fda0c, EBP=0xbf7fda18, ESI=0x342e456c, EDI=0x342e4568 > EIP=0x34180af6, EFLAGS=0x00010202 > > Top of Stack: (sp=0xbf7fda0c) > 0xbf7fda0c: 342d7048 00000000 34734110 bf7fda88 > 0xbf7fda1c: 3405dc4a 00000001 34734110 bf7fda88 > 0xbf7fda2c: 3405dc34 3472a320 4b8b5ff4 bf7fda54 > 0xbf7fda3c: 01e33008 34702b60 00000001 fffffffc > 0xbf7fda4c: 341828e2 3472a6a0 00010100 00000000 > 0xbf7fda5c: 00000000 02000000 003113c0 01e03000 > 0xbf7fda6c: 0c800000 34701040 342e45e8 bf7fdab8 > 0xbf7fda7c: 342d7048 3472cfc0 3470b1c0 bf7fdab8 > > Instructions: (pc=0x34180af6) > 0x34180ae6: 00 8b 40 0c 8b 14 88 8b 06 8b 40 0c 8b 04 88 41 > 0x34180af6: 89 02 8b 07 39 08 7f e9 5b 5e 5f 5d c3 90 8d b6 > > Stack: [0xbf77e000,0xbf7fe000), sp=0xbf7fda0c, free space=510k > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, > C=native code) > V [libjvm.so+0x280af6] > V [libjvm.so+0x15dc4a] > V [libjvm.so+0x1643a2] > V [libjvm.so+0x326b8e] > V [libjvm.so+0x15c26c] > V [libjvm.so+0x10c760] > V [libjvm.so+0x15a92c] > V [libjvm.so+0x36250f] > V [libjvm.so+0x36b561] > V [libjvm.so+0x36983a] > V [libjvm.so+0x36a5cd] > V [libjvm.so+0x36a895] > V [libjvm.so+0x2ab296] > C [libthr.so.3+0x6b1f] pthread_getprio+0xcf > > VM_Operation (0xbce655c8): generation collection for allocation, mode: > safepoint, requested by thread 0x4d403000 > > > --------------- P R O C E S S --------------- > > Java Threads: ( => current thread ) > 0x3470f800 JavaThread "DestroyJavaVM" [_thread_blocked, id=870322944] > 0x4caf8000 JavaThread "Flushing caches" [_thread_blocked, id=1285681664] > 0x4caf4800 JavaThread "TimerQueue" daemon [_thread_blocked, > id=1285681920] > 0x4d403000 JavaThread "AWT-EventQueue-1" [_thread_blocked, > id=1296347392] > 0x4caf7000 JavaThread "Inactive RequestProcessor thread [Was:Default > RequestProcessor/org.openide.loaders.DataNode$NamesUpdater]" daemon > [_thread_blocked, id=1285681408] > 0x4caf6800 JavaThread "Thread-4" daemon [_thread_blocked, id=1285680896] > 0x4caf6000 JavaThread "*** JFluid Separate Command Execution Thread" > daemon [_thread_blocked, id=1285680384] > 0x4d402800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, > id=1296347904] > 0x33e09000 JavaThread "Default RequestProcessor" daemon > [_thread_blocked, id=870322688] > 0x4caf5800 JavaThread "Inactive RequestProcessor thread > [Was:Versioning fire > FileStatusChanged/org.netbeans.modules.versioning.VersioningAnnotationProvider$1]" > daemon [_thread_blocked, id=1285679872] > 0x4caf4000 JavaThread "AWT-Shutdown" [_thread_blocked, id=1285679360] > 0x4ca07000 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=1285679104] > 0x4ca04800 JavaThread "Java2D Disposer" daemon [_thread_blocked, > id=1285677568] > 0x4ca02800 JavaThread "Timer-0" daemon [_thread_blocked, id=1285677312] > 0x4bb2d000 JavaThread "Active Reference Queue Daemon" daemon > [_thread_blocked, id=880544000] > 0x34713800 JavaThread "Low Memory Detector" daemon [_thread_blocked, > id=880543488] > 0x34713000 JavaThread "CompilerThread0" daemon [_thread_blocked, > id=880543232] > 0x34712800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, > id=880542464] > 0x34711800 JavaThread "Finalizer" daemon [_thread_blocked, id=880542976] > 0x34711000 JavaThread "Reference Handler" daemon [_thread_blocked, > id=880542720] > > Other Threads: > =>0x34710800 VMThread [id=880542208] > 0x34714000 WatcherThread [id=880543744] > > VM state:at safepoint (normal execution) > > VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) > [0x347053a0/0x3471f900] Threads_lock - owner thread: 0x34710800 > [0x34703740/0x347200c0] Heap_lock - owner thread: 0x4d403000 > > Heap > def new generation total 2304K, used 0K [0x368b0000, 0x36b20000, > 0x37280000) > eden space 2112K, 0% used [0x368b0000, 0x368b0000, 0x36ac0000) > from space 192K, 0% used [0x36ac0000, 0x36ac0000, 0x36af0000) > to space 192K, 0% used [0x36af0000, 0x36af0000, 0x36b20000) > tenured generation total 30784K, used 19870K [0x37280000, > 0x39090000, 0x3e8b0000) > the space 30784K, 64% used [0x37280000, 0x385e7be0, 0x385e7c00, > 0x39090000) > compacting perm gen total 32768K, used 28107K [0x3e8b0000, > 0x408b0000, 0x4b0b0000) > the space 32768K, 85% used [0x3e8b0000, 0x40422ff0, 0x40423000, > 0x408b0000) > No shared spaces configured. > > Dynamic libraries: > 0x08048000 /usr/local/jdk1.6.0/bin/java > 0x33c8d000 /lib/libthr.so.3 > 0x33ca0000 /lib/libc.so.7 > 0x33f00000 /usr/local/jdk1.6.0/jre/lib/i386/client/libjvm.so > 0x33d9c000 /lib/libm.so.5 > 0x33db1000 /lib/libgcc_s.so.1 > 0x33dbd000 /usr/local/jdk1.6.0/jre/lib/i386/native_threads/libhpi.so > 0x33dcf000 /usr/local/jdk1.6.0/jre/lib/i386/libverify.so > 0x34800000 /usr/local/jdk1.6.0/jre/lib/i386/libjava.so > 0x33de5000 /usr/local/jdk1.6.0/jre/lib/i386/libzip.so > 0x33dee000 /lib/libz.so.4 > 0x4bf00000 /usr/local/jdk1.6.0/jre/lib/i386/libnet.so > 0x4b3f1000 /usr/local/jdk1.6.0/jre/lib/i386/libnio.so > 0x4bf15000 /usr/local/jdk1.6.0/jre/lib/i386/libawt.so > 0x4cc00000 /usr/local/jdk1.6.0/jre/lib/i386/libmlib_image.so > 0x4cd27000 /usr/local/jdk1.6.0/jre/lib/i386/xawt/libmawt.so > 0x4bfdc000 /usr/local/lib/libXext.so.6 > 0x4cd78000 /usr/local/lib/libX11.so.6 > 0x4b3f9000 /usr/local/lib/libXtst.so.6 > 0x4bfea000 /usr/local/lib/libXi.so.6 > 0x4bff2000 /usr/local/lib/libXau.so.6 > 0x4bff5000 /usr/local/lib/libXdmcp.so.6 > 0x4ce60000 /usr/lib/librpcsvc.so.4 > 0x4ce68000 /usr/local/jdk1.6.0/jre/lib/i386/libfontmanager.so > 0x4cf27000 /usr/local/jdk1.6.0/jre/lib/i386/libcmm.so > 0x4cf9c000 /usr/local/jdk1.6.0/jre/lib/i386/libjpeg.so > 0x4cfce000 /usr/local/lib/libXcursor.so.1 > 0x4cfd7000 /usr/local/lib/libXrender.so.1 > 0x4bffa000 /usr/local/lib/libXfixes.so.3 > 0x4df84000 /var/tmp/jna14374.tmp > 0x33c59000 /libexec/ld-elf.so.1 > > VM Arguments: > jvm_args: -Djdk.home=/usr/local/jdk1.6.0 > -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/adam/.netbeans/6.5 > --branding nb > Launcher Type: SUN_STANDARD > > Environment Variables: > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/adam/bin > LD_LIBRARY_PATH=/usr/local/jdk1.6.0/jre/lib/i386/client:/usr/local/jdk1.6.0/jre/lib/i386:/usr/local/jdk1.6.0/jre/../lib/i386 > SHELL=/bin/tcsh > DISPLAY=:0.0 > HOSTTYPE=FreeBSD > OSTYPE=FreeBSD > MACHTYPE=i386 > > Signal Handlers: > SIGSEGV: [libjvm.so+0x3614a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGBUS: [libjvm.so+0x3614a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGFPE: [libjvm.so+0x2a76b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGPIPE: [libjvm.so+0x2a76b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGILL: [libjvm.so+0x2a76b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 > SIGUSR2: [libjvm.so+0x2a96f0], sa_mask[0]=0x00000000, sa_flags=0x00000042 > SIGHUP: [libjvm.so+0x2a8750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 > SIGQUIT: [libjvm.so+0x2a8750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGTERM: [libjvm.so+0x2a8750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGUSR2: [libjvm.so+0x2a96f0], sa_mask[0]=0x00000000, sa_flags=0x00000042 > > > --------------- S Y S T E M --------------- > > OS:Bsd > uname:FreeBSD 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Fri Nov 28 > 19:03:31 CST 2008 adam@midco.net:/usr/obj/usr/src/sys/DOMINATOR 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 2704136k(676034k free) > > vm_info: Java HotSpot(TM) Client VM > (1.6.0_03-p4-adam_21_aug_2008_19_03-b00) for bsd-x86, built on Aug 21 > 2008 19:13:48 by "root" with gcc 4.2.1 20070719 [FreeBSD] > -- Adam Vande More Systems Administrator IMED Mobility (605) 498-1610 From bugmaster at FreeBSD.org Mon Jan 5 11:06:55 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jan 5 11:08:29 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200901051106.n05B6smM002838@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 java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From brian at experts-exchange.com Wed Jan 7 00:01:22 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Wed Jan 7 00:01:28 2009 Subject: jmap Message-ID: <4963E688.2060005@experts-exchange.com> I'm trying to use jmap to dump a histo of a running vm, version jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no providers installed'. Are these tools supposed to function? If not are there any alternates? $ /usr/local/jdk1.6.0/bin/jps 72095 Jps 88259 Bootstrap $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 88259: no providers installed $ ps -jax | grep 88259 ee 88259 1 88249 87874 0 I p0 15:39.48 [java] ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 From ivoras at freebsd.org Wed Jan 7 03:00:48 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Jan 7 03:00:56 2009 Subject: Java licencing In-Reply-To: <20081231022503.GA79055@misty.eyesbeyond.com> References: <20081223075034.GA10260@misty.eyesbeyond.com> <495AC227.5080108@delphij.net> <20081231022503.GA79055@misty.eyesbeyond.com> Message-ID: Greg Lewis wrote: > On Wed, Dec 31, 2008 at 02:54:38AM +0100, Ivan Voras wrote: >> So it looks like OpenJDK might be clean from GPL's virality. But since >> there's no OpenJDK for FreeBSD, I'm looking at Sun's JDK. > > Actually, there is OpenJDK for FreeBSD: > > % uname > FreeBSD > % ./build/bsd-i586/j2sdk-image/bin/java -version > openjdk version "1.7.0-internal" > OpenJDK Runtime Environment (build 1.7.0-internal-glewis_2008_12_28_13_57-b00) > OpenJDK Client VM (build 14.0-b10, mixed mode) > > You need the forest extension for Mercurial and then: > > hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port/ > > Its just not available in the ports system yet. Thank's for the work! I hope you can get something in ports soon :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090107/2eabfc9e/signature.pgp From lists at intricatesoftware.com Wed Jan 7 03:46:12 2009 From: lists at intricatesoftware.com (Kurt Miller) Date: Wed Jan 7 03:46:44 2009 Subject: R: Host for jdk16 distfiles? In-Reply-To: <31150206.631121230564611740.JavaMail.defaultUser@defaultHost> References: <31150206.631121230564611740.JavaMail.defaultUser@defaultHost> Message-ID: <200901062232.37074.lists@intricatesoftware.com> Hi Barbara, On Monday 29 December 2008 10:30:11 am Barbara wrote: > >G'day all, > > > >As you may have noticed, Sun have removed the source files for > Update 3. > > Really? I thought it was only a problem with messed web pages and > hyperlinks. > As you can see at http://download.java.net/jdk6/6u3/archive/ > the > "Source Bundles" links for JDK6, JDK6u1 and JDK6u2 are correct, while starting > from JDK6u3 they bring you to the binaries snapshots pages. > Maybe someone > should ask them to check and eventually correct those links. > > And aren't these > the needed files? > http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3- > fcs-src-b05-jrl-24_sep_2007.jar > http://www.java. > net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar > http: > //www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05- > unix-24_sep_2007.jar > > Best regards > Barbara You are correct. The full url's to the files work still but the index.html page no longer points to them. http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar Regards, -Kurt From glewis at eyesbeyond.com Wed Jan 7 04:09:28 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Wed Jan 7 04:09:35 2009 Subject: R: Host for jdk16 distfiles? In-Reply-To: <200901062232.37074.lists@intricatesoftware.com> References: <31150206.631121230564611740.JavaMail.defaultUser@defaultHost> <200901062232.37074.lists@intricatesoftware.com> Message-ID: <20090107040926.GA7799@misty.eyesbeyond.com> On Tue, Jan 06, 2009 at 10:32:36PM -0500, Kurt Miller wrote: > Hi Barbara, > > On Monday 29 December 2008 10:30:11 am Barbara wrote: > > >G'day all, > > > > > >As you may have noticed, Sun have removed the source files for > > Update 3. > > > > Really? I thought it was only a problem with messed web pages and > > hyperlinks. > > As you can see at http://download.java.net/jdk6/6u3/archive/ > > the > > "Source Bundles" links for JDK6, JDK6u1 and JDK6u2 are correct, while starting > > from JDK6u3 they bring you to the binaries snapshots pages. > > Maybe someone > > should ask them to check and eventually correct those links. > > > > And aren't these > > the needed files? > > http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3- > > fcs-src-b05-jrl-24_sep_2007.jar > > http://www.java. > > net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar > > http: > > //www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05- > > unix-24_sep_2007.jar > > > > Best regards > > Barbara > > You are correct. The full url's to the files work still but the index.html page > no longer points to them. > > http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar > http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar > http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar Yep, I ended up changing the port to just explicitly point to them :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From kurt at intricatesoftware.com Wed Jan 7 14:57:21 2009 From: kurt at intricatesoftware.com (Kurt Miller) Date: Wed Jan 7 14:57:52 2009 Subject: R: Host for jdk16 distfiles? In-Reply-To: <20090107040926.GA7799@misty.eyesbeyond.com> References: <31150206.631121230564611740.JavaMail.defaultUser@defaultHost> <200901062232.37074.lists@intricatesoftware.com> <20090107040926.GA7799@misty.eyesbeyond.com> Message-ID: <4964BFCF.2070203@intricatesoftware.com> Greg Lewis wrote: > Yep, I ended up changing the port to just explicitly point to them :). Whoops! Five days ago I see. Doh :-) From glewis at eyesbeyond.com Thu Jan 8 04:46:04 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Thu Jan 8 04:46:11 2009 Subject: jmap In-Reply-To: <4963E688.2060005@experts-exchange.com> References: <4963E688.2060005@experts-exchange.com> Message-ID: <20090108044605.GA26885@misty.eyesbeyond.com> On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote: > I'm trying to use jmap to dump a histo of a running vm, version > jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no > providers installed'. Are these tools supposed to function? If not are > there any alternates? > > $ /usr/local/jdk1.6.0/bin/jps > 72095 Jps > 88259 Bootstrap > > $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 > 88259: no providers installed > > $ ps -jax | grep 88259 > ee 88259 1 88249 87874 0 I p0 15:39.48 [java] > ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 I don't know for sure, but I'm guessing that jmap requires a serviceability agent, which there isn't an implementation of for FreeBSD yet. We basically just either skip building or stub out all the code for that. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From brian at experts-exchange.com Thu Jan 8 17:44:03 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Thu Jan 8 17:44:09 2009 Subject: jmap In-Reply-To: <20090108044605.GA26885@misty.eyesbeyond.com> References: <4963E688.2060005@experts-exchange.com> <20090108044605.GA26885@misty.eyesbeyond.com> Message-ID: <49663B64.5040204@experts-exchange.com> Are there alternates methods available to access heap information from a running vm? This seems quite essential for tuning so I'd like to think there is something out there. Greg Lewis wrote: > On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote: > >> I'm trying to use jmap to dump a histo of a running vm, version >> jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no >> providers installed'. Are these tools supposed to function? If not are >> there any alternates? >> >> $ /usr/local/jdk1.6.0/bin/jps >> 72095 Jps >> 88259 Bootstrap >> >> $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 >> 88259: no providers installed >> >> $ ps -jax | grep 88259 >> ee 88259 1 88249 87874 0 I p0 15:39.48 [java] >> ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 >> > > I don't know for sure, but I'm guessing that jmap requires a > serviceability agent, which there isn't an implementation of for > FreeBSD yet. We basically just either skip building or stub out > all the code for that. > > From glewis at eyesbeyond.com Thu Jan 8 19:14:42 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Thu Jan 8 19:14:54 2009 Subject: jmap In-Reply-To: <49663B64.5040204@experts-exchange.com> References: <4963E688.2060005@experts-exchange.com> <20090108044605.GA26885@misty.eyesbeyond.com> <49663B64.5040204@experts-exchange.com> Message-ID: <20090108191441.GA40091@misty.eyesbeyond.com> On Thu, Jan 08, 2009 at 09:44:04AM -0800, Brian Gardner wrote: > Are there alternates methods available to access heap information from a > running vm? This seems quite essential for tuning so I'd like to think > there is something out there. I'm not sure, since I don't do much with this myself. It seems like there are some reasonable Eclipse plugins for doing stuff like that, but I haven't tried to hook them up and I'm not sure what interface they use. I do know I can analyse heap dumps...but thats obviously different than a running VM. In terms of tuning the verbose GC information can also be quite useful. > Greg Lewis wrote: > > On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote: > > > >> I'm trying to use jmap to dump a histo of a running vm, version > >> jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no > >> providers installed'. Are these tools supposed to function? If not are > >> there any alternates? > >> > >> $ /usr/local/jdk1.6.0/bin/jps > >> 72095 Jps > >> 88259 Bootstrap > >> > >> $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 > >> 88259: no providers installed > >> > >> $ ps -jax | grep 88259 > >> ee 88259 1 88249 87874 0 I p0 15:39.48 [java] > >> ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 > >> > > > > I don't know for sure, but I'm guessing that jmap requires a > > serviceability agent, which there isn't an implementation of for > > FreeBSD yet. We basically just either skip building or stub out > > all the code for that. > > > > -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From brian at experts-exchange.com Thu Jan 8 19:47:29 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Thu Jan 8 19:47:35 2009 Subject: jmap In-Reply-To: <20090108191441.GA40091@misty.eyesbeyond.com> References: <4963E688.2060005@experts-exchange.com> <20090108044605.GA26885@misty.eyesbeyond.com> <49663B64.5040204@experts-exchange.com> <20090108191441.GA40091@misty.eyesbeyond.com> Message-ID: <49665853.4000403@experts-exchange.com> We've identified a leak using the verbose GC information. On linux, we would simply pull a live server offline after a couple days of use and use jmap to get a histo, and/or complete dump if necassary. I'm looking into what it would take to port the Servicability Agent to Freebsd. Thanks for your feedback. Brian Greg Lewis wrote: > On Thu, Jan 08, 2009 at 09:44:04AM -0800, Brian Gardner wrote: > >> Are there alternates methods available to access heap information from a >> running vm? This seems quite essential for tuning so I'd like to think >> there is something out there. >> > > I'm not sure, since I don't do much with this myself. It seems like there > are some reasonable Eclipse plugins for doing stuff like that, but I > haven't tried to hook them up and I'm not sure what interface they use. > > I do know I can analyse heap dumps...but thats obviously different than > a running VM. In terms of tuning the verbose GC information can also be > quite useful. > > >> Greg Lewis wrote: >> >>> On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote: >>> >>> >>>> I'm trying to use jmap to dump a histo of a running vm, version >>>> jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no >>>> providers installed'. Are these tools supposed to function? If not are >>>> there any alternates? >>>> >>>> $ /usr/local/jdk1.6.0/bin/jps >>>> 72095 Jps >>>> 88259 Bootstrap >>>> >>>> $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 >>>> 88259: no providers installed >>>> >>>> $ ps -jax | grep 88259 >>>> ee 88259 1 88249 87874 0 I p0 15:39.48 [java] >>>> ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 >>>> >>>> >>> I don't know for sure, but I'm guessing that jmap requires a >>> serviceability agent, which there isn't an implementation of for >>> FreeBSD yet. We basically just either skip building or stub out >>> all the code for that. >>> >>> >>> > > From brian at experts-exchange.com Thu Jan 8 21:25:04 2009 From: brian at experts-exchange.com (Brian Gardner) Date: Thu Jan 8 21:25:09 2009 Subject: jmap In-Reply-To: <20090108191441.GA40091@misty.eyesbeyond.com> References: <4963E688.2060005@experts-exchange.com> <20090108044605.GA26885@misty.eyesbeyond.com> <49663B64.5040204@experts-exchange.com> <20090108191441.GA40091@misty.eyesbeyond.com> Message-ID: <49666F32.8070304@experts-exchange.com> It looks like I'll be able to port the Linux SA, hopefully without any problems. How should I test and/or submit the patch so that the community can benefit, and the company I work for gets credit for the improvement. Should I create a patch for the jdk16.patches file,. simply edit the jdk16.patches, or supply my patch in it's own file? Thanks, Brian Greg Lewis wrote: > On Thu, Jan 08, 2009 at 09:44:04AM -0800, Brian Gardner wrote: > >> Are there alternates methods available to access heap information from a >> running vm? This seems quite essential for tuning so I'd like to think >> there is something out there. >> > > I'm not sure, since I don't do much with this myself. It seems like there > are some reasonable Eclipse plugins for doing stuff like that, but I > haven't tried to hook them up and I'm not sure what interface they use. > > I do know I can analyse heap dumps...but thats obviously different than > a running VM. In terms of tuning the verbose GC information can also be > quite useful. > > >> Greg Lewis wrote: >> >>> On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote: >>> >>> >>>> I'm trying to use jmap to dump a histo of a running vm, version >>>> jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no >>>> providers installed'. Are these tools supposed to function? If not are >>>> there any alternates? >>>> >>>> $ /usr/local/jdk1.6.0/bin/jps >>>> 72095 Jps >>>> 88259 Bootstrap >>>> >>>> $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 >>>> 88259: no providers installed >>>> >>>> $ ps -jax | grep 88259 >>>> ee 88259 1 88249 87874 0 I p0 15:39.48 [java] >>>> ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 >>>> >>>> >>> I don't know for sure, but I'm guessing that jmap requires a >>> serviceability agent, which there isn't an implementation of for >>> FreeBSD yet. We basically just either skip building or stub out >>> all the code for that. >>> >>> >>> > > From kurt at intricatesoftware.com Fri Jan 9 20:52:14 2009 From: kurt at intricatesoftware.com (Kurt Miller) Date: Fri Jan 9 20:52:20 2009 Subject: jmap In-Reply-To: <49666F32.8070304@experts-exchange.com> References: <4963E688.2060005@experts-exchange.com> <20090108191441.GA40091@misty.eyesbeyond.com> <49666F32.8070304@experts-exchange.com> Message-ID: <200901091550.32500.kurt@intricatesoftware.com> Hi Brian, Greg, myself and the rest of the active bsd-java porters have all signed Sun's Contributor Agreement so that our work could be incorporated into OpenJDK (GPLv2 licensed). Longer term jdk 1.6 and 1.7 will be based off OpenJDK's code base so you will need to sign and perhaps your company may need to sign the SCA before we could include it in the OpenJDK bsd-java port. Details for the SCA can be found here: http://openjdk.java.net/contribute/ http://sun.com/software/opensource/sca.pdf https://sca.dev.java.net/CA_signatories.htm Regards, -Kurt On Thursday 08 January 2009 4:25:06 pm Brian Gardner wrote: > It looks like I'll be able to port the Linux SA, hopefully without any > problems. How should I test and/or submit the patch so that the > community can benefit, and the company I work for gets credit for the > improvement. Should I create a patch for the jdk16.patches file,. > simply edit the jdk16.patches, or supply my patch in it's own file? > > Thanks, > Brian > > Greg Lewis wrote: > > On Thu, Jan 08, 2009 at 09:44:04AM -0800, Brian Gardner wrote: > > > >> Are there alternates methods available to access heap information from a > >> running vm? This seems quite essential for tuning so I'd like to think > >> there is something out there. > >> > > > > I'm not sure, since I don't do much with this myself. It seems like there > > are some reasonable Eclipse plugins for doing stuff like that, but I > > haven't tried to hook them up and I'm not sure what interface they use. > > > > I do know I can analyse heap dumps...but thats obviously different than > > a running VM. In terms of tuning the verbose GC information can also be > > quite useful. > > > > > >> Greg Lewis wrote: > >> > >>> On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote: > >>> > >>> > >>>> I'm trying to use jmap to dump a histo of a running vm, version > >>>> jdk-1.6.0.3p4_6. jmap keeps returning the following error, 'no > >>>> providers installed'. Are these tools supposed to function? If not are > >>>> there any alternates? > >>>> > >>>> $ /usr/local/jdk1.6.0/bin/jps > >>>> 72095 Jps > >>>> 88259 Bootstrap > >>>> > >>>> $ /usr/local/jdk1.6.0/bin/jmap -histo 88259 > >>>> 88259: no providers installed > >>>> > >>>> $ ps -jax | grep 88259 > >>>> ee 88259 1 88249 87874 0 I p0 15:39.48 [java] > >>>> ee 72142 72094 72141 88505 2 R+ p1 0:00.00 grep 88259 > >>>> > >>>> > >>> I don't know for sure, but I'm guessing that jmap requires a > >>> serviceability agent, which there isn't an implementation of for > >>> FreeBSD yet. We basically just either skip building or stub out > >>> all the code for that. > >>> > >>> > >>> > > > > > _______________________________________________ > 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 kjkoster at kjkoster.org Sat Jan 10 12:15:05 2009 From: kjkoster at kjkoster.org (Kees Jan Koster) Date: Sat Jan 10 12:15:12 2009 Subject: jmap In-Reply-To: <49666F32.8070304@experts-exchange.com> References: <4963E688.2060005@experts-exchange.com> <20090108044605.GA26885@misty.eyesbeyond.com> <49663B64.5040204@experts-exchange.com> <20090108191441.GA40091@misty.eyesbeyond.com> <49666F32.8070304@experts-exchange.com> Message-ID: <2A465D91-7822-43B9-814B-A5A20D63711D@kjkoster.org> Dear Brian, > It looks like I'll be able to port the Linux SA, hopefully without > any problems. How should I test and/or submit the patch so that the > community can benefit, and the company I work for gets credit for > the improvement. Should I create a patch for the jdk16.patches > file,. simply edit the jdk16.patches, or supply my patch in it's own > file? I'll be happy to test your patches for you. Would you mind posting them somewhere, or mailing them to me? I'm not part of the Java-porting team. I was just bitten the the absence of jmap. ;-) -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 Human beings make life so interesting. Do you know that in a universe so full of wonders, they have managed to invent boredom. Quite astonishing... -- Terry Pratchett From andy.lavr at reactor-xg.kiev.ua Sun Jan 11 08:38:59 2009 From: andy.lavr at reactor-xg.kiev.ua (Andrei V. Lavreniyuk) Date: Sun Jan 11 08:39:05 2009 Subject: Patch ant.sh.in for FreeBSD ports devel/apache-ant Message-ID: <496A1751.1070503@reactor-xg.kiev.ua> Hi! View attache files - patch-ant.sh.in -- Best regards, Andrei V. Lavreniyuk. -------------- next part -------------- --- ant.sh.in.orig 2006-09-07 11:15:39.000000000 +0300 +++ ant.sh.in 2009-01-11 17:57:02.605297141 +0200 @@ -79,4 +79,4 @@ exit 1 fi -exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} -lib "${CLASSPATH}" "$@" +exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} -lib "${ANT_LIB}" "$@" From jguojun at gmail.com Sun Jan 11 11:44:45 2009 From: jguojun at gmail.com (Jin Guojun[VFF]) Date: Sun Jan 11 11:44:52 2009 Subject: failed on 7.1-R Message-ID: <496A45E8.7070304@gmail.com> In 7.1-RELEASE, jdk16 build requires tzupdater-1_3_6, but Sun has updated tzupdater to 1_3_11-2008i. Is possible just to change the TZUPDATE_VERSION and checksum in Makefile to make build proceed? or is more thing needed to be tuned to make jdk16 build work? Thanks, -Jin From chuckr at telenix.org Sun Jan 11 12:10:14 2009 From: chuckr at telenix.org (Chuck Robey) Date: Sun Jan 11 12:10:21 2009 Subject: javadoc authoring tool? Message-ID: <496A5075.8050708@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Trying to finish up a learning prject of mine (for java and eclipse), and only need to generate the javadoc comments. Anybody know if there's a good FreeBSD port for javadoc authoring? Or, what's your favorite? I could write it without that, but I'm trying here to learn as many good tools as I can, and so I want a authoring tool if I can get one (I can't find (yet) any feature of eclipse to do this). Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklqUHQACgkQz62J6PPcoOlk+wCfXPLrBFVegUjyv1835unCDIRi daQAniLA46HX1uA23Cp4qJ04RvX4SdoR =gR8t -----END PGP SIGNATURE----- From delphij at delphij.net Sun Jan 11 14:15:01 2009 From: delphij at delphij.net (Xin LI) Date: Sun Jan 11 14:15:42 2009 Subject: failed on 7.1-R In-Reply-To: <496A45E8.7070304@gmail.com> References: <496A45E8.7070304@gmail.com> Message-ID: <496A6F59.9090508@delphij.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,Jin, Jin Guojun[VFF] wrote: > In 7.1-RELEASE, jdk16 build requires tzupdater-1_3_6, but Sun has > updated tzupdater to 1_3_11-2008i. > > Is possible just to change the TZUPDATE_VERSION and checksum in Makefile > to make build proceed? > or is more thing needed to be tuned to make jdk16 build work? I think you may want to update your ports tree (portsnap fetch extract). The latest jdk16 port uses 1_3_11-2008i. - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklqb1kACgkQi+vbBBjt66CpwACeJIghTiy58nrj+F80XnhWA+vN XL8AoMK7p5ji/12cHsXrth0GZyKQK+8d =lgh/ -----END PGP SIGNATURE----- From hq at FreeBSD.org Sun Jan 11 14:30:46 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Sun Jan 11 14:31:16 2009 Subject: Patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <496A1751.1070503@reactor-xg.kiev.ua> References: <496A1751.1070503@reactor-xg.kiev.ua> Message-ID: <496A6CCF.8010709@FreeBSD.org> Hi Andrei, Andrei V. Lavreniyuk wrote: > View attache files - patch-ant.sh.in I think your patch is right. And I think we'll have to fix some of the Ant task ports (e.g. textproc/ant-xinclude-task) which install JAR files into ${JAVAJARDIR} rather than ${ANT_HOME}/lib. Greg, do you think this change could be commited without a test run? Herve From jguojun at gmail.com Sun Jan 11 14:39:58 2009 From: jguojun at gmail.com (Jin Guojun[VFF]) Date: Sun Jan 11 14:40:04 2009 Subject: failed on 7.1-R In-Reply-To: <496A6F59.9090508@delphij.net> References: <496A45E8.7070304@gmail.com> <496A6F59.9090508@delphij.net> Message-ID: <496A753C.6050704@gmail.com> Xin LI wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi,Jin, > >Jin Guojun[VFF] wrote: > > >>In 7.1-RELEASE, jdk16 build requires tzupdater-1_3_6, but Sun has >>updated tzupdater to 1_3_11-2008i. >> >>Is possible just to change the TZUPDATE_VERSION and checksum in Makefile >>to make build proceed? >>or is more thing needed to be tuned to make jdk16 build work? >> >> > >I think you may want to update your ports tree (portsnap fetch extract). > The latest jdk16 port uses 1_3_11-2008i. > > I have successfully built jdk16 under 7.1-R by modifying TZUPDATE_VERSION and checksum in Makefile. I just wonder if such build will causing some problem. I will try and if I encounter any problem, I will rebuild it from portsnal. Thanks for the information. -Jin From delphij at delphij.net Sun Jan 11 14:51:28 2009 From: delphij at delphij.net (Xin LI) Date: Sun Jan 11 14:51:35 2009 Subject: failed on 7.1-R In-Reply-To: <496A753C.6050704@gmail.com> References: <496A45E8.7070304@gmail.com> <496A6F59.9090508@delphij.net> <496A753C.6050704@gmail.com> Message-ID: <496A77E4.1040508@delphij.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jin Guojun[VFF] wrote: > Xin LI wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi,Jin, >> >> Jin Guojun[VFF] wrote: >> >> >>> In 7.1-RELEASE, jdk16 build requires tzupdater-1_3_6, but Sun has >>> updated tzupdater to 1_3_11-2008i. >>> >>> Is possible just to change the TZUPDATE_VERSION and checksum in Makefile >>> to make build proceed? >>> or is more thing needed to be tuned to make jdk16 build work? >>> >> >> I think you may want to update your ports tree (portsnap fetch extract). >> The latest jdk16 port uses 1_3_11-2008i. >> >> > I have successfully built jdk16 under 7.1-R by modifying > TZUPDATE_VERSION and checksum in Makefile. > I just wonder if such build will causing some problem. I will try and if > I encounter any problem, > I will rebuild it from portsnal. I don't think it would be some runtime problem except stale timezone data, depends on your application and whether you care :) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklqd+QACgkQi+vbBBjt66Dp/QCfWVMmr2vuRQ9kXrn4QGOBTVsn Z5MAnj1mmC0ES8qLEwUlaZRpDefNKwXI =ypIc -----END PGP SIGNATURE----- From pieter at degoeje.nl Sun Jan 11 17:20:41 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Sun Jan 11 17:21:21 2009 Subject: javadoc authoring tool? In-Reply-To: <496A5075.8050708@telenix.org> References: <496A5075.8050708@telenix.org> Message-ID: <200901120138.32812.pieter@degoeje.nl> On Sunday 11 January 2009 21:03:01 Chuck Robey wrote: > Trying to finish up a learning prject of mine (for java and eclipse), and > only need to generate the javadoc comments. Anybody know if there's a good > FreeBSD port for javadoc authoring? Or, what's your favorite? I could > write it without that, but I'm trying here to learn as many good tools as I > can, and so I want a authoring tool if I can get one (I can't find (yet) > any feature of eclipse to do this). I don't know exactly what you mean by javadoc "authoring", but eclipse has pretty neat auto completing javadoc support. If by generating javadoc you mean automatic @param generation, then yes, eclipse does that too. The generate javadoc menu item also works pretty well ;-). It's all I ever needed for my javadoc needs. Cheers, Pieter de Goeje From rick-freebsd2008 at kiwi-computer.com Mon Jan 12 00:05:57 2009 From: rick-freebsd2008 at kiwi-computer.com (Rick C. Petty) Date: Mon Jan 12 00:06:03 2009 Subject: javadoc authoring tool? In-Reply-To: <496A5075.8050708@telenix.org> References: <496A5075.8050708@telenix.org> Message-ID: <20090112080555.GB8590@keira.kiwi-computer.com> On Sun, Jan 11, 2009 at 03:03:01PM -0500, Chuck Robey wrote: > > Trying to finish up a learning prject of mine (for java and eclipse), and only > need to generate the javadoc comments. Anybody know if there's a good FreeBSD > port for javadoc authoring? Or, what's your favorite? I could write it without > that, but I'm trying here to learn as many good tools as I can, and so I want a > authoring tool if I can get one (I can't find (yet) any feature of eclipse to do > this). You mean aside from /usr/local/bin/javadoc (which comes with any jdk)? Are you talking about a program to compile the javadoc or a tool to help you write it? Eclipse makes authoring javadoc easy, since all you should need to do is type "/**" and either space or enter and it will auto-fill the expected attributes. -- Rick C. Petty From bugmaster at FreeBSD.org Mon Jan 12 03:06:56 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jan 12 03:08:26 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200901121106.n0CB6sTA092040@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 java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From kjkoster at kjkoster.org Tue Jan 13 11:15:56 2009 From: kjkoster at kjkoster.org (Kees Jan Koster) Date: Tue Jan 13 11:16:03 2009 Subject: lang/sun-jdk15 on amd64 In-Reply-To: <20090113165119.GD542@googlemail.com> References: <20090113124656.GB542@googlemail.com> <48AD78A1-3463-4342-A76E-497762B222E6@kjkoster.org> <20090113133624.GC542@googlemail.com> <20090113165119.GD542@googlemail.com> Message-ID: <9205CDBD-A78B-465E-A559-1762D1223FFC@kjkoster.org> Dear Milos, >> No idea, sorry. I always use the native build, because if I run into >> problems, they can be fixed by the Java porting team. The linux >> package >> is not open to such fixes. > > How do you manage to build native jdk? It depends on linux emulated > jdk > package (which core dumps for me). Hum. You ran into the bootstrap problem. Blech, I remember that one from way back when I hacked at the DEC Alpha port a little. Technically, building the JDK depends on any working JVM, not the linux one per se. There are two paths for you to take; find a working JVM for your box and edit the port dependency so that it uses that JVM, or do the bootstrap on another machine. I'm not sure what version of the JDK you need to bootstrap the JVM build. First path speaks for itself, I think. Second path is more likely to work, but very fiddly. First run the build until it cores. Then see the last command that the build tried to run. That command is most likely "${your-bootstrap-java-home}/bin/javac ..." What you can do is copy the extracted and half-built JDK sources onto (say) a Linux/amd64 system, then issue the failed command manually, then drag the half- built tree back to the target machine and continue the build. You can optimize this procedure if you study the command and its dependent files. I have done it in the past and it's not really as hard as it sounds. This is all from memory, so please check with Greg Lewis and the java porting team on how to proceed. They know a lot more tricks than I do. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 The secret of success lies in the stability of the goal. -- Benjamin Disraeli From he at uninett.no Tue Jan 13 15:57:35 2009 From: he at uninett.no (Havard Eidnes) Date: Tue Jan 13 15:57:48 2009 Subject: lang/sun-jdk15 on amd64 In-Reply-To: <9205CDBD-A78B-465E-A559-1762D1223FFC@kjkoster.org> References: <20090113165119.GD542@googlemail.com> <9205CDBD-A78B-465E-A559-1762D1223FFC@kjkoster.org> Message-ID: <20090114.005732.160514572.he@uninett.no> > >> No idea, sorry. I always use the native build, because if I > >> run into problems, they can be fixed by the Java porting > >> team. The linux package is not open to such fixes. > > > > How do you manage to build native jdk? It depends on linux > > emulated jdk package (which core dumps for me). > > Hum. You ran into the bootstrap problem. Blech, I remember that one > from way back when I hacked at the DEC Alpha port a little. > Technically, building the JDK depends on any working JVM, not the > linux one per se. > > There are two paths for you to take; find a working JVM for your box > and edit the port dependency so that it uses that JVM, or do the > bootstrap on another machine. Actually, only a few java commands are needed to be run by another java instance during the build. The attached documents how I went about getting a native jdk15 running for amd64. It can be done, but it's a little quirky to set up. Regards, - H?vard -------------- next part -------------- Return-Path: he@uninett.no Delivery-Date: Wed, 14 Jan 2009 00:53:16 +0100 Return-Path: X-Original-To: he@smistad.uninett.no Delivered-To: he@smistad.uninett.no Received: from tyholt.uninett.no (tyholt.uninett.no [IPv6:2001:700:1::eecb]) by smistad.uninett.no (Postfix) with ESMTP id 3F46C21DC43 for ; Wed, 14 Jan 2009 00:53:16 +0100 (CET) Received: from dike1b.uninett.no (dike1b.uninett.no [IPv6:2001:700:0:513::65]) by tyholt.uninett.no (Postfix) with ESMTP id 3767E2BACAE for ; Wed, 14 Jan 2009 00:53:16 +0100 (CET) X-Maildike-Whitelisted: Whitelisted client (global): 158.38.160.195 Received: from vestlia.uninett.no (vestlia.uninett.no [158.38.160.195]) by dike1b.uninett.no (Postfix) with ESMTP id 2FC80A20064 for ; Wed, 14 Jan 2009 00:53:16 +0100 (CET) Received: from vestlia.uninett.no (localhost [127.0.0.1]) by vestlia.uninett.no (Postfix) with ESMTP id 236E541A37 for ; Wed, 14 Jan 2009 01:00:50 +0100 (CET) Date: Fri, 01 Feb 2008 15:20:54 +0100 (CET) Message-Id: <20080201.152054.104033544.he@uninett.no> To: landonf@bikemonkey.org Cc: ltning@anduin.net, freebsd-java@freebsd.org Subject: Re: Sparc64 From: Havard Eidnes In-Reply-To: References: <6643EEC4-3DEE-479D-9EA1-F907CB31B345@bikemonkey.org> X-Mailer: Mew version 5.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Feb__1_15_20_54_2008_627)--" Content-Transfer-Encoding: 7bit ----Next_Part(Fri_Feb__1_15_20_54_2008_627)-- Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > What's the status of svr4 emulation on sparc64? I forgot a critical = > piece; One needs a bootstrap JVM, and bootstrapping off of Sun's VM = > would make things easier. One can use a bootstrap JVM from another host (and architecture) and some scripts which use ssh to the bootstrap host and sharing files via NFS -- that's how I bootstrapped the NetBSD/amd64 version using the NetBSD/i386 version. I've attached my notes and the scripts I used to do this. (Admittedly, I've since tweaked the scripts to use environment variables, so they've not been tested in their present form...) Best regards, - H=E5vard ----Next_Part(Fri_Feb__1_15_20_54_2008_627)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit My notes for using a JVM on NetBSD/i386 to bootstrap JVM on NetBSD/amd64: I used a set of script wrappers which ssh to another machine (in my case running NetBSD/i386, with its native java installed) which has the same directory tree available via NFS as on the target (amd64) machine, using the exact same paths. Substitute scripts were made for java, javac, javah, and jar, and the ALT_BOOTDIR was pointed to the directory tree containing those scripts. Some peculiarities were discovered: o java needs to be able to read from stdin. This means you can't use "ssh -n", which again means that the build job has to run in the foreground with access to the tty (yuk...). o javah gets at least once passed a class name with a $ in it. This causes issues because we get a double shell interpretation which leads to variable expansion; once on the local machine, once on the remote. To work around that problem I borrowed the "shquote" shell function from pkgsrc and tweaked the argument list using it (it's included). o the jar script sleeps 10 seconds because otherwise it would trip over "stale NFS file handle" problems when some files were copied in place (replaced) on the NFS server just prior to using "jar". Attached below is the set of scripts which I placed in /usr/pkg/java/ as boot-java/, packaged up as "boot-java.tar.gz". Set JAVA_BOOTHOST (your boot host) and JAVA_BOOTDIR (top of java directory tree on JAVA_BOOTHOST) in the environment to suit your config. I also include the "build-java" shell script I used (to be executed from the top of the Java source tree). ----Next_Part(Fri_Feb__1_15_20_54_2008_627)-- Content-Type: Application/Octet-Stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="boot-java.tar.gz" H4sIABgqo0cAA+2a207bQBCGuY2fYutYmERKvD5LTUNLVVVtb5AoqpBYSJzY4ACNqTehFxCevWs7 do7kABvTNvNJ8WFtz2w8/me8m7SCoFe5cu6cnc2BsYFt02RrrNomHl+n7KjYVm3LtDVss3YVG6a+ Y26wTxl92nNChHZ8b/F5y47/o7TS+CutTndDPlaMv4ktzcRYi+KvatiA+OfARPyVaKPN3QeT88L4 a+zYMP5Gcp6q6Sp7Drj3ZA5bHv/iGxRHnvqC4Nabt7/dpuC1/QBR6qNKF0n33w5+HDQ+Hh4efzn8 fjxARCjIbRfJkivX2HJ0+NPXo4E8eoqQjETpg4j2dzWBky3htW/Wf8is/n3uPpbp39Cskf4NFfSf I+P6ryKlT0Pl9vpSSZ6I7NmgfuWm06pGJ10EIXJQpxsrsobcQChQ/1c/6HmsxRGFghNe0jrbZCsk DQ+5ouAGXY9vivHjtBD54ZJlxsxtUaKZ1T9/H0vrvzFW/20c6181dNB/Diys/8+V0nTtf6GdLZJj 7kzrP9yAj2X617E5M/6zLQz6zwH0dAK48bxbpOJExcMdDoU75DYyCCE/vJg54/9H3j6W1n9LT/Wv W6oe13/2IgD6z4G1x/8jWU4OFq7c64paNat4vSmA9c2B2nkyU/+5q3+F+q9l87+6aWvJ+79lgv5z YGPlf7Gc138JWM0eJIc1ma3//BPA8vn/sfqf/P6n6boF+s+B9cb/q1frpVMAa5sCaW+COfP/ub// G7ox0r+WvP+bGOp/HvyN8/+rp4ZVfwJ4lsWtSDhzYszdR6R/yzCe0r9q6Fb2/x/TTOb/NQPqfx4U 0ecw+ImYImjYFoQiF4QiSnMCUxLbSzjyev2wS1n6aDnta3rjUN9zkdN1UZIk0J0X0k7QRcFFdF2U ZLIEUuXVtaHBvZJwLwz7hd6yjBFlpHq0GEw0U8+ts89AyFobzEKDda8uqZNt0amixJao4iGVKucn iiLOnNKI3Tdov0V7dZkqZO+UNIkoEXJGSgohRFUu5eyqtkM9JKUu2R3JjpTjy0h0XbmUtaakt63e lOJUK55kRkT0MLQ47Koozeub2JwxWquNvC9wKY5cLTLhUac99T1TE1Pf85Q8kiI5J7ukTPZIidyT AXkgNfKO7JP3RCaIFM7KD2X2EcVF/WJ3Od0h4vK+sZi/tjoBAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAYD5/AAOW0OwAUAAA ----Next_Part(Fri_Feb__1_15_20_54_2008_627)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=build-java #!/usr/bin/env bash set -x export MAKE_VERBOSE=t unset LANG unset JAVA_HOME unset CLASSPATH unset LD_LIBRARY_PATH export ALT_MOTIF_DIR=/usr/pkg # export ALT_NSPR_PATH=/usr/pkg export ALT_NSPR_HEADERS_PATH=/usr/pkg/include/firefox/nspr export ALT_MOZILLA_HEADERS_PATH=/usr/pkg/include/firefox export SKIP_COMPARE_IMAGES=YES export DONT_ENABLE_IPV6=YES export ALT_BOOTDIR=/usr/pkg/java/boot-java # export ALT_BOOTDIR=/usr/pkg/java/jdk-1.5.0 # export ALT_BOOTDIR=/usr/pkg/java/sun-1.5 cd control/make/ gmake ----Next_Part(Fri_Feb__1_15_20_54_2008_627)---- From he at uninett.no Tue Jan 13 16:45:00 2009 From: he at uninett.no (Havard Eidnes) Date: Tue Jan 13 16:45:06 2009 Subject: lang/sun-jdk15 on amd64 In-Reply-To: <9205CDBD-A78B-465E-A559-1762D1223FFC@kjkoster.org> References: <20090113165119.GD542@googlemail.com> <9205CDBD-A78B-465E-A559-1762D1223FFC@kjkoster.org> Message-ID: <20090114.014457.107701463.he@uninett.no> [[ re-posted with the correct MIME body type for the attachment -- sorry! ]] > >> No idea, sorry. I always use the native build, because if I > >> run into problems, they can be fixed by the Java porting > >> team. The linux package is not open to such fixes. > > > > How do you manage to build native jdk? It depends on linux > > emulated jdk package (which core dumps for me). > > Hum. You ran into the bootstrap problem. Blech, I remember that one > from way back when I hacked at the DEC Alpha port a little. > Technically, building the JDK depends on any working JVM, not the > linux one per se. > > There are two paths for you to take; find a working JVM for your box > and edit the port dependency so that it uses that JVM, or do the > bootstrap on another machine. Actually, only a few java commands are needed to be run by another java instance during the build. The attached documents how I went about getting a native jdk15 running for amd64. It can be done, but it's a little quirky to set up. Regards, - H?vard -------------- next part -------------- An embedded message was scrubbed... From: Havard Eidnes Subject: Re: Sparc64 Date: Fri, 01 Feb 2008 15:20:54 +0100 (CET) Size: 6386 Url: http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090114/57e7b994/attachment.eml From edwin at FreeBSD.org Wed Jan 14 04:50:14 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Wed Jan 14 04:50:21 2009 Subject: ports/130542: java/jdk16-doc changed distifo Message-ID: <200901141250.n0ECoDNn044814@freefall.freebsd.org> Synopsis: java/jdk16-doc changed distifo Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: edwin Responsible-Changed-When: Wed Jan 14 12:50:13 UTC 2009 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=130542 From jsa at wickedmachine.net Wed Jan 14 05:01:23 2009 From: jsa at wickedmachine.net (Joseph S. Atkinson) Date: Wed Jan 14 05:01:29 2009 Subject: java/jdk16-doc changed distifo Message-ID: <1231936862.63728@mephisto.wickedmachine.net> >Submitter-Id: current-users >Originator: Joseph S. Atkinson >Organization: Kinda messy >Confidential: no >Synopsis: java/jdk16-doc changed distifo >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 7.1-RELEASE-p2 i386 >Environment: System: FreeBSD 7.1-RELEASE-p2 #2: Wed Jan 14 02:45:00 EST 2009 jsa@mephisto.wickedmachine.net:/usr/obj/usr/src/sys/MEPHISTO >Description: About to study Java for college classes, decided to install documentation. Following the instructions given, you no longer recieve the distfile required. Sun appears to have moved to versioning (and pluralizing!) the docs as well... >How-To-Repeat: Download and place distfile as per instructions given by `make`, then run `make install` again. It will not detect the distfile. Simply renaming the distfile to the appropriate title will show a checksum error. >Fix: --- jdk16-doc.diff begins here --- --- Makefile.orig 2009-01-14 07:04:02.000000000 -0500 +++ Makefile 2009-01-14 07:07:13.000000000 -0500 @@ -7,10 +7,10 @@ PORTNAME= jdk-doc PORTVERSION= ${JDK_VERSION:S/_/./g} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java MASTER_SITES= # -DISTNAME= jdk-6-doc +DISTNAME= jdk-6u10-docs MAINTAINER= java@FreeBSD.org COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation --- distinfo.orig 2009-01-14 07:07:31.000000000 -0500 +++ distinfo 2009-01-14 07:07:43.000000000 -0500 @@ -1,3 +1,3 @@ -MD5 (jdk-6-doc.zip) = 6596298c9edb02bfe8de14892405e02e -SHA256 (jdk-6-doc.zip) = 30df77761591681cbb259dce028a728926813fcd18e7f87ad9631f64fe7f08bd -SIZE (jdk-6-doc.zip) = 54898268 +MD5 (jdk-6u10-docs.zip) = 01a8f6b06f6a5396a96dd656162710e6 +SHA256 (jdk-6u10-docs.zip) = 429e805af7d8c01f357e3ae2c600a0913b17f207b35f7f9f3b22cdcea6476481 +SIZE (jdk-6u10-docs.zip) = 58890428 --- jdk16-doc.diff ends here --- I also considered using the following or something similar: DISTNAME= jdk-6u${JDK_UPDATE}-docs JDK_UPDATE= 10 From ronald-freebsd8 at klop.yi.org Fri Jan 16 05:33:50 2009 From: ronald-freebsd8 at klop.yi.org (Ronald Klop) Date: Fri Jan 16 05:34:02 2009 Subject: openjdk 7 error in socket Message-ID: Hi, I just build openjdk 7 on FreeBSD 7.1-amd64. It builds after I found this http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-August/000006.html. I've problems running something which makes a network connection. java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:380) at java.net.Socket.connect(Socket.java:569) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.(Socket.java:416) at java.net.Socket.(Socket.java:232) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:268) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2745) at com.mysql.jdbc.Connection.(Connection.java:1553) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285) at java.sql.DriverManager.getConnection(DriverManager.java:620) at java.sql.DriverManager.getConnection(DriverManager.java:169) at nl.base.sql.connect.ConnectionUtils.connectIntern(ConnectionUtils.java:101) at nl.base.sql.connect.ConnectionUtils.createConnectionMySQL(ConnectionUtils.java:95) at nl.base.sql.connect.ConnectionUtils.getConnection(ConnectionUtils.java:44) at nl.base.sql.dbpool.DBConnectionInfo.(DBConnectionInfo.java:36) I don't set any special socket option. Not in Java and I don't have special settings in FreeBSD also. Running GENERIC kernel. I'm using ipv4. This happens if I make a connection to mysql, but also in the subclipse plugin in eclipse if I connect to the svn server. Is this a known issue? Can I solve this? Or provide more information? Ronald. From ronald-freebsd8 at klop.yi.org Fri Jan 16 05:50:35 2009 From: ronald-freebsd8 at klop.yi.org (Ronald Klop) Date: Fri Jan 16 05:50:47 2009 Subject: openjdk 7 error in socket In-Reply-To: References: Message-ID: On Fri, 16 Jan 2009 13:51:29 +0100, Ronald Klop wrote: > > Hi, > > I just build openjdk 7 on FreeBSD 7.1-amd64. > It builds after I found this > http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-August/000006.html. > > I've problems running something which makes a network connection. > java.net.SocketException: Invalid argument > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) > > I don't set any special socket option. Not in Java and I don't have > special settings in FreeBSD also. Running GENERIC kernel. > > I'm using ipv4. This happens if I make a connection to mysql, but also > in the subclipse plugin in eclipse if I connect to the svn server. > Is this a known issue? Can I solve this? Or provide more information? > > Ronald. I spoke to soon. http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-October/000102.html The option -Djava.net.preferIPv4Stack=true helps, but it is a little inconvenient to add it to all java invocations. I asume a better fix is in the make? Or are there better workarounds? Greetings, Ronald. (who is now quite happily running tomcat and eclipse in openjdk 7) From frank at ilse.behrens.de Fri Jan 16 07:34:00 2009 From: frank at ilse.behrens.de (Frank Behrens) Date: Fri Jan 16 07:34:06 2009 Subject: openjdk 7 error in socket In-Reply-To: References: Message-ID: <200901161533.n0GFXsxM022127@post.behrens.de> Ronald Klop wrote on 16 Jan 2009 14:50: > On Fri, 16 Jan 2009 13:51:29 +0100, Ronald Klop > wrote: > > I just build openjdk 7 on FreeBSD 7.1-amd64. > > > > I've problems running something which makes a network connection. > > java.net.SocketException: Invalid argument >... > The option -Djava.net.preferIPv4Stack=true helps, but it is a little > inconvenient to add it to all java invocations. I asume a better fix is in > the make? Or are there better workarounds? I don't know the code in openjdk, but I guess it suffers from the same architectural deficiencies as JDK 1.6. (http://diario.beerensalat.info/2008/10/12/java_and_ipv6_on_bsd.html but I did not evaluate client sockets) -- Frank Behrens, Osterwieck, Germany PGP-key 0x5B7C47ED on public servers available. From lists at intricatesoftware.com Fri Jan 16 11:19:51 2009 From: lists at intricatesoftware.com (Kurt Miller) Date: Fri Jan 16 11:19:57 2009 Subject: openjdk 7 error in socket In-Reply-To: References: Message-ID: <200901161418.17792.lists@intricatesoftware.com> Hello Ronald, On Friday 16 January 2009 8:50:32 am Ronald Klop wrote: > On Fri, 16 Jan 2009 13:51:29 +0100, Ronald Klop > wrote: > > > > > Hi, > > > > I just build openjdk 7 on FreeBSD 7.1-amd64. > > It builds after I found this > > http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-August/000006.html. > > > > I've problems running something which makes a network connection. > > java.net.SocketException: Invalid argument > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at > > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) > > > > > I don't set any special socket option. Not in Java and I don't have > > special settings in FreeBSD also. Running GENERIC kernel. > > > > I'm using ipv4. This happens if I make a connection to mysql, but also > > in the subclipse plugin in eclipse if I connect to the svn server. > > Is this a known issue? Can I solve this? Or provide more information? > > > > Ronald. > > I spoke to soon. > http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-October/000102.html > The option -Djava.net.preferIPv4Stack=true helps, but it is a little > inconvenient to add it to all java invocations. I asume a better fix is in > the make? Or are there better workarounds? > If you are not using IPv6 with the OpenJDK 7 build, then I recommend building with DONT_ENABLE_IPV6="YES" set. In addition to the information Frank Behrens provided please read this too: http://marc.info/?l=freebsd-java&m=122421134821461&w=2 Regards, -Kurt From ronald-freebsd8 at klop.yi.org Sun Jan 18 05:21:20 2009 From: ronald-freebsd8 at klop.yi.org (Ronald Klop) Date: Sun Jan 18 05:21:33 2009 Subject: openjdk 7 error in socket In-Reply-To: <200901161418.17792.lists@intricatesoftware.com> References: <200901161418.17792.lists@intricatesoftware.com> Message-ID: On Fri, 16 Jan 2009 20:18:17 +0100, Kurt Miller wrote: > Hello Ronald, > > On Friday 16 January 2009 8:50:32 am Ronald Klop wrote: >> On Fri, 16 Jan 2009 13:51:29 +0100, Ronald Klop >> wrote: >> >> > >> > Hi, >> > >> > I just build openjdk 7 on FreeBSD 7.1-amd64. >> > It builds after I found this >> > >> http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-August/000006.html. >> > >> > I've problems running something which makes a network connection. >> > java.net.SocketException: Invalid argument >> > at java.net.PlainSocketImpl.socketConnect(Native Method) >> > at >> > >> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) >> >> > >> > I don't set any special socket option. Not in Java and I don't have >> > special settings in FreeBSD also. Running GENERIC kernel. >> > >> > I'm using ipv4. This happens if I make a connection to mysql, but also >> > in the subclipse plugin in eclipse if I connect to the svn server. >> > Is this a known issue? Can I solve this? Or provide more information? >> > >> > Ronald. >> >> I spoke to soon. >> http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-October/000102.html >> The option -Djava.net.preferIPv4Stack=true helps, but it is a little >> inconvenient to add it to all java invocations. I asume a better fix is >> in >> the make? Or are there better workarounds? >> > > If you are not using IPv6 with the OpenJDK 7 build, then I recommend > building with DONT_ENABLE_IPV6="YES" set. > > In addition to the information Frank Behrens provided please read this > too: > > http://marc.info/?l=freebsd-java&m=122421134821461&w=2 > > Regards, > -Kurt I already found this in the jdk16 port and found it is usable in openjdk7 also. But still thanks for the info. Openjdk7 runs very well until now. If I experience problems I will let the mailinglist know. Ronald From guru at unixarea.de Sun Jan 18 05:46:01 2009 From: guru at unixarea.de (Matthias Apitz) Date: Sun Jan 18 05:46:08 2009 Subject: 7.1-REL && missing port java/linux-blackdown-jre11 Message-ID: <20090118134512.GA12678@rebelion.Sisis.de> Hello, I'm installing 7.1-REL in a second laptop and I'm compiling the ports I'm used to use. I have some older application, the official Dictionary of the Royal Spanish Academy, which requires some older Java engine; until now (7.0-REL) it works find with the above mentioned port which isn't anymore in the ports for 7.1; What can I do? Can I install the package linux-blackdown-jre-1.1.8_3 from 7.0 in 7.1? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen >From: -40 % die Neujahrsaktion From glewis at eyesbeyond.com Sun Jan 18 17:06:17 2009 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun Jan 18 17:06:24 2009 Subject: Patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <496A6CCF.8010709@FreeBSD.org> References: <496A1751.1070503@reactor-xg.kiev.ua> <496A6CCF.8010709@FreeBSD.org> Message-ID: <20090119005008.GA60743@misty.eyesbeyond.com> On Sun, Jan 11, 2009 at 11:03:59PM +0100, Herve Quiroz wrote: > Hi Andrei, > > Andrei V. Lavreniyuk wrote: > > View attache files - patch-ant.sh.in > > I think your patch is right. And I think we'll have to fix some of the > Ant task ports (e.g. textproc/ant-xinclude-task) which install JAR files > into ${JAVAJARDIR} rather than ${ANT_HOME}/lib. > > Greg, do you think this change could be commited without a test run? Probably, if you have a good idea of what ports its going to break and how to fix them. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From bugmaster at FreeBSD.org Mon Jan 19 03:07:01 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jan 19 03:08:19 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200901191107.n0JB70HL063014@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 java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From bugmaster at FreeBSD.org Mon Jan 19 03:07:23 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jan 19 03:09:45 2009 Subject: Current problem reports assigned to java@FreeBSD.org Message-ID: <200901191107.n0JB7M36063436@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 1 problem total. From nationaleuropemega at uklotto.uk Mon Jan 19 04:59:11 2009 From: nationaleuropemega at uklotto.uk (EUROPE MEGA MILLIONS GAME PROMOTION) Date: Mon Jan 19 04:59:17 2009 Subject: (GOOD NEWS THE LUCKY WINNERS) Message-ID: <200901191243.n0JCh9R1017435@web.precisionac.com.tw> LOTERIE ANGLAISE / ENGLISH LOTTERY EURO MEGA MILLION AWARD BATCH NO: 409978 REF. NO: BTD/968/08-UN TICKET NO: 0988767785522 – (BN) We are pleased to announce to you the final result of our EuroMillion Award Promotion, the result of the European Union Email Sweepstake in conjunction with the foundation for the promotion of software products, (F.P.s) that was held in Europe. You have won yourself the sum of EUR 1,000,000.00 (GBP 812,826.30) Your email address came out in the 3rd Prize Sweepstake. You came out in our third batch category, to a claim of EUR 1,000,000.00 (ONE MILLION EUROS). You are required to contact your claims Agent with your information in order to proceed on the claims of your prize. Full details / particulars is required for the processing of your winnings. 1. Full Name 2. Postal Address (P.O Box not accepted) 3. Date of Birth 4. Marital Status 5. Tel / Fax Number 6. Nationality 7. Present country of residence 8. Winning Email address You are required to contact Claims Agent, Mr. James Lockman via email. Please attach full details. Contact Person: Mr. James Lockman Contact Email: j.luckman@live.com Best Regards Cassandra Smith National Europe Sweepstake Manager EUROPE MEGA MILLIONS GAME PROMOTION From linimon at FreeBSD.org Mon Jan 19 07:33:12 2009 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Mon Jan 19 07:33:30 2009 Subject: ports/130542: java/jdk16-doc changed distifo Message-ID: <200901191533.n0JFXBIJ069392@freefall.freebsd.org> Synopsis: java/jdk16-doc changed distifo Responsible-Changed-From-To: java->freebsd-java Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jan 19 15:32:52 UTC 2009 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=130542 From linimon at FreeBSD.org Mon Jan 19 07:33:12 2009 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Mon Jan 19 07:33:31 2009 Subject: ports/130542: java/jdk16-doc changed distifo Message-ID: <200901191533.n0JFXBIJ069392@freefall.freebsd.org> Synopsis: java/jdk16-doc changed distifo Responsible-Changed-From-To: java->freebsd-java Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jan 19 15:32:52 UTC 2009 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=130542 From andy.lavr at reactor-xg.kiev.ua Mon Jan 19 07:34:52 2009 From: andy.lavr at reactor-xg.kiev.ua (Andrei V. Lavreniyuk) Date: Mon Jan 19 07:35:06 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant Message-ID: <49749D98.4080402@reactor-xg.kiev.ua> Hi! It will be more correct whew, view attached files - patch-ant.sh.in -- Best regards, Andrei V. Lavreniyuk. -------------- next part -------------- --- ant.sh.in.orig 2006-09-07 11:15:39.000000000 +0300 +++ ant.sh.in 2009-01-19 17:30:45.677679527 +0200 @@ -79,4 +79,6 @@ exit 1 fi +CLASSPATH=$ANT_LIB:$CLASSPATH;export CLASSPATH + exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} -lib "${CLASSPATH}" "$@" From chuckr at telenix.org Mon Jan 19 20:03:23 2009 From: chuckr at telenix.org (Chuck Robey) Date: Mon Jan 19 20:03:29 2009 Subject: javadoc authoring tool? In-Reply-To: <20090112080555.GB8590@keira.kiwi-computer.com> References: <496A5075.8050708@telenix.org> <20090112080555.GB8590@keira.kiwi-computer.com> Message-ID: <49754B42.2090300@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rick C. Petty wrote: > On Sun, Jan 11, 2009 at 03:03:01PM -0500, Chuck Robey wrote: >> Trying to finish up a learning prject of mine (for java and eclipse), and only >> need to generate the javadoc comments. Anybody know if there's a good FreeBSD >> port for javadoc authoring? Or, what's your favorite? I could write it without >> that, but I'm trying here to learn as many good tools as I can, and so I want a >> authoring tool if I can get one (I can't find (yet) any feature of eclipse to do >> this). > > You mean aside from /usr/local/bin/javadoc (which comes with any jdk)? Are > you talking about a program to compile the javadoc or a tool to help you > write it? Eclipse makes authoring javadoc easy, since all you should need > to do is type "/**" and either space or enter and it will auto-fill the > expected attributes. > I never even tried eclipse, just went looking for something to help me write them. You're right, eclipse really was all I needed, I just needed to type the ampersand, and everything shows up! > -- Rick C. Petty -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl1S0IACgkQz62J6PPcoOnwNgCfVJKu0iarBrQYk7AFKJRxXWd6 XKYAn32yHZjRWu0XEDmYJK61xXfwL7Jl =MVE1 -----END PGP SIGNATURE----- From ralf.folkerts at gmx.de Tue Jan 20 11:48:37 2009 From: ralf.folkerts at gmx.de (Ralf Folkerts) Date: Tue Jan 20 11:48:45 2009 Subject: netbeans-Port installs /usr/local/netbeans65 Mode 700? Message-ID: <49762441.4050400@gmx.de> Hi, I ran portupgrade last Friday, which also updated the installed Netbeans-Port. Unfortunately I'm unable now to run netbeans [bash]beaster:~$/usr/local/bin/netbeans65 bash: /usr/local/bin/netbeans65: Permission denied I checked /usr/local/netbeans65 and found it is installed Mode 700: [-su]beaster:local$ls -ld netbeans65/ drwx------ 24 root wheel 1024 Jan 17 01:05 netbeans65/ I then checked /usr/ports/UPDATING, found no hints, checked this List but didn't find a hint, too. So, I just portsnapped again and ran portupgrade -f netbeans: [-su]beaster:~$portupgrade -f netbeans [Updating the portsdb in /usr/ports ... - 19643 port entriesfound .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000...... ..... done] ---> Reinstalling 'netbeans-6.5_2' (java/netbeans) ---> Building '/usr/ports/java/netbeans' ===> Cleaning for netbeans-6.5_2 ===> Extracting for netbeans-6.5_2 => MD5 Checksum OK for netbeans-6.5-200811100001-ml.zip. => SHA256 Checksum OK for netbeans-6.5-200811100001-ml.zip. ===> netbeans-6.5_2 depends on executable: unzip - found ===> Patching for netbeans-6.5_2 ===> Applying FreeBSD patches for netbeans-6.5_2 ===> Configuring for netbeans-6.5_2 ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'netbeans-6.5_2' [Updating the pkgdb in /var/db/pkg ... - 1096 packages found(-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for netbeans-6.5_2 ===> netbeans-6.5_2 depends on file: /usr/local/jdk1.6.0/bin/java - found ===> Generating temporary packing list ===> Registering installation for netbeans-6.5_2 ===> Cleaning for netbeans-6.5_2 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 1097 packages found(-0 +1) . done] However, /usr/local/netbeans65 is still Mode 700: [bash]beaster:~$ls -ld /usr/local/netbeans65/ drwx------ 24 root wheel 1024 Jan 17 20:08 /usr/local/netbeans65/ Then checked the Problem Reports (on freebsd.org) but didn't find a Ticket re. this Problem. As it seems I'm the only one running into this Problem: Did I do something wrong with the Installation? I could (well, and will) simply change the Permissions of the Directories - but these would be lost during the next portupgrade (of netbeans). So a hint about what I did wrong would be great! Cheers and MTIA! _ralf_ From kjkoster at kjkoster.org Tue Jan 20 12:52:45 2009 From: kjkoster at kjkoster.org (Kees Jan Koster) Date: Tue Jan 20 12:52:51 2009 Subject: Improve top -H output Message-ID: Dear Java porters, Is there any way to improve the output of top -H? Currently top -H shows one line per Java thread in my Java processes (excellent feature!!), but all lines have the same name and pid (bummer). Is there any way to get the Java thread name and/of the Java object number into the name portion of the thread in top -H? That would make resolving infinite loops a breeze. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 The secret of success lies in the stability of the goal. -- Benjamin Disraeli From hq at FreeBSD.org Wed Jan 21 14:19:19 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Wed Jan 21 14:19:26 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <49749D98.4080402@reactor-xg.kiev.ua> References: <49749D98.4080402@reactor-xg.kiev.ua> Message-ID: <49779F59.6050209@FreeBSD.org> Hi Andrei, Well, the good side is that I don't think this patch will break anything in the ports tree. OTOH I think you were right in the first place. Looking at the original shell script for the distribution, the correct argument is ${ANT_LIB}. The problem is that there are some Java libraries in the ports tree that are installing custom tasks as JAR files in ${JAVAJARDIR} and these will no longer be available as-is from Ant. I am still unsure if we should go for upstream-behavior correctness or ports behavior stability. So far I know about the following ports that provide an Ant task in the JAR file installed in JAVAJARDIR: - java/java-checkstyle - textproc/ant-xinclude-task Main problem here is that we can't build all Java ports and analyze the content of the JAR files. And using portsearch, I could just list the following ports with a run dependency on devel/apache-ant: - java/xdoclet (JAR contains an Ant task) - www/extsm - www/jetspeed Maybe we could just assume that ports that do not correctly reference their run dependencies are more likely to be broken anyway. BTW, the best way to set this option is through -Dant.library.dir. I'll do more tests with the patch applied and see if any "critical" port fails to build. Herve Andrei V. Lavreniyuk wrote: > Hi! > > > > It will be more correct whew, view attached files - patch-ant.sh.in From hq at FreeBSD.org Thu Jan 22 23:17:04 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Thu Jan 22 23:17:11 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <49784E41.7070006@reactor-xg.kiev.ua> References: <49749D98.4080402@reactor-xg.kiev.ua> <49779F59.6050209@FreeBSD.org> <49784E41.7070006@reactor-xg.kiev.ua> Message-ID: <4978A11A.1040408@FreeBSD.org> Andrei V. Lavreniyuk wrote: > I test, if > > --------------- > CLASSPATH=$ANT_LIB:$CLASSPATH;export CLASSPATH > > exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" > -Dant.home="${DATADIR}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} > -lib "${CLASSPATH}" "$@" > -------------- > > then following ports > > - java/java-checkstyle > - textproc/ant-xinclude-task > - java/xdoclet (JAR contains an Ant task) > - www/extsm > - www/jetspeed > > build an installed fine. Problem is not only to install them but to run the applications. For example, checkstyle will install fine but then any project which references the task will break. That's why it is difficult to test. And that's why I don't think any port test build will improve things. >> I'll do more tests with the patch applied and see if any "critical" port >> fails to build. By "critical" I mean things like xerces-j, xalan and saxon that are currently included in ANT_LIB, but should not be. Everything related to XML can cause problems because of the JAXP classpath factory discovery process. I'll probably find some time to test those ports tonight. Herve From bugmaster at FreeBSD.org Mon Jan 26 03:07:00 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jan 26 03:08:19 2009 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200901261106.n0QB6w0S024309@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 hq at FreeBSD.org Thu Jan 29 14:17:18 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Thu Jan 29 14:17:25 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <4978A11A.1040408@FreeBSD.org> References: <49749D98.4080402@reactor-xg.kiev.ua> <49779F59.6050209@FreeBSD.org> <49784E41.7070006@reactor-xg.kiev.ua> <4978A11A.1040408@FreeBSD.org> Message-ID: <49822AE8.9020608@FreeBSD.org> Herve Quiroz wrote: > I'll probably find some time to test those ports tonight. Okay, so it took me a bit more time than expected but I did run some tests and it seems nothing breaks from a ports build perspective with the attached patch applied. I believe this patch enforces the expected behavior of the mainstream ant(1) script. Any thoughts before I commit this patch? I'll fix the depending ports (or send PRs) when we're done with devel/apache-ant. Herve -------------- next part -------------- A non-text attachment was scrubbed... Name: apache-ant.diff Type: text/x-patch Size: 669 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090129/b9f71732/apache-ant.bin From hq at FreeBSD.org Thu Jan 29 14:32:16 2009 From: hq at FreeBSD.org (Herve Quiroz) Date: Thu Jan 29 14:32:22 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <49822AE8.9020608@FreeBSD.org> References: <49749D98.4080402@reactor-xg.kiev.ua> <49779F59.6050209@FreeBSD.org> <49784E41.7070006@reactor-xg.kiev.ua> <4978A11A.1040408@FreeBSD.org> <49822AE8.9020608@FreeBSD.org> Message-ID: <49822E6A.7020807@FreeBSD.org> Herve Quiroz wrote: > I believe this patch enforces the expected behavior of the mainstream > ant(1) script. Oops, forgot to bump PORTREVISION. -------------- next part -------------- A non-text attachment was scrubbed... Name: apache-ant.diff Type: text/x-patch Size: 1176 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20090129/e34c5439/apache-ant.bin From andy.lavr at reactor-xg.kiev.ua Thu Jan 29 23:41:47 2009 From: andy.lavr at reactor-xg.kiev.ua (Andrei V. Lavreniyuk) Date: Thu Jan 29 23:41:54 2009 Subject: New patch ant.sh.in for FreeBSD ports devel/apache-ant In-Reply-To: <49822AE8.9020608@FreeBSD.org> References: <49749D98.4080402@reactor-xg.kiev.ua> <49779F59.6050209@FreeBSD.org> <49784E41.7070006@reactor-xg.kiev.ua> <4978A11A.1040408@FreeBSD.org> <49822AE8.9020608@FreeBSD.org> Message-ID: <4982AF30.5050400@reactor-xg.kiev.ua> Herve Quiroz ?????: >> I'll probably find some time to test those ports tonight. > > Okay, so it took me a bit more time than expected but I did run some > tests and it seems nothing breaks from a ports build perspective with > the attached patch applied. > > I believe this patch enforces the expected behavior of the mainstream > ant(1) script. > > Any thoughts before I commit this patch? > > I'll fix the depending ports (or send PRs) when we're done with > devel/apache-ant. If exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" -Dant.library.dir="${ANT_LIB}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} "$@" then ---------------------------- ===> Applying FreeBSD patches for eclipse-3.3.2 ===> eclipse-3.3.2 depends on executable: ant - found ===> eclipse-3.3.2 depends on executable: zip - found ===> eclipse-3.3.2 depends on executable: unzip - found ===> eclipse-3.3.2 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - found ===> eclipse-3.3.2 depends on executable: gmake - found ===> eclipse-3.3.2 depends on file: /usr/local/bin/intltool-extract - found ===> eclipse-3.3.2 depends on file: /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found ===> eclipse-3.3.2 depends on executable: pkg-config - found ===> eclipse-3.3.2 depends on executable: update-desktop-database - found ===> eclipse-3.3.2 depends on shared library: cairo.2 - found ===> eclipse-3.3.2 depends on shared library: GLU.1 - found ===> eclipse-3.3.2 depends on shared library: esd.2 - found ===> eclipse-3.3.2 depends on shared library: atk-1.0.0 - found ===> eclipse-3.3.2 depends on shared library: gconf-2.4 - found ===> eclipse-3.3.2 depends on shared library: glib-2.0.0 - found ===> eclipse-3.3.2 depends on shared library: gnomevfs-2.0 - found ===> eclipse-3.3.2 depends on shared library: gtk-x11-2.0.0 - found ===> eclipse-3.3.2 depends on shared library: art_lgpl_2.5 - found ===> eclipse-3.3.2 depends on shared library: bonobo-2.0 - found ===> eclipse-3.3.2 depends on shared library: bonoboui-2.0 - found ===> eclipse-3.3.2 depends on shared library: glade-2.0.0 - found ===> eclipse-3.3.2 depends on shared library: gnome-2.0 - found ===> eclipse-3.3.2 depends on shared library: gnomecanvas-2.0 - found ===> eclipse-3.3.2 depends on shared library: gnomeui-2.0 - found ===> eclipse-3.3.2 depends on shared library: IDL-2.0 - found ===> eclipse-3.3.2 depends on shared library: xml2.5 - found ===> eclipse-3.3.2 depends on shared library: ORBit-2.0 - found ===> eclipse-3.3.2 depends on shared library: pango-1.0.0 - found ===> Configuring for eclipse-3.3.2 ===> Building for eclipse-3.3.2 [echo] TARGET: compiler [echo] UPDATE ecj.jar BUILD SUCCESSFUL Total time: 14 seconds [echo] TARGET: compiler2 [echo] compilerArg -enableJavadoc -nowarn -encoding ISO-8859-1 [echo] build compiler org.eclipse.jdt.core.JDTCompilerAdapter 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 ------------------------------------------- -- Best regards, Andrei V. Lavreniyuk. -------------- 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/20090130/6e3f6d6a/signature.pgp