[appengine-java] BlobstoreService:Must call one of set*BlobStorage() first.

2009-12-21 Thread CHEN
i am using appengine-java-sdk-1.3.0 with eclipse now.

in my page,when i click the SUBMIT button,it shows this message:
===
HTTP ERROR: 500

Must call one of set*BlobStorage() first.
RequestURI=/_ah/upload/
agtzaG9ydC1zdG9yeXIbCxIVX19CbG9iVXBsb2FkU2Vzc2lvbl9fGCsM

Caused by:

java.lang.IllegalStateException: Must call one of set*BlobStorage()
first.
at
com.google.appengine.api.blobstore.dev.BlobStorageFactory.getBlobStorage
(BlobStorageFactory.java:24)
at com.google.appengine.api.blobstore.dev.UploadBlobServlet.init
(UploadBlobServlet.java:88)
at javax.servlet.GenericServlet.init(GenericServlet.java:215)
at org.mortbay.jetty.servlet.ServletHolder.initServlet
(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.getServlet
(ServletHolder.java:342)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
463)
===

Form:
===

<%@ page
import="com.google.appengine.api.blobstore.BlobstoreServiceFactory"%>
<%@ page
import="com.google.appengine.api.blobstore.BlobstoreService"%>
<%
BlobstoreService blobstoreService = BlobstoreServiceFactory
.getBlobstoreService();
%>
"
method="post" enctype="multipart/form-data" commandName="theStory">

===


Receiver:
===
@RequestMapping(value = "/story_add.do", method = RequestMethod.POST)
@ModelAttribute("theStory")
private ShortStory add(ShortStory shortStory, Model model,
HttpServletRequest request) {
Map blobs = blobstoreService.getUploadedBlobs
(request);
BlobKey blobKey = blobs.get("file");
if (blobKey != null) {
shortStory.setFile(blobKey);
}
.
===


what's the wrong?thank you very much.

--

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-j...@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: A running app does not detect newly created files.

2010-01-14 Thread AJ Chen
Since app engine does not allow file writing, it probably does not expect
any new file during run time. That's why you see the new file only after
restarting the server. To "write new file" in app engine, I would think it
as "put new file content into datastore".
-aj

On Thu, Jan 14, 2010 at 9:53 AM, George Moschovitis <
george.moschovi...@gmail.com> wrote:

>
>
> On Jan 14, 12:47 am, "Jason (Google)"  wrote:
> > I implemented the sample Blobstore application provided in the
> documentation
> > (two servlets, Upload.java and Serve.java -- Upload.java redirects to
> > Serve.java which looks up the blob and renders it using
> > blobstoreService.serve) but I'm not able to reproduce your error. I can
> see
> > that, on the development server, the uploaded file is indeed stored in
> > WEB-INF/appengine-generated, but there aren't any exceptions when trying
> to
> > read this file regardless of whether the development server is still
> > running.
> >
> > Out of curiosity, what platform are you running (Windows, Mac OS X, or
> > Linux) and what are the permissions of the newly added file? This is what
> I
> > see: -rw-r--r-- If your case is similar, you shouldn't have any issue
>
> I see this as well:
>
> -rw-r--r-- 1 root  root40018 2010-01-14 19:49
> fgMldUn0bca_tWegd6UK2Q
>
> but I still get the error where trying to view the file.
>
> However, if I restart the devserver and try to serve the file it
> works!
> It seems like the server is getting a snapshot of the filesystem and
> does not recognize new files?
>
> Btw I am running a Javascript (Rhino) application using narwhal
> (www.narwhaljs.org)
> Perhaps this is a problem with narwhal and not the devserver?
>
> regards,
> -g.
>
> --
> 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-j...@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.
>
>
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*
-- 

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-j...@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] queue task timeout

2010-02-01 Thread AJ Chen
I'm using queued tasks to fetch feeds, one feed per task. each task takes
about a couple of seconds. but, the tasks get unexpected timeout easily with
the following error message. any idea how task timeout happens? is it
possible to control the timeout period?  thanks,

Feb 2, 2010 7:00:54 AM org.quartz.core.JobRunShell run
SEVERE: Job feed-fetch.task4 threw an unhandled Exception:
com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError:
2: Received exception executing http method POST against URL
http://127.0.0.1:/task: Timeout waiting for connection
at
com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:223)
at
com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:53)
at
com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:46)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

-aj--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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: queue task timeout

2010-02-05 Thread AJ Chen
This must be it since timeout occurs only when multiple tasks are fired at
the same time. thanks,
-aj

On Thu, Feb 4, 2010 at 6:11 PM, cowper  wrote:

> I believe that this may be due to the fact that the URL you are
> requesting is on the local SDK server, which is single threaded and as
> you are already using the only thread for the original request you get
> the timeout ...
>
> On Feb 1, 11:23 pm, AJ Chen  wrote:
> > I'm using queued tasks to fetch feeds, one feed per task. each task takes
> > about a couple of seconds. but, the tasks get unexpected timeout easily
> with
> > the following error message. any idea how task timeout happens? is it
> > possible to control the timeout period?  thanks,
> >
> > Feb 2, 2010 7:00:54 AM org.quartz.core.JobRunShell run
> > SEVERE: Job feed-fetch.task4 threw an unhandled Exception:
> > com.google.apphosting.api.ApiProxy$ApplicationException:
> ApplicationError:
> > 2: Received exception executing http method POST against URLhttp://
> 127.0.0.1:/task:Timeout waiting for connection
> > at
> >
> com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:223)
> > at
> >
> com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:53)
> > at
> >
> com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:46)
> > at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
> > at
> >
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> >
> > -aj--
> > AJ Chen, PhD
> > Chair, Semantic Web SIG, sdforum.orghttp://web2express.org
> > @web2express on twitter
> > Palo Alto, CA, USA
> > 650-283-4091
> > *Monitoring social media in real time*
>
> --
> 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-j...@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.
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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] unexpected execution of task queue

2010-02-16 Thread AJ Chen
I have a queue to run a task every hour by adding a new task (ETA=60min)
after the current task is finished. It works fine in eclipse, but it behaves
unexpectedly on production. The task is actually run every minute or so even
though ETA time on the task queues console indicates it should be executed
in 1 hour or so.  And, the number of tasks keeps growing.  I understand ETA
is not exact, but 1 min actual is just too far from 60 min ETA.  Any idea
how to make the scheduled task more reliable?

the app is at http://realmon9.appspot.com

thanks,
-aj--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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] how to do initialization at startup?

2010-02-17 Thread AJ Chen
For standard web app, I use a context listener servlet to do initialization
at startup. This also works in eclipse with GAE plugin, i.e. the context
listener is called only once at startup. But, it does not work in production
because the context listener servlet is called frequently. It seems GAE
restarts the context or something that triggers the call to the listener
servlet. SO, the question is:  what's the right way to do one-time
initialization (e.g. pre-load data) in GAE? Maybe GAE does not have the
concept of initialization. Any suggestion is appreciated.
-aj

-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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] how to do initialization at startup?

2010-02-17 Thread AJ Chen
thanks,

On Wed, Feb 17, 2010 at 12:29 AM, Stephan Hartmann wrote:

> Your app becomes shut down if it does not receive any requests for some
> time. After that, the next request will initiate a new startup sequence, so
> the implementation of the servlet spec is correct.
>
> You should also implement ServletContextListener.contextDestroyed() to
> perform cleanup of your data, if needed.
>
> Regards,
> Stephan
>
>
> 2010/2/17 AJ Chen 
>
>> For standard web app, I use a context listener servlet to do
>> initialization at startup. This also works in eclipse with GAE plugin, i.e.
>> the context listener is called only once at startup. But, it does not work
>> in production because the context listener servlet is called frequently. It
>> seems GAE restarts the context or something that triggers the call to the
>> listener servlet. SO, the question is:  what's the right way to do one-time
>> initialization (e.g. pre-load data) in GAE? Maybe GAE does not have the
>> concept of initialization. Any suggestion is appreciated.
>> -aj
>>
>> --
>> AJ Chen, PhD
>> Chair, Semantic Web SIG, sdforum.org
>> http://web2express.org
>> @web2express on twitter
>> Palo Alto, CA, USA
>> 650-283-4091
>> *Monitoring social media in real time*
>>
>> --
>> 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-j...@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-j...@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.
>



-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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: how to do initialization at startup?

2010-02-17 Thread AJ Chen
yes, the new console is a good addition. however, because the app can be
shutdown/restarted by GAE at any time, you would still need to put the
initialization code in context listener (or similar place) so that it will
be called automatically when the app is restarted.

I just realize a potential major issue in GAE environment, which may require
some paradigm shift in server programming (at least to me). Usually, one the
server side, you may have a singleton class to keep some data objects
closeby as well as updating the data at run time. The data may change so
fast that they are conveniently kept in memory for some time before put into
permanent storage. This is safe because the web server does not kill the app
at will. Now that GAE may kill the app and restart it at any time, keeping
data in memory becomes a big potential problem because the data will be gone
after the app starting. This means you would have to save the new data into
datastore immediately. If you have lots of intermediate data or temporary
data, you have to save them to datastore immediately as well. This
always-using-datastore situation created by GAE may slow down some
applications in addition to a lot more coding for storage.

Without knowing what exactly happens when GAE automatically shutdowns the
app, my worry may be wrong.  Does anyone see the similar issue?  Any
suggestion for safely keeping data in memory?

-aj

On Wed, Feb 17, 2010 at 10:00 AM, Vlad Skarzhevskyy
wrote:

> There is an Custom Admin Console pages in new SDK 1.3.1.
> I think the best place to preload the data to your application is
> using servlet/page exposed in this Console.
>
> --
> 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-j...@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.
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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: how to do initialization at startup?

2010-02-17 Thread AJ Chen
There is significant difference between dealing with infrequent crash event
and dealing with frequent shutdown by GAE. The difference is huge when you
want to have some intermediate data in memory for performance reason. When
there is a system crash, you just start over, which is tolerable in most
cases.  Restarting app by GAE is a total different story because it makes
storing data in memory no longer a valid approach. For my google app, I see
it is restarted by GAE even after a few minutes. My usual singleton object
become useless because the data objects it holds are recreated every few
minutes. This is why I think GAE's frequent restart behavior is a constraint
forcing me (probably other developers) to change design pattern, which may
be good or bad.

In this case, the change is not good, I'm afraid. Let's look at the counter
example.  Normally it's trivial to keep a counter of some sort on the
server. But in GAE, it's non-trivial. You can't get a total count from
datastore easily and storing a counter in memory is not reliable. SO, you
have to do some creative work-around as proposed in GAE documentation.

Am I making sense? In any case, I'm hoping someone has an easy/reliable way
to keep tracking a counter in memory within GAE. I'll appreciate any
suggestion.

-aj

On Wed, Feb 17, 2010 at 1:56 PM, Stephan Hartmann wrote:

> Hi AJ,
>
> Your consideration is not specific to GAE. You always have the potential
> risk that a server could crash and then all your unstored data changes will
> get lost.
> So for critical data you should use a write-through cache. However, in a
> distributed environment like GAE (but not specific to GAE, every standard
> conform servlet container will support this) you have to take special care
> to keep the caches of all nodes in sync, or just use a distributed cache
> like Memcache in GAE.
>
> Regards,
> Stephan
>
> 2010/2/17 AJ Chen 
>
>> yes, the new console is a good addition. however, because the app can be
>> shutdown/restarted by GAE at any time, you would still need to put the
>> initialization code in context listener (or similar place) so that it will
>> be called automatically when the app is restarted.
>>
>>
>> I just realize a potential major issue in GAE environment, which may
>> require some paradigm shift in server programming (at least to me). Usually,
>> one the server side, you may have a singleton class to keep some data
>> objects closeby as well as updating the data at run time. The data may
>> change so fast that they are conveniently kept in memory for some time
>> before put into permanent storage. This is safe because the web server does
>> not kill the app at will. Now that GAE may kill the app and restart it at
>> any time, keeping data in memory becomes a big potential problem because the
>> data will be gone after the app starting. This means you would have to save
>> the new data into datastore immediately. If you have lots of intermediate
>> data or temporary data, you have to save them to datastore immediately as
>> well. This always-using-datastore situation created by GAE may slow down
>> some applications in addition to a lot more coding for storage.
>>
>> Without knowing what exactly happens when GAE automatically shutdowns the
>> app, my worry may be wrong.  Does anyone see the similar issue?  Any
>> suggestion for safely keeping data in memory?
>>
>> -aj
>>
>>
>> On Wed, Feb 17, 2010 at 10:00 AM, Vlad Skarzhevskyy <
>> skarzhevs...@gmail.com> wrote:
>>
>>> There is an Custom Admin Console pages in new SDK 1.3.1.
>>> I think the best place to preload the data to your application is
>>> using servlet/page exposed in this Console.
>>>
>>> --
>>> 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-j...@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.
>>>
>>>
>>
>>
>> --
>> AJ Chen, PhD
>> Chair, Semantic Web SIG, sdforum.org
>> http://web2express.org
>> @web2express on twitter
>> Palo Alto, CA, USA
>> 650-283-4091
>> *Monitoring social media in real time*
>>
>> --
>> 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

[appengine-java] cloud computing event: Intelligence from the Cloud

2010-02-18 Thread AJ Chen
SDForum's next event will talk about google cloud computing and
intelligence. AppEngine team member Wesley Chun will present app engine. Andrew
Lampitt from Jaspersoft will talk about BI and cloud. I thought some of you
might be interested in the topic.  Time: 6:30-9pm, March 3rd, 2010.
Location: palo alto.  See event description below and details on sdforum.org
website.
<http://sdforum.org/index.cfm?fuseaction=Page.viewPage&pageId=656&parentID=483&nodeID=1>

*Intelligence from the Cloud*

The computing cloud is forming on top of the web. It's going to change the
way we  develop and use applications. This event, "Intelligence from the
Cloud" will look at the connection between the cloud and web intelligence.
The focus will be the new infrastructures available today that are enabling
easy creation and consumption of web intelligence and semantics in the
cloud.

Wesley Chun from Google AppEngine Team will introduce Google App Engine
platform, an application development and hosting platform that lets you
build & deploy web applications on Google's high-traffic infrastructure. App
Engine executes apps (written in Python or Java) on servers that use the
same technology that powers Google's websites for speed and reliability.
There is no need to think about virtual machine images or disk
requirements... you just provide the code. This is a high-level talk
introducing attendees to Google App Engine, including its components and
architecture as well as some of its most popular developer APIs, such as
memcache, users (Google accounts), email, URLFetch, XMPP, Blobstore, etc.
Time-permitting we'll go through a simple example using Python.

The terms “Business Intelligence,” “Semantics,” “Analytics,” and “Cloud”
mean a variety of things to different audiences. Andrew Lampitt from
Jaspersoft and zAgile will give a sweeping view of  these topics and show
how they mesh together to solve real-world problems today. Jaspersoft
enables easy deployment of business intelligence to the Infrastructure as a
Service (IaaS) cloud as well as a semantic layer to shield business users
from technical jargon of the underlying physical database. zAgile delivers
an ontology-driven context server that enables semantic integration of
enterprise information across tools and applications, and it can also act as
the comprehensive semantic description of the complete information
architecture. A combination of Jaspersoft and zAgile technologies delivers
the most leading edge semantically driven business intelligence solution as
well as deep, contextual collaboration for business intelligence consumers.
Case studies will explore how customers are applying the latest techniques
to solve painful problems in an elegant and affordable way, that simply were
not possible just a couple years ago.

Wondering what's behind the Cloud? Aliens and Intelligence.


Hope to see some of you on the event.
Best,
AJ
-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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] log4j init fails

2010-02-18 Thread AJ Chen
I have  log4j config in appengine-web.xml,






but GAE still complains about it:
log4j:WARN No appenders could be found for logger (DataNucleus.Connection).
log4j:WARN Please initialize the log4j system properly.

Is there anything else that should be set?

thanks,
-aj

-- 
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-j...@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] update to sdk1.3.1

2010-02-18 Thread AJ Chen
I ran an update from eclipse. The sdk1.3.1 is installed in the
eclipse/plugin dir, but the sdk in my existing GAE project still points to
the old version 1.3.0.  Should the update automatically update the existing
project? if not, how to change it manually?
thanks,
-aj

-- 
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-j...@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] update to sdk1.3.1

2010-02-20 Thread AJ Chen
thanks. it works.
-aj

2010/2/19 Miguel Méndez 

> No, it won't auto-update today.  The following link explains how to switch
> the SDK that a project is using:
> http://code.google.com/eclipse/docs/using_sdks.html.
>
> On Thu, Feb 18, 2010 at 11:46 PM, AJ Chen  wrote:
>
>> I ran an update from eclipse. The sdk1.3.1 is installed in the
>> eclipse/plugin dir, but the sdk in my existing GAE project still points to
>> the old version 1.3.0.  Should the update automatically update the existing
>> project? if not, how to change it manually?
>> thanks,
>> -aj
>>
>> --
>> 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-j...@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.
>>
>
>
>
> --
> Miguel
>
> --
> 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-j...@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.
>



-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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: How to handle schema change on JDO data model class?

2010-02-22 Thread AJ Chen
Is GAE team working on implementing the JDO feature (use default value for
new field instead of throwing exception)? that will make data migration
easier.
-aj

On Mon, Feb 22, 2010 at 8:02 AM, datanucleus wrote:

> > For example, when adding a field that uses a primitve type to an object.
> > You can't query all objects with JDO pretending to store them in the
> > recently modified object, because null cannot be asigned to the non-null
> > field, but you can query the objects using the low level api and set a
> > default value for the new field.
>
> And in terms of the JDO implementation, the only thing needed for it
> to handle that seamlessly would be to support the use of a "default"
> value for any new field, so when reading old data that doesn't have
> that field it would apply the default value to the field. This is
> specifiable in JDO metadata, so is only waiting for the GAE/J plugin
> to be modified to use it.
>
> --
> 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-j...@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.
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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: High latency issue

2010-02-22 Thread AJ Chen
cat container), it
> > is often taking as much as 6.5 or more for the content to be returned
> > in GAE.
> >
> > Is there a problem with my account? Or is this perhaps expected level
> > of performance for non-paid users who are test driving Google App
> > Engine (and will improve once we pay the minimum fee?)
> >
> > Thank you,
> > Soichi
>
> --
> 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-j...@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.
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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: GAE Alternatives?

2010-02-24 Thread AJ Chen
It depends on your app. For small business app, you may check out force.com,
which offers free developer account. I use both GAE and force.com because
I'm excited about connecting google cloud with salesforce cloud. but, GAE's
current state of reliability and performance is a bit concern. Hope GAE
grows up faster.
-aj

On Wed, Feb 24, 2010 at 3:20 PM, Larry Cable  wrote:

> I have to concur with Corby on this ... I was initially attracted to
> the end-to-end
> solution that GAE offered integrated as it is with Eclipse.
>
> In practice I have found it very frustrating to develop on GAE because
> of:
>
> - the class white list and 3rd party framework usage (i.e Spring)
>
> - the truly frustrating metering exceptions that the Datastore and
> Servlet container throw,
>  coding around those is painful... you have to invent your own
> "transaction" compensation...
> - the lack of any Java based bullk load facility for DS (I had to
> write my own)
>  (which is when you trip up over the metering exceptions...)
>
> - the limitations of mapping BigTable under JPA/JDO
>
> - the paucity of debugging on the production server (the log WUI is
> woeful for this)
>
> We have reached the stage with our app where we will probably move it
> off GAE and onto EC2 where despite the
> additional work involved in dealing with AMI lifecycle vs .war we are
> more in control of the underlying environment
>
> (although I am sure there are a similar, but different, set of hiccups
> and hurdles awaiting us ...)
>
> - Larry
>
>
> On Feb 24, 10:17 am, Corby  wrote:
> > On Feb 24, 10:39 am, A1programmer  wrote:
> >
> > > Are there any good alternatives to Google App Engine out there?
> >
> > > I am finding that I cannot rely on GAE for a production quality
> > > environment.
> >
> > I am very excited about the future of Google App Engine, but I am in
> > the same boat, Derrick.
> >
> > I am working with a startup that tried to get up and running on Google
> > App Engine, but we have since migrated to Spring Cloud Foundry, which
> > runs on Amazon's EC2 architecture. It is a heavier-weight environment,
> > and the monthly costs are higher, but the development costs are much,
> > much cheaper, and we have far fewer unexpected Production problems.
> >
> > > There's a huge attraction to the tiny resource requirement to maintain
> a WAR
> > > file deployment versus the large requirements of a EC2 style VM.
> >
> > I agree, but for me there is an even larger attraction to having
> > predictable behavior in our Production environment, and we can't
> > currently get that from GAE. Some people are happy with BigTable as a
> > general persistence solution, but we are not. The whitelisted
> > classloader makes every attempt to integrate with third-party
> > libraries an adventure. And the nature of GAE's on-demand provisioning
> > makes it difficult to guarantee the response times we want for our
> > customers.
> >
> > The crushing blow to our morale is code that runs perfectly in our
> > development environment, but breaks when deployed to GAE.
> >
> > I have a lot of faith in the Google team, and I can't wait to see what
> > GAE looks like a year from now. But right now, I can only recommend it
> > for the simplest of internal apps, nothing client-facing.
>
> --
> 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-j...@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.
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*

-- 
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-j...@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] log4j init fails

2010-03-11 Thread AJ Chen
I have the default log4j.properties in WEB-INF/classes dir. but the warning
always comes up. the file is visible because I can change the log level to
ERROR to get rid of the warning.
-aj


On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright wrote:

