[appengine-java] Russian characters in SDK datastore viewer

2010-03-29 Thread Timofey Koolin
I can't read it. I can read it by API, I can see it into app engine server datastore viewer, but in local datastore viewer i see "???". -- 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 googl

[appengine-java] Datastore in task

2010-03-29 Thread Timofey Koolin
Now i write import data into datastore and clean datastore. When I import data - i upload zip file to servlet, into servlet I unzip it and create some tasks for import data. First time, every task in first run can't access to datastore: 03-29 09:49AM 25.793 /ImportTask 500 10067ms 0cpu_ms 0kb App

[appengine-java] createLoginURL - userservice takes me to custom google apps domain login page

2010-03-29 Thread niraj
My code on the server is if(userPrincipal != null){ String name = userPrincipal.getName(); site.setNickName(name); site.setLoginLogOutURL(userService.createLogoutURL(thisURL)); site.setLoggedIn(true); }else{ si

[appengine-java] Re: GAEJ Access to Google Calendar, How to Authenticate ?

2010-03-29 Thread seleronm
Hi, I am glad to be useful for you. Moreover, in the near future I am looking forward to [Built-in support for OAuth & OpenID]. thanks. > Thank'sSeleronm, > > the AuthSubUtil was my missing part to fix my problem. > > Regards >  Stephan > > On 26 Mrz., 08:53,seleronm wrote: > > > Hi, > > > Tho

[appengine-java] Re: AuthSub InvalidToken problem

2010-03-29 Thread seleronm
Hi, I was not able to have them reproduce behavior though I tried a little. (It was possible to execute it normally). Can post do you the source code further? I want to confirm behavior. Or, the environment might be a cause. thank. > Come on! > Anyone, anything? > > Thanks. > > On Mar 26, 12:5

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-29 Thread Shawn Brown
> It's boggled my mind from day 1 why instances > aren't loaded in the background. I always assumed it would be addressed What is difficult to understand? 1 server has X resources warmed instanced require Y resources X - YN = resources left over for the server to fulfill requests. By reducing

[appengine-java] Re: Error message after updating AppEngine in my project

2010-03-29 Thread julianc
Similar problem here. Upgraded to 1.3.2 error, switched back to 1.3.1 ... everything fine again. Mar 29, 2010 11:24:44 PM com.google.appengine.tools.info.LocalVersionFactory getVersion INFO: Could not find API version from ../project/war/WEB-INF/lib/.svn java.util.zip.ZipException: error in openin

[appengine-java] Re: Contacts/Address Book App?

2010-03-29 Thread iwas9409
Here is the plan. I have a team of 100 people. 3 of those people would be administrators. (we are setup and using Google Apps and those 3 are setup in that system) I would like to collect the names, email address, cell phone numbers of the 100. In addition, for each meeting we have every month

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-29 Thread Baz
Warmed instances make absolutely no sense on the GAE! It's supposed to be an invisible, infinite, platform without the notion of ram, cpu's, drives or instances - it goes completely against the heart and soul of the project. That just makes us an Amazon. It's boggled my mind from day 1 why instance

[appengine-java] Java Tasks

2010-03-29 Thread kscott
I have a simple Java task that simply checks to see if it needs to send an email "email sent flag =N". It is taking in excess of 6604 milliseconds to execute. Are tasks executed with a much lower priority? When I moved my start time to15 minutes later I was a least able to get rid of the most of

[appengine-java] Re: error when trying to run gae/j app - Usage: [options]

2010-03-29 Thread zackmac
Solution worked great - thanks! On Mar 29, 3:00 pm, Jason Parekh wrote: > Hey Zack, > > Looks like the launch configuration got into a bad state. > > Before you proceed with the solution below, could you send us a copy of the > .launch file for this launch configuration?  That file will be in you

[appengine-java] Re: error when trying to run gae/j app - Usage: [options]

2010-03-29 Thread zackmac
This is what's in the .launch file for this app: On Mar 29, 3:00 pm, Jason Parekh wrote: > Hey Zack, > > Looks like the launch configuration got into a bad state. > > Before you proceed with the solution below, could you send us a copy of the > .launch file for this launch c

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-29 Thread Andreas Borglin
Hi Guillermo. Well, it's hard to consider things that I didn't know existed :-). I was only aware of the six frameworks that I mentioned in the post. I'll take a look at it. On 29 mar, 20:52, Guillermo Schwarz wrote: > One question: Why didn't you consider jiql? > > > > On Mon, Mar 29, 2010 at

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-29 Thread Guillermo Schwarz
JohnJ, The way I see it, you just need to pay for one warmed instance. I've measured that one instance is enough to handle 30 requests per second. Trying to execute more requests than that immediatly triggers the loading of a new instance and so far some of the requests fail. Therefore, If you a

