Uploading large file as a part of war

59 views
Skip to first unread message

hrishikesh rajpathak

unread,
Jun 17, 2011, 6:14:15 AM6/17/11
to Google App Engine
I have written an app and successfully tested it locally with the SDK.
It uses some large tagger files to tag my data. The size of one file
goes over 20MB. I need these files in my war to run the app. Locally
it runs fine as it is a part of my war.

When I try to upload it using" appengine-java-sdk\bin\appcfg.cmd
update <war>" command, it gives an error and indicates that there is a
size limit on every file that can be uploaded. (which is 10 MB).

Can ayone tell me what is the solution to this problem?

Thanks.

Ikai Lan (Google)

unread,
Jun 17, 2011, 10:13:38 AM6/17/11
to google-a...@googlegroups.com
Any chance you can break the file up?

That or can you use the blobstore for the file?

Ikai Lan 
Developer Programs Engineer, Google App Engine



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


Renan Mobile

unread,
Jun 18, 2011, 3:15:34 AM6/18/11
to google-a...@googlegroups.com
Hello Rishi,

I face this problem and i'm using the follow parameter on the command: --enable_jar_splitting
The full comand:
appcfg.sh --enable_jar_splitting update war/

Hope this help.

2011/6/17 rishi <hrajp...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.




--
Atenciosamente,

-----
Presidente Renan Franca
____
Renan Mobile ltda: http://renanmobile.com - Soluções em Dispositivos Móveis (Smartphones) com integração via web.
Soluções em:
        Android (Smartphones);
        Google Web Toolkit (Web)
;

hrishikesh rajpathak

unread,
Jun 19, 2011, 6:45:36 AM6/19/11
to Google App Engine
Hi,

I am not sure if I can break up the file as I am not aware of the
file format used.

Can use the file as runtime resource in my war just like the jar?

Thanks

On Jun 17, 7:13 pm, "Ikai Lan (Google)" <ika...@google.com> wrote:
> Any chance you can break the file up?
>
> That or can you use the blobstore for the file?
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>

hrishikesh rajpathak

unread,
Jun 19, 2011, 6:46:24 AM6/19/11
to Google App Engine
Hi,

Thanks for reply. Does this work for other file formats too? Which are
not .jar files?

Thanks...

On Jun 18, 12:15 pm, Renan Mobile <renanfra...@renanmobile.com> wrote:
> Hello Rishi,
>
> I face this problem and i'm using the follow parameter on the command: *
> --enable_jar_splitting*
> The full comand:
> *appcfg.sh --enable_jar_splitting update war/*
>
> Hope this help.
>
> 2011/6/17 rishi <hrajpat...@gmail.com>
>
>
>
> > I have written an app and successfully tested it locally with the SDK.
> > It uses some large tagger files to tag my data. The size of one file
> > goes over 20MB. I need these files in my war to run the app. Locally
> > it runs fine as it is a part of my war.
>
> > When I try to upload it using" appengine-java-sdk\bin\appcfg.cmd
> > update <war>" command, it gives an error and indicates that there is a
> > size limit on every file that can be uploaded. (which is 10 MB).
>
> > Can ayone tell me what is the solution to this problem?
>
> > Thanks.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengi...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Atenciosamente,
>
> -----
> Presidente Renan Franca
> ____
> Renan Mobile ltda:http://renanmobile.com- Soluções em Dispositivos Móveis

Renan Mobile

unread,
Jun 19, 2011, 11:40:37 AM6/19/11
to google-a...@googlegroups.com

Hi,
I really don't know, but give a try and tell me if its work. Ok?

hrishikesh rajpathak

unread,
Jun 21, 2011, 2:13:52 AM6/21/11
to Google App Engine
Nope. It didn't :(

On Jun 19, 8:40 pm, Renan Mobile <renanfra...@renanmobile.com> wrote:
> Hi,
> I really don't know, but give a try and tell me if its work. Ok?
> > > Renan Mobile ltda:http://renanmobile.com-Soluções em Dispositivos
> Móveis
> > > (Smartphones) com integração via web.
> > > Soluções em:
> > >         Android (Smartphones);
> > >         Google Web Toolkit (Web);
>
> > --
> > You received this message because you are subscribed to the Google Groups
>
> "Google App Engine" group.> To post to this group, send email to google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
>
> google-appengi...@googlegroups.com.> For more options, visit this group at
>
> http://groups.google.com/group/google-appengine?hl=en.
>
>
>
> - Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages