Cassie, any solution to this?, anyone... ?

Thanks!

G.-

On Mon, Jun 23, 2008 at 12:26 PM, Brad Defnall <[EMAIL PROTECTED]> wrote:

> I've stalled out on this honestly, I just have too much going on at work.
>
> On Mon, Jun 23, 2008 at 11:13 AM, Gonzalo Aune <[EMAIL PROTECTED]>
> wrote:
>
> > I have the exact same problem and cannot fix it, did you get any
> solutions
> > to this issue?
> >
> > Regards.
> >
> > G.-
> >
> > On Mon, Jun 2, 2008 at 6:00 PM, Brad Defnall <[EMAIL PROTECTED]> wrote:
> >
> > > I changed the BASE url and I also rewrote the test class to reflect my
> > > context change.  The code passes its tests, but when I deploy I still
> get
> > > these 404 errors. It must be something very simple, gadgets themselves
> > > work,
> > > just the rest api seems to be busted.
> > >
> > >  I'll take a look at that jira issue as well.
> > >
> > > On Mon, Jun 2, 2008 at 4:56 PM, David Primmer <[EMAIL PROTECTED]
> >
> > > wrote:
> > >
> > > > That's it. However I'd beware of changing this right now unless
> you're
> > > > ok with rewriting or skipping the tests. they're all hardcoded to
> this
> > > > context as well.
> > > >
> > > > This could use a pair of dirt-friendly hands:
> > > > https://issues.apache.org/jira/browse/SHINDIG-317
> > > > It has some background for why our test harness is hardcoded.
> However,
> > > > the server also need to be setup to dynamically pull this info from
> > > > the servlet config when it's making its routes.
> > > >
> > > > davep
> > > >
> > > > On Mon, Jun 2, 2008 at 1:44 PM, Brad Defnall <[EMAIL PROTECTED]>
> > wrote:
> > > > > I was afraid of that.  Which class is it?  I don't mind getting my
> > > hands
> > > > > dirty...
> > > > >
> > > > >  private static final String BASE in class SocialRouteManager seems
> > to
> > > > have
> > > > > something to do with this, or is it something else?
> > > > >
> > > > >
> > > > > On Mon, Jun 2, 2008 at 4:39 PM, David Primmer <
> > [EMAIL PROTECTED]
> > > >
> > > > > wrote:
> > > > >
> > > > >> One common reason for getting this on every request is that the
> > > > >> /social/rest context path is not setup right so the server is
> > 404'ing
> > > > >> all requests. Unfortunately, this is hardcoded in the server and
> not
> > > > >> customizable from the servlet config at this point. there is an
> open
> > > > >> jira issue for this.
> > > > >>
> > > > >> davep
> > > > >>
> > > > >> On Mon, Jun 2, 2008 at 1:30 PM, Brad Defnall <[EMAIL PROTECTED]>
> > > > wrote:
> > > > >> > Thanks! I fixed my guice module, I had forgotten to bind
> > something.
> > > > >> > However, now I get 404 errors from the application when I try to
> > hit
> > > > any
> > > > >> > rest urls.  These aren't jboss 404 messages, but something
> coming
> > > from
> > > > >> > shindig.  The response is in xml:
> > > > >> >
> > > > >> > <?xml version='1.0' encoding='UTF8'?><error
> > > > >> > xmlns="http://incubator.apache.org/abdera";><code>404</code
> > > > >> >
> > > > >> >><message>Not Found</message></error>
> > > > >> >
> > > > >> > I'll keep digging, just thought i'd post something in case
> anyone
> > > else
> > > > >> runs
> > > > >> > into this.
> > > > >> >
> > > > >> > FYI, I'm trying to use mysql to store data in this case, my
> target
> > > app
> > > > >> > server is jboss, the context is /shindig
> > > > >> >
> > > > >> > On Mon, Jun 2, 2008 at 3:05 PM, Kevin Brown <[EMAIL PROTECTED]>
> > > wrote:
> > > > >> >
> > > > >> >> Are you using a custom guice module? If so, you probably need
> to
> > > add
> > > > a
> > > > >> >> binding for the route manager; see
> > > > >> >>
> > > > >> >> http://svn.apache.org/viewvc?view=rev&revision=661322
> > > > >> >>
> > > > >> >> On Mon, Jun 2, 2008 at 11:53 AM, Brad Defnall <
> > [EMAIL PROTECTED]>
> > > > >> wrote:
> > > > >> >>
> > > > >> >> > I had shindig running in jboss just fine last week, i know
> > there
> > > > are
> > > > >> some
> > > > >> >> > URLs to be changed and voila, it worked.  I got back from
> > google
> > > > io,
> > > > >> >> > grabbed
> > > > >> >> > the latest from svn and tried to run in jboss again, but now
> I
> > > get
> > > > >> this
> > > > >> >> > error:
> > > > >> >> >
> > > > >> >> > 2008-06-02 14:28:45,180 ERROR
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/shindig].[restapiServlet]]
> > > > >> >> > Allocate exception for servlet restapiServlet
> > > > >> >> > com.google.inject.ConfigurationException: Error at
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> org.apache.shindig.social.abdera.SocialRouteManager.<init>(SocialRouteManager.java:32)
> > > > >> >> > Error while injecting at
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> org.apache.shindig.social.abdera.SocialApiProvider.setSocialRouteManager(SocialApiProvider.java:35):
> > > > >> >> > Could not find a suitable constructor in
> > > > >> >> > org.apache.shindig.social.abdera.SocialRouteManager. Classes
> > must
> > > > have
> > > > >> >> > either one (and only one) constructor annotated with @Inject
> or
> > a
> > > > >> >> > zero-argument constructor.
> > > > >> >> >    at
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> com.google.inject.BinderImpl$RuntimeErrorHandler.handle(BinderImpl.java:426)
> > > > >> >> >    at
> > > > com.google.inject.InjectorImpl$3.handle(InjectorImpl.java:294)
> > > > >> >> >    at
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> com.google.inject.AbstractErrorHandler.handle(AbstractErrorHandler.java:30)
> > > > >> >> >    at
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> com.google.inject.ConstructorInjector.findConstructorIn(ConstructorInjector.java:105)
> > > > >> >> >
> > > > >> >> > This doesn't look, to me, to be a jboss error though.  Does
> > > anyone
> > > > >> know
> > > > >> >> > whats going on here? I'm not sure where to go from here.
> > > > >> >> >
> > > > >> >> > I also get serious nastiness in jetty, but I'm not sure it's
> > the
> > > > same
> > > > >> >> > error.
> > > > >> >> >
> > > > >> >>
> > > > >> >
> > > > >>
> > > > >
> > > >
> > >
> >
>

Reply via email to