• 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

problem in running Jboss and tomcat server in Eclipse SDK

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Eclipse SDK 3.3.when I am trying to run the server(JBOSS or Tomcat) in the Eclipse, I am getting error "Server port in use".I changed to different port and also tried but still getting same error.I even checked the port status and it show that port is not use. If I run the server by running bin/run file..the server run in the same port without any problem......can you people tell me what the problem is???
 
Arif Ibrahim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
somebody, please reply for above problem. Any suggestion will be great help. since server not able run in IDE,I am not able to work on servlet and jsp.so please help me.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Arif Ibrahim:
I am using Eclipse SDK 3.3.when I am trying to run the server(JBOSS or Tomcat) in the Eclipse, I am getting error "Server port in use".
...
If I run the server by running bin/run file..the server run in the same port without any problem



Since this issue looks specific to the IDE, i will move this to our IDEs forum where you might get some help.
 
Arif Ibrahim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not getting solution or suggestion for above problem.Please if somebody have any solution or suggestion or have come across such problem...then tell me
 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you try googling?
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't say I've seen that particular problem before, the only thing I can think of is that you running multiple servers (eclipse has multiple consoles so there might be more running than you think).
 
Arif Ibrahim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Gamini
I tried but didnt get any useful answer.


@Martijn
I checked port status by netstat command and found that port which i m using to run server is not in use. anyway how to check multiple console of Eclipse. Is Eclipse have any log where i can see the complete error

Thanks for replying
 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll see a small arrow dropdown on the console tab where you can list the currently open consoles. Eclipse does have a log in its install directory (IIRC). I'm not sure what else you can try... Maybe try posting your connection details here, we might spot something (for example usage of localhost or 127.0.0.1 can sometimes be problematic)
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Martijn Verburg:
I'm not sure what else you can try...



1)Shut down eclipse
2)Open windows task manager and confirm there are no other java or javaw processes still running
3)Also confirm eclipse is fully shut down. (There should be no eclipse.exe in the list)
4)Bring up eclipse and tomcat/jboss
 
Arif Ibrahim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Maneesh
I have already tried but no use.

@Martijin
This is are my connection details
C:\Documents and Settings\Administrator>netstat -an

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6646 0.0.0.0:0 LISTENING
TCP 0.0.0.0:31038 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1030 0.0.0.0:0 LISTENING
TCP 192.168.1.2:139 0.0.0.0:0 LISTENING
TCP 192.168.1.2:1094 72.14.235.189:80 ESTABLISHED
TCP 192.168.1.2:1177 209.85.153.83:80 ESTABLISHED
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1025 *:*
UDP 0.0.0.0:1044 *:*
UDP 0.0.0.0:4500 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1042 *:*
UDP 127.0.0.1:1114 *:*
UDP 127.0.0.1:1900 *:*
UDP 192.168.1.2:123 *:*
UDP 192.168.1.2:137 *:*
UDP 192.168.1.2:138 *:*
UDP 192.168.1.2:1900 *:*
UDP 192.168.1.2:6646 *:*

I am using server port as 8080 and JNDI port as 1099.
Is there any problem in connections???
 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks OK, but how are you connecting to the server?

* localhost?
* 127.0.0.1?
* static IP address?
* hostname?
 
Arif Ibrahim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Address is 127.0.0.1
 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm, try using localhost or your actual IP address (assuming you have a static UP address). If that doesn't work then hopefully someone else has a suggestion!
 
Arif Ibrahim
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thankz Martinjn but it is still not working
can somebody has any idea or suggestion, please reply....
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
even I too got that kind of error.

I was trying to use tomcat in elipse but was n't successful.
seems the problem lies in elipse tool itself.since I was able to start and shutdown the server from command prompt
 
reply
    Bookmark Topic Watch Topic
  • New Topic