I'm trying to use BatchUploader to accept a CSV file and upload that data into a PostgreSQL 9.2.2 database.
I started with the Power 2013-03-06 nightly build and the moved to v8.3p_2013-05-12/PowerEdition Deployment (built 2013-05-12). I didn't get it to work with either build.
I'm testing with Firefox 20.0.1 talking to Tomcat 7.0.33.
If I upload a csv file with around 1000 records/rows. Everything seems to work fine. When I upload a csv file with around 4000 records/rows, the 'Upload' batchUploader function will read the file and propulate the listGrid. The 'Commit' function will take a while, will give me several 'script not responsive' prompts, and eventually come back with the 'Records added' popup, but the records were never added.
When it is unsuccessful I see these messages on the Developer Console after pressing the 'Commit' button:
Note that I replaced personal information in the output with '*'. I also truncated the repetative parts of the output.
The data source is fairly simple. It included fields from two different postgreSQL tables. A Server side method performs the insert into each table and if the entry already exists, it updates the data instead. There are log messages at the begining for the methods. When doing 1000 entries I see the log messages in the log. With 4000 entries, I don't see the log messages in the log. I don't believe my server side methods are being called.
The RPC log shows the DSRequests and has them marked as successful.
Note that when the upload is unsuccessful, I don't see any exceptions or error messages.
Thanks,
Kevin
I started with the Power 2013-03-06 nightly build and the moved to v8.3p_2013-05-12/PowerEdition Deployment (built 2013-05-12). I didn't get it to work with either build.
I'm testing with Firefox 20.0.1 talking to Tomcat 7.0.33.
If I upload a csv file with around 1000 records/rows. Everything seems to work fine. When I upload a csv file with around 4000 records/rows, the 'Upload' batchUploader function will read the file and propulate the listGrid. The 'Commit' function will take a while, will give me several 'script not responsive' prompts, and eventually come back with the 'Records added' popup, but the records were never added.
When it is unsuccessful I see these messages on the Developer Console after pressing the 'Commit' button:
Code:
11:19:49.048:INFO:RPCManager:rpcResponse(upload)[update]: result: object[status=0] 11:28:28.910:MUP4:INFO:RPCManager:sendQueue[14]: 4063 RPCRequest(s); transport: xmlHttpRequest; target: http://172.30.1.158:8080/krv/streetsmart1/sc/IDACall?isc_rpc=1&isc_v=v8.3p_2013-05-12&isc_xhr=1 11:30:39.907:MOU7:DEBUG:RPCManager:XMLHttpRequest POST to http://172.30.1.158:8080/krv/streetsmart1/sc/IDACall?isc_rpc=1&isc_v=v8.3p_2013-05-12&isc_xhr=1 contentType: application/x-www-form-urlencoded; charset=UTF-8 with body -->isc_tnum=14&_transaction=<transaction xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:type="xsd:Object"><transactionNum xsi:type="xsd:long">14</transactionNum><operations xsi:type="xsd:List"><elem xsi:type="xsd:Object"><values xsi:type="xsd:Object"><cycle>01</cycle><sequencenumber>20</sequencenumber><meterid>**********</meterid><route>000001</route><name>*************</name><street>*****************</street><siteid>0000200</siteid><longitude>-**.*******</longitude><latitude>**.*******</latitude><identifier>*******</identifier></values><operationConfig xsi:type="xsd:Object"><dataSource>amrSiteUpload</dataSource><operationType>add</operationType></operationConfig><appID>builtinApplication</appID><operation>amrSiteUpload_add</operation><oldValues xsi:type="xsd:Object"><cycle>01</cycle><sequencenumber>20</sequencenumber><meterid>**********</meterid><route>000001</route><name>*************</name><street>*****************</street><siteid>0000200</siteid><longitude>-**.*******</longitude><latitude>**.*******</latitude><identifier>*******</identifier></oldValues></elem>... ...(3535729 bytes truncated). Enable RPCManagerResponse log at same threshold to see full message. 11:30:40.847:XRP0:INFO:RPCManager:transaction 14 arrived after 131936ms 11:30:40.850:XRP0:DEBUG:RPCManager:Result string for transaction 14: "<HTML><BODY><SCRIPT>parent.isc.RPCManager.retryOperation(window.name);</SCRIPT></BODY></HTML>" 11:30:41.094:XRP0:INFO:RPCManager:rpcResponse(unstructured) results -->"<HTML><BODY><SCRIPT>parent.isc.RPCManager.retryOperation(window.name);</SCRIPT></BODY></HTML>"<-- 11:30:41.095:XRP0:INFO:RPCManager:rpcResponse(unstructured) results -->"<HTML><BODY><SCRIPT>parent.isc.RPCManager.retryOperation(window.name);</SCRIPT></BODY></HTML>"<-- ... 11:30:41.777:XRP0:INFO:RPCManager:rpcResponse(unstructured) results -->"<HTML><BODY><SCRIPT>parent.isc.RPCManager.retryOperation(window.name);</SCRIPT></BODY></HTML>"<-- 11:30:41.778:XRP0:INFO:RPCManager:rpcResponse(unstructured) results -->"<HTML><BODY><SCRIPT>parent.isc.RPCManager.retryOperation(window.name);</SCRIPT></BODY></HTML>"<--
The data source is fairly simple. It included fields from two different postgreSQL tables. A Server side method performs the insert into each table and if the entry already exists, it updates the data instead. There are log messages at the begining for the methods. When doing 1000 entries I see the log messages in the log. With 4000 entries, I don't see the log messages in the log. I don't believe my server side methods are being called.
The RPC log shows the DSRequests and has them marked as successful.
Note that when the upload is unsuccessful, I don't see any exceptions or error messages.
Thanks,
Kevin
Comment