Make sure to disable other mail servers such as the default sendmail so port 25 is not in use.
Or better yet use a native mail application such as Postfix (SMTP) + Dovecot (POP3). Java takes about 35 meg of memory. If your email system is the only thing on the server utilizing the Java VM then it is not very memory efficient. http://www.Postfix.org/ http://www.Dovecot.org/ http://SimonSlick.com/VEAF/ ----- Original Message ----- From: "paul.degt" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 28, 2008 7:19 PM Subject: Running James as service under non-root user under Linux I tried to use the short how-to which I found here for version 2.2, (using commons-daemon), but I keep getting the exception below (Centos 5.1) starting James via "james-server.sh". Any help would be much appreciated. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:156) Caused by: java.lang.IllegalAccessError: tried to access method org.apache.avalon.phoenix.launcher.Main.startup([Ljava/lang/String;Ljava/util/Map;Z)I from class org.apache.avalon.phoenix.launcher.CommonsDaemonLauncher at org.apache.avalon.phoenix.launcher.CommonsDaemonLauncher.init(CommonsDaemonLauncher.java:55) ... 5 more 28/04/2008 21:42:27 19631 jsvc.exec error: Cannot load daemon 28/04/2008 21:42:27 19630 jsvc.exec error: Service exit with a return value of 3 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
