NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Remote Profiling Problem - NetBeans7.0, JBoss6.0.0, OpenJDK1.6.0

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
tkjhsh



Joined: 11 Jul 2011
Posts: 2

PostPosted: Mon Jul 11, 2011 1:52 pm    Post subject: Remote Profiling Problem - NetBeans7.0, JBoss6.0.0, OpenJDK1.6.0 Reply with quote

When I tried to profile(cpu) my application on remote JBoss6 server,
the server process crashed.
JBoss6 server runs on OpenJDK6.0_17-b17,
and I use NetBeans 7.0.

With SunJDK6.0(HotSpot), this error does not occur.
But I need to profile my app with OpenJDK.

Anyone knows a solution (or reason) of this problem?

Quote:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002ac597170ed0, pid=20282, tid=1163663680
#
# JRE version: 6.0_17-b17
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.7.10
# Distribution: Custom build (Thu Apr 7 12:51:17 EDT 2011)
# Problematic frame:
# V [libjvm.so+0x661ed0]
#
# An error report file with more information is saved as:
# /home/vermgr/hs_err_pid20282.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
/opt/JBOSS/jboss-6.0.0.Final/bin/run_netbeans.sh: line 250: 20282 アボートしました"/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java" -server -Xms256m -Xmx768m -XX:MaxPermSize=384m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -agentpath:/work_area/profiler/netbeans/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so=/work_area/profiler/netbeans/lib,5140 -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Xshare:off -Djava.net.preferIPv4Stack=true -Dprogram.name=run_netbeans.sh -Djava.library.path=/opt/JBOSS/jboss-6.0.0.Final/bin/native/lib64 -Djava.endorsed.dirs="/opt/JBOSS/jboss-6.0.0.Final/lib/endorsed" -classpath "/opt/JBOSS/jboss-6.0.0.Final/bin/run.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar" org.jboss.Main -c TestServer -b 0.0.0.0


I added "-Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl" to JAVA_OPTS
because the server cannot start up without this option.
http://community.jboss.org/wiki/JProfilerAgainstJBossAS6xFailsToBoot


Thanks,



hs_err_pid8913.txt
 Description:
JVM Error Report

Download
 Filename:  hs_err_pid8913.txt
 Filesize:  104.74 KB
 Downloaded:  673 Time(s)

Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Tue Jul 12, 2011 5:27 pm    Post subject: Re: Remote Profiling Problem - NetBeans7.0, JBoss6.0.0, OpenJDK1.6.0 Reply with quote

On 11 Jul 2011, at 15:52, tkjhsh wrote:

Quote:
When I tried to profile(cpu) my application on remote JBoss6 server,
the server process crashed.
JBoss6 server runs on OpenJDK6.0_17-b17,
and I use NetBeans 7.0.

With SunJDK6.0(HotSpot), this error does not occur.
But I need to profile my app with OpenJDK.

Anyone knows a solution (or reason) of this problem?

This could be a bug in JVM. It seems to be that you are using old IcedTea6 build 1.7.10. I would try it with the latest version IcedTea6 version 1.10.1

Quote:
Quote:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002ac597170ed0, pid=20282, tid=1163663680
#
# JRE version: 6.0_17-b17
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.7.10
# Distribution: Custom build (Thu Apr 7 12:51:17 EDT 2011)
# Problematic frame:
# V [libjvm.so+0x661ed0]
#
# An error report file with more information is saved as:
# /home/vermgr/hs_err_pid20282.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
/opt/JBOSS/jboss-6.0.0.Final/bin/run_netbeans.sh: line 250: 20282 アボートしました"/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java" -server -Xms256m -Xmx768m -XX:MaxPermSize=384m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -agentpath:/work_area/profiler/netbeans/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so=/work_area/profiler/netbeans/lib,5140 -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Xshare:off -Djava.net.preferIPv4Stack=true -Dprogram.name=run_netbeans.sh -Djava.library.path=/opt/JBOSS/jboss-6.0.0.Final/bin/native/lib64 -Djava.endorsed.dirs="/opt/JBOSS/jboss-6.0.0.Final/lib/endorsed" -classpath "/opt/JBOSS/jboss-6.0.0.Final/bin/run.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar" org.jboss.Main -c TestServer -b 0.0.0.0


Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.java.net
Software Developer
Oracle, Praha Czech Republic
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Tue Jul 12, 2011 5:37 pm    Post subject: Re: Remote Profiling Problem - NetBeans7.0, JBoss6.0.0, OpenJDK1.6.0 Reply with quote

On 12 Jul 2011, at 17:07, Tomas Hurka wrote:

Quote:

On 11 Jul 2011, at 15:52, tkjhsh wrote:

Quote:
When I tried to profile(cpu) my application on remote JBoss6 server,
the server process crashed.
JBoss6 server runs on OpenJDK6.0_17-b17,
and I use NetBeans 7.0.

With SunJDK6.0(HotSpot), this error does not occur.
But I need to profile my app with OpenJDK.

Anyone knows a solution (or reason) of this problem?

This could be a bug in JVM. It seems to be that you are using old IcedTea6 build 1.7.10. I would try it with the latest version IcedTea6 version 1.10.1
It looks like the crash is caused by bug in JVM - reported as 6839599
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6839599)

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.java.net
Software Developer
Oracle, Praha Czech Republic
Back to top
tkjhsh



Joined: 11 Jul 2011
Posts: 2

PostPosted: Wed Jul 13, 2011 12:52 pm    Post subject: Reply with quote

Thanks for your reply.

I tried with OpenJDK1.6.0_b20 (IcedTea6 1.9.Cool,
and I confirmed that a error does not occur.

But I think that this error was not caused by (bug_id=6839599) but another bug.
(Error report said "SIGSEGV".)
I cannot found which change fixed this problem...

Anyway, IcedTea's bug is the cause and the latest version is fixed, I understand.


Thanks,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo