We haven't tried packaging Shindig as a standalone OSGi bundle, but we
have packaged it with its dependencies inside a wrapper bundle. It's
hard to help with this little information, though. Is there a nested
stack trace? Can you post your JAR manifests?
On May 14, 2009, at 11:44 AM, Carl Hall wrote:
I'm working to create an OSGi bundle for Shindig. I have almost
everything loading up but can't get Guice to find the dependencies on
servlets. I get exceptions like below [1]. Has anyone else attempted
to create a bundle like this? Anyone know how to get around the Guice
issues? Something to note, Guice is coming from another package so I
suspect that has something to do with it. I've also tried embedding
Guice into my Shindig bundle and get the same results.
[1] Problem accessing /gadgets/makeRequest. Reason:
java.lang.RuntimeException: com.google.inject.ProvisionException:
Error while locating instance
bound to org.apache.shindig.gadgets.servlet.MakeRequestHandler
for member at
org
.apache
.shindig
.gadgets
.servlet
.MakeRequestServlet.setMakeRequestHandler(MakeRequestServlet.java:48)