[appengine-java] Introduction to the DataStore

2010-06-05 Thread Luca
Hi guys, thank to the work of our GTUG (http://sites.google.com/site/
firenzegtug/) I wrote an introduction to our loved/hated DataStore:

  
http://www.lucamasini.net/Home/gwt/google-app-engine/introduction-to-the-datastore

I'm aware that is very basic, but was useful to introduce the
concepts.

Hope can be useful to someone else too.
Ciao.

-- 
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 warning

2010-06-05 Thread Rudolf
Hello All,

on the GAE production server I sometimes get the following warning:

W 06-05 07:12AM 48.285 [...].stderr: log4j:WARN No appenders could
be found for logger (DataNucleus.Connection).
W 06-05 07:12AM 48.285 [...].stderr: log4j:WARN Please initialize
the log4j system properly.

can someone please tell me where I have what to add in the Eclipse
project to get rid of this message;

I have tried several approaches, but I always failed;

thank you very much in advance;

Best Regards
Rudolf

-- 
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] The index for this query is not ready to serve

2010-06-05 Thread Manjoor
Just uploaded an app and got the error

Uncaught exception from servlet
com.google.appengine.api.datastore.DatastoreNeedIndexException: The
index for this query is not ready to serve. See the Datastore Indexes
page in the Admin Console..  datastore-index kind=UserMaster
ancestor=false source=manual
property name=__key__ direction=desc/
/datastore-index

any idea?

-- 
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] The index for this query is not ready to serve

2010-06-05 Thread John Patterson
This would be one of the most explicit error messages I have ever  
seen.  Are you saying that the admin page said the index is not  
building?


On 5 Jun 2010, at 21:28, Manjoor wrote:


Just uploaded an app and got the error

Uncaught exception from servlet
com.google.appengine.api.datastore.DatastoreNeedIndexException: The
index for this query is not ready to serve. See the Datastore Indexes
page in the Admin Console..  datastore-index kind=UserMaster
ancestor=false source=manual
   property name=__key__ direction=desc/
   /datastore-index

any idea?

--
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-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] Unable to create Web application project in Eclipse

2010-06-05 Thread drift elysium
If it was installed correctly, you should be able to create a new project
like this. File-New-Other-Google-Web Application project

On Thu, Jun 3, 2010 at 11:05 PM, Mohyt srivastavamohi...@gmail.com wrote:

 Google App engine plugin was installed correctly. but At time of
 creation of servlet of web application project there is no option in
 drop down menu of project. how to fix 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.comgoogle-appengine-java%2bunsubscr...@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.



Re: [appengine-java] Unable to upload

2010-06-05 Thread drift elysium
You need to create Google App Engine account first. And by that, I mean, you
need to provide your mobile number and verify the code.

Try this link to get started https://appengine.google.com/

On Fri, Jun 4, 2010 at 8:51 AM, sruthi sruthi.frien...@gmail.com wrote:

 Hi all.. I am new to this.. I just tried to deploy my first
 application but it dint work fine :(
 when i try to deploy via eclipse i get this error


 Compiling jsp files.
 Scanning files on local disk.
 Initiating update.
 java.net.SocketException: java.security.NoSuchAlgorithmException:
 Default SSLContext not available


 and the stack trace is :


 Unable to update:
 java.net.SocketException: java.security.NoSuchAlgorithmException:
 Default SSLContext not available
at javax.net.ssl.DefaultSSLSocketFactory.throwException(Unknown
 Source)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown
 Source)
at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown
 Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at

 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
 Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
 Source)
at

 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
 Source)
at
 sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
 Source)
at
 sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown
 Source)
at

 com.google.appengine.tools.admin.ServerConnection.connect(ServerConnection.java:
 340)
at

 com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
 133)
at

 com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
 82)
at

 com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
 559)
at

 com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
 376)
at

 com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
 111)
at
 com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
 56)
at

 com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
 271)
at

 com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
 145)
at

 org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
 38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 Caused by: java.security.NoSuchAlgorithmException: Default SSLContext
 not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at javax.net.ssl.SSLContext.getInstance(Unknown Source)
at javax.net.ssl.SSLContext.getDefault(Unknown Source)
at javax.net.ssl.SSLSocketFactory.getDefault(Unknown Source)
at
 javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(Unknown
 Source)
at javax.net.ssl.HttpsURLConnection.init(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.init(Unknown
 Source)
at sun.net.www.protocol.https.Handler.openConnection(Unknown Source)
at sun.net.www.protocol.https.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at

 com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
 125)
... 9 more


 please do help me resolve this.. thank you 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.comgoogle-appengine-java%2bunsubscr...@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.



[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-05 Thread Jake
Hey Thomas,

I get it all the time - to the point where all of my demonstration
applications are using the development server hosted on a non-GAE
machine :)  Anyways, Ikai is (was) aware of the issue from awhile
back, but I'm not sure it's taking priority.

Jake

On Jun 4, 1:33 am, Thomas mylee...@gmail.com wrote:
 On 6月4日, 下午12時02分, Jake jbrooko...@cast.org wrote:

  I understand that there can be problems with everyone having a full-
  time reserved JVM.  My problem is simply that the instance restarts
  too frequently.  I mean, honestly, one SINGLE page request results in
  TWO application restarts?  Even if you get it down to 4 seconds,
  that's 8-10 seconds just for the page to load.

    I personally have never seen the two continuous app loading in a
 single request before. Maybe you should open an issue to let google
 guy's help you.

  I confess, I'm not an expert on the technology involved.  Is it
  technologically difficult to say, if a JVM gets any traffic, hold it
  open for 5 minutes at a minimum.  This can be cheated by the keep
  alive pinging that people are doing, but perhaps that can be ignored
  and only external traffic counts?

    I guess google can't tell the 'keep alive' tasks from normal tasks
 without reverse engineering the code. Banning 'keep alive' task will
 kill the normal tasks also probably.

-- 
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] App Versions API Feature Request

2010-06-05 Thread Tristan
Hey,

I looked on the forums but all I found was that it doesn't exist.
Didn't see anything on roadmap, or anything else... so in Google
fashion I started an issue.

http://code.google.com/p/googleappengine/issues/detail?id=3308

Please star it if you'd like there to be a versions API. (or tell me
what issue I'm supposed to star if I missed it)

Cheers,

Tristan

-- 
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: Performance issue for GAE auto-restart

2010-06-05 Thread Thomas
Hi Jake:

I am curious about how do you know there were 2 startup during one
request? Did you submit an issue about the phenomenon?

On 6月6日, 上午2時34分, Jake jbrooko...@cast.org wrote:
 Hey Thomas,

 I get it all the time - to the point where all of my demonstration
 applications are using the development server hosted on a non-GAE
 machine :)  Anyways, Ikai is (was) aware of the issue from awhile
 back, but I'm not sure it's taking priority.

 Jake

-- 
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] Is get-by-key for efficient than a query based on a string property that holds a GUID?

2010-06-05 Thread DutrowLLC
I noticed that the keys are about the same size as a GUID.  Is get-by-
key for efficient than a query based on a string property that holds a
GUID?  If so, about how much more efficient?

Thanks!

Chris

-- 
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: Is get-by-key for efficient than a query based on a string property that holds a GUID?

2010-06-05 Thread DutrowLLC
Additionally, what is the best type of Object to pass into the Entity
as the GUID?  An Ascii85 string? A byte array consisting of the 16
bytes making up the 128byte GUID?  Something else?

It seems the obvious answer would be the ByteArray[16], but it could
depend on the implementation.  My primary concern is on search
efficiency.

Thanks!

Chris

-- 
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.