"Premature end of file" error

Ian's Avatar

Ian

07 Oct, 2019 02:14 PM

Every now and then AutoSender will stop working, and this error message is in the log:

Oct 7, 2019 9:53:27 AM WARNING AutoSenderHTTP.checkSource: Exception thrown when accessing mailRecord:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

Is there a way to troubleshoot this without rebooting the entire server?

  1. Support Staff 1 Posted by Support on 07 Oct, 2019 03:19 PM

    Support's Avatar

    Hi Ian,

    Thank you for contacting us.
    It looks like you getting the mails via the XML engine. Could you check if the XML is still working correctly when the problem occurs?
    We seen in the past that the XML engine or even the complete web engine of the FileMaker Server stops working randomly and if this happens, then AutoSender can't send anymore because it retrieves the mails via XML.

    If the XML engine stopped working you can try to restart all the webserver with these command line commands. They need to be executed in the correct order.

    1. fmsadmin stop WPE -y
    2. fmsadmin stop httpserver -y
    3. fmsadmin start httperver
    4. fmsadmin start WPE

    If that fixes the problem, then it's the XML engine fo the FileMaker Server that's having problem. You can work around by using xDBC instead of XML or try schedule a daily reboot for your FileMaker. So all the services get a fresh start everyday.

    Please let me know if this doesn't solve the problem or if you have any other questions.

    Kind regards,
    Jasper

  2. 2 Posted by Ian on 07 Oct, 2019 03:26 PM

    Ian's Avatar

    Awesome, thank you. I'll try that the next time that happens.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac