Hi,
I have an issue with FileItem and form.savedata.
For files under 10 MB I can upload them to the table but bigger than that a time out is happening.
I will appreciate very much any hints in order to narrow the problem cause.
I'm using SmartClient Version: v9.1p_2014-03-04/Pro Deployment (built 2014-03-04) and testing with I.E. 11.
Deploying the appliaction to a Tomcat server Linux-Apache-MySQL.
The Tomcat /webapps/manager/WEB-INF/web.xml is configured for files of 80MB
And the server.xml HTTP Connector is configured with parameters:
The Catalina-daemon file is too big, hence an excerpt is attached.
In the client side, the DSRequest is:
and the answer after more than 5 min is
The DevConsole Results shows:
Thanks in advance
I have an issue with FileItem and form.savedata.
For files under 10 MB I can upload them to the table but bigger than that a time out is happening.
I will appreciate very much any hints in order to narrow the problem cause.
I'm using SmartClient Version: v9.1p_2014-03-04/Pro Deployment (built 2014-03-04) and testing with I.E. 11.
Deploying the appliaction to a Tomcat server Linux-Apache-MySQL.
The Tomcat /webapps/manager/WEB-INF/web.xml is configured for files of 80MB
Code:
<multipart-config>
<!-- 50MB max -->
<max-file-size>83886080</max-file-size>
<max-request-size>83886080</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>Code:
connectionTimeout="30000" -------> 30 seconds
disableUploadTimeout="false"
connectionUploadTimeout="1800000" -------> 30 minutes
maxPostSize="83886080" --------> POST of 80MBIn the client side, the DSRequest is:
Code:
{
dataSource:"app",
operationType:"add",
componentId:"isc_DynamicForm_11",
data:{
app:"C:\\fakepath\\smartgwtpro.jar",
version:"1.0"
},
textMatchStyle:"exact",
callback:{
target:[DynamicForm ID:isc_DynamicForm_11],
methodName:"saveEditorReply"
},
willHandleError:true,
showPrompt:true,
prompt:"Saving form...",
oldValues:{
},
requestId:"app$6274",
internalClientContext:{
},
useStrictJSON:true,
fallbackToEval:true,
afterFlowCallback:"isc_DynamicForm_11.$49z(dsRequest, dsResponse, data)",
directSubmit:true,
submitForm:[DynamicForm ID:isc_DynamicForm_11],
editor:[DynamicForm ID:isc_DynamicForm_11],
lastClientEventThreadCode:"MUP6",
bypassCache:true
}Code:
[
{
response:{
data:"Operation timed out",
status:-100
}
}
]Code:
09:40:51.866:TMR3:WARN:RPCManager:Operation timed outundefined - response: {operationId: "app_add",
clientContext: Obj,
internalClientContext: Obj,
context: Obj,
transactionNum: 4,
httpResponseCode: undef,
httpResponseText: undef,
xmlHttpRequest: undef,
transport: "hiddenFrame",
status: -100,
clientOnly: undef,
isStructured: true,
callbackArgs: null,
results: Obj,
data: "Operation timed out",
httpHeaders: undef,
startRow: 0,
endRow: 0,
totalRows: 0}