Solved

JBoss Application

Posted on 2014-02-19
9
505 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

752 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