java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener
1,830 views
Skip to first unread message
Michael Powell
unread,
Dec 16, 2011, 8:42:00 PM12/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
I am attempting to repro at home and now I am receiving the following error:
Any solutions to this issue?
java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener at winstone.Launcher.spawnListener(Launcher.java:250)
at winstone.Launcher.<init>(Launcher.java:203) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.io.IOException: Failed to listen on port 8009
at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:92) at winstone.Launcher.spawnListener(Launcher.java:241) ... 8 more Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source) at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:87) ... 9 more etc, etc, etc...
Googling the web for answers, seems there are a lot of problems with this and not many clear answers.
For what it's worth, I am running against Java version:
java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
Brian J
unread,
Dec 16, 2011, 9:03:52 PM12/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Something is already using the TCP port 8009. Can you make sure there's not something else running and using that port?
Michael Powell
unread,
Dec 16, 2011, 9:18:22 PM12/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Well, I get something like this:
On XP: netstat -a | grep 8009
TCP <computer/>:8009 <computer/>:0 LISTENING
And huh? My computer is listening to itself at port 0? I don't know how this could be.
Neither netstat -b or netstat -n turn up anything.
Michael Powell
unread,
Dec 16, 2011, 9:22:45 PM12/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
A little more digging netstat -a -o and I get a PID out of it. I look at my procmon.exe and I've got Jetbrains running through its tomcat server! AH! I don't need that running...
Thanks, bro...
Michael Powell
unread,
Dec 16, 2011, 9:26:27 PM12/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Now we're talking... Up and running. Got YouTrack out of the way and it's running like a champ.