Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 24204
44
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?
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic