Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

JBoss Application

Posted on 2014-02-19
9
Medium Priority
?
512 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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 750 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 750 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

972 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