Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox OSGI Crash(Application suddenly stops running)
Equinox OSGI Crash [message #761495] Tue, 06 December 2011 14:51 Go to next message
Ercan CANLIER is currently offline Ercan CANLIERFriend
Messages: 17
Registered: July 2009
Junior Member
Hi,
Our equinox osgi based application crashes rarely without any logs or i havent found those files yet. I tried to set -XX:ErrorFile=/tmp/hs_err_pid%p.log or with static file name but it didnt work for me. Before crash i also analyzed gc logs and there is no conclusion which affects crashes because of full gc. How can i get crash logs if equinoxs stops running? Maybe there are already files which i dont know.
Regards
Re: Equinox OSGI Crash [message #761842 is a reply to message #761495] Wed, 07 December 2011 06:47 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 2011-12-06 15:51, Ercan CANLIER wrote:
> Hi,
> Our equinox osgi based application crashes rarely without any logs or i
> havent found those files yet. I tried to set
> -XX:ErrorFile=/tmp/hs_err_pid%p.log or with static file name but it
> didnt work for me. Before crash i also analyzed gc logs and there is no
> conclusion which affects crashes because of full gc. How can i get crash
> logs if equinoxs stops running? Maybe there are already files which i
> dont know.

You might want to test, whether setting

-XX:+UseOSErrorReporting

as additional VM parameter gives you a better diagnostic.

HTH & Greetings from Bremen,

Daniel Krügler
Re: Equinox OSGI Crash [message #761948 is a reply to message #761842] Wed, 07 December 2011 10:34 Go to previous messageGo to next message
Ercan CANLIER is currently offline Ercan CANLIERFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Daniel,

I gave -XX:+UseOSErrorReporting -XX:ErrorFile=./hs_err.log to the jvm.

The application runs on RHEL 5. I would like to ask, if i kill immediately java, it must dump log file right?

I havent seen any log yet.

Can you help?
Re: Equinox OSGI Crash [message #763097 is a reply to message #761948] Fri, 09 December 2011 06:55 Go to previous message
Ercan CANLIER is currently offline Ercan CANLIERFriend
Messages: 17
Registered: July 2009
Junior Member
And some more information about java version.

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

The application is running on RHEL 5 and java 1.6.

Sometimes i couldnt even connect to the application via jconsole and dont see any of java commands like jps, jstat, jstack.

Could be a problem communication between OS and JVM?

We are going to upgrade both of them.

"killall -9 java" doesnt force jvm to log any log file?

Below are the vm options:

-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:/var/log/application/201112090500GC.log -XX:+UseOSErrorReporting -XX:ErrorFile=/var/log/application/hs_err_pid201112090500.log -XX:PermSize=256M -XX:MaxPermSize=512M -Xms:6G -Xmx:6G -XX:-HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/application/201112090500heapOOM.dump

Thanks in advance
Previous Topic:how to get osgi.framework.extensions property
Next Topic:provisioning question
Goto Forum:
  


Current Time: Thu Apr 25 22:51:29 GMT 2024

Powered by FUDForum. Page generated in 0.03273 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top