From owner-freebsd-java@FreeBSD.ORG Mon Oct 12 11:06:57 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399591065693 for ; Mon, 12 Oct 2009 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0D2CD8FC14 for ; Mon, 12 Oct 2009 11:06:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9CB6uq3036466 for ; Mon, 12 Oct 2009 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9CB6uAu036462 for freebsd-java@FreeBSD.org; Mon, 12 Oct 2009 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Oct 2009 11:06:56 GMT Message-Id: <200910121106.n9CB6uAu036462@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 11:06:57 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/139479 java javs/linux-sun-jdk16 port doesn't work / needs update o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o ports/138706 java /lib/libz.so version bump prevents java/jdk* from upgr o ports/138581 java java/eclipse 3.4.2 crashes with SIGSEGV when compiling o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 33 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Oct 13 11:14:13 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4316F1065692 for ; Tue, 13 Oct 2009 11:14:13 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 039578FC13 for ; Tue, 13 Oct 2009 11:14:12 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id C1E42183CBD35; Tue, 13 Oct 2009 12:56:12 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n9DAuAue003176; Tue, 13 Oct 2009 12:56:10 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 13 Oct 2009 12:56:10 +0200 From: Matthias Apitz To: freebsd-java@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20091013105610.GA3106@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Subject: error while printing from Java to CUPS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 11:14:13 -0000 Hello, Some Java applications, like openproj for example, are unable to print to the CUPS printing system; this seems to be a know problem in Java and if you do a search in Don Google you will information and workarounds, like this, for example: http://www.magicdraw.com/main.php?ts=faq&cmd_show=1&menu=faq Diagram printing is not working on Linux OS The problem is related with the Linux cups package update. This problem is Sun Java bug and description of this problem is published in the Java Bug Database: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656. To solve diagram printing problem we would suggest to use 1.6.0_10 JVM or later, because this issue is solved in these java versions. If you can not use the 1.6.0_10 JVM or later, other possible solution would be the following: 1.Open the file /etc/cups/printers.conf 2.Before each line with the text , add the following line: Options orientation-requested 3 The referenced http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656 explain all the details of the bug... But: I've tried to insert the proposed change in /usr/local/etc/cups/printers.conf but it does not help. This is with cups-base-1.3.9_3 in a 8-CURRENT. As well it says that there is a fix in Java in 1.6.0_10 or later... I have dk-1.6.0.3p4_10 and it seems no to be fixed :-( Any ideas? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-java@FreeBSD.ORG Tue Oct 13 11:46:00 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7ECA106566B for ; Tue, 13 Oct 2009 11:46:00 +0000 (UTC) (envelope-from v.balada@coolbleiben.net) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3072E8FC12 for ; Tue, 13 Oct 2009 11:46:00 +0000 (UTC) Received: by fxm22 with SMTP id 22so8924589fxm.36 for ; Tue, 13 Oct 2009 04:45:59 -0700 (PDT) Received: by 10.204.0.69 with SMTP id 5mr6119012bka.173.1255434359028; Tue, 13 Oct 2009 04:45:59 -0700 (PDT) Received: from ?192.168.1.6? (116.Red-80-25-226.staticIP.rima-tde.net [80.25.226.116]) by mx.google.com with ESMTPS id 1sm7273481fkt.11.2009.10.13.04.45.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Oct 2009 04:45:57 -0700 (PDT) From: Victor Balada Diaz To: Ronald Klop In-Reply-To: References: <1254400922.24325.9.camel@localhost.localdomain> Content-Type: text/plain Date: Tue, 13 Oct 2009 13:45:49 +0200 Message-Id: <1255434349.18720.3.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.3) Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Java support for jstack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 11:46:00 -0000 Hello Ronald, I tried openjdk jstack against diablo-jdk and it doesn't work, so i just tried using tomcat with openjdk and when running jstack i get the following error: yac# /usr/local/openjdk6/bin/jstack -F -l 89291 Attaching to process ID 89291, please wait... Debugger attached successfully. Server compiler detected. JVM version is 11.0-b17 Deadlock Detection: No deadlocks found. Thread -1924730496: (state = BLOCKED) Error occurred during stack walking: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal $BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:152) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:455) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:65) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:92) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:252) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:214) at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76) at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45) at sun.jvm.hotspot.tools.JStack.run(JStack.java:60) at sun.jvm.hotspot.tools.Tool.start(Tool.java:221) at sun.jvm.hotspot.tools.JStack.main(JStack.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at sun.tools.jstack.JStack.runJStackTool(JStack.java:136) at sun.tools.jstack.JStack.main(JStack.java:102) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access $800(BsdDebuggerLocal.java:51) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal $1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:449) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal $BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:127) Locked ownable synchronizers: - None [... same error for all the other threads ...] Also if i try to use it without -F i get the following error: /usr/local/openjdk6/bin/jstack 89291 89291: Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding Do you have any ideas on what could be wrong? Thanks a lot. Regards. On Sat, 2009-10-03 at 16:11 +0200, Ronald Klop wrote: > Jstack works in openjdk6. > Also on a program running in another jdk if I remember it correct. > > Ronald. > > On Thu, 01 Oct 2009 14:42:02 +0200, Victor Balada Diaz > wrote: > > > Hello, > > > > I'm trying to use jstack in a FreeBSD 7.1-RELEASE-p7 amd64 with > > diablo-jdk-1.6.0.07.02_3 but i always get the following error: > > > > $PID: no providers installed > > > > I saw a mail in 2007 asking about what would be needed to make it > > work, but no answers. Is there any work in progress to make jstack work? > > What's needed and how can i help? > > > > Thanks in advance. > > Regards. > > > > _______________________________________________ > > 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 owner-freebsd-java@FreeBSD.ORG Tue Oct 13 11:47:18 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 420031065670 for ; Tue, 13 Oct 2009 11:47:18 +0000 (UTC) (envelope-from v.balada@coolbleiben.net) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id D30008FC19 for ; Tue, 13 Oct 2009 11:47:17 +0000 (UTC) Received: by ewy18 with SMTP id 18so3667540ewy.43 for ; Tue, 13 Oct 2009 04:47:16 -0700 (PDT) Received: by 10.211.139.7 with SMTP id r7mr5639576ebn.26.1255434436735; Tue, 13 Oct 2009 04:47:16 -0700 (PDT) Received: from ?192.168.1.6? (116.Red-80-25-226.staticIP.rima-tde.net [80.25.226.116]) by mx.google.com with ESMTPS id 5sm44727eyh.1.2009.10.13.04.47.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Oct 2009 04:47:16 -0700 (PDT) From: Victor Balada Diaz To: Greg Lewis In-Reply-To: <20091004192313.GA8317@misty.eyesbeyond.com> References: <1254400922.24325.9.camel@localhost.localdomain> <20091004192313.GA8317@misty.eyesbeyond.com> Content-Type: text/plain Date: Tue, 13 Oct 2009 13:47:10 +0200 Message-Id: <1255434430.18720.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.3) Content-Transfer-Encoding: 7bit Cc: Ronald Klop , freebsd-java@freebsd.org Subject: Re: Java support for jstack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 11:47:18 -0000 Hello Greg, Is there any place where i can download an unstable port or something like that just for testing? or any expected date on when it will arrive to the ports tree? Regards. On Sun, 2009-10-04 at 12:23 -0700, Greg Lewis wrote: > On Sat, Oct 03, 2009 at 04:11:14PM +0200, Ronald Klop wrote: > > Jstack works in openjdk6. > > Also on a program running in another jdk if I remember it correct. > > It also works with OpenJDK7, but there isn't a port of that in the ports > tree. > > > On Thu, 01 Oct 2009 14:42:02 +0200, Victor Balada Diaz > > wrote: > > > > > Hello, > > > > > > I'm trying to use jstack in a FreeBSD 7.1-RELEASE-p7 amd64 with > > > diablo-jdk-1.6.0.07.02_3 but i always get the following error: > > > > > > $PID: no providers installed > > > > > > I saw a mail in 2007 asking about what would be needed to make it > > > work, but no answers. Is there any work in progress to make jstack work? > > > What's needed and how can i help? > > > > > > Thanks in advance. > > > Regards. > > > > > > _______________________________________________ > > > 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" > > > > _______________________________________________ > > 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 owner-freebsd-java@FreeBSD.ORG Tue Oct 13 21:46:16 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A0CD1065672 for ; Tue, 13 Oct 2009 21:46:16 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id D4CBE8FC14 for ; Tue, 13 Oct 2009 21:46:15 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MxpCA-0000en-H6; Tue, 13 Oct 2009 23:46:14 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id C9E921464B; Tue, 13 Oct 2009 23:46:09 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Victor Balada Diaz" References: <1254400922.24325.9.camel@localhost.localdomain> <1255434349.18720.3.camel@localhost.localdomain> Date: Tue, 13 Oct 2009 23:46:09 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <1255434349.18720.3.camel@localhost.localdomain> User-Agent: Opera Mail/10.00 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: Java support for jstack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 21:46:16 -0000 On Tue, 13 Oct 2009 13:45:49 +0200, Victor Balada Diaz =20 wrote: > Hello Ronald, > > I tried openjdk jstack against diablo-jdk and it doesn't work, so > i just tried using tomcat with openjdk and when running jstack i > get the following error: > > yac# /usr/local/openjdk6/bin/jstack -F -l 89291 > Attaching to process ID 89291, please wait... > Debugger attached successfully. > Server compiler detected. > JVM version is 11.0-b17 > Deadlock Detection: > > No deadlocks found. > > Thread -1924730496: (state =3D BLOCKED) > Error occurred during stack walking: > sun.jvm.hotspot.debugger.DebuggerException: > sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for = a > lwp > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal > $BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:152) > at > sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterS= et(BsdDebuggerLocal.java:455) > at > sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:65) > at > sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrent= FrameGuess(BsdAMD64JavaThreadPDAccess.java:92) > at > sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java= :252) > at > sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java= :214) > at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76) > at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45) > at sun.jvm.hotspot.tools.JStack.run(JStack.java:60) > at sun.jvm.hotspot.tools.Tool.start(Tool.java:221) > at sun.jvm.hotspot.tools.JStack.main(JStack.java:86) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at sun.tools.jstack.JStack.runJStackTool(JStack.java:136) > at sun.tools.jstack.JStack.main(JStack.java:102) > Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs > failed for a lwp > at > sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterS= et0(Native =20 > Method) > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access > $800(BsdDebuggerLocal.java:51) > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal > $1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:449) > at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal > $BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:127) > > Locked ownable synchronizers: > - None > > [... same error for all the other threads ...] > > Also if i try to use it without -F i get the following error: > > /usr/local/openjdk6/bin/jstack 89291 > 89291: Unable to open socket file: target process not responding or > HotSpot VM not loaded > The -F option can be used when the target process is not responding > > Do you have any ideas on what could be wrong? > > Thanks a lot. > Regards. > > On Sat, 2009-10-03 at 16:11 +0200, Ronald Klop wrote: >> Jstack works in openjdk6. >> Also on a program running in another jdk if I remember it correct. >> >> Ronald. >> >> On Thu, 01 Oct 2009 14:42:02 +0200, Victor Balada Diaz >> wrote: >> >> > Hello, >> > >> > I'm trying to use jstack in a FreeBSD 7.1-RELEASE-p7 amd64 with >> > diablo-jdk-1.6.0.07.02_3 but i always get the following error: >> > >> > $PID: no providers installed >> > >> > I saw a mail in 2007 asking about what would be needed to make it >> > work, but no answers. Is there any work in progress to make jstack =20 >> work? >> > What's needed and how can i help? >> > >> > Thanks in advance. >> > Regards. >> > Do you run jstack as the same user as the java process? Ronald. From owner-freebsd-java@FreeBSD.ORG Tue Oct 13 21:59:26 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE7B51065693 for ; Tue, 13 Oct 2009 21:59:26 +0000 (UTC) (envelope-from openjdk@getsnappy.com) Received: from mailA.getsnappy.com (mailA.getsnappy.com [72.29.186.40]) by mx1.freebsd.org (Postfix) with ESMTP id A2B908FC12 for ; Tue, 13 Oct 2009 21:59:26 +0000 (UTC) Received: from [192.168.1.57] (adsl-69-111-247-57.dsl.snlo01.pacbell.net [69.111.247.57]) by mailA.getsnappy.com (8.14.3/8.14.3) with ESMTP id n9DLxIpc035892 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Oct 2009 14:59:24 -0700 (PDT) (envelope-from openjdk@getsnappy.com) Message-Id: <3E8B64D4-9C69-470D-9A64-7DF98C70CCCE@getsnappy.com> From: Brian Gardner To: Ronald Klop In-Reply-To: Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 13 Oct 2009 14:59:16 -0700 References: <1254400922.24325.9.camel@localhost.localdomain> <1255434349.18720.3.camel@localhost.localdomain> X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Victor Balada Diaz , freebsd-java@freebsd.org Subject: Re: Java support for jstack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 21:59:26 -0000 Yes. This is a requirement for the openjdk6 implementation On Oct 13, 2009, at 2:46 PM, Ronald Klop wrote: > On Tue, 13 Oct 2009 13:45:49 +0200, Victor Balada Diaz > wrote: > >> Hello Ronald, >> >> I tried openjdk jstack against diablo-jdk and it doesn't work, so >> i just tried using tomcat with openjdk and when running jstack i >> get the following error: >> >> yac# /usr/local/openjdk6/bin/jstack -F -l 89291 >> Attaching to process ID 89291, please wait... >> Debugger attached successfully. >> Server compiler detected. >> JVM version is 11.0-b17 >> Deadlock Detection: >> >> No deadlocks found. >> >> Thread -1924730496: (state = BLOCKED) >> Error occurred during stack walking: >> sun.jvm.hotspot.debugger.DebuggerException: >> sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed >> for a >> lwp >> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal >> $BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:152) >> at >> sun >> .jvm >> .hotspot >> .debugger >> .bsd >> .BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java: >> 455) >> at >> sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:65) >> at >> sun >> .jvm >> .hotspot >> .runtime >> .bsd_amd64 >> .BsdAMD64JavaThreadPDAccess >> .getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:92) >> at >> sun >> .jvm >> .hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:252) >> at >> sun >> .jvm >> .hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:214) >> at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76) >> at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45) >> at sun.jvm.hotspot.tools.JStack.run(JStack.java:60) >> at sun.jvm.hotspot.tools.Tool.start(Tool.java:221) >> at sun.jvm.hotspot.tools.JStack.main(JStack.java:86) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun >> .reflect >> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun >> .reflect >> .DelegatingMethodAccessorImpl >> .invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:616) >> at sun.tools.jstack.JStack.runJStackTool(JStack.java:136) >> at sun.tools.jstack.JStack.main(JStack.java:102) >> Caused by: sun.jvm.hotspot.debugger.DebuggerException: >> get_thread_regs >> failed for a lwp >> at >> sun >> .jvm >> .hotspot >> .debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native >> Method) >> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access >> $800(BsdDebuggerLocal.java:51) >> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal >> $1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:449) >> at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal >> $BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:127) >> >> Locked ownable synchronizers: >> - None >> >> [... same error for all the other threads ...] >> >> Also if i try to use it without -F i get the following error: >> >> /usr/local/openjdk6/bin/jstack 89291 >> 89291: Unable to open socket file: target process not responding or >> HotSpot VM not loaded >> The -F option can be used when the target process is not responding >> >> Do you have any ideas on what could be wrong? >> >> Thanks a lot. >> Regards. >> >> On Sat, 2009-10-03 at 16:11 +0200, Ronald Klop wrote: >>> Jstack works in openjdk6. >>> Also on a program running in another jdk if I remember it correct. >>> >>> Ronald. >>> >>> On Thu, 01 Oct 2009 14:42:02 +0200, Victor Balada Diaz >>> wrote: >>> >>> > Hello, >>> > >>> > I'm trying to use jstack in a FreeBSD 7.1-RELEASE-p7 amd64 with >>> > diablo-jdk-1.6.0.07.02_3 but i always get the following error: >>> > >>> > $PID: no providers installed >>> > >>> > I saw a mail in 2007 asking about what would be needed to make it >>> > work, but no answers. Is there any work in progress to make >>> jstack work? >>> > What's needed and how can i help? >>> > >>> > Thanks in advance. >>> > Regards. >>> > > > Do you run jstack as the same user as the java process? > > Ronald. > > > > _______________________________________________ > 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" > ------------------------------------------------------------ Brian Gardner | President + CEO GETSNAPPY.COM 3591 Sacramento Dr., Suite 118 San Luis Obispo CA, 93401 805.706.0420 | 805.762.4326 fax brian@getsnappy.com http://www.getsnappy.com Connect with me Facebook | Twitter | LinkedIn ------------------------------------------------------------ From owner-freebsd-java@FreeBSD.ORG Wed Oct 14 08:03:47 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71815106566B for ; Wed, 14 Oct 2009 08:03:47 +0000 (UTC) (envelope-from v.balada@coolbleiben.net) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 0C1958FC08 for ; Wed, 14 Oct 2009 08:03:46 +0000 (UTC) Received: by fxm22 with SMTP id 22so10077056fxm.36 for ; Wed, 14 Oct 2009 01:03:46 -0700 (PDT) Received: by 10.204.11.6 with SMTP id r6mr6971738bkr.29.1255507425739; Wed, 14 Oct 2009 01:03:45 -0700 (PDT) Received: from ?192.168.1.6? (116.Red-80-25-226.staticIP.rima-tde.net [80.25.226.116]) by mx.google.com with ESMTPS id 28sm8596339fkx.31.2009.10.14.01.03.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 01:03:45 -0700 (PDT) From: Victor Balada Diaz To: Ronald Klop In-Reply-To: References: <1254400922.24325.9.camel@localhost.localdomain> <1255434349.18720.3.camel@localhost.localdomain> Content-Type: text/plain Date: Wed, 14 Oct 2009 10:03:42 +0200 Message-Id: <1255507422.18720.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.3) Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Java support for jstack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 08:03:47 -0000 On Tue, 2009-10-13 at 23:46 +0200, Ronald Klop wrote: > [...] > Do you run jstack as the same user as the java process? > That was the problem. Using OpenJDK's jstack against tomcat with user www runs without problems. Thanks a lot Ronald! From owner-freebsd-java@FreeBSD.ORG Thu Oct 15 13:41:28 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29BFF106568D for ; Thu, 15 Oct 2009 13:41:28 +0000 (UTC) (envelope-from asientrade@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id 589868FC1E for ; Thu, 15 Oct 2009 13:41:27 +0000 (UTC) Received: from [195.4.92.20] (helo=10.mx.freenet.de) by mout1.freenet.de with esmtpa (ID asientrade@freenet.de) (port 25) (Exim 4.69 #92) id 1MyQa6-0005Ui-PC for freebsd-java@freebsd.org; Thu, 15 Oct 2009 15:41:26 +0200 Received: from p5b12da1b.dip.t-dialin.net ([91.18.218.27]:58196 helo=daniel-PC) by 10.mx.freenet.de with esmtpa (ID asientrade@freenet.de) (port 587) (Exim 4.69 #94) id 1MyQa1-0000LO-Qo for freebsd-java@freebsd.org; Thu, 15 Oct 2009 15:41:26 +0200 From: "daniel" To: freebsd-java@freebsd.org Content-Type: multipart/related; boundary="----=_NextPart_766_F636_E7973656.97579622" MIME-Version: 1.0 Date: Thu, 15 Oct 2009 15:41:48 +0200 Message-Id: <20091015154147C44326C920$2EF6FB6AC4@DANIELPC> Status: N X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Twitter-endlich Geldverdienen-kostenlos und sofort startklar X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bitteinfo1@freenet.de List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 13:41:28 -0000 This is a multi-part message in MIME format ------=_NextPart_766_F636_E7973656.97579622 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =A0Offers stand below as an English available Hallo- =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 verdiene endlich Geld durc= h Twitterwenn ein Twitter Account vorhanden sein sollte dann gehts sofort = los mit Verdienen.sollte keine Account vorhanden sein dann einfach alles kostenlos erstellen und verdienen.=A0mit besten Empfehlungen eure Danielleichter kann man sein =B4Geld nicht verdienen- alles kostenlos we= nn sie einen Twitteraccount haben.Also schnell handel-bei weiterem Interess= e und lust an gratis produkten einfach kurz anmelden-oder abmelden-- danke=A0=A0Anmelden=A0=A0=A0=A0=A0=A0 =A0Abmelden=A024 Std. Blitzangebot= =A0nur begrenzt f=FCr=A024 Stunden aktiv danach ausverkauft--- http://www.affiliateverkaufen.de/blitzangebot.html=A0=A0=A0=A0 10,-?(The= Logo Creator hilft beim Erstellen qualitativ hochwertiger Logos. Ganz nach de= m Motto "Your Logo is your business" gestaltet der Nutzer mit diesem Progr= amm Blickf=E4nger f=FCr Webseiten)=A0(=DCbersetzen Sie ganz einfach und mit = wenigen Klicks Texte oder sogar komplette Webseiten in 31 Sprachen. )nur 28,-?=A0= oder Aktionspreis 30,-?=A0=A0 f=FCr Logocreator v5 und PDF-Converter 6.0 dt.=A0= Oder m=F6chten sie lieber effektiv heute noch Geld verdienen und Zahlungen we= nn m=F6glich sofort erwirtschaften-?? dann mit diesem angebot was f=FCr mich selbstbehauptet das beste =FCberh= aupt war und ist--Geld durch Emails verdienen-aber keine centbetr=E4ge sonder= n sofort 10-20,-? sofort-zahlung innerhalb weniger minuten, ich habe zur zeit zwischen 5 und 20 Kunden pro tag (weltweit) bei einem verdienst pro emai= l von ca. 15,-? und ich betreibe keinerlei werbung oder verkaufe durchs telefon nein die= Kunden kommen zu mir und ich verdiene sehr gut-aber lesen sie selbst wen= n ihr interesse noch vorhanden ist weiter im Angebot 2.erfolgreiches Hande= ln w=FCnsche ich auf diesem Wege-bei weiteren Interessen k=F6nnen sie sichwiederholt eintragen um weitere Angebote und Gratis Geschenke zu erhalten........................(oder Abmelden).... Anmelden=A0=A0=A0=A0= Abmelden =A0Hello- finally earn money by Twitterthen immediately feels wrong with= earning if a Twitter account should be available. no-one should account = be available simply then everything free of charge make and earn. with bes= t recommendations yours Danielone can more easily money not earning everything be ' free if they have a Twitteraccount. -therefore act fast = simply registering or cancelling at broader interest and desire at free = products briefly, thank youBookingCancelling24 hour lightning supply=A0s= old off according to that actively for 24 hours only restrictedly - http://www.affiliateverkaufen.de/blitzangebot.html 10. ? (A The logo Creator helps to make high-quality logos. According to the motto "Your l= ogo is your business" the user completely forms with this programme eye-catc= her for web pages.) =A0 (Translate texts or even complete web pages for onl= y simply and a few clicks into 31 languages.) only 28. ? or special-offer= price 30. ? for Logocreator v5 and PDF-Converter of 6.0 dt. -or they wo= uld rather, today, still earn money effectively and immediately gain payment= s if possible? with this supply did but no cent amounts what was self claimed for me th= e best at all and is? I have 10-20,- ? immediately payment within less minutes, between 5 and = 20 customers per day (worldwide) at an income per e-mail from approx. 15. ?= at the moment by the telephone the customers no come to me and I earn very well and I = operate no advertising or sell but read them even if their interest is still further existing in the supply 2. Angebot 2.I wish on this at broa= der interests be able to do them himself a successful action waystyping repeated ........................ in to receive further offers and free = presents. (or cancel ) ..... Booking=A0 Cancelling=A0=A0=A0=A0 ------=_NextPart_766_F636_E7973656.97579622-- From owner-freebsd-java@FreeBSD.ORG Fri Oct 16 12:30:09 2009 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 695881065679 for ; Fri, 16 Oct 2009 12:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57CF88FC24 for ; Fri, 16 Oct 2009 12:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9GCU8LW002791 for ; Fri, 16 Oct 2009 12:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9GCU8d0002782; Fri, 16 Oct 2009 12:30:08 GMT (envelope-from gnats) Date: Fri, 16 Oct 2009 12:30:08 GMT Message-Id: <200910161230.n9GCU8d0002782@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Michael Krauss Cc: Subject: Re: ports/139479: java/linux-sun-jdk16 port doesn't work / needs update to jdk1.6 update version 16 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Krauss List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 12:30:09 -0000 The following reply was made to PR ports/139479; it has been noted by GNATS. From: Michael Krauss To: bug-followup@FreeBSD.org, hippodriver@gmx.net Cc: Subject: Re: ports/139479: java/linux-sun-jdk16 port doesn't work / needs update to jdk1.6 update version 16 Date: Fri, 16 Oct 2009 13:51:13 +0200 Found jdk-6u15-linux-i586.bin in Suns Java archive. So I can install the port now. But the error with the missing lib still remains: [mickraus@gandalf ~]\$ java -v /usr/local/linux-sun-jdk1.6.0/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory Kind regards, Michael Krauss