Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    BatchUploader issue cannot write on the Database

    Hi there,

    Im a newbie to smart gwt. And i went to use the BatchUploader from the example taken here: http://www.smartclient.com/smartgwte...batch_uploader
    only difference from my side is i used in my own database (mySql). The retrieval of the data on the table was properly displayed. but when i upload a csv file, the commit was successful but apparently it didnt write on the database. I found the error not so helpful.

    version: SmartClient Version: SC_SNAPSHOT-2012-03-12_v8.2p/Enterprise Deployment (built 2012-03-12)
    browser: Firefox 13.0.1
    sample code:

    Code:
    	private ListGrid createBatchUploadPanel(VLayout orderSummary) {
    		final ListGrid orderSummaryGrid = new ListGrid();
    
    		orderSummary.setWidth100();
    		orderSummary.setHeight100();
    //		orderSummary.setShowResizeBar(true);
    
            //Creating title bar for Order Detail
            createPanelTitle("Order File Upload");
    
    
    // batch upload        
            
            DataSource dataSource = DataSource.get("TABLE_XXX");
    		BatchUploader batchUploader = new BatchUploader();
    		batchUploader.setWidth100();
    		batchUploader.setHeight100();
    		batchUploader.setUploadDataSource(dataSource);
    
    //		TextItem stringValue = new TextItem("stringValue", "String Value");
    //		IntegerItem numberValue = new IntegerItem();
    //		numberValue.setName("numericValue");
    //		numberValue.setTitle("Numeric Value");
    
    //		batchUploader.setUploadFormItems(stringValue, numberValue);
    
    		batchUploader.setDataURL(GWT.getModuleBaseURL()
    				+ "/exampleTransactionManager.do");
    		ListGrid orderSubmissionGrid = new ListGrid();
    		orderSubmissionGrid.setShowFilterEditor(true);
    		orderSubmissionGrid.setDataSource(dataSource);
    		orderSubmissionGrid.setUseAllDataSourceFields(true);
    		orderSubmissionGrid.setWidth100();
    		orderSubmissionGrid.setHeight100();
    //		orderSubmissionGrid.setAutoFetchData(true);
    
    		VLayout vlayoutbatch = new VLayout();
    //		vlayoutbatch.setWidth100();
    //		vlayoutbatch.setHeight100();
    //		vlayoutbatch.setShowResizeBar(true);
    				
    		vlayoutbatch.addMember(batchUploader);
    
    		orderSummary.addMember(vlayoutbatch);
    		orderSummary.addMember(orderSubmissionGrid);
    		return orderSummaryGrid;
    	}

    error below

    com.smartgwt.client.core.JsObject$SGWT_WARN: 18:04:32.946:XRP0:WARN:RPCManager:Server returned TRANSPORT_ERROR with no error message performing operation 'custom'., response: {operationId: "custom", clientContext: Obj, context: Obj, transactionNum: 5, httpResponseCode: 404, httpResponseText: "<html>\n<head>\n<meta http-equiv="Content-..."[1425], xmlHttpRequest: [object XMLHttpRequest], transport: "xmlHttpRequest", status: -90, clientOnly: undef, httpHeaders: Obj, isStructured: true, callbackArgs: null, results: Obj, data: null, response: Obj, startRow: 0, endRow: 0, totalRows: 0}
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:680)
    Last edited by jbferrer2012; 11 Jul 2012, 17:57.

    #2
    Be sure to provide all the information the forums prompts you for.

    Comment


      #3
      Oh sorry about that. I just updated my query.. thanks!

      /bf

      Comment


        #4
        Hi guys,

        Any help on this one?

        Comment


          #5
          Still only parts of the basic required information has been posted - missing the rest of the server log, missing the contents of the RPC tab..

          Comment


            #6
            BatchUploader issue cannot write on the Database

            Hi Mr. Isomorphic,



            Here below are the server logs, but there's no contents on the RPC tab.




            #####################################
            Logs Below after I click Upload
            #####################################
            Code:
            === 2012-07-17 13:57:26,947 [l0-7] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/ListGrid/header_menu.png
            === 2012-07-17 13:57:26,947 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/ListGrid/sort_descending.png
            === 2012-07-17 13:57:35,684 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Over_end.png
            === 2012-07-17 13:57:35,684 [l0-7] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Over_start.png
            === 2012-07-17 13:57:35,684 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Over_stretch.png
            === 2012-07-17 13:57:37,359 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_end.png
            === 2012-07-17 13:57:37,359 [l0-7] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_stretch.png
            === 2012-07-17 13:57:37,359 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_start.png
            === 2012-07-17 13:57:37,460 [0-10] INFO  RequestContext - URL: '/builtinds/sc/IDACall', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1': Moz (Gecko) with Accept-Encoding header
            === 2012-07-17 13:57:37,462 [0-10] DEBUG XML - Parsed XML from (in memory stream): 2ms
            === 2012-07-17 13:57:37,464 [0-10] DEBUG RPCManager - Processing 1 requests.
            === 2012-07-17 13:57:37,464 [0-10] DEBUG RPCManager - Request #1 (RPCRequest) data: {
                appID:"isc_builtin",
                className:"com.isomorphic.tools.BuiltinRPC",
                methodName:"setAttributes",
                arguments:[
                    "session",
                    [
                        {
                            name:"file",
                            type:"file",
                            title:"Upload File",
                            width:"100%",
                            value:"AF_ORDER_SUBMISSION2.csv"
                        },
                        {
                            name:"dsName",
                            type:"hidden",
                            defaultValue:"AF_ORDER_SUBMISSION",
                            value:"AF_ORDER_SUBMISSION"
                        },
                        {
                            name:"delimiter",
                            type:"hidden",
                            defaultValue:",",
                            value:","
                        },
                        {
                            name:"quoteString",
                            type:"hidden",
                            defaultValue:"\"",
                            value:"\""
                        }
                    ],
                    null
                ],
                is_ISC_RPC_DMI:true
            }
            === 2012-07-17 13:57:37,464 [0-10] INFO  IDACall - Performing 1 operation(s)
            === 2012-07-17 13:57:37,467 [0-10] DEBUG RPCDMI - appConfig: isc.Application.create({
                rpcBindings:[
                    {
                        ID:"builtin",
                        className:"com.isomorphic.rpc.BuiltinRPC",
                        visibleMethods:[
                            {
                                name:"downloadWSDL"
                            },
                            {
                                name:"downloadClientContent"
                            },
                            {
                                name:"downloadClientExport"
                            },
                            {
                                name:"xmlToJS"
                            },
                            {
                                name:"uploadProgressCheck"
                            },
                            {
                                name:"saveFile"
                            },
                            {
                                name:"appendToFile"
                            },
                            {
                                name:"loadFile"
                            },
                            {
                                name:"deleteFile"
                            },
                            {
                                name:"loadSharedXML"
                            },
                            {
                                name:"saveSharedXML"
                            },
                            {
                                name:"getAvailableScriptEngines"
                            },
                            {
                                name:"devConsoleEvalServerScript"
                            },
                            {
                                name:"evalJava"
                            },
                            {
                                name:"getLogNames"
                            },
                            {
                                name:"getLogEntries"
                            },
                            {
                                name:"getLogThresholds"
                            },
                            {
                                name:"setLogThreshold"
                            },
                            {
                                name:"getPdfObject"
                            }
                        ]
                    },
                    {
                        ID:"builtin_tools",
                        className:"com.isomorphic.tools.BuiltinRPC",
                        visibleMethods:[
                            {
                                name:"getDataSourceFromTable"
                            },
                            {
                                name:"getDataSourceJSONFromTable"
                            },
                            {
                                name:"getDataSourceFromHibernateMapping"
                            },
                            {
                                name:"getDataSourceJSONFromHibernateMapping"
                            },
                            {
                                name:"getTables"
                            },
                            {
                                name:"getFieldsFromTable"
                            },
                            {
                                name:"getBeanFields"
                            },
                            {
                                name:"getHibernateBeans"
                            },
                            {
                                name:"getDatabaseProductNameAndVersion"
                            },
                            {
                                name:"getDatabaseTableTypes"
                            },
                            {
                                name:"setAttributes"
                            },
                            {
                                name:"clearAttributes"
                            },
                            {
                                name:"getAttributes"
                            },
                            {
                                name:"getAttribute"
                            },
                            {
                                name:"getDataSourceConfigFromJavaClass"
                            },
                            {
                                args:"cName",
                                language:"groovy",
                                name:"getJavaSource",
                                script:"\n                    if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\");                    \n                    //import org.apache.bcel.Repository;\n\n                    try {\n                        return org.apache.bcel.Repository.lookupClass(cName).toString();\n                    } catch (Throwable e) {\n                        return \"Unable to reverse engineer class \"+cName+\": \"+e.getMessage();\n                    }\n                "
                            },
                            {
                                name:"loadDataSource"
                            },
                            {
                                name:"dsFromXML"
                            },
                            {
                                name:"dsConfigFromXML"
                            },
                            {
                                name:"getDefinedDataSources"
                            }
                        ]
                    },
                    {
                        ID:"builtin_adminconsole",
                        className:"com.isomorphic.tools.AdminConsole",
                        visibleMethods:[
                            {
                                name:"getDefinedDatabases"
                            },
                            {
                                name:"testDB"
                            },
                            {
                                name:"saveDBConfig"
                            },
                            {
                                name:"setDefaultDB"
                            },
                            {
                                name:"importDataSources"
                            },
                            {
                                name:"discoverJNDIDatabases"
                            }
                        ]
                    }
                ]
            })
            
            === 2012-07-17 13:57:37,468 [0-10] DEBUG RPCDMI - rpc returned data
            === 2012-07-17 13:57:37,468 [0-10] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
            === 2012-07-17 13:57:37,468 [0-10] INFO  Compression - /builtinds/sc/IDACall: 67 -> 73 bytes
            === 2012-07-17 13:57:37,510 [0-10] INFO  RequestContext - URL: '/builtinds/sc/IDACall', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1': Moz (Gecko) with Accept-Encoding header
            === 2012-07-17 13:57:37,513 [0-10] DEBUG XML - Parsed XML from (in memory stream): 2ms
            === 2012-07-17 13:57:37,514 [0-10] DEBUG RPCManager - Processing 1 requests.
            === 2012-07-17 13:57:37,515 [0-10] DEBUG RPCManager - Request #1 (DSRequest) payload: {
                criteria:{
                },
                values:{
                    file:"AF_ORDER_SUBMISSION2.csv",
                    dsName:"AF_ORDER_SUBMISSION",
                    delimiter:",",
                    quoteString:"\""
                },
                operationConfig:{
                    dataSource:"batchUpload",
                    operationType:"update"
                },
                componentId:"isc_DynamicForm_1",
                appID:"builtinApplication",
                operation:"upload",
                oldValues:{
                    dsName:"AF_ORDER_SUBMISSION",
                    delimiter:",",
                    quoteString:"\""
                }
            }
            === 2012-07-17 13:57:37,515 [0-10] INFO  IDACall - Performing 1 operation(s)
            === 2012-07-17 13:57:37,516 [0-10] DEBUG BatchUpload - Rows: [
                {
                    CCYPAIR:"EURUSD",
                    FIXING_TIME:"1900",
                    DEALT_CCY:"EUR",
                    USER_ID:"ARK0001",
                    SIDE:"BUY",
                    FIXING_TIMEZONE:"LDN",
                    ACCNTID:"LOTUS",
                    DEALT_AMT:"250000",
                    BENCHMARK:"WMR"
                }
            ]
            === 2012-07-17 13:57:37,516 [0-10] INFO  DSResponse - DSResponse: Map with 1 keys
            === 2012-07-17 13:57:37,516 [0-10] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8
            === 2012-07-17 13:57:37,517 [0-10] DEBUG RPCManager - DMI response, dropExtraFields: false
            === 2012-07-17 13:57:37,517 [0-10] INFO  Compression - /builtinds/sc/IDACall: 739 -> 477 bytes
            === 2012-07-17 13:57:37,983 [l0-7] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hthumb_start.png
            === 2012-07-17 13:57:37,983 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hthumb_grip.png
            === 2012-07-17 13:57:37,983 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hthumb_stretch.png
            === 2012-07-17 13:57:37,984 [0-12] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hthumb_end.png
            === 2012-07-17 13:57:37,985 [l0-2] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_start.png
            === 2012-07-17 13:57:37,985 [l0-4] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_track.png
            === 2012-07-17 13:57:37,986 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_corner.png
            === 2012-07-17 13:57:37,986 [l0-7] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vthumb_grip.png
            === 2012-07-17 13:57:37,986 [0-12] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_end.png
            === 2012-07-17 13:57:37,986 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vthumb_start.png
            === 2012-07-17 13:57:37,986 [l0-2] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vthumb_stretch.png
            === 2012-07-17 13:57:37,986 [l0-4] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vthumb_end.png
            === 2012-07-17 13:57:37,987 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hscroll_Disabled_start.png
            === 2012-07-17 13:57:37,987 [0-12] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hscroll_Disabled_track.png
            === 2012-07-17 13:57:37,987 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/hscroll_Disabled_end.png

            #######################
            Logs below after Commit
            #######################

            Code:
            2012-07-17 13:58:31,506 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_start.png
            === 2012-07-17 13:58:31,507 [0-12] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_stretch.png
            === 2012-07-17 13:58:31,507 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_end.png
            === 2012-07-17 13:58:31,774 [0-11] INFO  RequestContext - URL: '/builtinds//exampleTransactionManager.do', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1': Moz (Gecko) with Accept-Encoding header
            [WARN] 404 - POST /builtinds//exampleTransactionManager.do?isc_rpc=1&isc_v=SC_SNAPSHOT-2012-03-12_v8.2p&isc_xhr=1&isc_tnum=5 (127.0.0.1) 1425 bytes
               Request headers
                  Host: 127.0.0.1:8888
                  User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1
                  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                  Accept-Language: en-us,en;q=0.5
                  Accept-Encoding: gzip, deflate
                  Connection: keep-alive
                  Cookie: GLog=%7B%0D%20%20%20%20left%3A-1231%2C%20%0D%20%20%20%20top%3A554%2C%20%0D%20%20%20%20width%3A1066%2C%20%0D%20%20%20%20height%3A723%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20trackRPC%3Afalse%0D%7D; isc_cState=ready; JSESSIONID=hexnxfcuinoc
                  Referer: http://127.0.0.1:8888/BuiltInDS.html?gwt.codesvr=127.0.0.1:9997
                  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
                  Content-Length: 1449
                  Pragma: no-cache
                  Cache-Control: no-cache
               Response headers
                  X-Included-Test2: true
                  X-Included-Test: true
                  Content-Type: text/html; charset=iso-8859-1
                  Content-Length: 1425
            === 2012-07-17 13:58:31,894 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Dialog/say.png
            === 2012-07-17 13:58:33,940 [0-12] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_Disabled_start.png
            === 2012-07-17 13:58:33,940 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_Disabled_end.png
            === 2012-07-17 13:58:33,940 [0-11] INFO  Download - Returning 304: Not modified on conditional get of: /Users/m-daq/Documents/workspace2/builtinds/war/builtinds/sc/skins/Enterprise/images/Scrollbar/vscroll_Disabled_track.png

            Comment


              #7
              Originally posted by jbferrer2012 View Post
              Here below are the server logs, but there's no contents on the RPC tab.
              Have you set "Track RPCs" on RPC tab?
              It is disabled initially.
              HTH
              MichalG

              Comment


                #8
                BatchUploader issue cannot write on the Database

                Hi,

                Got the results from the RPC TAB -- Status: SUCCESS

                Request - DSRequest
                Code:
                {
                    "dataSource":"batchUpload", 
                    "operationType":"update", 
                    "operationId":"upload", 
                    "componentId":"isc_DynamicForm_1", 
                    "data":{
                        "file":"AF_ORDER_SUBMISSION2.csv", 
                        "dsName":"AF_ORDER_SUBMISSION", 
                        "delimiter":",", 
                        "quoteString":"\""
                    }, 
                    "callback":{
                        "target":[DynamicForm ID:isc_DynamicForm_1], 
                        "methodName":"saveEditorReply"
                    }, 
                    "showPrompt":true, 
                    "prompt":"Saving form...", 
                    "oldValues":{
                        "dsName":"AF_ORDER_SUBMISSION", 
                        "delimiter":",", 
                        "quoteString":"\""
                    }, 
                    "clientContext":{
                    }, 
                    "requestId":"batchUpload$6272"
                }
                Response - Raw

                Code:
                [
                    {
                        data:{
                            gridRows:[
                                {
                                    CCYPAIR:"EURUSD", 
                                    FIXING_TIME:"1900", 
                                    DEALT_CCY:"EUR", 
                                    USER_ID:"ARK0001", 
                                    SIDE:"BUY", 
                                    FIXING_TIMEZONE:"LDN", 
                                    ACCNTID:"LOTUS", 
                                    DEALT_AMT:"250000", 
                                    BENCHMARK:"WMR"
                                }
                            ]
                        }, 
                        invalidateCache:false, 
                        isDSResponse:true, 
                        operationType:"update", 
                        queueStatus:0, 
                        status:0
                    }
                ]
                Attached Files

                Comment


                  #9
                  Oh, it's not even reaching SmartGWT server code. You've done this:

                  batchUploader.setDataURL(GWT.getModuleBaseURL()
                  + "/exampleTransactionManager.do");
                  .. and you're getting a 404 (Not Found) HTTP code. This means that there's nothing at the URL you set as the dataURL - if you meant to register a servlet at that URL, you were not successful.

                  Comment


                    #10
                    Thanks Isomorphic,

                    I think I found the problem now, I wasn't able to map properly the servlets on the web.xml.

                    Comment

                    Working...
                    X