Rollbase Error components/ErrorPage.jsp?errorMsg=Read+timed+

Posted by Jorrit on 01-Dec-2015 13:18

Hi,

Where working with rollbase 4.0.3.2 and i get the following error when uploading an image.

components/ErrorPage.jsp?errorMsg=Read+timed+out

when i login on the terminal server and do the same (localhost) there is no error.

below some logfiles:

Release: 4.0.3.2
Master Server MASTER: Initialization completed successfully

dec 01, 2015 8:14:00 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\prod1.war

==>> PROD1 Server is starting
Production Server PROD1: Initialization completed successfully

dec 01, 2015 8:14:01 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\rest.war

==>> REST server is starting
dec 01, 2015 8:14:01 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\router.war

==>> ROUTER server is starting
dec 01, 2015 8:14:01 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\search.war

==>> SEARCH Server is starting
dec 01, 2015 8:14:02 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\storage.war

==>> STORAGE Server is starting
dec 01, 2015 8:14:02 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\webapi.war

==>> WEBAPI Server is starting
dec 01, 2015 8:14:02 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Progress\Rollbase\Pas_Instance\webapps\workflow.war

==>> WORKFLOW Server is starting
dec 01, 2015 8:14:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Progress\Rollbase\Pas_Instance\webapps\ROOT
dec 01, 2015 8:14:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-80"]
dec 01, 2015 8:14:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-443"]
dec 01, 2015 8:14:03 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5464 ms

could anybody help me?

thanks in advance.

Regards Jorrit

Posted by Jorrit on 08-Dec-2015 10:22

Hi, Karthikeyan

i was to early the error came when we upload an image larger than 56 kb or so.

the problem solved when we set the psc.as.http.connectiontimeout frome 20000 ms to 40000 ms.

a answer to your questions:

- Installation is new (no update).

- Webserver and db server on the same machine.

- when i do the same on the localhost via Terminalsever it is fast.

- remote on the master server i have the same problem.

- we use the database that comes with the installer. OE 11.5

Answer to the questions of Mani:

1. What is the size of image that you are trying to upload?

405 kb (.png)

3. If Private cloud, what is the "MaxFileSizeKB" that is set in shared.properties file (..\...\Progress\Rollbase\Pas_Instance\rollbase\config)

5012 kb

4. What is the actual field type? (Image or file upload field)?

field type is Image but with the document upload the same problem

5. Is this issue seen for all files that you are trying to upload?

yes

thanks in advance.

Jorrit

All Replies

Posted by Manooj Murali on 02-Dec-2015 04:03

Hi -

Can you please check if there are any exceptions in the logs? Also, can you post the screenshots of the error?

Regards.

Posted by Jorrit on 03-Dec-2015 02:47

Hi Manooj,

There are no exeptions in de logs.

See Screenshot below for the error message

Regards Jorit

Posted by Rajkumar Mateti on 03-Dec-2015 03:03

Hi Jorrit,

Are you sure no exceptions found in AllErrors.log(C:\Progress\Rollbase\Pas_Instance\rollbase\storage\2\log\AllErrors.log)?

Thanks,

Rajkumar

Posted by Manooj Murali on 03-Dec-2015 03:19

Hi Jorrit -

Please add the following property to the shared.properties which is available under C:\Progress\Rollbase\Pas_Instance\rollbase\config and check in the Rollbase log files for any errors.

ShowDebugInfo=true

Regards.

Posted by Jorrit on 03-Dec-2015 05:35

HI Rajkumar,

i found this error in the storage/2/log/AllErrors.log:

[2015-12-03 09:34:07,380] 2: ===> Error in thread catalina-exec-9 at 12/03/2015 09:34 AM

[2015-12-03 09:34:07,380] java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

at java.net.SocketInputStream.read(SocketInputStream.java:170)

at java.net.SocketInputStream.read(SocketInputStream.java:141)

at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:532)

at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:501)

at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:563)

at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:124)

at org.apache.coyote.http11.AbstractInputBuffer.doRead(AbstractInputBuffer.java:346)

at org.apache.coyote.Request.doRead(Request.java:422)

at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:290)

at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:449)

at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:315)

at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:200)

at com.oreilly.servlet.multipart.BufferedServletInputStream.fill(BufferedServletInputStream.java:64)

at com.oreilly.servlet.multipart.BufferedServletInputStream.readLine(BufferedServletInputStream.java:108)

at com.oreilly.servlet.multipart.LimitedServletInputStream.readLine(LimitedServletInputStream.java:60)

at com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:97)

at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:183)

at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:156)

at com.oreilly.servlet.multipart.FilePart.write(FilePart.java:208)

at com.oreilly.servlet.multipart.FilePart.writeTo(FilePart.java:167)

at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:271)

at com.rb.util.web.a676.checkMultipartRequest(a676.java:47)

at com.rb.util.web.a676.checkMultipartRequest(a676.java:32)

at com.rb.core.logics.servlet.ObjectServlet.doPost(ObjectServlet.java:65)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:193)

at org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(CrawlerSessionManagerValve.java:180)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:314)

at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:305)

at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:83)

at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:305)

at org.apache.catalina.valves.RemoteHostValve.invoke(RemoteHostValve.java:83)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Thanks in advance.

Jorrit

Posted by Jorrit on 07-Dec-2015 01:58

Anyone?

I now get the following page with error.

Regards,

Jorrit

Posted by Mani Kumar on 07-Dec-2015 03:09

Hi Jorrit,

Can you please help me with below information:

1. What is the size of image that you are trying to upload?

2. On what version of Rollbase you see this issue ?

3. If Private cloud, what is the "MaxFileSizeKB" that is set in shared.properties file (..\...\Progress\Rollbase\Pas_Instance\rollbase\config)

4. What is the actual field type? (Image or file upload field)?

5. Is this issue seen for all files that you are trying to upload?

Regards,

Mai.

Posted by Karthikeyan Bhaskaran on 07-Dec-2015 03:09

Hello Jorritt,

- Did this work prior to 4.0.3.2? If this worked before, which was the previous Rollbase version?

- Were there any other changes to the environment (other than the version update?)

- You have mentioned that this error appears when uploading an image. Is that the only scenario where you face this error?

- Is this working from remote machine for the Master zone?

- For completeness, which database are you using?

Posted by Jorrit on 07-Dec-2015 06:02

Hi, Karthikeyan

Problem solved, there was an test webserver running on the same database with wrong config.

thanks for the quick responses.

Jorrit

Posted by Jorrit on 08-Dec-2015 10:22

Hi, Karthikeyan

i was to early the error came when we upload an image larger than 56 kb or so.

the problem solved when we set the psc.as.http.connectiontimeout frome 20000 ms to 40000 ms.

a answer to your questions:

- Installation is new (no update).

- Webserver and db server on the same machine.

- when i do the same on the localhost via Terminalsever it is fast.

- remote on the master server i have the same problem.

- we use the database that comes with the installer. OE 11.5

Answer to the questions of Mani:

1. What is the size of image that you are trying to upload?

405 kb (.png)

3. If Private cloud, what is the "MaxFileSizeKB" that is set in shared.properties file (..\...\Progress\Rollbase\Pas_Instance\rollbase\config)

5012 kb

4. What is the actual field type? (Image or file upload field)?

field type is Image but with the document upload the same problem

5. Is this issue seen for all files that you are trying to upload?

yes

thanks in advance.

Jorrit

This thread is closed