Re: [appengine-java] Re: FinalizableReferenceQueue error

2009-12-11 Thread Toby Reyelts
Correlation is not causation. The warning is not slowing down your code. This harmless warning is generated during the static initialization of some protobuffer code. That static initialization is happening, because your application is being loaded in a new JVM by a loading request

[appengine-java] Re: Getting datastoretimeout exception more frequent today...

2009-12-11 Thread mar_novice
Glad also to know that i'm not the only one i can't even do a single query... it always return a datastoreexception... On Dec 11, 3:49 pm, Jeff Schnitzer wrote: > Ok, glad to know it's not just me.  Unfortunately I'm getting large > numbers of these exceptions, pretty much bringing my app to

[appengine-java] Error: No action instance for path /login could be created

2009-12-11 Thread Qi
I meet a trouble " Error: No action instance for path /login could be created" when I run the basic struts based login what is the meaning no action instance could be created? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To pos

[appengine-java] Re: problems with SDK 1.2.8 and (local) task queues timing out...

2009-12-11 Thread Heyali
I am also facing simmilar problem. Any clue? -- 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-appengi

[appengine-java] Re: Querying "parent" side of unowned relationship

2009-12-11 Thread m seleron
Hi, Though it doesn't understand how to register I think that I can be likely to do if it is not JDO but lowlevelAPI. Please examine [com.google.storage.onestore.v3.OnestoreEntity.Entity#getParent]. If this is not good, it might have to change the model. thanks. On 12月6日, 午前2:36, Jeffrey wrot

[appengine-java] Re: Failed to startup after ver 1.2.8 update

2009-12-11 Thread sgodard
I have the same problem with this update :( On 5 déc, 06:34, doc123 wrote: > Application does not start up after update ver 1.2.8 > > Error Message is following > > Error occurred during initialization of VM > agent library failed to init: instrument > Error opening zip file or JAR manifest missi

[appengine-java] Datastore String limit: 500 characters or 500 bytes, which is it?

2009-12-11 Thread Jeff Schnitzer
The javadocs for Text say the datastore limit is 500 characters: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html The JDO docs say 500 bytes: http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Core_Value_Types The python docs for

[appengine-java] Re: Eclipse start server error after update to 1.2.6

2009-12-11 Thread sgodard
Thx a lot for this tip ;) On 7 déc, 01:23, Larry Cable wrote: > In eclipse select "Run Configurations..." from the "Run" main menu ... > > in the dialog that pops up, you you see a "G" icon in the tree view on > the left and a "list" of configurations > under that, (at least one), select your per

[appengine-java] Re: FinalizableReferenceQueue error

2009-12-11 Thread fhtino
Tony, thank you for the tips. I'll test them as soon as possible. I've a question. You said "the warning is not slowing down your code". But it increases the response time of the page. So the user waits for a longer time before receiving the page. Do you confirm? Have I correctly understood?

Re: [appengine-java] Re: FinalizableReferenceQueue error

2009-12-11 Thread Vince Bonfanti
The warning is caused by the initialization of a new JVM instance. The slowness of your requests is also being caused by the initialization of a new JVM instance. The warning is not causing the slowness--the warning and the slowness are both being caused by the same thing (the initialization of a

[appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-11 Thread Jonathan 'J5' Cook
Thanks for the fix, Max and perfect timing for me :) I just upgraded to 1.2.8 and started having this issue last night. For those who don't/didn't already know (like myself), here is a link to instructions Max wrote on how to install a new plugin version into the SDK: http://code.google.com/p/da

[appengine-java] What is the missing argument error after upgrade to 1.2.8

2009-12-11 Thread Emmanuel
After the upgrade to App engine 1.2.8 (and therefore to Google Web Toolkit 2.0.0), my previously working application now does not start and is blocked with the following error: Missing required argument 'module[s]' Google Web Toolkit 2.0.0 DevMode [-noserver] [-port port-number | "auto"] [-whiteli

[appengine-java] Re: Error: No action instance for path /login could be created

2009-12-11 Thread zhang qi
Is possible anyone give me a struts1.29 based sample application which have successfully run on Google App Engine. My 2 applications based on struts 1.29 meet trouble and can not work on G app Engine while can run well on my own server. Best! On Fri, Dec 11, 2009 at 1:18 AM, Qi wrote: > I meet

[appengine-java] Re: Fast MVC Framework for GAE?

2009-12-11 Thread Brian
I have 2 actions and something like 12 java classes total.. so don't think that is my problem. Nicolas: What is this pre-compilation you speak of? Anything under 5 would be good enough for me... On Dec 10, 9:41 pm, Timothy Spear wrote: > Brian, >         I moved away from traditional Java MVC

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-11 Thread bryce cottam
Thanks a million Max, I've been on the road for a few days but I'm looking forward to trying this out when I get back. Thanks for the link Jonathan. -bryce On Dec 11, 2009 6:50 AM, "Jonathan 'J5' Cook" < jonathan.j5.c...@gmail.com> wrote: Thanks for the fix, Max and perfect timing for me :) I j

Re: [appengine-java] Re: problems with SDK 1.2.8 and (local) task queues timing out...

2009-12-11 Thread Max Ross (Google)
Please re-read the thread leading up to your post. The timeout shouldn't impact the completion of the request on the server. If you're seeing something different please let me know. Thanks, Max On Thu, Dec 10, 2009 at 10:26 PM, Heyali wrote: > I am also facing simmilar problem. Any clue? > >

[appengine-java] Re: grails The filename or extension is too long

2009-12-11 Thread aldrinm
You might want to try the work-arounds mentioned in this issue http://code.google.com/p/googleappengine/issues/detail?id=1862 -- 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..

Re: [appengine-java] Re: Failed to startup after ver 1.2.8 update

2009-12-11 Thread Rajeev Dayal
Were you able to work around the problem, or are you still having trouble? On Fri, Dec 11, 2009 at 5:40 AM, sgodard wrote: > I have the same problem with this update :( > > On 5 déc, 06:34, doc123 wrote: > > Application does not start up after update ver 1.2.8 > > > > Error Message is following

Re: [appengine-java] What is the missing argument error after upgrade to 1.2.8

2009-12-11 Thread Rajeev Dayal
Hi, If you navigate to Project Properties -> Google -> Google Web Toolkit, do you see any startup modules listed there? If you edit the launch configuration that you're running, do you see any startup modules listed on the GWT tab? What are the program and VM arguments that are listed for the la

[appengine-java] Generating printable documents from HTML

2009-12-11 Thread Riley
I am hoping to create math test generation software for teachers. I would like to enable a user to enter questions that might include pictures or mathematical expressions with something like TinyMCE. Then, I want to concatenate their questions into a format that can be reliably printed. Ideally I

[appengine-java] Where do I find javax.servlet.http ?

2009-12-11 Thread Andreas
It's part of the very first tutorial, yet I come to an end already :) I'm running intellij, not eclipse, but I guess that shouldn't matter. -- 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] Question about request from one app to another one through ajax

2009-12-11 Thread Allen Cheng
I created two apps, one app provides a restful web service( such as abc001.appspot.com), and I want to make use of that web service in another app page (such as abc002,appspot.com) through ajax. Through setting the [ document.domain = "appspot.com"; ] in javascript, the browser could allow the ajax

[appengine-java] The request is invalid for an unspecified reason

2009-12-11 Thread Werner Kok
Hi, I am trying to upload my application but keep getting an error. The same error is logged when deploying via Google Eclipse Plugin or the appcfg.cmd command line tool. The app runs 100% fine in Eclipse using the Google SDK. The error is: Unable to update: java.io.IOException: Error posting

[appengine-java] Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Sam Hasler
Local Task Queue are running tasks as fast as they can an not honouring the maximum rate for the queue. on a 0.5/s queue I'm seeing 80+ tasks handled in a matter of seconds. This is a problem for me because I am using the URLFetch service to fetch content that I am not supposed to request more than

[appengine-java] java.lang.RuntimeException: Unable to replace JPACallbackHandler - Unit Testing

2009-12-11 Thread Thierry Golvanig
Hi All, I am trying to write a bunch of tests with JUNIT for my JDO classes. The package works when integrated in a appengine web application, but I get a RunTimeException when testing in a Junit 'environment'. I started with the JDODataSourceConfigTest source file in the appengine test directo

[appengine-java] Google App for Web Application

2009-12-11 Thread Rajesh
hi all , i'm new to google cloud computing .and i have develooped my Application with Struts,Spring and JPA/ Hibenate support. since i knew GAE does'nt support hipernate.i use to go with JPA.but how to specify the datasource .How can i create the table .

Re: [appengine-java] Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Max Ross (Google)
Hi Sam, Please read this section of the docs: http://code.google.com/appengine/docs/java/taskqueue/overview.html#Task_Queues_and_the_Development_Server It describes the differences between production task queues and local task queus and explains how to switch back to the old method of manually tr

Re: [appengine-java] java.lang.RuntimeException: Unable to replace JPACallbackHandler - Unit Testing

2009-12-11 Thread Max Ross (Google)
I suspect datanucleus-jpa-1.1.5.jar isn't on your classpath. Is that possible? On Fri, Dec 11, 2009 at 4:29 AM, Thierry Golvanig wrote: > Hi All, > > I am trying to write a bunch of tests with JUNIT for my JDO classes. > > The package works when integrated in a appengine web application, but > I

Re: [appengine-java] Re: gae log console

2009-12-11 Thread Ikai L (Google)
Ah, tailing in real time (or semi real time). This isn't currently possible. You might want to write something up and create a feature request for it: http://code.google.com/p/googleappengine/issues/list On Thu, Dec 10, 2009 at 7:18 PM, asianCoolz wrote: > its only copy the log to local pc. can

Re: [appengine-java] Re: gae log console

2009-12-11 Thread Ikai L (Google)
I was just thinking about this. You might be able to do something by creating your own wrapped logger and integrating it with the XMPP service, though I am pretty sure this will send you over quota pretty quickly. On Fri, Dec 11, 2009 at 10:06 AM, Ikai L (Google) wrote: > Ah, tailing in real tim

Re: [appengine-java] Where do I find javax.servlet.http ?

2009-12-11 Thread Ikai L (Google)
If you're running IntelliJ IDEA with the Google App Engine plugin, it should have been imported. Check "Project Settings->Libraries" and make sure you have included APPENGINE_SDK_HOME/lib/user as a JAR directory. This'll import Jetty and other dependencies you need. On Fri, Dec 11, 2009 at 8:07 AM

Re: [appengine-java] Where do I find javax.servlet.http ?

2009-12-11 Thread Toby Reyelts
It lives in /lib/shared/geronimo-servlet_2.5_spec-1.2.jar If you're not using Eclipse, you can read our Ant documentationto get an idea of what jars you should be compiling against, and which jars you should be deploying with your webapp.

[appengine-java] Re: Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Sam Hasler
Thanks Max! that's much better. That really should have been called out in the release notes though. Sam On Dec 11, 5:57 pm, "Max Ross (Google)" wrote: > Hi Sam, > > Please read this section of the > docs:http://code.google.com/appengine/docs/java/taskqueue/overview.html#Ta... > > It describes

[appengine-java] hat is a Blobstore

2009-12-11 Thread Toby
Hello, I got a strange thing apearing in my quota details. In fact it is a warning that I am using a limited ressource: Other Quotas With Warnings These quotas are only show when they have warnings Blobstore Bytes Stored 0% 0% 0.00 of 8589934592.00 GBytesLimited What is strange

[appengine-java] Re: hat is a Blobstore

2009-12-11 Thread Toby
I accidently sent this before finishing. Can someone help me to understand this? Thank you, Toby On Dec 11, 8:16 pm, Toby wrote: > Hello, > > I got a strange thing apearing in my quota details. In fact it is a > warning that I am using a limited ressource: > > Other Quotas With Warnings > > T

[appengine-java] Re: Servlet loading failing

2009-12-11 Thread Nicky
Nothing out of the ordinary. Here take a look. package gov.ca.bdo.modeling.dsm2.map.server; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import ja

Re: [appengine-java] Re: hat is a Blobstore

2009-12-11 Thread Ikai L (Google)
It's nothing you should have to worry about yet. We're putting in the plumbing for upcoming features. On Fri, Dec 11, 2009 at 11:17 AM, Toby wrote: > I accidently sent this before finishing. > > Can someone help me to understand this? > > Thank you, > > Toby > > > On Dec 11, 8:16 pm, Toby wrote

[appengine-java] Re: Servlet loading failing

2009-12-11 Thread Nicky
Also worked when i included repackaged-appengine-ant-1.6.5.jar. This was in v 1.2.6. Haven't tried deleting it with v 1.2.8 On Dec 11, 11:22 am, Nicky wrote: > Nothing out of the ordinary. Here take a look. > > package gov.ca.bdo.modeling.dsm2.map.server; > > import java.io.IOException; > import

[appengine-java] Re: Sending mail with the mail api

2009-12-11 Thread Werner Kok
Hi, Any news on this issue, I'm having the same problem in my deployed application. Thanks! Werner On Dec 2, 5:30 pm, Ray wrote: > Hi Jason, >           i have got the same problem too. the Code was copied and pasted > fromhttp://code.google.com/appengine/docs/java/mail/usingjavamail.html. The

Re: [appengine-java] Re: Unable to run on local server after an upgrade to 1.2.8

2009-12-11 Thread Ikai L (Google)
Are you seeing this error on a new project? Can you provide steps to reproduce? 2009/12/10 Viðar Svansson > This seems to only happen if you are logged in. > > On Thu, Dec 10, 2009 at 12:58 PM, pjesi wrote: > > Hi > > > > I am getting a strange error after upgrading to 1.2.8: > > > > 10.12.2009

Re: [appengine-java] error xerces not found when run as web app

2009-12-11 Thread Ikai L (Google)
I'm not able to reproduce this, though I am using 2.9.1. Were you able to figure this out? You may need to tell your IDE to treat WEB-INF/lib as part of your classpath, since putting it in this library just makes sure it is in the classpath when deployed and not necessarily locally when you are run

Re: [appengine-java] Google App for Web Application

2009-12-11 Thread Rusty Wright
http://code.google.com/appengine/docs/ Click on Storing Data under Java in the left menu. Also click on Java in the Getting Started menu on the left. You don't create the table; there are no tables, although JPA will pretend that there are. Just start storing data. Watch the videos from the

Re: [appengine-java] Re: Fast MVC Framework for GAE?

2009-12-11 Thread Rusty Wright
http://googleappengine.blogspot.com/ See Dec 8 entry, "Request performance in Java". Brian wrote: > I have 2 actions and something like 12 java classes total.. so don't > think that is my problem. > > Nicolas: What is this pre-compilation you speak of? Anything under 5 > would be good enough fo

[appengine-java] Re: Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Sam Hasler
Where exactly do I put the --jvm_flag=- Dtask_queue.disable_auto_task_execution=true flag? I'd assumed it would be in Run configurations... (x)= Arguments tab, in the VM Arguments pannel, but it says it's an Unrecognized option. Sam On Dec 11, 5:57 pm, "Max Ross (Google)" wrote: > Hi Sam, > > Pl

Re: [appengine-java] Re: Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Toby Reyelts
If you're using the Eclipse plugin, you don't need the --jvm_flag= part. On Fri, Dec 11, 2009 at 5:29 PM, Sam Hasler wrote: > Where exactly do I put the --jvm_flag=- > Dtask_queue.disable_auto_task_execution=true flag? I'd assumed it > would be in Run configurations... (x)= Arguments tab, in the

Re: [appengine-java] Re: Copy production datastore to local_db.bin?

2009-12-11 Thread Ikai L (Google)
That doesn't look like correct Python syntax to me. Lambda expressions are limited to a single expression ( http://docs.python.org/tutorial/controlflow.html). I am pretty sure that just takes a callable, so you can do this: def decodeIfNotNone(utf8_string): if utf8_string: return utf8_strin

[appengine-java] enhance classes in eclipse plugin

2009-12-11 Thread asianCoolz
my properties->google-->orm-> already put /src but i still get the below error i'm using jdk1.6 gae1.2.6. what did i do wrong? 01:38:22,793 ERROR [DataNucleus.MetaData] - Found Meta-Data for class com.thepackage.class.domain.pojotest but this class is not enhanced!! Please enhance the class b

[appengine-java] Re: gae log console

2009-12-11 Thread Roy
I log to xmpp and it works really well. I find the standard log viewer with its foreign timestamps almost unusable for debugging. On Dec 11, 6:07 pm, "Ikai L (Google)" wrote: > I was just thinking about this. You might be able to do something by > creating your own wrapped logger and integrating

Re: [appengine-java] Re: Copy production datastore to local_db.bin?

2009-12-11 Thread Dominik Steiner
Thanks again Ikai for your help and fast reply. It might not help that I'm a Python newbie here, but still not able to get this going with the code you sent me, still the error it gives me is File "exporter.py", line 26, in decodeIfNotNone return utf8_string.decode("utf-8") File "/Sy

[appengine-java] Re: Spring MVC with annotations

2009-12-11 Thread asianCoolz
any update on this? can rc3 run on gae? -- 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-ja

[appengine-java] Re: Fast MVC Framework for GAE?

2009-12-11 Thread Brian
Before: / 200 9743ms 11464cpu_ms 264api_cpu_ms After: / 200 6894ms 7335cpu_ms 199api_cpu_ms Better, but not really good enough. On Dec 11, 4:22 pm, Rusty Wright wrote: > http://googleappengine.blogspot.com/ > > See Dec 8 entry, "Request performance in Java". > > Brian wrote: > > I have 2 actio