You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Chris Merrill <ch...@webperformance.com> on 2012/03/08 17:43:15 UTC

GAE and file uploads

I've run to an issue with file uploads on GAE - after the file upload
exceeds a certain size (~10k?), the default file upload implementation
writes to disk, which is not allowed in GAE.

I found this previous post:
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-FileUpload-on-Google-App-Engine-td1889030.html
by Uud Ashr with a solution.

However, that solution appears to be for Wicket 1.4 (or earlier?).
The Wicket-stuff GAE package, which I'm using, doesn't address file uploads.


So I'm planning to upgrade the code proposed by Mr Ashr to 1.5, but
thought I should check here first so I don't re-invent the wheel.

Does anyone know if this problem has already been solved for GAE,
Wicket 1.5 and file uploads?

TIA!
Chris

-- 
------------------------------------------------------------------------ -
Chris Merrill                           |  Web Performance, Inc.
chris@webperformance.com                |  http://webperformance.com
919-433-1762                            |  919-845-7601

Web Performance: Website Load Testing Software & Services
------------------------------------------------------------------------ -

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GAE and file uploads

Posted by Martin Grigorov <mg...@apache.org>.
Cool!
If you don't want to bother with Git then just paste your code in the
issue tracker at https://github.com/wicketstuff/core/issues (when all
licensing is OK)

On Thu, Mar 15, 2012 at 5:25 PM, Chris Merrill <ch...@webperformance.com> wrote:
> Ahhh - 'pull' is a Git term.  We're a subversion shop, so I know just enough
> Git to be dangerous...perhaps even less.
>
> FWIW, I have the file upload code updated for Wicket 1.5 and seems to be
> working. Hopefully I'll get some time after our release to submit Mr Ashr's
> code to GAE Initializer.  He offered it to be added to Wicket, but I feel
> I need to try to get in contact with him and have him submit the code, to
> ensure the licensing is handled correctly.
>
> Chris
>
>
>
> On 3/10/2012 9:28 AM, Martin Grigorov wrote:
>> Hi Chris,
>>
>> GAE initializer is part of WicketStuff which is hosted at github.com:
>> https://github.com/wicketstuff/core/
>> See http://help.github.com/send-pull-requests/
>>
>> On Thu, Mar 8, 2012 at 7:53 PM, Chris Merrill <ch...@webperformance.com> wrote:
>>> On 3/8/2012 11:55 AM, Martin Grigorov wrote:
>>>> I'm glad you find gae-initializer project useful!
>>>> Your can make a pull request with the upgraded to 1.5 code so other
>>>> people can gain from it too.
>>>
>>> What is a pull request?  Is it a different kind of file upload?
>>>
>>>
>>> --
>>> ------------------------------------------------------------------------ -
>>> Chris Merrill                           |  Web Performance, Inc.
>>> chris@webperformance.com                |  http://webperformance.com
>>> 919-433-1762                            |  919-845-7601
>>>
>>> Web Performance: Website Load Testing Software & Services
>>> ------------------------------------------------------------------------ -
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>
>>
>>
>
>
> --
> ------------------------------------------------------------------------ -
> Chris Merrill                           |  Web Performance, Inc.
> chris@webperformance.com                |  http://webperformance.com
> 919-433-1762                            |  919-845-7601
>
> Web Performance: Website Load Testing Software & Services
> ------------------------------------------------------------------------ -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GAE and file uploads

Posted by Chris Merrill <ch...@webperformance.com>.
Ahhh - 'pull' is a Git term.  We're a subversion shop, so I know just enough
Git to be dangerous...perhaps even less.

FWIW, I have the file upload code updated for Wicket 1.5 and seems to be
working. Hopefully I'll get some time after our release to submit Mr Ashr's
code to GAE Initializer.  He offered it to be added to Wicket, but I feel
I need to try to get in contact with him and have him submit the code, to
ensure the licensing is handled correctly.

Chris



