• 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

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

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?).
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,,). ,,,,
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic