You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by li...@apache.org on 2008/09/15 23:03:01 UTC
svn commit: r695623 -
/incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/DefaultGuiceModule.java
Author: lindner
Date: Mon Sep 15 14:03:01 2008
New Revision: 695623
URL: http://svn.apache.org/viewvc?rev=695623&view=rev
Log:
Failures in configuring Oauth Store caused the Crypter code to not run, leading to inability to start Shindig
Modified:
incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/DefaultGuiceModule.java
Modified: incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/DefaultGuiceModule.java
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/DefaultGuiceModule.java?rev=695623&r1=695622&r2=695623&view=diff
==============================================================================
--- incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/DefaultGuiceModule.java (original)
+++ incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/DefaultGuiceModule.java Mon Sep 15 14:03:01 2008
@@ -74,12 +74,18 @@
try {
configureOAuthStore();
- configureOAuthStateCrypter();
} catch (Throwable t) {
// Since this happens at startup, we don't want to kill the server just
// because we can't initialize the OAuth config.
logger.log(Level.WARNING, "Failed to initialize OAuth", t);
}
+ try {
+ configureOAuthStateCrypter();
+ } catch (Throwable t) {
+ // Since this happens at startup, we don't want to kill the server just
+ // because we can't initialize the OAuth config.
+ logger.log(Level.WARNING, "Failed to initialize Crypter", t);
+ }
// We perform static injection on HttpResponse for cache TTLs.
requestStaticInjection(HttpResponse.class);