> I think you can simply put the log4j.properties file in the WEB-INF/classes
> dir and you don't need any appengine-web.xml stuff for it.  Log4j looks for
> its configuration file "on the classpath" which means it looks in
> WEB-INF/classes (and also in all of the jars in the lib directory).
>
>
> AJ Chen wrote:
>
>> I have  log4j config in appengine-web.xml,
>> 
>>> value="WEB-INF/logging.properties"/>
>>> value="file:WEB-INF/classes/log4j.properties"/>
>>> value="WEB-INF/monitor.properties"/>
>>
>>   but GAE still complains about it:
>> log4j:WARN No appenders could be found for logger
>> (DataNucleus.Connection).
>> log4j:WARN Please initialize the log4j system properly.
>>
>> Is there anything else that should be set?
>>
>> thanks,
>> -aj
>>
>> --
>> 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-j...@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.
>>
>
> --
> 0x2B | ~0x2b  --  Hamlet
>
> --
> 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-j...@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.
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
Palo Alto, CA, USA
650-283-4091
*Building social media monitoring pipeline, and connecting social customers
to CRM*

-- 
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-j...@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] log4j init fails

2010-03-11 Thread AJ Chen
yes, log4j.properties is copied by the build. the app uses it.  the warning
message is weird.  thanks.

On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal  wrote:

> If you have your log4j.properties file at the root of your source tree, it
> should automatically be copied over to war/WEB-INF/classes whenever Eclipse
> performs a build of your project; you should not have to copy it over
> manually.
>
> I'm not sure why you're getting the error with regard to
> Datanucleus.Connection; I've added Don to this thread; he may have some
> insight into this.
>
>
> On Thu, Mar 11, 2010 at 3:33 AM, AJ Chen  wrote:
>
>> I have the default log4j.properties in WEB-INF/classes dir. but the
>> warning always comes up. the file is visible because I can change the log
>> level to ERROR to get rid of the warning.
>> -aj
>>
>>
>>
>> On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright wrote:
>>
>>> I think you can simply put the log4j.properties file in the
>>> WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it.
>>>  Log4j looks for its configuration file "on the classpath" which means it
>>> looks in WEB-INF/classes (and also in all of the jars in the lib directory).
>>>
>>>
>>> AJ Chen wrote:
>>>
>>>> I have  log4j config in appengine-web.xml,
>>>> 
>>>>>>> value="WEB-INF/logging.properties"/>
>>>>>>> value="file:WEB-INF/classes/log4j.properties"/>
>>>>>>> value="WEB-INF/monitor.properties"/>
>>>>
>>>>   but GAE still complains about it:
>>>> log4j:WARN No appenders could be found for logger
>>>> (DataNucleus.Connection).
>>>> log4j:WARN Please initialize the log4j system properly.
>>>>
>>>> Is there anything else that should be set?
>>>>
>>>> thanks,
>>>> -aj
>>>>
>>>> --
>>>> 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-j...@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.
>>>>
>>>
>>> --
>>> 0x2B | ~0x2b  --  Hamlet
>>>
>>> --
>>> 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-j...@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.
>>>
>>>
>>
>>
>> --
>> AJ Chen, PhD
>> Chair, Semantic Web SIG, sdforum.org
>> http://web2express.org
>> twitter @web2express
>> Palo Alto, CA, USA
>> 650-283-4091
>> *Building social media monitoring pipeline, and connecting social
>> customers to CRM*
>>
>>  --
>> 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-j...@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-j...@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.
>



-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
Palo Alto, CA, USA
650-283-4091
*Building social media monitoring pipeline, and connecting social customers
to CRM*

-- 
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-j...@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] App Engine SDK 1.3.2 is out!

2010-03-26 Thread AJ Chen
I notice some of the most wanted are on the "features on deck" list. That's
terrific. Keep up shining, Google cloud.

On Fri, Mar 26, 2010 at 9:23 AM, Ikai L (Google)  wrote:

> Here are the Java release notes. I mistakenly posted the Python notes:
>
> App Engine Java SDK - Release Notes
> Version 1.3.2 - March 25, 2010
>
>- New API to read the contents of uploaded Blobs (fetch_data)
>   - http://code.google.com/p/googleappengine/issues/detail?id=2536
>- URLFetch now supports accessing ports 80-90, 440-450, and 1024-65535
>- Mail API now allows common document formats as attachments
>   - http://code.google.com/p/googleappengine/issues/detail?id=494
>- The Task Queue API now supports adding multiple tasks in a single
>call to Queue.add()
>- Fixed charset handling for inbound emails
>   - http://code.google.com/p/googleappengine/issues/detail?id=2326
>- Fixed issue with compositing background colors in dev_appserver
>- New feature in the datastore to specify whether to use strong or
>eventually consistent reads (the default is strong)
>- New datastore feature allows setting deadlines for operations
>- Increased the maximum Task Queue refill rate from 20/s to 50/s
>- Support for IP blacklisting to prevent denial of service (DoS)
>attacks
>- App Stats is now available for the Java SDK in addition to Python
>- Fix issue with expiration times not being reset on Put on the
>Memchache API
>   - http://code.google.com/p/googleappengine/issues/detail?id=1284
>- Fix issue preventing static files from being served when a servlet is
>mapped to root
>   - http://code.google.com/p/googleappengine/issues/detail?id=1379
>
> JDO/JPA Changes
>
>- Support default rpc deadlines and query-specific deadlines
>- Support default read consistency config and query-specific read
>consistency config
>
>  --
> 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-j...@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.
>



-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
Palo Alto, CA, USA
*Helping organizations build social media monitoring pipeline and social
CRM*

