File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes JBoss Unexpected Shutdown Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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.
[Thumb - Jboss Error.JPG]
 Filename Jboss Error.JPG [Disk] Download
 Description
 Filesize 247 Kbytes
 Downloaded:  8 time(s)

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

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
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6720

jay Singh Rana wrote:Hi Paul


That was Peter who replied

[My Blog] [JavaRanch Journal]
Jaikiran Pai
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6720

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: 4875

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?
 
IntelliJ Java IDE
 
subject: JBoss Unexpected Shutdown
 
Threads others viewed
Java Heap dump Size and Resident Memory(RES) Size
java.lang.OutOfMemoryError
Exception in thread "domain1-StderrDrainer" java.lang.OutOfMemoryError: Java heap space
Array Maximum Size?
Hibernate DB2
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture