Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Java

    Description

      The 3.0 beta 4 build breaks while trying to integrate the Mysql DB instead of the JsonDB.

      1) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=shindig.contextroot) was bound.
      while locating java.lang.String annotated with @com.google.inject.name.Named(value=shindig.contextroot)
      for parameter 2 at org.apache.shindig.social.sample.spi.JsonDbOpensocialService.<init>(JsonDbOpensocialService.java:153)
      while locating org.apache.shindig.social.sample.spi.JsonDbOpensocialService
      for parameter 0 at org.apache.shindig.social.sample.oauth.SampleOAuthDataStore.<init>(SampleOAuthDataStore.java:60)
      at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:101)

      2) No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=shindig.oauth.base-url) was bound.
      while locating java.lang.String annotated with @com.google.inject.name.Named(value=shindig.oauth.base-url)
      for parameter 1 at org.apache.shindig.social.sample.oauth.SampleOAuthDataStore.<init>(SampleOAuthDataStore.java:60)
      at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:101)

      3) No implementation for org.apache.shindig.protocol.conversion.BeanConverter annotated with @com.google.inject.name.Named(value=shindig.bean.converter.json) was bound.
      while locating org.apache.shindig.protocol.conversion.BeanConverter annotated with @com.google.inject.name.Named(value=shindig.bean.converter.json)
      for parameter 1 at org.apache.shindig.social.sample.spi.JsonDbOpensocialService.<init>(JsonDbOpensocialService.java:153)
      while locating org.apache.shindig.social.sample.spi.JsonDbOpensocialService
      for parameter 0 at org.apache.shindig.social.sample.oauth.SampleOAuthDataStore.<init>(SampleOAuthDataStore.java:60)
      at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:101)

      4) No implementation for org.apache.shindig.protocol.conversion.xstream.XStreamConfiguration was bound.
      while locating org.apache.shindig.protocol.conversion.xstream.XStreamConfiguration
      for parameter 0 at org.apache.shindig.social.core.util.BeanXStreamAtomConverter.<init>(BeanXStreamAtomConverter.java:38)
      at org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule.configure(JPASocialModule.java:100)

      4 errors
      bootstrap(org.apache.shindig.social.opensocial.jpa.test.JPASocialModuleTest): Guice creation errors:

      Attachments

        Activity

          rbaxter Ryan Baxter added a comment -

          What exactly are you trying to use mysql for? In general any kind of persistence can be used you just need to provide your own implementations for interfaces responsible for persistence and inject them via Guice.

          rbaxter Ryan Baxter added a comment - What exactly are you trying to use mysql for? In general any kind of persistence can be used you just need to provide your own implementations for interfaces responsible for persistence and inject them via Guice.
          preetha Preetha added a comment - - edited

          Can you please throw some light on how to integrate mysql with shindig? I am new to shindig and any pointers will be of great help. Thanks in advance!

          preetha Preetha added a comment - - edited Can you please throw some light on how to integrate mysql with shindig? I am new to shindig and any pointers will be of great help. Thanks in advance!

          Preetha, the "samples" part of Shindig was removed as part of SHINDIG-1917.

          That tutorial is not necessarily valid for Shindig 2.5.0 and onward.

          ssievers Stanton Sievers added a comment - Preetha, the "samples" part of Shindig was removed as part of SHINDIG-1917 . That tutorial is not necessarily valid for Shindig 2.5.0 and onward.
          preetha Preetha added a comment - - edited

          Ryan - Thanks for the prompt response. i am following the steps suggested in the wiki page for integrating the mysql- https://cwiki.apache.org/confluence/display/SHINDIG/Connect+mysql+database+to+shindig
          As suggested, i have checked out the version 2.5 ( http://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.5.0/) but i am unable to find the samples folder in the /java hierarchy and subsequently the JPASocialModule.java file and hence stuck there. It will be of great help if you can throw some light on this.

          preetha Preetha added a comment - - edited Ryan - Thanks for the prompt response. i am following the steps suggested in the wiki page for integrating the mysql- https://cwiki.apache.org/confluence/display/SHINDIG/Connect+mysql+database+to+shindig As suggested, i have checked out the version 2.5 ( http://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.5.0/ ) but i am unable to find the samples folder in the /java hierarchy and subsequently the JPASocialModule.java file and hence stuck there. It will be of great help if you can throw some light on this.
          rbaxter Ryan Baxter added a comment -

          I suggest you look into the 2.5.0 release. We switch version numbers in the middle of our last release cycle from 3.0.0 to 2.5.0. The 2.5.0 code stream is what you should be looking at and it the latest release. If you are still experiencing issues please provide more details about what you changed in Shindig.

          rbaxter Ryan Baxter added a comment - I suggest you look into the 2.5.0 release. We switch version numbers in the middle of our last release cycle from 3.0.0 to 2.5.0. The 2.5.0 code stream is what you should be looking at and it the latest release. If you are still experiencing issues please provide more details about what you changed in Shindig.

          People

            Unassigned Unassigned
            preetha Preetha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: