I'm confused.  What success path is being called?  In the example web.xml
file you attached to the bug, you don't have a servlet mapped to
/uploadComplete so invoking of your DispatcherServlet after the upload
occurs is exactly what I would expect.

Is the problem that once inside your DispatcherServlet, getPathInfo() and/or
getRequestURI() are set to /_ah/upload/* rather than /uploadComplete?  If
so, that sounds like a bug and I can investigate it.

On Wed, Apr 14, 2010 at 7:08 PM, Rahul Ravikumar <[email protected]>wrote:

> On further investigation, the blobstore service actually gets called
> and the upload takes place. However the right success path does not
> seem to get called. When i log into the admin console on DevAppServer,
> i can see the Datastore entities of kind __BlobStore__. The same code
> works correctly on the App Engine environment.
>
> On Apr 14, 4:58 pm, Rahul Ravikumar <[email protected]> wrote:
> > I have verified that this does not happen on the Google App Engine
> > environment. Blobstore service works as expected. The problem only
> > seems to occur in the DevAppServer.
> >
> > Is there a servlet that i can map to _ah/upload/* as a workaround on
> > the DevAppServer ? Any other suggestions?
> >
> > On Apr 13, 6:05 pm, Rahul Ravikumar <[email protected]> wrote:
> >
> > > I am seeing the problem on DevAppServer.
> >
> > > On Apr 13, 3:08 pm, Don Schwarz <[email protected]> wrote:
> >
> > > > Are you seeing this problem in the DevAppServer or when deployed to
> > > > our servers?  (Or both?)
> >
> > > > On Tue, Apr 13, 2010 at 4:27 PM, Rahul Ravikumar <
> [email protected]> wrote:
> > > > > Are there any workarounds for this issue?
> >
> > > > > On Apr 12, 7:48 pm, Rahul Ravikumar <[email protected]> wrote:
> > > > >> I am using DevAppServer -
> >
> > > > >> I have filed an issue :
> http://code.google.com/p/googleappengine/issues/detail?id=3083
> >
> > > > >> You can reproduce the problem using a dispatch servlet and the
> > > > >> blobstore service together. The blobstore service does not seem to
> > > > >> handle upload in such cases.
> >
> > > > >> Thanks,
> > > > >> Rahul
> >
> > > > >> On Apr 12, 7:21 pm, Don Schwarz <[email protected]> wrote:
> >
> > > > >> > It should always dispatch to the more specific URL pattern,
> which in
> > > > >> > this case will be the upload servlet.
> >
> > > > >> > Are you seeing this behavior in the DevAppServer or when
> deployed to
> > > > >> > our servers?  Can you file an issue in the issue tracker with an
> > > > >> > appengine-web.xml and web.xml for a reproducible test case?
> >
> > > > >> > Thanks,
> > > > >> > Don
> >
> > > > >> > On Mon, Apr 12, 2010 at 9:14 PM, Rahul Ravikumar <
> [email protected]> wrote:
> > > > >> > > I have a central dispatcher servlet that has a servlet mapping
> of :
> >
> > > > >> > >  <servlet-mapping>
> > > > >> > >        <servlet-name>dispatcher</servlet-name>
> > > > >> > >        <url-pattern>/</url-pattern>
> > > > >> > >  </servlet-mapping>
> >
> > > > >> > > When i try to use the blob store service'screateUploadUrl("/
> > > > >> > > uploadComplete") it maps to a URL for e.g '/_ah/upload/
> > > > >> > > agp0d2VldG15cGljchsLEhVfX0Jsb2JVcGxvYWRTZXNzaW9uX18YEgw'.
> >
> > > > >> > > Before the Blob store service can handle the upload and
> redirect to /
> > > > >> > > uploadComplete; my dispatcher gets called and i am therefore
> not being
> > > > >> > > able to upload anything.
> >
> > > > >> > > Is there a servlet/ filter that i can map to /_ah/upload/* in
> my
> > > > >> > > web.xml ?
> >
> > > > >> > > How do i avoid the dispatcher servlet from getting called
> before the
> > > > >> > > Blob store service can do its thing?
> >
> > > > >> > > --
> > > > >> > > You received this message because you are subscribed to the
> Google Groups "Google App Engine for Java" group.
> > > > >> > > To post to this group, send email to
> [email protected].
> > > > >> > > To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> > > > >> > > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> Groups "Google App Engine for Java" group.
> > > > > To post to this group, send email to
> [email protected].
> > > > > To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> > > > > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to