|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Java support for jstackHello,
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@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackJstack 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 <v.balada@...> 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@... mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." _______________________________________________ freebsd-java@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackOn 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 > <v.balada@...> 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@... mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." > > _______________________________________________ > freebsd-java@... mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." -- Greg Lewis Email : glewis@... Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@... _______________________________________________ freebsd-java@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackHello 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 > <v.balada@...> 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@... mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." > _______________________________________________ freebsd-java@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackHello 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 > > <v.balada@...> 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@... mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." > > > > _______________________________________________ > > freebsd-java@... mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." > _______________________________________________ freebsd-java@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackOn Tue, 13 Oct 2009 13:45:49 +0200, Victor Balada Diaz
<v.balada@...> 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 >> <v.balada@...> 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@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackYes. 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 <v.balada@... > > 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 >>> <v.balada@...> 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@... mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java- > unsubscribe@..." > ------------------------------------------------------------ Brian Gardner | President + CEO GETSNAPPY.COM 3591 Sacramento Dr., Suite 118 San Luis Obispo CA, 93401 805.706.0420 | 805.762.4326 fax brian@... http://www.getsnappy.com Connect with me Facebook | Twitter | LinkedIn ------------------------------------------------------------ _______________________________________________ freebsd-java@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
|
|
Re: Java support for jstackOn 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! _______________________________________________ freebsd-java@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |