• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 520
  • Last Modified:

JBoss Application

Hello, we are having problems with jboss application when installed as a service on Windows 2008. The service will not restart. Any ideas?
0
exhuser
Asked:
exhuser
2 Solutions
 
Amitkumar PSr. ConsultantCommented:
Could you please post the logs here ?

Another thing you can do here just check whether the JAVA_HOME is set properly.

Try to run jboss manually by executing SERVICEHOME/bin/run.bat and see what error it reports.
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
How, exactly do you restart it?

What happens when it fails?  Do you get any error messages?  Jboss redirects startup output to the file "run.log".  Post contents of that file.

Is it properly configured to run as a service?

http://www.jboss.org/jbossweb/install/service.html

Where is the file system is jboss installed?  Does the profile it runs under have proper access to the dta, log, tmp, and work folders?

- Gary Patterson
0
 
exhuserAuthor Commented:
Let me correct myself: the service will not restart either through Control Panel or command line. We have to manually kill the process..
0
KuppingerCole Reviews AlgoSec in Executive Report

Leading analyst firm, KuppingerCole reviews AlgoSec's Security Policy Management Solution, and the security challenges faced by companies today in their Executive View report.

 
Gary PattersonVP Technology / Senior Consultant Commented:
So the problem really is not with "restarting" the service so much as it is with "ending" the service.  

Once you manually kill the process, does it start up OK?

So what happens when you do this?

C:\> net stop JBossWebServer

Do you get a message?  What is it?

When running in service mode the console output is redirected to the file shutdown.log. You can inspect the file for any errors during service shutdown.

Please post the shutdown log - it might be useful.
0
 
exhuserAuthor Commented:
It starts ok after I manually kill it

the net stop error is" The JBossEAP6 service could not be stopped.

And there is no shutdown.log file
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Have you altered the default shutdown.bat?  It is set up to generate a shutdown.log file.

You can try this:  

Edit shutdown.bat and comment out "echo off".

Open command prompt, and run these two commands:

cd %jboss_home%\bin
shutdown -S

Did the server shutdown?  Post the output.
0
 
exhuserAuthor Commented:
When stopping the service, Error 1053: The service did not respond to the start or control request in a timely fashin."
0
 
exhuserAuthor Commented:
We don't have shutdown.bat, prabably because we are using a new version...
0
 
ValeriCommented:
do you have in your application any Threads started?
probably when you are trying to shutdown jboss this threads are not stopped properly, that's way jboss doesn't stop.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Firewall Management 201 with Professor Wool

In this whiteboard video, Professor Wool highlights the challenges, benefits and trade-offs of utilizing zero-touch automation for security policy change management. Watch and Learn!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now