Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

jboss server started . java.net.bind exception ; address is already in use

 
sheethal Kumar choppari
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
i am trying to start my local jboss server,before that i modified run.bat file suitable to my environment and also configured jndi data source to local server( here my datasource is remote MSSQL Server database). i see the that jboss server is started , above that it is also showing "java.net.bind exception ;port is already in use " . getting same response even after changing port number to other . then i figured out that java.exe is running on same port. i colsed that(java.exe) application again started server , but no change in response

here what is happening is , when we are trying to start server with one port , whatever the port number that we gave to jboss , the same port is being used by java.exe(java.exe is starting ) while starting server.so jboss can not use that port anymore.(but i can see 'jboss started') can anyone help me to make it run

thanks in advance
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please post the full error message so that we know which port is in use.

Also, see if this helps: https://community.jboss.org/wiki/DebugBindException

By the way, the java.exe process is probably the one running JBoss AS.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not create multiple threads for the same discussion. I'm closing this one since the other thread http://www.coderanch.com/t/584924/JBoss/jboss-server-started-java-net has more participants involved. You should take a look at the wiki article Peter pointed to, for debugging issues like these.
 
    Bookmark Topic Watch Topic
  • New Topic