I configured the salesforce adapter on my job server. I tried to create a data store using this adapter instance and gave the user name and pwd too. But i get a message after a while
“Adapter connection failed. could not create a new session. do u want to store the data store anyway?”
what is the error message that you see in the Adapter trace file ? is request for Metadata reaching the Salesforce Adapter or not ?
to trouble shoot issues with Adapter, enable the trace mode for the adapter, and restart the adapter
can you attach the following log files ?
1 - job server log for the job server managing adapters, this file will be
%LINK_DIR%\log<jobServerName>\server_eventlog.txt
2 - Adapter trace log, this file will be created in %LINK_DIR%\Adapters\log<nameofAdapter>.log
from the trace and error log, the problem is happening is with connecting to Salesforce.com, you have not reached the point where the communication with SFDC could start
please try to login to salesforce.com from the Internet Explorer and check if you are able to connect to salesforce or not from the same machine where the job Server managing the Adapter is running
The DI Salesforce Adapter is trying to connect to SFDC and connection request is timing out and its doing a retry for few time after waiting for 5 min before each try and all of the attempts are failing
this looks more of connectivity issue from your network to the salesforce.com
Can you tell me how you resolved your connection issue? We are currently having problems accessing the salesforce.com wsdl through our firewall using Data Integrator, and I am getting the same error message.
Using another program from the same server where I can configure a proxy / port setting, I can access the WSDL metadata, so I think my specific issue involves Data Integrator not using my proxy settings.
Salesforce Adapter is a Java application, you can try setting the proxy setting as command line arguments
stop the salesforce adapter instance
add the -Dhttp.proxyHost=[Your proxy server name] -Dhttp.proxyPort=[Your proxy server port] to the Additional Java Launcher Options" it already has following memory options set
-Xms64m Xmx256m
change this to
-Xms64m Xmx256m -Dhttp.proxyHost=[Your proxy server name] -Dhttp.proxyPort=[Your proxy server port]
I also found this solution in OSS (1311485), but I am still getting the same error message even when adding the proxy settings as described, and restarting the adapter instance.
what is the error message that you are getting ? can you paste the stack trace that you see from error log, you will see the link for error log next to adapter instance in management console or you can get the error log from %LINK_DIR%\Adaterps\log folder
accessing WSDL is not enough to ensure that you are not running into login or network issues while connecting to salesforce, did you try login to salesforce.com from the internet explorer using the login and password
Cannot access adapter instance configured for Job Server <DI_DEV_JobServer>. Possible Reasons:
Cannot start adapter instance.
Job Server is not started.
Adapter datastore is not adjusted after import
Adapter was shutdown but not restarted yet. (BOD_1112328)
This error is different than the error I received before adding the proxy server and port to the adapter instance. I was receiving the same error as rpriya before adding the proxy (“Adapter connection failed. could not create a new session. do u want to store the data store anyway?” )
Yes, I can login to salesforce.com through IE on the server.
If I try to access the WSDL URL directly in IE, I get a “400 get not supported” error message.
Here is what is repeated in the error log over and over:
3/31/09 5:07:47 PM There was a communication error when talking to Salesforce.com: ; nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
the problem seems to be with establishing connection to SFDC hence its not able to create the session object
I think for SFDC you need to either pass the security token along with your password to access the URL or you need to add your external IP in the security options in the salesforce.com
in your salesfroce account there will be link to download the WSDL, download that WSDL and save to disk and open that file from disk or from SoapUI or equivalnet application
what is the version of DI you are using DI 11.7 and 11.5 are certified to work against SFDC Version 7.0
Data Services XI 3.0 is certified to work against SFDC 12.0 version
3/12/12 12:24:04 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
3/12/12 12:24:05 PM Thread[Thread-10,5,main] There was a communication error when talking to Salesforce.com: org.apache.axis2.databinding.ADBException: Unexpected subelement passwordExpired
3/12/12 12:24:05 PM Thread[Thread-10,5,main] Fault-tolerance-login-failed:There was a communication error when talking to Salesforce.com: org.apache.axis2.databinding.ADBException: Unexpected subelement passwordExpired
It would be appreciated if anyone could suggest a solution.