An exception occurs with the OAuth gadgets
------------------------------------------
Key: GTNPORTAL-1536
URL:
https://jira.jboss.org/browse/GTNPORTAL-1536
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Environment: JBoss package
Reporter: Trong Tran
Assignee: Trong Tran
Fix For: 3.2.0-GA
When i add a gadget that use OAuth (
http://dirk.balfanz.googlepages.com/contacts.xml for
instance ), there will a following exception :
14:56:55,553 WARNING [OAuthModule] Couldn't load key file oauthkey.pem
java.io.FileNotFoundException: oauthkey.pem (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.apache.shindig.common.util.ResourceLoader.open(ResourceLoader.java:49)
at
org.exoplatform.portal.gadget.core.ExoOAuthModule$ExoOAuthStoreProvider.loadDefaultKey(ExoOAuthModule.java:114)
at
org.exoplatform.portal.gadget.core.ExoOAuthModule$ExoOAuthStoreProvider.<init>(ExoOAuthModule.java:102)
at
org.exoplatform.portal.gadget.core.ExoOAuthModule$ExoOAuthStoreProvider$$FastClassByGuice$$85bbe9c0.newInstance(<generated>)
at
com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40)
at
com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
This exception only appearsĀ in GateIn JBoss package
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira