I'm using j2re1.4.2_05 and I stop and start it as a service. One thing I tried to test the port conflict theory was switching james to port 2225 and switching CFMX to use port 2225, but I had the exact same connection problems as when it was running on port 25.

To alleviate the problem I currently set CFMX to spool all mail instead of trying to send instantly, this works fine for upwards of 12k test addresses. But when I have it send instantly, it causes a sustained load on the James server which eventually causes something to refuse connections.

-J

Serge Knystautas wrote:

Jay Kraly wrote:

If I shutdown James so there is nothing at all running on port 25, CFMX will throw the same error, complete with the "java.net.BindException: Address already in use: connect" message. So I'm assuming its just a generic, "can't get a connection", error. I could catch the error and retry, but for now I'm letting it throw the error to debug the situation.


To me this sounds like your old James instance (JVM) is failing to shutdown when you start the next (or you just have it started twice, like once as a service and once as a command line).

What JVM are you using, and how are you stopping/starting James?




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to