The way we do it(don't know if it is the best) is to use the blobstore api
to get the url to put in the form action.
on the 1st servlet you get the blobinfo and what not, then you redirect to
another servlet that can write to the form complete handler.
I'll share some code later today.
2010/5/4
Can you explain a bit more on that?
Thanks,
Bendanpa
On May 3, 11:03 pm, Vaclav Bartacek vaclav.barta...@spolecne.cz
wrote:
The only way I found and successfully use is the PayPal Button (saved
on the server + 'custom' attribute) + IPN mechanism (over SSL) to
receive transaction statuses.
What is the 3rd party cart? can you name it?
Thanks,
Benddanpa
On May 3, 11:40 pm, Aditya Rathi rathi.adi...@gmail.com wrote:
You can integrate paypal with GAE using thrid part cart feature. I have used
it
On Tue, May 4, 2010 at 11:33 AM, Vaclav Bartacek
vaclav.barta...@spolecne.cz
A few minutes after I posted the previous message, the app started to
work. But that is a testing app, and the real one's app id is
shijinxiaochu, which still has the same problem. Could somebody
please fix that as well? Thanks.
--
You received this message because you are subscribed to the
Just one question: does SimpleDS support query caching too? I've some
very popular queries and want to cache their results in a 2nd level
cache (not only its entities)
Not yet, but this is also my case so it is in the roadmap for the next
version (a couple of months ahead).
--
You received
Alias does not get initialized..
@Entity
public class Foo {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
public Long id;
@Basic
public Key bar;
@OneToOne(fetch = FetchType.LAZY)
@Column(name = bar, insertable = false, updatable = false)
public Bar barAlias;
}
@Entity
public class
Hi,
is possible to upload file like css o image without deploy the entire
application?
for example if I change only an icon...?
Thanks!
Regards.
Alessandro
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group,
I have already got it working...
In my wrapping servlet I simply copy the POST-data into a stream of the
uploadURL; this creates blobs and calls then successUrl where I store the
BlobInfo. Wrapping servlet then sends single character to client.
As for your suggestion, like I said, I'm using a
Hi I get a lot of GCacheException: Policy prevented put operation
during the last few hours.
I use memcache for small xml file content, so it' shouldn't be an
issue of exceeding the max memcache object size.
As a result my app cannot cache nesecery content and eventually I get
Error: Server
All my object implements Serializable and I don't think that explain why
JSESSIONID isn't created... but thanks, I tried to revert back my actions
that implements IsSerializable for Serializable, but it didn't work either.
Christian
On Tue, May 4, 2010 at 11:44 PM, yjun hu itswa...@gmail.com
Hi,
I was just writing a post about this myself. I'm having the same problem.
I already surrounded all my cache.get() calls with a try/catch block so the
app can proceed normally (without the benefit of memcached though).
I thought it was related to the Appengine maintenance, but I'm seeing this
What is your logic that initiates a session?
The container does not create a session if there is no need for it.
In a servlet you can initiate a session by calling
HttpServletRequest.getSession(true)
and in a JSP
by adding the attribute
session=true
to a page directive.
Regards,
See here: http://code.google.com/p/googleappengine/issues/detail?id=3195
--
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,
Sounds like a great idea. I agree with you. The problem with setting a cache
header is that you have very little control over expiration. The nice thing
about a cache that you handle at the filter level and in Memcache is that if
you can regenerate the keys, you can flush the thing (or you can
Well, those are the tradeoffs, I suppose. The question is, where do you want
the system to do more work, and where do you want it to do less?
If you discover a pattern that causes 10-20 second queries, please post your
findings. If you notice that it's specific entities, or you can
Sorry I don't have an answer, but would also be interested in knowing
how to do this. I will dig around today in the meantime.
On May 4, 3:10 pm, Jerome jerome.mou...@gmail.com wrote:
I would like my app to inform the visitor we are in maintenance, such
as it does not let them do operations
thanks, seleron! It's really help.
I don't know why App docs does not point out it. Developer really needs
this information. Or is there any other way to debug .jsp code efficiently?
I tried to use Eclipse Debug perspective and could not find out useful
information about bug in compiled code.
ok, thanks for the answer. I agree with you about the crating of an
amministrafice interface.
And if I put css and image on an other server and call it with
absolute path (http://other-simple-server-for-css-and-images.com/)?
Is bad pratice?
thanks again
regards
Ale
On May 5, 2:30 pm, Ikai L
I have the same problem from time to time... It's anying every 60 secondes
my app throw that message.
Christian
On Wed, May 5, 2010 at 2:29 AM, Daisy dguo2...@gmail.com wrote:
A few minutes after I posted the previous message, the app started to
work. But that is a testing app, and the real
And what about app that will no see their traffic grows ?
Mine is mostly an intranet and it's annoying to see how slow it is because
of those sleep time... Is it possible to make them last longer ? I even get
some persistance problems when it goes to sleep...
I'm using guiceFilters with the
This request caused a new process to be started for your application,
and thus caused your application code to be loaded for the first time.
This request may thus take longer and use more CPU than a typical
request for your application.
How can I avoid that message ? It wasn't even a new
Hello,
Can anyone please advise how to get @PostConstruct invoked in App Engine
(SDK version 1.3.3.1)?
I tried with servlet and JPA/JDO but the conallback method was not
triggered.
Can you please take a look and let me know if I missed something? Thanks.
public class TestServlet extends
Yeah thanks, I used your tips and Guice serve and now it's working fine !
Christian
On Wed, May 5, 2010 at 7:12 AM, Stephan Hartmann hartm...@metamesh.dewrote:
What is your logic that initiates a session?
The container does not create a session if there is no need for it.
In a servlet you
I believe the general thought is that any persistence problems caused
by a recycled application are to be expected and you should work to
handle those issues. Sessions can be used to hold state, but
application variables need to be able to recover from an application
restart (or a newly spawned
I'm implementing some UI paging and trying to detect whether a record
exists beyond the current page (in order to show a more button).
I hoped to iterate over a result set of pageSize + 1, grabbing the
cursor as I pass the item @ pageSize, and then using the existence of
the last item to know
Loom 2.0 (http://loom.extrema-sistemas.org) is compatible with
appengine out-of-the-box, and it includes some extras in a separate
loom-appengine.jar.
--
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
This a migration from JDO to Objectify for the fulltext search example from
this post:
http://googleappengine.blogspot.com/2010/04/making-your-app-searchable-using-self.html?utm_source=feedburnerutm_medium=feedutm_campaign=Feed:+GoogleAppEngineBlog+(Google+App+Engine+Blog)
The idea and CORE CODE
Getting this error on Java App Engine.
--
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
Suddenly i have started getting the following exception exception when
trying to deploy the application to appengine from eclipse. I was able
to do this till 10 min before.
What is the possible cause for this or there is something wrong on the
server end ?
GAE is currently read-only for scheduled maintenance. I recommend
subscribing to the google-appengine-downtime-notify group if you'd like to
receive notifications of these events:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/5302cb6b950ce215
GAE is currently read-only for scheduled maintenance. I recommend
subscribing to the google-appengine-downtime-notify group if you'd like to
receive notifications of these events:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/5302cb6b950ce215
Max, the GAE team sent the notice that the maintenance has been
completed, but our app is totally DOA now. Every single servlet or JSP
just 500 with a:
Request was aborted after waiting too long to attempt to service your
request. This may happen sporadically when the App Engine serving
cluster is
Hi Jerome,
What error were you getting instead of ApiProxy.CapabilityDisabledException?
Do you have a stack trace I can look at?
Thanks,
Max
On Wed, May 5, 2010 at 1:57 PM, Jerome jerome.mou...@gmail.com wrote:
Well... based on the announcement, we were supposed to receive a
Hi:
Thanks for sharing your code. I try to get the source code, but get the
following error:
[bat...@dev2 restSearch]$ svn co http://fulltext-search-in-
objectify.googlecode.com/svn/trunk/ fullTextSearch
svn: PROPFIND request failed on '/svn/!svn/bln/7'
svn: PROPFIND of '/svn/!svn/bln/7': 502
Things are back up... We were completely down for 15 minutes following
the end of the planned downtime.
Jerome
On May 5, 4:01 pm, Jerome jerome.mou...@gmail.com wrote:
Max, the GAE team sent the notice that the maintenance has been
completed, but our app is totally DOA now. Every single
Can someone help me get started on pulling the event data from the NFL
team calendars that Google provides. I cant seem to find the call to
give me a listing of the eventIds. Am I just blind?
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
I do not see any documentation regarding cursor support with JPA.
Is the following code the correct way to use cursors ?
In this sample code, i will retrieve users from 300 to 320
(query.setMaxResults(20); query.setFirstResult(300);)
The test is OK with the Local Eclipse GAE plugin
@Test
Hi Max,
Unfortunately, we do not have any stack trace or debug left, as the
logs in our AppEngine app only last for a few minutes at most before
being purged.
After further analysis of the communication with the backup systems,
it looks like the issue for the first 10 minutes was due to a
Hello
I have a structure defined solely by the keys (i.e. no field for
parentKey reference), and I can't figure out how to read A) _direct_
descendant of known parentKey or B) root entities only. I have found
posts asking about this but no answer... Either the responses were
suggesting to add the
Hi,
Cursor provides a point so that query will execute after that.
I don't think you can achieve the same thing with query.setFirstResult()
Below is code I ran based on consulting JDO example and JPA javadocs. Hope
this helps
EntityManager em = ...
Query query = em.createQuery(queryString);
About JDO/JPA, I tried the same thing, and Google advised to make 2 calls:
the first one is your query,
the second one, which is a key-only single item query so that it can be
cheap, to check if more data is available.
This is quite an UGLY UGLY issue. GAEJ was working great till now.
May have to start looking for alternatives. Seeing restarts within a
few seconds to a few minutes of one another...
05-05 10:41PM 29.289 This request caused a new process to be started
for your application,
...
05-05 10:41PM
42 matches
Mail list logo