Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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?
 
Pak Hong Man
Greenhorn
Posts: 6
Debian Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wildfly process cannot be found at windows Task Manager (GUI). You can use command @ windows to find it out and kill it.

wildfly started @eclipse will not be shown @ windows task manager GUI, but @ command prompt.,


try to use the following command to find out whether your process listening to 8080 is running.

C:\>netstat -a -n -o | findstr :8080
  TCP    10.54.34.37:53213      10.106.3.40:8080       ESTABLISHED     7424
  TCP    10.54.34.37:54531      10.106.3.40:8080       ESTABLISHED     7424
  TCP    10.54.34.37:54536      10.106.3.40:8080       CLOSE_WAIT      7424
  TCP    10.54.34.37:54704      10.106.3.40:8080       CLOSE_WAIT      4944
  TCP    10.54.34.37:55634      10.106.3.40:8080       ESTABLISHED     700
  TCP    10.54.34.37:58204      10.106.3.40:8080       TIME_WAIT       0
  TCP    10.54.34.37:58582      10.106.3.40:8080       CLOSE_WAIT      1460
  TCP    10.54.34.37:58583      10.106.3.40:8080       CLOSE_WAIT      1460
  TCP    10.54.34.37:58584      10.106.3.40:8080       CLOSE_WAIT      1460
  TCP    10.54.34.37:60626      10.106.3.40:8080       CLOSE_WAIT      1460
  TCP    10.54.34.37:60918      10.106.3.40:8080       CLOSE_WAIT      7424
  TCP    10.54.34.37:61025      10.106.3.40:8080       CLOSE_WAIT      5432
  TCP    10.54.34.37:61039      10.106.3.40:8080       ESTABLISHED     4944
  TCP    10.54.34.37:62635      10.106.3.40:8080       ESTABLISHED     7424
  TCP    10.54.34.37:62637      10.106.3.40:8080       TIME_WAIT       0
  TCP    10.54.34.37:62639      10.106.3.40:8080       TIME_WAIT       0
  TCP    10.54.34.37:62937      10.106.3.40:8080       ESTABLISHED     1364
  TCP    127.0.0.1:8080         0.0.0.0:0              LISTENING       2836



kill it by the command.

C:\>taskkill.exe /F /pid 2836

Man Pak Hong, Dave

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic