Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes jboss server started .  java.net.bind exception ; address is already in use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

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

sheethal Kumar choppari
Greenhorn

Joined: Jun 23, 2012
Posts: 17
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

Joined: May 14, 2008
Posts: 5830
    
    7

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.


JBoss In Action
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

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.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss server started . java.net.bind exception ; address is already in use