Good day,
I would like to ask about following.
How is java.util.Date synchronized in case there is more than 1
instance of my web application.
Example:
WebAppInstance01 : I create somewhere new Date()
at the same time
WebAppInstance02: I create somewhere new Date()
Is there some time shift ?
Hello,
I was looking for some solution which would allow me realtime
blacklist IPs. I didnt find any.
Realtime I mean without manually getting IP and change dos.xml and
upload it.
A man can upload dos.xml to bann certain IPs. Can this be done somehow
(anyhow) programmatically, even using home
The link to generate login URL is different for apps accounts
String appsLoginUrl = userService.getOpenIdLoginUrl(redirectTo,
loginDomain,
https://www.google.com/accounts/o8/site-xrds?hd=; +
loginDomain, attributesRequest);
loginDomain is
Hi lisandrodc,
please carefully read all documents
http://code.google.com/appengine/docs/java/datastore/
and
http://www.datanucleus.org/products/accessplatform_1_1/guides/jdo/daolayer_design.html
Also many people cannot read spanish, if you would write in english
you may get more
answers.
I
try follow this pattern for transactions
public void doSomthingWithEntity(T entity) {
PersistenceManager pm = getPersistenceManager();
Transaction transaction = pm.currentTransaction();
try {
transaction.begin();
//
create new app with your desired ID and forward all request :P
On Jul 18, 3:34 pm, aswath satrasala aswath.satras...@gmail.com
wrote:
I do not want to delete the app. I have user data.
-Aswath
On Sun, Jul 18, 2010 at 6:57 PM, jacek.ambroziak
jacek.ambroz...@gmail.comwrote:
Not really,
As long as the objects are serializable, I believe we can store them in
jcache.
~hari
On Jul 19, 2010 9:15 AM, pdias paulojorged...@gmail.com wrote:
Is possible to save object instances using JCache?
I have tried and received the following message:
javax.servlet.ServletException:
I am trying to learn GAE by writing simple java programs. This is the
coding I use to try JPA:
EntityManager em = null;
try {
em = EMF.get().createEntityManager();
int i = 6;
Trade5min t5 = new Trade5min();
t5.setStkCode(i);
t5.settDate(2010-07-15);
t5.setTradeRec(this is
Where do u commit the transaction? I hope it is not after saving of A. Could
you confirm if B and A are persisted and committed seperately and
independent of each other.
Thanks
Hari
On Jul 19, 2010 9:15 AM, pbadn doug...@poweredbyalt.net wrote:
I am having a problem that is confusing me.
I
Hi there,
Now, I think that I should create an application on GAE.
It will list some libraries on Google Map. We can search, look for
books and make friends with book-lovers at somewhere near you.
I'll try to use Google Web Toolkit in my project and some another
Google APIs.
This project will
I believe (and this may be wrong) that the index data is only created
when the object is inserted/updated. Therefore, any existing data
will be not covered by the new index and won't be retrieved with any
queries which are based upon the index.
Updating them or reuploading them should solve the
Yes it needs to be “serializable”.
Thanks for your answer.
pdias
On 19 Jul, 09:30, Hariharan Anantharaman
hariharan.ananthara...@gmail.com wrote:
As long as the objects are serializable, I believe we can store them in
jcache.
~hari
On Jul 19, 2010 9:15 AM, pdias paulojorged...@gmail.com
Hi,
is it possible to share the session between a google apps domain and
appspot.com?
I wanted to use the ssl of appspot.com for secure login and the
redirect back to regular domain.
Regards
--
You received this message because you are subscribed to the Google Groups
Google App Engine for
Hi all!
I have two jsp,
-one whith a form for upload a file
-one for managing upload
But, stil the upload goes fine , I recive this warning
19-lug-2010 12.11.15
com.google.appengine.api.blobstore.dev.UploadBlobServlet$3$2 write
GRAVE: Must only return a redirect from a Blobstore upload
AFAIK if you don't catch exceptions, you'll get HTTP 500 error.
Can you post your code?
Are you sure that you do not try/catch the exception?
fabrizio
On Mon, Jul 19, 2010 at 12:38 AM, Philip Tucker ptuc...@gmail.com wrote:
One of my tasks encountered a failure and wasn't retried. I think
No...
2010/7/18 otuyama otuy...@gmail.com
Hello,
Is it possible to compile C++ code in JVM bytecode? I would like to
run
legacy code in Google App Engine for Java. Of course, C++ and Java
libs will
be incompatible, but it could be fixed with wrapper libs.
Thanks.
Julio
--
You received
Here's the psudo-code for one of my methods:
1. Get PersistenceManager (pm)
2. pm.fetchObject1
3. pm.beginTransaction
4. pm.modifyObject1
5. pm.commit
6. pm.fetchObject2
7. pm.beginTransaction
8. pm.modifyObject2
9. pm.commit
however I get this error can't operate on multiple entity
Hi,
I read in a post that the length of member variable names contributes
to the amount of storage space your app uses, example:
class Farm {
private String mFarmersFavoriteCropToPlant;
}
would take more space to store than:
class Farm {
private String m;
}
I believe some people maintain their own request count by ip address
using memcache and restrict access using a filter.
On 19 Jul 2010, at 20:09, Marcus Brody wrote:
I am missing something ? So you guys are sitting in web console and
watch
how many requests came from given IP address ? This
yes exatky
On Jul 18, 1:12 pm, Khor Yong Hao fyh...@gmail.com wrote:
Your Problem is not using iText to generate PDF content and download it, but
is able to allow user upload their own PDF and providing download, right?
On Thu, Jul 15, 2010 at 3:25 PM, dovm dovm...@gmail.com wrote:
Hi,
You are right conor, i set the content to application/pdf and i cand
display it. but my problem is that in some browsers and OS(Mac) ,the
pdf is not displyed, the download starts automatically with a default
name, i want to have control on the name given to the file before it
is downloaded
On
I don't know if there are any differences, since I never tried the
other way.
I'll try to investigate in the next days, but I think this could be
helpful for things such as https redirect and similar issues.
Maybe a word from GAE team will help (anyway, some blog posts about
OpenID have been
My 2 cents: if all your users are of type Person and it's a root
entity, you can also save some space by storing Key ids instead of Key
instances (you save the redundant type name etc).
On Jul 19, 5:53 am, Ikai L (Google) ika...@google.com wrote:
The best practice is probably to create list
I'm running into the same issue (I'm using logback 0.9.21).
I tried to configure Logback manually using the JoranConfigurator.
Well, I started extending the JoranConfigurator trying to avoid the
call to the method ContextUtil.addHostNameAsProperty() in the
ConfigurationAction class that is the
I use Google app Engine plugin for Eclipse and managed to make the
guestbook demo run successfuly. When I create my own app by
following the code pattern of guestbook, sth weird happens:
Jul 19, 2010 6:08:46 AM
com.google.appengine.api.datastore.dev.LocalDatastoreService load
INFO: The backing
2) i had some issues with static files, spring security doesnt protect
static html files.
I do have similar problem. Spring security works pretty fine for me,
but I cannot understand why I can't limit access to HTML host page.
The current situation is that my application starts and I have to
I tried out the latest version of the eclipse plugin for GAE
http://code.google.com/appengine/docs/java/gettingstarted/installing.html
to realize that the bundled app engine version is 1.3.3. If there any
plan to upgrade it to the latest SDK (1.3.5) ?
When can we expect a new release ?
Also,
Now, I am trying to use the proximity search in Geomodel. However, I
am facing a problem, which I am not sure what it is, but I think it is
related to either my PersistentManager or baseQuery. I ran the query,
however, while my database is not empty, I got null results.
public class
Hello Erencie.
have you tried to save persistence objects in data store? and have you tried
to retrieve all data saved in your data store?
does it show any error?
are you using something like JUnit or something besides the code shown in
google tutorials?
Rgds.
R
2010/7/19 Erencie
Yes, I already have such solution, but It still
does eat some resources (minimal if written correctly)
But thank for answer John,
only think I am afraid I wake up and my dayly budged will be eaten
by some kind of dos attack done while I was sleeping, I still think
since you can upload dos.xml
In Alfred Fuller's presentation (http://www.youtube.com/watch?
v=ofhEyDBpngMfeature=channel), he mentioned that limit of 5000 list
items and need for number of composite indexes for list (i.e. 2 value
search from list, 3 value search from list etc) will be removed. As
per video, I think he
Hi,
I'm running a servlet on Google App Engine. When I try to post multi-
part form data to the url from a python script, locally it works, but
when I deploy to app engine, it complains that the content-type header
is null.
When I print out the content type header to my logs, it is indeed
Hi! I have a doubt of since administering a Persistence manager for
an application(for example web). When close the persistence manager?
When commit the transaction? The pattern singleton the example?
Because if I continue the help of google, the pattern, close a
persitence manager, for example:
We are seeing some strange behavior... after we stop/restart the dev
server it freezes when trying to get an instance of the
PersistenceManager.
Steps to repeat:
1) We execute a query similar to the AppEngine example:
From your eclipse itself(having an older version of gae), you can update to
latest version by using software updates option in elclipse.
Thanks
Hari
On Jul 19, 2010 9:39 PM, Navaneeth Krishnan navaneeth.cont...@gmail.com
wrote:
I tried out the latest version of the eclipse plugin for GAE
Thanks for the tip about channel.js. This is what I needed.
Now I get an error when pushing a message to a client. I get this:
com.google.appengine.api.channel.ChannelFailureException: An
unexpected error occurred.
Caused by: com.google.apphosting.api.ApiProxy$ApplicationException:
I have the same error using dev server.
If you deploy your app to production server, below error log shows
channel service is not enable.
exception: com.google.apphosting.api.ApiProxy
$FeatureNotEnabledException: The channel service is not enabled.
It seems we have to patiently wait:)
On Jul
Dear all,
Today I encountered a strange situation. I have used app engine SDK
1.3.5. And I have two applications on https://appengine.google.com/
assume they are *myapp* and *myapp-sandbox*.
*myapp* and *myapp-sandbox* have the same code. I tried to execute a
same section of code towards these 2
Dear all,
I've already found the reason. It is related to my careless. There is
a tiny difference between the two apps which caused the problem. And I
didn't notice it.
Sorry for the inconvenience.
On 7月20日, 上午11时24分, cse.zh...@gmail.com cse.zh...@gmail.com wrote:
Dear all,
Today I encountered
Hi,
I think that you have to go for an unowned 1-to-many relationship to
achieve what you want else your child is stuck with its 1st parent.
See for samples:http://code.google.com/appengine/docs/java/datastore/
relationships.html#Unowned_Relationships
didier
On Jul 17, 10:44 pm, max
Hi Mark,
I would say yes: the datastore viewer shows the data with couples
(name,value), name being the origianal attribute name in the java
class.
Moreover the doc says Each persistent field of the class represents a
property of the entity, with the name of the property equal to the
name of the
I am trying to use the proximity search of Geomodel. However, I
am facing a problem, which I am not sure what it is, but I think it is
related to either my PersistentManager or baseQuery. I ran the query,
however, while my database is not empty, I got null results.
Here are my codes:
public
Hi,
I'm looking to store entities using GAE Java which have 1-many tags.
I
would like to display a tag cloud, so will need to know how many
times
each tag occurs (can't use aggregate functions and group by on GAE to
do this like I would in SQL). And when I click a tag I would like to
retrieve all
This is on the client side of the application. However I've finally
found a solution to the problem... It's pretty simple and most
experienced developers would probably know about it... But yeah, even
though not all HTML attributes are accessible directly from the GWT
TextArea class, I'm pretty
44 matches
Mail list logo