• 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

Cannot run Apache James

 
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic