• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot run Apache James

 
Alejandro Barrero
Ranch Hand
Posts: 355
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed james-2.3.2, but when I run bin\run.bat I get the error:
ERROR 2011-02-05 16:18:54.896 [Phoenix.] (): There was an error running phase "startup" for Block named "pop3server". (Reason: Component named "pop3server" failed to pass through the Starting stage. (Reason: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind).).
Does this mean that I have to have a Pop3 server?
I am trying to write a program to send email from computers in small companies without their own email server. Is there anything that I can use? Some time ago I tried a program called aspirin, but that didn't work.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James is a POP3 server, so no, you don't need another one. The error message is pretty vague, but it's saying that the POP3 part of James could not start because it couldn't open the socket it needs to listen on. Two possible reasons are (1) you already have some other POP3 server running on your machine, or some other service using that same TCP port (110); or (2) you've got something like Windows Firewall configured such that it's blocking the attempt to listen on that port.
 
Alejandro Barrero
Ranch Hand
Posts: 355
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ernest. This is my home laptop and I don't have a Pop3 server. Also I turned of the fire wall and still got the same error. Searching the internet for "Reason: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind" I got the same information that that other process is using the port. I ran "netstat -a" and I got a lot of lines but I didn't see port 110. The only conf file is wrapper.conf and it only shows wrapper.port=15012. Is there a way to set a different port?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic