-
1. Re: port 8080 is already in use
darranl Nov 3, 2003 5:14 AM (in response to surajmundada)Try executing netstat -an to see if something else if listening on port 8080.
-
2. Re: port 8080 is already in use
surajmundada Nov 3, 2003 9:15 AM (in response to surajmundada)thanks for the reply...
here is what I got after executing netstat -an :
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:1041 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1066 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1103 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1599 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1963 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1972 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2584 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2591 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2974 0.0.0.0:0 LISTENING
TCP 0.0.0.0:4060 0.0.0.0:0 LISTENING
TCP 0.0.0.0:12345 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1103 127.0.0.1:19999 ESTABLISHED
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
TCP 127.0.0.1:19999 0.0.0.0:0 LISTENING -
3. Re: port 8080 is already in use
raja05 Nov 3, 2003 2:58 PM (in response to surajmundada)TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
Do you have another instance of Tomcat(or something) running on 8080?
-Raj -
4. Re: port 8080 is already in use
vashistvishal Nov 3, 2003 6:58 PM (in response to surajmundada)use netstat -alnp
It will also tell u the aplication name if it is using that port. -
5. Re: port 8080 is already in use
surajmundada Nov 4, 2003 12:10 AM (in response to surajmundada)I have Tomcat 4.1 installed but it runs on 9080 port.
I checked this from /bin/server.xml.
Can I force port 8080 to listen to Jboss server by modifying any conf file or something like that ?
thanks
suraj -
6. Re: port 8080 is already in use
vashistvishal Nov 4, 2003 2:37 AM (in response to surajmundada)This is already discuued in the forums... (Use search :-) )
Anyway.
Jboss 3.2x comes with jetty as it's web container rather then tomcat.
It listens on port 8080.
If u want to change the port no, then go to
jboss-3.2.1/server/all/deploy/jbossweb-jetty.sar/META-INF
Under META-INF therw will be jboss-service.xml.
You can change the port no from 8080 to others, but if u go less then 1024 then mke sure u start it as a root (system admin).
I hope thi hlps. -
7. Re: port 8080 is already in use
surajmundada Nov 5, 2003 12:41 AM (in response to surajmundada)hi
thanks for your patient help.
i tried netstat -alnp but it doesn't show any information about which one is using port 8080.
it gives general information about what netstat does and various options available with it.
C:\>netstat -alnp
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-p proto Shows connections for the protocol specified by proto; proto
may be TCP or UDP. If used with the -s option to display
per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for TCP, UDP and IP; the -p option may be used to specify
a subset of the default.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
my problem isn't solved yet.
as i said earlier, my another instance of tomcat 4.1 uses port 9080. I verified this by running the tomcat and executing netstat -an.
waiting for some more help
thanks
suraj -
8. Re: port 8080 is already in use
darranl Nov 5, 2003 5:32 AM (in response to surajmundada)netstat -alnp is not suitable for use on Windows
When you executed netstat -an it showed that there was something else already listening on port 8080.
Can you double check if you have got anything else installed that might be listening on that port. -
9. Re: port 8080 is already in use
jonlee Nov 5, 2003 11:55 PM (in response to surajmundada)If this is the running application then yes, changing this to a different port will stop the port clash. However, it would probably be better not to be running this while running JBoss - it will save on CPU and memory resources.
-
10. Re: port 8080 is already in use
surajmundada Nov 6, 2003 12:06 AM (in response to surajmundada)Hi all
the problem is solved !
I just tried uninstalling Accelerator Plus and it worked.
JBoss is running fine now. I also checked it by deploying my EAR file and it is deployed and giving results without any problem.
thanks to all for this valuable discussion.
looking for same cooperation in future also
suraj