Common Redwood Server Errors
The following topic lists errors you may encounter in Redwood Server using built-in System process definitions or modules.
Linux: Extensive Memory Usage or Out Of Memory Killer (OOMK) Termination
You noticed excessive memory usage or the central Redwood server was killed by OOMK.
Specific Error Message
[2023/09/28T11:23:27.044+0000][1119168666ms] GC(284965) To-space exhausted
[2023/09/28T11:23:27.212+0000][1119168834ms] GC(284974) To-space exhausted
Resolution
Install TCMalloc (tcmalloc
) to improve memory allocation handling, see TCMalloc for more information.
com.sun.mail.smtp.SMTPSendFailedException: 550 No SMTP server defined.
You receive the following error message when emails are sent (using System_Mail_Send, the Mail or Active Monitoring Modules). This error indicates that a firewall or anti-virus is interfering with SMTP.
Specific Error Message
247735:17856 (Process 17856 (submitted from System_UserMessage_Notification))
com.sun.mail.smtp.SMTPSendFailedException: 550 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account.
;
nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 550 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account.
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2110)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1609)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1117)
at javax.mail.Transport.send0(Transport.java:254)
at javax.mail.Transport.send(Transport.java:124)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:167)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:71)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:41)
at com.redwood.scheduler.mail.service.MailJob.execute(MailJob.java:181)
at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:268)
at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:81)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 550 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account.
Alternate error
247735:17856 (Process 17859 (submitted from System_Mail_Send))
com.sun.mail.smtp.SMTPSendFailedException: 535 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account.
;
nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 550 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account.
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2110)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1609)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1117)
at javax.mail.Transport.send0(Transport.java:254)
at javax.mail.Transport.send(Transport.java:124)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:167)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:71)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:41)
at com.redwood.scheduler.mail.service.MailJob.execute(MailJob.java:181)
at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:268)
at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:81)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 535 No SMTP server defined. Use real server address instead of 127.0.0.1 in your account.
Resolution
Disable the anti-virus mail engine and try to reproduce, if this solves the issue, configure it to allow SMTP connections from the central Redwood Server to your SMTP server and enable it again. If it is your firewall, you should be able to configure it to allow SMTP connections from the central Redwood Server to your SMTP server.
javax.mail.MessagingException: Exception reading response
You receive the following error message when emails are sent (using System_Mail_Send, the Mail or Active Monitoring Module). This error indicates that a timeout has been exceeded.
Specific Error Message
javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1494)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1321)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:637)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:167)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:71)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:41)
at com.redwood.scheduler.system.jobs.SendMail.sendMessage(SendMail.java:191)
at com.redwood.scheduler.system.jobs.SendMail.execute(SendMail.java:151)
at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:253)
at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:76)
at java.lang.Thread.run(Thread.java:722)
Resolution
Since this error indicates that the timeout has been exceeded, you might have to adapt the JavaMail timeout. If your SMTP server was available and sent the email, you might want to consider increasing the SMTP connection (mail.smtp.connectiontimeout) and mail send (mail.smtp.timeout) timeouts. If your SMTP server was not available and the process was waiting too long before it reached status Error, you can decrease the timeout.
Registry Settings
Create or adapt the following registry entries:
/configuration/jcs/mail/JavaMail/mail.smtp.timeout
/configuration/jcs/mail/JavaMail/mail.smtp.connectiontimeout
Note that the value is in milliseconds.
See Also
com.redwood.scheduler.jobfile.exceptions.JobFileBackendsExhaustedException: JCS-108002
You receive this error when attempting to download output or log files. This error indicates that the file is not available at the given path. This might mean that the DataRootDirectory
has been moved, such as, following a migration or upgrade or that the DataRootDirectory
is not available. If you have a failover setup, it might mean that the failover host does not have access to the proper DataRootDirectory
- this must be shared among all servers in the cluster.
Specific Error Message
com.redwood.scheduler.jobfile.exceptions.JobFileBackendsExhaustedException: JCS-108002: The specified process file (ID: 21,295) cannot be retrieved. The file seems to be missing.
Resolution
Since this error indicates a problem with the DataRootDirectory
, you can choose File <process_id>
<file_name>
and inspect the full path to the file, ensure that path exists. If the DataRootDirectory
was moved or mounted elsewhere, undo the change, if you can, if you cannot, you have to edit the jcs_jobfile1
table in the database directly; see updating the jcs_jobfile1 table for more information.
onsiteTopic