2013-03-08 15:41:30.015 GMT-0500 odLog [ReThread-0] - IWDeploySock::ReadLineWithLength ERROR: Failed to read length of data buffer from socket.2013-03-08 15:41:30.015 GMT-0500 odLog [ReThread-0] - IWDeploySock::ReadLine ERROR: Failed to read (-1) bytes of data from socket.2013-03-08 15:41:30.016 GMT-0500 odLog [ReThread-0] - IWDeploySock::ReadLongLine ERROR: No response data from remote.
What the heck is it doing then ?
Another tidbit of information - in the ODHOME/od.log - we're seeing a lot of messages like this.
[OD errors in od.log]In my experience, that's often symptomatic of a firewall/LB heartbeat on port 20014 (or a user checking connectivity via telnet), when the input stream is completely garbage or empty, so I highly doubt it has anything to do with your LSCS issues...
careful about making sure that it terminated the telnet probe gracefully
Did you find out what was causing this delay? We are experiencing this issue now.
Yes. I've seen this multiple times at different clients.
LSCS keeps the DB connection open continually. There are newer firewalls/routers/some network toy that kills the connection after hours of inactivity. LSCS tries to write on this, now closed connection, and never gets a reply. After 20 minutes, it reconnects and runs.
I get around it by adding activity. I have a script that runs every 10 minutes that runs curl and gets the context. The DB connection never times out and no delays happen.
Thanks Andy, I see what you saying. I've seen similar issues in the network setting before.
Looks like firewall was terminating the connection.
Support provided a solution to this issue. 1. Open the /runtime/webapps/lscs/WEB-INF/context/persistence-context.xml file for editing. 2. Find the "dataSource" bean and add
5 true 600000 600000
This seems to be working, we are removing idle connections before firewall terminates them.
attached config section
Cool, when this first happened in 7.2.1 I didn't have the ability to remove the connections, glad they added it.