Google Docs Plugin error
I've installed this on a staging site and it works fine. I created a production site, restored our information to the production site. When I try to connect using Google Docs OAuth it says:
You have successfully authorized access to Google Docs. Please go back to your previous page and refresh.
When I refresh the page, it says:
Unable to authorise access to Google Docs
The inserted Google doc on the production site says:
Error rendering macro 'gdocument' : : com.appfusions.confluence.googledoc.bean.OAuthTokenPair ---- Debugging information ---- message : : com.appfusions.confluence.googledoc.bean.OAuthTokenPair line number : 1 path : /com.appfusions.confluence.googledoc.bean.OAuthTokenPair cause-message : : com.appfusions.confluence.googledoc.bean.OAuthTokenPair class : com.appfusions.confluence.googledoc.bean.OAuthTokenPair cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException required-type : com.appfusions.confluence.googledoc.bean.OAuthTokenPair -------------------------------
Where is a good place to start looking for the cause?
Could this have to do with running Java sdk 1.7 on our production server as opposed to running Java sdk 1.6.0_29 on the staging server? I've tried deleting the plugin and re-adding it, deleting it out of cache, verified it wasn't in MySQL PLUGINDATA when it was removed, and restarting the server.
-
THANKS for updating this AJ! Appreciate!
(Sorry just noticed after I commented!)
-
The trouble here seems to be that you need to redo your configs on prod, which would be different than staging. Also a new key and secret.
Cross-link: https://answers.atlassian.com/questions/45499/atlassian-google-doc-plugin-error
-
AJ Hawks commented
Fixed this issue with installing Java JDK 1.6.0_29 and relinking it. Solved several problems :)