Solved

JBoss Application

Posted on 2014-02-19
9
504 Views
Last Modified: 2014-02-25
Hello, we are having problems with jboss application when installed as a service on Windows 2008. The service will not restart. Any ideas?
0
Comment
Question by:exhuser
9 Comments
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 39871109
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
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39871215
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
 

Author Comment

by:exhuser
ID: 39871461
Let me correct myself: the service will not restart either through Control Panel or command line. We have to manually kill the process..
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39871532
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
 

Author Comment

by:exhuser
ID: 39871605
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
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 250 total points
ID: 39871748
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
 

Author Comment

by:exhuser
ID: 39871751
When stopping the service, Error 1053: The service did not respond to the start or control request in a timely fashin."
0
 

Author Comment

by:exhuser
ID: 39871763
We don't have shutdown.bat, prabably because we are using a new version...
0
 
LVL 16

Assisted Solution

by:Valeri
Valeri earned 250 total points
ID: 39873063
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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JavaFX TableView not displaying correctly 3 60
String array comparison 4 38
Crystal Reports Licensing Questions 4 37
running on tomcat not jboss eap 7.0 3 19
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question