File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes how to stop jboss server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to stop jboss server" Watch "how to stop jboss server" New topic
Author

how to stop jboss server

rama rajesh
Greenhorn

Joined: Jun 22, 2010
Posts: 28
i am unable to stop jboss server.
Even after running "shutdown.bat", i am getting jboss homepage for the url http://localhost:8080
i have tomcat server configured in eclipse.i am getting the message like 8080 port is already used.

Please somebody help me in this.
Rodrigo Lazoti
Greenhorn

Joined: Mar 13, 2009
Posts: 9
Wich OS do you use?
Check if any jboss server is being started at boot of your OS.


Rodrigo Lazoti.
blog: http://www.rodrigolazoti.com.br
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

How are you staring JBoss AS? I hope you are not starting it in Eclipse. Post the full command line.

How are you running shutdown? Post the full command line?

Regarding the port 8080 conflict, is that when you start Tomcat in Eclipse? Your post was not clear on that. (If JBoss AS is still running, it will have port 8080 open, and that is probably when you are getting this error.)


JBoss In Action
rama rajesh
Greenhorn

Joined: Jun 22, 2010
Posts: 28
C:\jboss-as-distribution-6.0.0.20100429-M3\jboss-6.0.0.20100429-M3\bin
shutdown -S -s localhost:8080
console output:
Exception in thread "main" java.net.MalformedURLException: Service URL must star
t with service:jmx:
at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:143)
at org.jboss.Shutdown.main(Shutdown.java:235)
Press any key to continue . . .

i am getting the above message but jboss is using 8080 and that is running (http://localhost:8080) showing the jboss page.
i did not configure jboss in eclipse. i conifgured only tomcat and while starting tomcat, i am getting the exception.(port 8080 is already in use)

please help me.
rama rajesh
Greenhorn

Joined: Jun 22, 2010
Posts: 28
rama rajesh wrote:C:\jboss-as-distribution-6.0.0.20100429-M3\jboss-6.0.0.20100429-M3\bin
shutdown -S -s localhost:8080
console output:
Exception in thread "main" java.net.MalformedURLException: Service URL must star
t with service:jmx:
at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:143)
at org.jboss.Shutdown.main(Shutdown.java:235)
Press any key to continue . . .

i am getting the above message but jboss is using 8080 and that is running (http://localhost:8080) showing the jboss page.
i did not configure jboss in eclipse. i conifgured only tomcat and while starting tomcat, i am getting the exception.(port 8080 is already in use)
have to stopt jboss services or jboss shutdown? please mention how to stop also.
please somebody help me in this.


Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

For 6.0.0.M3 there have been changes to the value passed to shutdown.sh. See this discussion for details.

[My Blog] [JavaRanch Journal]
Gaurav Sainii
Greenhorn

Joined: May 18, 2009
Posts: 24
Use this following command to stop the server:-

% ./shutdown.sh --host=myremotemachineOrIP -S

Try providing your machine's ip address instead of "localhost".

You can also stop the server by stopping respective java process running in "Processes" of "Task Manager".
rama rajesh
Greenhorn

Joined: Jun 22, 2010
Posts: 28
jboss is installed in my pc. i did not start jboss but while starting tomcat
from eclipse i am getting error message like port8080 is already using.
then chnaged the server.xml file of tomcat with port as 80 .
i started the server and deployed a servlet also .
i developped another servet and while running the servlet i am getting the message like the following
Several ports (80) required by Tomcat v5.5 Server at localhost are already in use. The server may
already be running in another process, or a system process may be using the port.
To start this server you will need to stop the other process or change the port number(s).

1.the point still which i am not clear is where and how jboss is running.
2.where to reset the config values , so that everytime restarting the server does not require the port changes

please somebody help me.










Gaurav SuperCoder wrote:Use this following command to stop the server:-
% ./shutdown.sh --host=myremotemachineOrIP -S
Try providing your machine's ip address instead of "localhost".
You can also stop the server by stopping respective java process running in "Processes" of "Task Manager".
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Gaurav SuperCoder wrote:..


"Gaurav SuperCoder",

Please check your private messages for a message from JavaRanch.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

rama rajesh wrote:
"the point still which i am not clear is where and how jboss is running."

please somebody help me.


Did you read my previous reply?
 
 
subject: how to stop jboss server
 
Similar Threads
Jboss server in eclipse is not starting withing 400 seconds
Problem in Creating WAR file
Tomcat server installation
how to install ejb container ?
How to change jetty binding port number in maven.