On 3/10/2012 9:28 AM, Martin Grigorov wrote:
> Hi Chris,
> 
> GAE initializer is part of WicketStuff which is hosted at github.com:
> https://github.com/wicketstuff/core/
> See http://help.github.com/send-pull-requests/
> 
> On Thu, Mar 8, 2012 at 7:53 PM, Chris Merrill <ch...@webperformance.com> wrote:
>> On 3/8/2012 11:55 AM, Martin Grigorov wrote:
>>> I'm glad you find gae-initializer project useful!
>>> Your can make a pull request with the upgraded to 1.5 code so other
>>> people can gain from it too.
>>
>> What is a pull request?  Is it a different kind of file upload?
>>
>>
>> --
>> ------------------------------------------------------------------------ -
>> Chris Merrill                           |  Web Performance, Inc.
>> chris@webperformance.com                |  http://webperformance.com
>> 919-433-1762                            |  919-845-7601
>>
>> Web Performance: Website Load Testing Software & Services
>> ------------------------------------------------------------------------ -
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
> 
> 
> 


-- 
------------------------------------------------------------------------ -
Chris Merrill                           |  Web Performance, Inc.
chris@webperformance.com                |  http://webperformance.com
919-433-1762                            |  919-845-7601

Web Performance: Website Load Testing Software & Services
------------------------------------------------------------------------ -

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GAE and file uploads

Posted by Martin Grigorov <mg...@apache.org>.
Hi Chris,

GAE initializer is part of WicketStuff which is hosted at github.com:
https://github.com/wicketstuff/core/
See http://help.github.com/send-pull-requests/

On Thu, Mar 8, 2012 at 7:53 PM, Chris Merrill <ch...@webperformance.com> wrote:
> On 3/8/2012 11:55 AM, Martin Grigorov wrote:
>> I'm glad you find gae-initializer project useful!
>> Your can make a pull request with the upgraded to 1.5 code so other
>> people can gain from it too.
>
> What is a pull request?  Is it a different kind of file upload?
>
>
> --
> ------------------------------------------------------------------------ -
> Chris Merrill                           |  Web Performance, Inc.
> chris@webperformance.com                |  http://webperformance.com
> 919-433-1762                            |  919-845-7601
>
> Web Performance: Website Load Testing Software & Services
> ------------------------------------------------------------------------ -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GAE and file uploads

Posted by Chris Merrill <ch...@webperformance.com>.
On 3/8/2012 11:55 AM, Martin Grigorov wrote:
> I'm glad you find gae-initializer project useful!
> Your can make a pull request with the upgraded to 1.5 code so other
> people can gain from it too.

What is a pull request?  Is it a different kind of file upload?


-- 
------------------------------------------------------------------------ -
Chris Merrill                           |  Web Performance, Inc.
chris@webperformance.com                |  http://webperformance.com
919-433-1762                            |  919-845-7601

Web Performance: Website Load Testing Software & Services
------------------------------------------------------------------------ -

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GAE and file uploads

Posted by Martin Grigorov <mg...@apache.org>.
Hi Chris,

I'm glad you find gae-initializer project useful!
Your can make a pull request with the upgraded to 1.5 code so other
people can gain from it too.

On Thu, Mar 8, 2012 at 6:43 PM, Chris Merrill <ch...@webperformance.com> wrote:
> I've run to an issue with file uploads on GAE - after the file upload
> exceeds a certain size (~10k?), the default file upload implementation
> writes to disk, which is not allowed in GAE.
>
> I found this previous post:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-and-FileUpload-on-Google-App-Engine-td1889030.html
> by Uud Ashr with a solution.
>
> However, that solution appears to be for Wicket 1.4 (or earlier?).
> The Wicket-stuff GAE package, which I'm using, doesn't address file uploads.
>
>
> So I'm planning to upgrade the code proposed by Mr Ashr to 1.5, but
> thought I should check here first so I don't re-invent the wheel.
>
> Does anyone know if this problem has already been solved for GAE,
> Wicket 1.5 and file uploads?
>
> TIA!
> Chris
>
> --
> ------------------------------------------------------------------------ -
> Chris Merrill                           |  Web Performance, Inc.
> chris@webperformance.com                |  http://webperformance.com
> 919-433-1762                            |  919-845-7601
>
> Web Performance: Website Load Testing Software & Services
> ------------------------------------------------------------------------ -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org