• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to start JBoss 5

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
im unable to start my JBoss server. It says Server Port already in use - 8080 HTTP.
I did netstat | find "8080" and it gives :
Server port In Use 8080-Http
C:\>netstat | find "8080"
TCP 01HW126086:4500 localhost:8080 TIME_WAIT
TCP 01HW126086:4502 localhost:8080 TIME_WAIT
TCP 01HW126086:4505 localhost:8080 TIME_WAIT
TCP 01HW126086:4507 localhost:8080 TIME_WAIT
TCP 01HW126086:4511 localhost:8080 TIME_WAIT

and when i do netstat | find "8080" - b:

C:\>netstat | find "8080"
TCP 01HW126086:4582 localhost:8080 ESTABLISHED
TCP 01HW126086:4583 localhost:8080 ESTABLISHED
TCP 01HW126086:4591 localhost:8080 TIME_WAIT
TCP 01HW126086:4619 localhost:8080 TIME_WAIT
TCP 01HW126086:4622 localhost:8080 TIME_WAIT
TCP 01HW126086:4624 localhost:8080 TIME_WAIT
TCP 01HW126086:4628 localhost:8080 TIME_WAIT
TCP 01HW126086:8080 localhost:4582 ESTABLISHED
TCP 01HW126086:8080 localhost:4583 ESTABLISHED

i even checked http://localhost:8080/ and it opens Appache Tomcat web page.
Is Tomcat using this port. Im not actually runnning Tomcat. Im using eclipse through which im trying to start JBoss.

Please help me find the solution.
Thanks in advance
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you saying that you're trying to start JBoss via the run.bat script from the JBOSS_HOME/bin directory?

If you've started the application server from within Eclipse, I'm pretty sure it will be a separate instance from the JBoss you have installed and configured on the machine. In Eclipse you should have a Server tab which includes a Stop button (a red square) that will shut down the server instance. If you can't find this, just shutdown Eclipse. Are you able to start JBoss now?

If after shutting down the Eclipse JBoss server instance you still have problems, there's still another server running somewhere.

Let us know what you find.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might not be running tomcat, but I have noticed that several apps package Tomcat and run it as a service. You might have to locate which app did this and either disable the service or change the port Tomcat uses (or change the port JBoss AS uses).

One way to locate the running Tomcat is to use the Task Manager on Vista or Windows 7. On the Processes tab, add the column "Command Line" and that column should tell you where Tomcat is coming from.

Another way is to use Process Explorer from sysinternals. It will also tell you the command line used to start Tomcat.

In both of the above, you probably need to look for the "java" process.
 
Praveen Orvakanti
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Peter.
Process Explorer solved my problem. I located the service that was running on 8080 port. Now i am able to start JBoss server...
Thanks to mark as well for pitchin in
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic