OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Subject
 XpagesSBT-Probs
Categories
 
Posted by
 Lothar Mueller on 02/02/2012 at 07:26 AM
Details

Trying to get up and running with XPagesSBT.nsf. All refers to the versions that came with the 20120126 release.

I created a new "WebSecurity.nsf" from the included .ntf right in the root of my server. Just to be sure I put XPagesSBT.nsf right next to it in the root as well.

Both DBs are signed with my ID; I'm having full access rights on the server (it's an experimental setup anyways).

Opening XPagesSBT.nsf I'm prompted for basic credentials. The Welcome Page opens fine, but from there on the only other page I can open is the utilities one.

Trying to open e.g. "Dropbox" results in a runtime error:

---

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

 

Error while executing JavaScript action expression
Script interpreter error, line=1, col=26: Error calling method 'isAuthenticated()' on java class 'com.ibm.xsp.extlib.sbt.services.client.endpoints.DropboxEndpoint'

Code:

 

   1: if(!@Endpoint("dropbox").isAuthenticated()) {
   2: @Endpoint("dropbox").authenticate(true);
   3: }

---

Calling DropboxOAuth.xsp from the same DB (following this article here:

http://www.openntf.org/Projects/pmt.nsf/DA2F4D351A9F15B28625792D002D1F18/%24file/SocialEnabler111006.pdf)

results in this error:

 

Page Name:/DropboxOAuth.xsp
Control Id: dumpObject2

 

Error while executing JavaScript computed expression
Script interpreter error, line=1, col=28: Error calling method 'acquireToken()' on java class 'com.ibm.xsp.extlib.sbt.security.oauth_10a.OAProvider'

  1: dropbox.getOAuthProvider().acquireToken()

---

I already tried cleaning / rebuilding the entire project - didn't help this time

I feel I'm missing something here, what could that be? Can it have to do with the experimental state of my server since it can't be reached from outside my office?

Greets,

Lothar

Modification history
Entered 02-Feb-2012 7:26 by Lothar Mueller. Last Modified <none> by Niklas Heidloff.


Anonymous