Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • 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
  • Quote
  • 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
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that you are editing the correct configuration item? It looks like you're setting the configuration in the wrong place, if JBoss doesn't pick up the change.
 
sheethal Kumar choppari
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i modified run.bat under bin. and added jndi data source in mssql-ds.xml ( docs\examples\jca). coming to version , am trying to start jboss 4.0.1 on windows7 ( is it compatible?).
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What service and port is it complaining about?

WP
 
sheethal Kumar choppari
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the port which is assigned to jboss, on the same port java.exe is running.( i feel ,java.exe is running nothing but jboss is running) , and all the ports which are being used by jboss are also becoming active , like http port, rmi port,
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like JBoss is already running. Bear in mind java.exe will be used to run JBoss so if it is already using this port, the server is probably already up. Can you access the URL http://localhost:8080?
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like JBoss is already running. Bear in mind java.exe will be used to run JBoss so if it is already using this port, the server is probably already up. Can you access the URL http://localhost:8080?
 
sheethal Kumar choppari
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes. after looking that server started msg, i tried localhost:8080/jmx-console& localhost:8080, there is no response. there are other ports which are associated with jboss are also becoming active ( like rmi , ajp,,). ,,,,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic