aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss Unexpected Shutdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Unexpected Shutdown" Watch "JBoss Unexpected Shutdown" New topic
Author

JBoss Unexpected Shutdown

jay Singh Rana
Greenhorn

Joined: Nov 29, 2011
Posts: 3


Hi I am using Jboss4.0.1 and its getting shoutdown in an un expected way. Its not writing any exception to the log file as well. What i have noticed that the size of the Java process Virtual memory is 1440MB which looks bigger than usual.
The MaX Heap size is 1270MB. But it doesnt looks like a problem of Memory Leak as i still have 1200Mb free on Heap.

Can anyone tell me the reason behind this.


[Thumbnail for Jboss Error.JPG]

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Definitely not a heap space issue. Because your memory usage is a small fraction of the vm size, and because your heap is less than 10% used, I would assume you have max heap == min heap.

Anyway, is there any indication in the Windows logs as to what might have happened? Is there a shutdown notification message in the JBoss server.log?

Are you running as a service? If so, have you set -Xrs? See this: http://community.jboss.org/wiki/RunJBossAsAServiceOnWindows


JBoss In Action
jay Singh Rana
Greenhorn

Joined: Nov 29, 2011
Posts: 3

Hi Paul
Thanks for the Reply.
I have no idea where Windows logs are stored. But Jboss Server Log is not showing any indication of shutdown. Neither it shown any exceptions. I am running Jboss through run.bat and not as service. But i have already tried -Xrs.
But -Xrs didt helped. I am trying now to run it as a service. Lets see if it helps.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

jay Singh Rana wrote:Hi Paul


That was Peter who replied

[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Does the server.log show any shutdown messages?
jay Singh Rana
Greenhorn

Joined: Nov 29, 2011
Posts: 3

Hi Jaikiran
No, server.log doesnt shows any error message, nor it shows and indication of shoutdown or Ctr + c.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Perhaps the JVM is crashing. There might be a dump in the jboss_home/bin directory. Which version of the JVM are you using? Could you try another version? For AS 4.0.1 (which i really old) I don't know if you need a 1.4.2 JVM or if a 1.5 version will work.

Also, whichversion of Windows?
 
Don't get me started about those stupid light bulbs.
 
subject: JBoss Unexpected Shutdown