This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Unexpected Shutdown

 
jay Singh Rana
Greenhorn
Posts: 9
Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
Jboss Error.JPG
[Thumbnail for Jboss Error.JPG]
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
jay Singh Rana
Greenhorn
Posts: 9
Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jay Singh Rana wrote:Hi Paul


That was Peter who replied
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the server.log show any shutdown messages?
 
jay Singh Rana
Greenhorn
Posts: 9
Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jaikiran
No, server.log doesnt shows any error message, nor it shows and indication of shoutdown or Ctr + c.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic