• SBT Demo under ND 9.0 beta

    By Lothar Mueller 1 decade ago

    How would I get the social enabler demo to work under a freshly installed 9.0 beta setup? What I did so far:

    - complete fresh install of plain Domino 9.0

    - complete fresh install of Notes 9.0 (full install incl. designer etc.)

    - pulled extlib 8.5.3_20121217 updateSiteOpenNTF into new updateSite.nsf and configured server's notes.ini to read its content on startup; restarted server

    - tell http osgi ss com.ibm.xsp.extlib lists the various libs as being installed (*.sbt*, *.oauth* etc.)

    - installed updateSiteOpenNTF-designer from same extlib version in designer setup

    - created new websecuritystore.nsf at the server's data root from latest template

    - copied latest version of XpagesSBT.nsf to server's data root

    - signed both dbs using my id (admin access)

    - inside websecuritystore.nsf created a few application keys for dropbox, greenhouse and LotusLive

    Trying to open XpagesSBT.nsf >> Dropbox results in the following runtime error message:

    > Page Name:/DropboxFiles.xsp
    > Control Id: _id5

    > Error while executing JavaScript action expression
    > Script interpreter error, line=2, col=102: Error calling method 'authenticate(boolean)' on java class 'com.ibm.xsp.extlib.sbt.services.client.endpoints.DropboxEndpoint'
    > Error while acquiring OAuth token
    > Failed to get request token. requestUrl:https://api.dropbox.com/1/oauth/request_token, authorizeUrl: https://www.dropbox.com/1/oauth/authorize, accessUrl: https://api.dropbox.com/1/oauth/access_token, callback: null, truncated key:9bsl....rvjw, truncated secret:upov....lfgg. OAuth callback is empty, please check with your application vendor to ensure a callback is not required.
    > Unconnected sockets not implemented

    Similar errors occur for all the other pages.

    The very same scenario runs flawlessly using a standard 8.5.3 setup (again with all libraries installed).

     

    Questions:

    - is social enabler compatible at all with V 9.0 beta?

    - if so, is there something I need to install or uninstall to/ from the standard setup?

    • response

      By Padraic Edwards 1 decade ago

      Hi Lothar,

      Yes the Social Enabler is compatible with 9.0 beta. I have seen that Dropbox error before. It turned out to be an issue with a trailing space in the app or consumer key. You might have to open the websecuritystore documents in the notes client to see what exact values were saved in there. Can you check that?

      For the other errors, can you tell me what errors you are getting and on what page? It sounds like you the environment setup correctly to me. I have the XPagesSBT app setup with a 9.0 build and it connects to greenhouse, dropbox, twitter etc.

      thanks,
      Padraic

      • i am getting similar error while connecting to linkedin

        By Aneesh M Nair 1 decade ago

        Hi I am getting a similar error while connecting to linked in, i got it for dropbox too, since i did not specify the callback url field in dropbox app config ( on dropbox's site) , when i specified callback in the dropbox config it worked fine.

        this is coming due to null value in callback : section of SBT.

        error for linkedin is as follows...

         

         

        Error while executing JavaScript action expression
        
        Script interpreter error, line=3, col=55: Error calling method 'authenticate(boolean)' on java class 'com.ibm.xsp.extlib.sbt.services.client.endpoints.OAuthEndpointBean'
        
        Error while acquiring OAuth token
        
        JavaScript code
        
         
        
           1: 
        
           2:  if(!@Endpoint("linkedin").isAuthenticated()) {
        
           3:  @Endpoint("linkedin").authenticate(true);
        
           4:  }