-- 
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-j...@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] Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 7 Topics

2011-11-30 Thread Ping Chen
00

sent from my android pad
On Nov 30, 2011 12:24 PM,  wrote:

>   Today's Topic Summary
>
> Group: http://groups.google.com/group/google-appengine-java/topics
>
>- what should i learn so that i can program google app engine 
> java?<#133f2b7563e591a5_group_thread_0>[1 Update]
>- Backend "Connection to Client Lost"<#133f2b7563e591a5_group_thread_1>[1 
> Update]
>- Linux eclipse unable to Sign in to 
> Google<#133f2b7563e591a5_group_thread_2>[1 Update]
>- Spring AOP behaving inconsistently on Google 
> infrastructure.<#133f2b7563e591a5_group_thread_3>[1 Update]
>- 1.3.8 upgrade delete datastore 
> contents<#133f2b7563e591a5_group_thread_4>[2 Updates]
>- How can I deploy my first 
> application?<#133f2b7563e591a5_group_thread_5>[1 Update]
>- Cannot upgrade to app engine SDK 1.6.0 on STS 
> 2.8.1<#133f2b7563e591a5_group_thread_6>[1 Update]
>
>   what should i learn so that i can program google app engine 
> java?
>
>Triluongv  Nov 29 03:43PM -0800
>
>hello all, i need your advice. i am no programmer before. now i want
>to become google app engine java development. what should i learn? how
>long does it take?
>i appreciate any advice!
>
>Tri.
>...more
>
>   Backend "Connection to Client 
> Lost"
>
>ndixon  Nov 29 07:04AM -0800
>
>Hello,
>
>I am constantly receiving "Connection to Client Lost" errors and have
>no
>idea why. The same process runs nightly, some nights with no errors at
>all, others with many of these errors. ...more
>
>   Linux eclipse unable to Sign in to 
> Google
>
>"jem...@gmail.com"  Nov 29 09:56AM -0500
>
>I don't think gaej supports jdk 7 (yet).
>
>Hth
>
>Sent from my HTC on the Now Network from Sprint!
>
>- Reply message -
>From: "Clement Yuan" 
>Date: Mon, Nov 28, 2011 ...more
>
>   Spring AOP behaving inconsistently on Google 
> infrastructure.
>
>Marcel Overdijk  Nov 29 02:34AM -0800
>
>bump
>
>...more
>
>   1.3.8 upgrade delete datastore 
> contents
>
>Ian Marshall  Nov 29 01:31AM -0800
>
>This is known behaviour with the GAE/J SDK. It has been discussed
>before.
>
>If you haven't already searched this group for "Datastore empty", you
>will will some relevant posts.
>
>
>...more
>
>
>Ian Marshall  Nov 29 01:33AM -0800
>
>This is known behaviour with the GAE/J SDK. It has been discussed
>before.
>
>If you haven't already searched this group for "Datastore empty", you
>will find some relevant posts.
>
>...more
>
>   How can I deploy my first 
> application?
>
>Arjun Damodar  Nov 28 09:50PM -0800
>
>Please use "datastore-indexes.xml" for creating the index..
>
>AD
>
>...more
>
>   Cannot upgrade to app engine SDK 1.6.0 on STS 
> 2.8.1
>
>Yegor  Nov 28 09:33PM -0800
>
>Sounds like you are running an old version of JRE/JDK.
>
>...more
>
>  You received this message because you are subscribed to the Google Group
> google-appengine-java.
> You can post via email .
> To unsubscribe from this group, 
> sendan empty message.
> For more options, 
> visitthis group.
>
> --
> 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.



Re: [appengine-java] Re: Use of com.google.appengine.repackaged

2012-01-04 Thread Vic Chen
Hello chiluveriramesh1

me too.
i have to use com.google.appengine.repackaged.org.json.JSONObject.

anyway, i just don't care and deploy it.
it still work fine.

2012/1/4 ramesh :
> Hi All,
>
> I need to use JSONObject in my project.
>
> When i import com.google.appengine.repackaged.org.json.JSONObject;
>  giving error as
> "Use of com.google.appengine.repackaged may result in your app
> breaking without warning"
>
> I got this error after i upgrade to appengine 1.6.1 sdk. 1.6.0 works
> fine.
>
> Please help me on this.
>
>
> On Jan 3, 3:59 pm, Jerome  wrote:
>> Hello Ramesh,
>>
>> As Ikai was suggesting above, change your import to:
>> import org.apache.commons.codec.binary.Base64;
>>
>> The method name in this class are a bit different from the repacked
>> Google class, but the mapping is fairly straight forward.
>>
>> Cheers,
>>
>> Jerome
>>
>> On Jan 3, 9:49 am, ramesh  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Hi,
>>
>> > How can i resolve this issue. I am getting same issue after upgrading
>> > to app engine1.6.1
>>
>> > Thanks
>>
>> > On Dec 20 2011, 2:13 am, "Ikai Lan (Google)" 
>> > wrote:
>>
>> > > I usually just use the Apache Commons one:
>>
>> > >http://commons.apache.org/codec/apidocs/org/apache/commons/codec/bina...
>>
>> > > --
>> > > Ikai Lan
>> > > Developer Programs Engineer, Google App Engine
>> > > plus.ikailan.com | twitter.com/ikai
>>
>> > > On Mon, Dec 19, 2011 at 11:03 AM, Carter  wrote:
>> > > > After upgrading to1.6.1, we get this message:
>> > > > "Use of com.google.appengine.repackaged may result in your app
>> > > > breaking without warning"
>> > > > for our use of:
>> > > > import com.google.appengine.repackaged.com.google.common.util.Base64;
>>
>> > > > Is there a preferred Base64 encoder we can use instead?
>>
>> > > > --
>> > > > 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.
>

