Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to stop jboss server

 
rama rajesh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wich OS do you use?
Check if any jboss server is being started at boot of your OS.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
rama rajesh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For 6.0.0.M3 there have been changes to the value passed to shutdown.sh. See this discussion for details.
 
Gaurav Sainii
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gaurav SuperCoder wrote:..


"Gaurav SuperCoder",

Please check your private messages for a message from JavaRanch.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic