Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10105

Don't block all deployment if OpenSocial/Guice fails to install

    XMLWordPrintable

    Details

      Description

      If Guice fails to install, it raises an exception in the ServletContextListener which cancels all deployment.
      This is a problem when debugging new deployment setups.

      Caused by: org.apache.shindig.config.ContainerConfigException: The file '/opt/jonas/webapps/nuxeo/WEB-INF/opensocial-container.js' doesn't exist.
      	...
      	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
      	at com.google.inject.Guice.createInjector(Guice.java:95)
      	at org.nuxeo.opensocial.servlet.GuiceContextListener.runInjection(GuiceContextListener.java:98)
      	at org.nuxeo.opensocial.servlet.GuiceContextListener.contextInitialized(GuiceContextListener.java:82)
      	at org.nuxeo.opensocial.servlet.ContextListenerDelayer.contextInitialized(ContextListenerDelayer.java:88)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: