Hi there manoj_d,
I have tried you suggestion. The first time when I want to import a table by name, I get not the ‘length required’ message, but a general message about communication.
When I try it the second time, I get the message ‘Length required’. I have done what you suggested.
Here the Adapter trace log :
17-11-15 14:33:43 Thread[main,5,main] Create broker client for life-cycle management. Host:port = BO02:4001
17-11-15 14:33:43 Thread[main,5,main] Create broker client for data exchange with ASP. Host:port = BO02:4001. Client ID = com.acta.adapter.salesforce.SalesForceAdapter.data_95
17-11-15 14:33:44 Thread[main,5,main] [SAX Parser Error] :1:23 : cvc-elt.1: Cannot find the declaration of element ‘AdapterConfiguration’.
17-11-15 14:33:44 Thread[Thread-11,5,main] Host and port for the Access Server are not defined in startup configuration. Real-time services are not available.
17-11-15 14:33:44 Thread[Thread-11,5,main] Start instance [SalesForce] of adapter [com.acta.adapter.salesforce.SalesForceAdapter].
17-11-15 14:33:44 Thread[Thread-11,5,main] Register the client ID [com.acta.adapter.salesforce.SalesForceAdapter.data_95] and adapter destination [BO02:4001] with the adapter manager.
17-11-15 14:33:44 Thread[Thread-11,5,main] Registration complete.
17-11-15 14:38:45 Thread[Thread-5,5,main] Stop [SalesForce].
17-11-15 14:41:11 Thread[main,5,main] Create broker client for life-cycle management. Host:port = BO02:4001
17-11-15 14:41:13 Thread[main,5,main] Create broker client for data exchange with ASP. Host:port = BO02:4001. Client ID = com.acta.adapter.salesforce.SalesForceAdapter.data_2
17-11-15 14:41:14 Thread[main,5,main] [SAX Parser Error] :1:23 : cvc-elt.1: Cannot find the declaration of element ‘AdapterConfiguration’.
17-11-15 14:41:14 Thread[Thread-11,5,main] Host and port for the Access Server are not defined in startup configuration. Real-time services are not available.
17-11-15 14:41:14 Thread[Thread-11,5,main] Start instance [SalesForce] of adapter [com.acta.adapter.salesforce.SalesForceAdapter].
17-11-15 14:41:14 Thread[Thread-11,5,main] Register the client ID [com.acta.adapter.salesforce.SalesForceAdapter.data_2] and adapter destination [BO02:4001] with the adapter manager.
17-11-15 14:41:14 Thread[Thread-11,5,main] Registration complete.
20-11-15 10:14:12 Thread[Thread-10,5,main] Starting the Salesforce.com session
20-11-15 10:14:15 Thread[Thread-10,5,main] Login to Salesforce, attempt : 1
20-11-15 10:14:20 Thread[Thread-10,5,main] Starting SForceMetadata Session
20-11-15 10:14:49 Thread[Thread-10,5,main] Importing table Afdeling (CDC: true)
20-11-15 10:14:50 Thread[Thread-10,5,main] There was a communication error when talking to Salesforce.com: Transport error: 411 Error: Length Required
20-11-15 10:17:12 Thread[Thread-5,5,main] com.acta.adapter.salesforce.SForceSession@4c632208 Stopping the Salesforce.com session
20-11-15 10:17:12 Thread[Thread-5,5,main] Stop [SalesForce].
20-11-15 10:17:29 Thread[main,5,main] Create broker client for life-cycle management. Host:port = BO02:4001
20-11-15 10:17:29 Thread[main,5,main] Create broker client for data exchange with ASP. Host:port = BO02:4001. Client ID = com.acta.adapter.salesforce.SalesForceAdapter.data_30
20-11-15 10:17:30 Thread[main,5,main] [SAX Parser Error] :1:23 : cvc-elt.1: Cannot find the declaration of element ‘AdapterConfiguration’.
20-11-15 10:17:30 Thread[Thread-11,5,main] Host and port for the Access Server are not defined in startup configuration. Real-time services are not available.
20-11-15 10:17:30 Thread[Thread-11,5,main] Start instance [SalesForce] of adapter [com.acta.adapter.salesforce.SalesForceAdapter].
20-11-15 10:17:30 Thread[Thread-11,5,main] Register the client ID [com.acta.adapter.salesforce.SalesForceAdapter.data_30] and adapter destination [BO02:4001] with the adapter manager.
20-11-15 10:17:30 Thread[Thread-11,5,main] Registration complete.
20-11-15 10:36:33 Thread[Thread-10,5,main] Starting the Salesforce.com session
20-11-15 10:36:33 Thread[Thread-10,5,main] Login to Salesforce, attempt : 1
20-11-15 10:36:35 Thread[Thread-10,5,main] Starting SForceMetadata Session
20-11-15 10:36:47 Thread[Thread-10,5,main] Importing table Afdeling (CDC: true)
20-11-15 10:36:47 Thread[Thread-10,5,main] There was a communication error when talking to Salesforce.com: Connection reset
20-11-15 10:37:58 Thread[Thread-10,5,main] Importing table Department (CDC: true)
20-11-15 10:37:58 Thread[Thread-10,5,main] There was a communication error when talking to Salesforce.com: Transport error: 411 Error: Length Required
20-11-15 10:38:17 Thread[Thread-10,5,main] Importing table Afdeling (CDC: true)
20-11-15 10:38:18 Thread[Thread-10,5,main] There was a communication error when talking to Salesforce.com: Transport error: 411 Error: Length Required
20-11-15 10:38:24 Thread[Thread-10,5,main] There was a communication error when talking to Salesforce.com: Transport error: 411 Error: Length Required
20-11-15 10:38:24 Thread[Thread-10,5,main] Error browsing root nodes. Xml generated so far: []. com.acta.adapter.salesforce.exceptions.CommunicationFailureException: There was a communication error when talking to Salesforce.com: Transport error: 411 Error: Length Required
at com.acta.adapter.salesforce.SForceMetadata.describeGlobal(SForceMetadata.java:46)
at com.acta.adapter.salesforce.metadata.SForceBrowsing.getRootNodes(SForceBrowsing.java:72)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBrowseRoot(AdapterRunnerImpl.java:2532)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:106)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:406)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1559)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
20-11-15 10:38:27 Thread[Thread-10,5,main] com.acta.adapter.salesforce.SForceSession@9cbd0c5 Stopping the Salesforce.com session
20-11-15 10:38:27 Thread[Thread-10,5,main] Stopping SForceMetadata Session
jdezwart
(BOB member since 2010-05-26)