| Author |
problem in running Jboss and tomcat server in Eclipse SDK
|
Arif Ibrahim
Greenhorn
Joined: Aug 01, 2008
Posts: 11
|
|
|
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
Joined: Aug 01, 2008
Posts: 11
|
|
|
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.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8142
|
|
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.
|
[My Blog] [JavaRanch Journal]
|
 |
Arif Ibrahim
Greenhorn
Joined: Aug 01, 2008
Posts: 11
|
|
|
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
|
 |
Gamini Sirisena
Ranch Hand
Joined: Aug 05, 2008
Posts: 347
|
|
|
Did you try googling?
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
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).
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
Arif Ibrahim
Greenhorn
Joined: Aug 01, 2008
Posts: 11
|
|
@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
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
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)
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
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
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Arif Ibrahim
Greenhorn
Joined: Aug 01, 2008
Posts: 11
|
|
@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
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
Looks OK, but how are you connecting to the server? * localhost? * 127.0.0.1? * static IP address? * hostname?
|
 |
Arif Ibrahim
Greenhorn
Joined: Aug 01, 2008
Posts: 11
|
|
|
Address is 127.0.0.1
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
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
Joined: Aug 01, 2008
Posts: 11
|
|
Thankz Martinjn but it is still not working can somebody has any idea or suggestion, please reply....
|
 |
vijaya saradhi
Ranch Hand
Joined: Dec 31, 2007
Posts: 32
|
|
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
|
 |
 |
|
|
subject: problem in running Jboss and tomcat server in Eclipse SDK
|
|
|