[appengine-java] Re: Google App Engine blobstore uploader and Google storage

2012-03-18 Thread Stuart Langley
I read your post a few times but I'm struggling to understand what it is 
you're trying to say - can you make it a little clearer what your symptoms 
are and what you've tried to do to fix it?

Thanks


On Sunday, 18 March 2012 04:16:45 UTC+11, Christian Goudreau wrote:

 Hi folks,

 I'm hitting a blocker issue in one of our projects where my files doesn't 
 get uploaded to Google storage when I use the blobstore generated upload 
 handler, while my files get uploaded to Google storage when I don't use the 
 blobstore generated upload handlers. This is important to use because we 
 need to store files the goes between 100 and 200mo, which doesn't work 
 without the blobstore generated upload handler.

 And this is weird, because it's working locally and it's not when I 
 publish to app engine...

 My GAE version is 1.6.3 on my local environment.

 -- 
 Christian Goudreau
 www.arcbees.com

  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/z3wfsoAV7EoJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Google App Engine blobstore uploader and Google storage

2012-03-18 Thread Christian Goudreau
I resolved my problem.

The problem is simple: using blobstore.createUploadUrl doesn't always work
in production while it's working in development. There's no symptoms, but a
cryptic error 500 and it is why you didn't understood my problem, there's
nothing more to say about it. Before using createUploadUrl, my upload was
working, but well, I couldn't upload large files.

After some time of trying to resolve this, I jumped on a post where the guy
was sending malformed httprequest (missing space, etc.) and started to
wonder if mine were well formed, which is weird since I'm sending a form.
Then I remembered that I added URL Parameters! And those where the ones
that was causing my request to not being forwarded to my upload servlet
correctly!

Conclusion: don't use url parameters with createUploadUrl! - I ddn't tryed
to add the url parameters inside the createUploadUrl, maybe it would have
worked.

I used hidden fields instead which I think is a better solution than adding
parameters into the url anyway.

Cheers,

On Sun, Mar 18, 2012 at 5:08 AM, Stuart Langley slang...@google.com wrote:

 I read your post a few times but I'm struggling to understand what it is
 you're trying to say - can you make it a little clearer what your symptoms
 are and what you've tried to do to fix it?

 Thanks


 On Sunday, 18 March 2012 04:16:45 UTC+11, Christian Goudreau wrote:

 Hi folks,

 I'm hitting a blocker issue in one of our projects where my files doesn't
 get uploaded to Google storage when I use the blobstore generated upload
 handler, while my files get uploaded to Google storage when I don't use the
 blobstore generated upload handlers. This is important to use because we
 need to store files the goes between 100 and 200mo, which doesn't work
 without the blobstore generated upload handler.

 And this is weird, because it's working locally and it's not when I
 publish to app engine...

 My GAE version is 1.6.3 on my local environment.

 --
 Christian Goudreau
 www.arcbees.com

   --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/z3wfsoAV7EoJ.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: need help on issue in storing to google storage using java apis

2012-03-18 Thread Stuart Langley
I responded to your question in SO

On Sunday, 18 March 2012 16:45:38 UTC+11, vikceo wrote:

 Hie

 Can someone help on  
 http://stackoverflow.com/questions/9755670/storing-data-to-google-cloud-storage-using-gae-for-java
   
 please?

 Thankx and Regards

 Vik
 Founder
 http://www.sakshum.org
 http://blog.sakshum.org
  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/rL6nAxmHFbkJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: need help on issue in storing to google storage using java apis

2012-03-18 Thread Vik
yes i saw that though I do not see the possible solution for it?

Is it a bug in google app engine or cloud storage apis?


Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org


On Sun, Mar 18, 2012 at 2:40 PM, Stuart Langley slang...@google.com wrote:

 I responded to your question in SO


 On Sunday, 18 March 2012 16:45:38 UTC+11, vikceo wrote:

 Hie

 Can someone help on  http://stackoverflow.com/**
 questions/9755670/storing-**data-to-google-cloud-storage-**
 using-gae-for-javahttp://stackoverflow.com/questions/9755670/storing-data-to-google-cloud-storage-using-gae-for-java
 please?

 Thankx and Regards

 Vik
 Founder
 http://www.sakshum.org
 http://blog.sakshum.org

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/rL6nAxmHFbkJ.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: need help on issue in storing to google storage using java apis

2012-03-18 Thread Stuart Langley
What do you think is a bug? When using the dev server all of the APIs are
simulated on the local machine.

For the null ptr you need to post the stack trace and/or a repro.

On Mon, Mar 19, 2012 at 12:02 PM, Vik vik@gmail.com wrote:

 yes i saw that though I do not see the possible solution for it?

 Is it a bug in google app engine or cloud storage apis?


 Thankx and Regards

 Vik
 Founder
 http://www.sakshum.org
 http://blog.sakshum.org


 On Sun, Mar 18, 2012 at 2:40 PM, Stuart Langley slang...@google.comwrote:

 I responded to your question in SO


 On Sunday, 18 March 2012 16:45:38 UTC+11, vikceo wrote:

 Hie

 Can someone help on  http://stackoverflow.com/**
 questions/9755670/storing-**data-to-google-cloud-storage-**
 using-gae-for-javahttp://stackoverflow.com/questions/9755670/storing-data-to-google-cloud-storage-using-gae-for-java
 please?

 Thankx and Regards

 Vik
 Founder
 http://www.sakshum.org
 http://blog.sakshum.org

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/rL6nAxmHFbkJ.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 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
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.