-- 
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] android + AppEngine + Users API

2012-01-07 Thread Vic Chen
i use android(also ios), gae and google cloud sql(for restore and backup data).
it work for my project.

i use very simple servlet way.

2012/1/8 John Goche :
>
> Hello,
>
> I would like to use the Users API of App Engine from Android.
> Here is what I plan to do. On the Android UI I present a from
> where the user enters the username and password and clicks
> OK. From there the data is submitted to Google which allows
> the user to authenticate. This is exactly the part I don't know
> how to do because all examples on the web are for web
> browsers and not for mobile devices like android.
>
> I also don't have a clue of how OpenID or Google Accounts
> or Google mail authentication works. Basically, do I get a cookie
> over SSL which allows me to prove my identity?
>
> Doesn't app engine close the session once the HTTP response is received
> by the client. If so how can I actually stay logged in?
>
> Thanks,
>
> John Goche
>
> --
> 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.



Re: [appengine-java] android + AppEngine + Users API

2012-01-07 Thread Vic Chen
md5

for my case
it just mvc.
m is google cloud sql
v is android or ios
c is gae
authentication control on the C

fyi

2012/1/8 John Goche :
>
> What approach do you use for authentication?
>
>
> On Sat, Jan 7, 2012 at 6:40 PM, Vic Chen  wrote:
>>
>> i use android(also ios), gae and google cloud sql(for restore and backup
>> data).
>> it work for my project.
>>
>> i use very simple servlet way.
>>
>> 2012/1/8 John Goche :
>> >
>> > Hello,
>> >
>> > I would like to use the Users API of App Engine from Android.
>> > Here is what I plan to do. On the Android UI I present a from
>> > where the user enters the username and password and clicks
>> > OK. From there the data is submitted to Google which allows
>> > the user to authenticate. This is exactly the part I don't know
>> > how to do because all examples on the web are for web
>> > browsers and not for mobile devices like android.
>> >
>> > I also don't have a clue of how OpenID or Google Accounts
>> > or Google mail authentication works. Basically, do I get a cookie
>> > over SSL which allows me to prove my identity?
>> >
>> > Doesn't app engine close the session once the HTTP response is received
>> > by the client. If so how can I actually stay logged in?
>> >
>> > Thanks,
>> >
>> > John Goche
>> >
>> > --
>> > 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.
>>
>
> --
> 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.



[appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread Jonathan Chen
Same here. I've been trying for more than 12 hours now, and still have 
failures during deployment.


-- 
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/-/SKILrw7luDYJ.
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: Deploy Hangs - Please help

2012-02-29 Thread Jonathan Chen
Hmm, looks like there's a maintenance outage at the moment?

-- 
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/-/Ws3EsMTzOOkJ.
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: Deploy Hangs - Please help

2012-02-29 Thread Jonathan Chen
On Thursday, 1 March 2012 13:35:29 UTC+13, Matthew Johnson wrote:

> I had the same issue last night, incrementing the version number this 
> morning made seemed to allow it to deploy successfully.


Bumping the version number did not do it for my app. This really makes me 
lose faith in Java GAE. 

>

-- 
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/-/oe8YcF19G34J.
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: Deploy Hangs - Please help

2012-03-01 Thread Jonathan Chen
On Thursday, 1 March 2012 19:57:55 UTC+13, Amir wrote:
>
> Having the same issue, i've been trying for a full 24 hours now... tried 
> incrementing version, no luck. 


They've finally fixed it. It now works for me. 

>

-- 
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/-/dKkaIbal6BIJ.
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: Problem with exception on server startup when GAE sdk is in svn

2012-03-01 Thread Jonathan Chen


On Friday, 2 March 2012 08:24:40 UTC+13, dilbert wrote:
>
> Thanks Rick for the valuable information. I do not like the idea of mixing 
> jars from different versions just for svn's sake. For now I'll remove GAE 
> SDK from svn and handle things manually which is a real pain. Hope they fix 
> this issue soon.
>

How about using maven to handle your project dependencies instead? 

-- 
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/-/r1Udgvt2qC8J.
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: Deploy Hangs - Please help

2012-03-01 Thread Jonathan Chen

On Friday, 2 March 2012 06:55:46 UTC+13, Amir wrote:
>
> Yeah we noticed it was fixed at 12:12AM last night. I wish they'd give an 
> explanation for what happened, and why it won't happen again. 
>
> We've got a lot riding on GAE. 
>  
>

Yeah, same here. The status pages didn't even register any issue regarding 
deployment. 

-- 
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/-/rBDUxvKZJAkJ.
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] org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterator.hasNext(RuntimeExceptionWrappingIterator.java:44)

2010-11-01 Thread mark chen
Hi,

I am using JDO on GAE, and have been encountering this error. I
googled the error, and most of the solutions were related to setting
some properties in datastore-indexes.xml. However, I do not have this
config file in my app as GAE has enables the Automatic index
configuration. The piece of code which is giving me the error has been
indicated, with the corresponding error message pasted below. Would
appreciate any help. Thanks

