• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss terminated unexpectedly

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have JBoss 4.2.2.GA running on a box with Win 2003 Server SP2. The Java version is 1.6.0_07-b06. JBoss is set up to run as a service along with mySQL and Apache HTTP.

When looking at the event viewer for system messages I am seeing quite a few errors with the JBoss service terminating unexpectedly. It automatically restarts the service so it's not causing a significant issue for the users as it restart pretty quick. But I really need to determine what is causing this.

My problem is I don't see ANYTHING on the logs that tells me why it stopped in the first place. After looking at all the logs I don't know where to start trying to determine the cause.

I would appreciate some suggestions as to how to go about determining the cause of the terminations.

Thanks in advance.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What mechanism are you using to run JBossAS as a service (full name and URL, please)?

By "looking at all the logs" do you mean the operating system logs or the JBossAS logs? I doubt that the OS logs would give any clues.

This could be a difficult issue to track down. I know because I have tried to help with similar posts before. The app server will shut down if it receives a SIGQUIT signal or if someone invokes the shutdown operation on the ?? MBean (sorry, to lazy to look up the MBean name right now). Unfortunately, both shutdown mechanisms look about the same in the logs. Something like this:

2008-09-09 10:46:26,461 INFO [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2008-09-09 10:46:26,461 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
2008-09-09 10:46:26,461 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages

If the server log shows no errors that resulted in a shutdown, about all you can do is coordinate the time of when the shutdown process started with other events happening on the system.
 
Glenn Puckett
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have checked all the JBoss logs. Both for my application and the log that JBoss keeps itself. There is nothing. The only reason we know this is happening is because of the messages in the system event log. No other logs, system or otherwise, show any problems. The only thing that is related is that the boot.log in the JBoss log directory has the same creation time stamp as the last failed event in the event log.

It's really weird. In investigating this I found that there are other programs that have known failures like this. IIS is known to have interruptions similar to this that are caused by anti-virus packages. I have the support programmer looking into that as a possible cause here.
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in 'JBOSS_HOME/server/SERVERTYPE/conf/jboss-log4j.xml' you could try change tothen you should be able to see the errors thrown.
[ September 09, 2008: Message edited by: Rene Larsen ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Glenn,

Have you able to find the root cause for this unexpected termination of the Jboss server?

We also have the same issue. We use Jboss 4.2.3 and it runs on an unix environment. The server went down without any logs last week and it happened this week also.

Regards,
Prabhu
reply
    Bookmark Topic Watch Topic
  • New Topic