Re: [appengine-java] error when trying to run gae/j app - Usage: [options]

2010-03-29 Thread Jason Parekh
Hey Zack, Looks like the launch configuration got into a bad state. Before you proceed with the solution below, could you send us a copy of the .launch file for this launch configuration? That file will be in your WORKSPACE/.metadata/.plugins/org.eclipse.debug.core/.launches directory. The solu

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-29 Thread Guillermo Schwarz
One question: Why didn't you consider jiql? On Mon, Mar 29, 2010 at 1:04 PM, Blake wrote: > +1 > > On Mar 29, 4:03 am, Andreas Borglin wrote: > > Hi all. > > > > I recently decided to migrate away from JDO to one of the third party > > datastore frameworks. At first I had only heard about objec

[appengine-java] SSLSocket / SSLSocketFactory

2010-03-29 Thread derkent
I would like to send/provoke an apple iphone push from the Java App Engine. This is done via ssl. I have found a library that does exactly that, but it uses the class SSLSocket & SSLSocketFactory which are not supported. Are there any alternatives, or any other ways to do this with the app engin

Re: [appengine-java] Charging Application Users for Data Storage

2010-03-29 Thread Ikai L (Google)
There's no native API for this. You'll have to track this in your application. On Sun, Mar 28, 2010 at 8:41 AM, Gareth Davies wrote: > I am currently working on my first Java application for Google App > Engine. It would allow users to record discrete amounts of data > (recorded with an Android a

Re: [appengine-java] Looking to brush-up on my Java

2010-03-29 Thread Ikai L (Google)
Having *not* done JEE in a while may actually be a boon, as you would have had to unlearn a few concepts coming from a relational persistence, stateful servlets world to one that is not. If you work your way through the tutorial and App Engine documentation, your prior Java experience should be mor

Re: [appengine-java] Contacts/Address Book App?

2010-03-29 Thread Ikai L (Google)
What kind of Address Book are you writing? GData has a contacts API already you can take advantage of: http://code.google.com/apis/contacts/ On Sun, Mar 28, 2010 at 6:27 PM, iwas9409 wrote: > Instead of writing a Contacts/Address Book App from scratch, is there > a place I can go to find canned

Re: [appengine-java] I was reading the objectify wiki and the have the best short explanation of the datastore i ever read. Here the link

2010-03-29 Thread Ikai L (Google)
I like that in one of the first sentences, Jeff says "The datastore is not an RDBMS! It is like a giant HashMap!" You can really see that developers tend to get stuck on the relational model. Sometimes I will say "table" or "column" accidentally myself in these groups. On Sat, Mar 27, 2010 at 7:11

Re: [appengine-java] Error message after updating AppEngine in my project

2010-03-29 Thread Ikai L (Google)
Not sure why this should be happening as the deploy script should be ignoring this, but is it possible for you to do an "svn export" to another directory prior to a deploy? On Sat, Mar 27, 2010 at 5:10 AM, Fux wrote: > com.google.appengine.tools.info.LocalVersionFactory getVersion > INFO: Could

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-29 Thread Ikai L (Google)
Hah, Blake, guess you caught us! We might be doing more stuff with that in addition to what went out with 1.3.2. On Fri, Mar 26, 2010 at 6:50 PM, Blake wrote: > Ikai - that's awesome - great to see you guys listening to us. Is > that doc already outdated? Didn't you just release this? > > "Abi

Re: [appengine-java] Re: How to get IP address of Appengine running my java servlet page

2010-03-29 Thread Jeff Schnitzer
It seems quite unlikely that GAE appservers are going to have public IP addresses. Even if you can get the IP address of the host (and I suspect this is impossible), it's going to be a private address. The best you will probably be able to do is get the NATed apparent address of the URLFetch serv

[appengine-java] error when trying to run gae/j app - Usage: [options]

2010-03-29 Thread zackmac
getting this message when trying to run my gae/j app in Eclipse: Usage: [options] Options: --help, -h Show this help message and exit. --server=SERVERThe server to use to determine the latest -s SERVER SDK version. --address=ADDRESS Th

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-29 Thread Blake
+1 On Mar 29, 4:03 am, Andreas Borglin wrote: > Hi all. > > I recently decided to migrate away from JDO to one of the third party > datastore frameworks. At first I had only heard about objectify, but > after some further digging I  found out about 5 other frameworks as > well (Twig, SimpleDS, si

[appengine-java] Re: How to get IP address of Appengine running my java servlet page

2010-03-29 Thread Didier Durand
Hi, check out class java.lang.System: you can get various system properties. didier On Mar 29, 4:30 pm, "powell...@gmail.com" wrote: > I am trying to get a sense of where (location) the Appengine is > running my servlet to show how the cloud runs my servlet in different > locations. I have tried

[appengine-java] JDO java cascade unidirectional mapping problem

2010-03-29 Thread Тарас Великий
What steps will reproduce the problem? @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Patient { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key patientID; @Persistent private String patientName;

Re: [appengine-java] Re: Update to GAE/J 1.3.2 -> Project in Eclipse broken

2010-03-29 Thread Jason Parekh
Hi Moritz, Could you try the following: - In your project properties, could you see what the App Engine SDK is set to (right-click project > Properties > Google > App Engine). Does it show an error on this page? If you click the Configure SDKs button, what is the path for the SDK? - In your proj

Re: [appengine-java] Update to GAE/J 1.3.2 -> Project in Eclipse broken

2010-03-29 Thread Jason Parekh
Hi, Could you try a few things: - What happens when you right-click your project, and select Run As > Web Application? Does the Console come to focus? What does it say? - Could you create a new Web Application project (using GAE 1.3.2) and try Run As > Web Application on it? Does this work? - I

Re: [appengine-java] Re: log4j init fails

2010-03-29 Thread Rajeev Dayal
Can you provide the contents of the file? On Sat, Mar 27, 2010 at 11:44 AM, Eurig Jones wrote: > I'm getting the same problem. my log4j.properties is in the root of my > source folder and it's giving me this issue. > > On Mar 12, 10:25 pm, Rajeev Dayal wrote: > > Can you post a copy of your log

[appengine-java] Re: AuthSub InvalidToken problem

2010-03-29 Thread nicanor.babula
Come on! Anyone, anything? Thanks. On Mar 26, 12:54 pm, "nicanor.babula" wrote: > Hi all, > > I am facing a strange problem in with my app in GAE and I can't seem > to figure it up by myself, so I hope you'll help me.. Here we are: > > I do : > > [code] > String authSubUrl = AuthSubUtil.getReque

[appengine-java] How to get IP address of Appengine running my java servlet page

2010-03-29 Thread powell...@gmail.com
I am trying to get a sense of where (location) the Appengine is running my servlet to show how the cloud runs my servlet in different locations. I have tried to use request.getLocalAddr() but get back null. I tried getServletContext().getServerInfo() but did not get back an IP address. Any ideas?

[appengine-java] Re: Workaround for Spring transactions throw GenericSignatureFormatError

2010-03-29 Thread objectuser
Hey, Thomas, Thanks very much for working on this! I think a lot of people want Spring transactions to work in GAE. What does your fix do? Or why does it work? It looks like you're just creating a proxy that passes the invocation along. For example, my jdo-context.xml is below. Is your new be

Re: [appengine-java] Re: Timeout using GData API

2010-03-29 Thread Andrei Cosmin Fifiiţă
I noticed that too... I'll try async fetch... Hope it works... 2010/3/29 Kenyth > FYI, I appended messages to this issue ( > http://code.google.com/p/googleappengine/issues/detail?id=1559 ) to > describe my case. Surprisingly, this issue claims to be fixed on Sep > 03, 2009?! > > On Mar 29, 2:21

[appengine-java] Re: Timeout using GData API

2010-03-29 Thread Kenyth
FYI, I appended messages to this issue ( http://code.google.com/p/googleappengine/issues/detail?id=1559 ) to describe my case. Surprisingly, this issue claims to be fixed on Sep 03, 2009?! On Mar 29, 2:21 pm, Kenyth wrote: > The same issue here. Has someone found a solution so far? > > On Mar 26,

Re: [appengine-java] bouncycastle add provider failure

2010-03-29 Thread Alan Kennedy
[ZaeX] > I have tried to add the bouncycastle JCE provider in the code, it > works in Eclipse jetty server, but failed on GAE. > I wonder if it's because my coding mistake or 'Security.addProvider' > is forbidden by GAE. It is currently not possible to add security providers to appengine. Add sup

Re: [appengine-java] Re: Blobstore UploadBlobServlet.java NPE

2010-03-29 Thread bimbo jones
h, We have the following code in the upload servlet: public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { BlobInfo info = new BlobInfoFactory().loadBlobInfo(blobstoreService.getUploadedBlobs(req).get("uploader")); // uploader is the na

Re: [appengine-java] Problem with AppStats

2010-03-29 Thread m seleron
Hi, I tried. After successfully running the following was added to the web.xml. appstats com.google.appengine.tools.appstats.AppstatsServlet appstats /appstats/* /appstats/* admin

[appengine-java] Objectify - Twig - SimpleDS articles

2010-03-29 Thread Andreas Borglin
Hi all. I recently decided to migrate away from JDO to one of the third party datastore frameworks. At first I had only heard about objectify, but after some further digging I found out about 5 other frameworks as well (Twig, SimpleDS, siena, slim3, cloud2db). I was only interested in simple wra