Running resilient
Version: 39.0.6328 of redhat
3.10.0-1160.11.1.el7.x86_64 #1 SMP Mon Nov 30 13:05:31 EST 2020 x86_64 x86_64 x86_64 GNU/Linux
I configured the smtp server using resutil smtpedit and the following is the config
Successfully edited the SMTP configuration
SMTP Host: localhost
SMTP Port: 25
SMTP User: empty
SMTP Password: hidden
SMTP From Email: someuser@us.ibm.com
SMTP From Name: IRT CISRT
SMTP StartTLS Enabled: false
SMTP Whitelist Hostnames:
SMTP Timeout: 120000
contents of the email-server.properties is
MaxBatchSize=10
resConsumerDelay=10000
trying to start resilient-email fails. The following error is inresilient-email.err
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:76)
at java.lang.Integer.parseInt(Integer.java:604)
at java.lang.Integer.parseInt(Integer.java:627)
at com.resilient.email.EmailServerConfig.getConfig(EmailServerConfig.java:200)
at com.resilient.email.EmailServerDaemon.init(EmailServerDaemon.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:207)
Cannot load daemon
Service exit with a return value of 3
It is clear that there is some config value that is set to empty string and the code is trying to convert it to int. Can somebody from the development team help figure out what that config name is ?
------------------------------
Yaser Doleh
------------------------------