BidDAO.java
//return a list of bids for a particular section
public static List read(String courseCode, String sectionCode) {
PersistenceManager pm = PMF.get().getPersistenceManager();
String query = "select from " + Bid.class.getName()
+ " where courseCode == courseCodeParam && sectionCode
== sectionCodeParam"
+ " parameters String courseCodeParam, String
sectionCodeParam order by amount desc";
List bids = (List)
pm.newQuery(query).execute(courseCode, sectionCode);

 ERROR--->   List detachedBids = (List)
pm.detachCopyAll(bids);

pm.close();
if (detachedBids.size() == 0) {
return null;
}
return detachedBids;
}

Uncaught exception from servlet
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found..  






at com.google.appengine.runtime.Request.process-
f520ab98e5ed5cc2(Request.java)
at
com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:
42)
at com.google.appengine.api.datastore.DatastoreApiHelper
$1.convertException(DatastoreApiHelper.java:98)
at
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:
44)
at
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:
42)
at
com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:
71)
at
com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:
32)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java:
69)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java:
56)
at
com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:
156)
at
com.google.appengine.api.datastore.QueryResultIteratorImpl.hasNext(QueryResultIteratorImpl.java:
65)
at
org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterator.hasNext(RuntimeExceptionWrappingIterator.java:
44)
at
org.datanucleus.store.appengine.query.LazyResult.listIterator(LazyResult.java:
102)
at
org.datanucleus.store.appengine.query.StreamingQueryResult.iterator(StreamingQueryResult.java:
114)
at
org.datanucleus.jdo.JDOPersistenceManager.detachCopyAll(JDOPersistenceManager.java:
1174)
--->>   at com.bios.DAO.BidDAO.read(BidDAO.java:46)
at
com.bios.controller.AddBidServlet.validateBidStatus(AddBidServlet.java:
687)
at org.apache.jsp.mainMenu_jsp._jspService(mainMenu_jsp.java:119)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
418)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
572)
at com.google.tracing.TraceContext$TraceContextRunnable
$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInCo

[appengine-java] Re: com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Set failed to set 1 keys: [...@1669ea1

2010-12-08 Thread Ronald Chen
I noticed its always appstats filter is in the stack trace:

com.google.appengine.api.memcache.MemcacheServiceException: Memcache
put: Set failed to set 1 keys: [...@1da6521
at
com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java:
481)
at
com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java:
491)
at
com.google.appengine.tools.appstats.MemcacheWriter.persist(MemcacheWriter.java:
235)
at
com.google.appengine.tools.appstats.MemcacheWriter.commit(MemcacheWriter.java:
160)
at
com.google.appengine.tools.appstats.AppstatsFilter.doFilter(AppstatsFilter.java:
150) <-
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:
97)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
35)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
238)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
135)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
261)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:8495)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:8493)
at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
435)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
572)
at com.google.tracing.TraceContext$TraceContextRunnable
$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:
688)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
326)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
318)
at com.google.tracing.TraceContext
$TraceContextRunnable.run(TraceContext.java:446)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)


On Dec 6, 10:50 am, Guido García Bernardo
 wrote:
> Same here.  Google Appengine SDK 1.4.0 has been just released so I
> wonder if it is a bug...
>
> On 2 dic, 10:51, sagar misal  wrote:
>
> > Till yesterday my application was performing well with more number of
> > users than today but today suddenly it started raising this exception
> > com.google.appengine.api.memcache.MemcacheServiceException: Memcache
> > put: Set failed to set 1 keys: [...@1669ea1
> > Can you please guide me what i need to do to avoid this
> > exception.Besides i have not used memcache services exhaustively .
> >  Thanks in advance.

-- 
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-j...@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: com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Set failed to set 1 keys: [...@1669ea1

2010-12-08 Thread Ronald Chen
Logged a bug http://code.google.com/p/googleappengine/issues/detail?id=4224

On Dec 8, 10:30 am, Ronald Chen  wrote:
> I noticed its always appstats filter is in the stack trace:
>
> com.google.appengine.api.memcache.MemcacheServiceException: Memcache
> put: Set failed to set 1 keys: [...@1da6521
>         at
> com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java:
> 481)
>         at
> com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java:
> 491)
>         at
> com.google.appengine.tools.appstats.MemcacheWriter.persist(MemcacheWriter.java:
> 235)
>         at
> com.google.appengine.tools.appstats.MemcacheWriter.commit(MemcacheWriter.java:
> 160)
>         at
> com.google.appengine.tools.appstats.AppstatsFilter.doFilter(AppstatsFilter.java:
> 150)             <-
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:
> 97)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
> 35)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
> 43)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 388)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 182)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 765)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 418)
>         at
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
> 238)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 542)
>         at org.mortbay.jetty.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:923)
>         at
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
> 76)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
> 135)
>         at
> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> 261)
>         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:8495)
>         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:8493)
>         at
> com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
> 24)
>         at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> 435)
>         at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
> 572)
>         at com.google.tracing.TraceContext$TraceContextRunnable
> $1.run(TraceContext.java:448)
>         at com.google.tracing.TraceContext.runInContext(TraceContext.java:
> 688)
>         at com.google.tracing.TraceContext
> $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
> 326)
>         at com.google.tracing.TraceContext
> $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
> 318)
>         at com.google.tracing.TraceContext
> $TraceContextRunnable.run(TraceContext.java:446)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
> 1110)
>         at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:636)
>
> On Dec 6, 10:50 am, Guido García Bernardo
>
>  wrote:
> > Same here.  Google Appengine SDK 1.4.0 has been just released so I
> > wonder if it is a bug...
>
> > On 2 dic, 10:51, sagar misal  wrote:
>
> > > Till yesterday my application was performing well with more number of
> > > users than today but today suddenly it started raising this exception
> > > com.google.appen