[appengine-java] Re: Kawa servlet

2009-08-20 Thread Toby Reyelts
Can you double check your servlet mappings and make sure they are correct? Also, you'll need to modify your appengine-web.xml to exclude your scripts from static-files so they aren't served by default by our optimized static content servers. See our docs on static and resource

[appengine-java] Re: Kawa servlet

2009-08-21 Thread Toby Reyelts
:128) is it possible to grant the accessDeclaredMembers permission? On Aug 20, 5:15 pm, Toby Reyelts to...@google.com wrote: Can you double check your servlet mappings and make sure they are correct? Also, you'll need to modify your appengine-web.xml to exclude your scripts from static

[appengine-java] Re: ClassCastException: [Object cannot be cast to [[Object

2009-08-21 Thread Toby Reyelts
Do you have the source code for the version of JSF you're using? A quick look at 1.1.4http://www.google.com/codesearch/p?hl=ensa=Ncd=2ct=rc#k7e2Oio8pzY/myfaces-core-1.1.4/source/javax/faces/component/UIComponentBase.javaq=javax.faces.component.UIComponentBase%20processRestoreStatedoesn't show a

[appengine-java] Re: Overriding default GWT blue theme

2009-08-24 Thread Toby Reyelts
[bcc google-appengine-j...@googlegroups.com] [+google-web-tool...@googlegroups.com] Hey Robin, You'll probably get a quicker answer for this on the GWT users group. 2009/8/24 Zhi Le Zou zouzh...@gmail.com Hi, As you know, the default theme is blue, i.e. the borders or tabs are all in blue.

[appengine-java] Re: Logging Levels....

2009-08-24 Thread Toby Reyelts
The mappings for java.util.logging levels to GAE log levels are: level = SEVERE - Error level = WARNING - Warn level = INFO - Info else Debug We reserve the Critical level for errors such as escaping ServletExceptions (e.g. errors that would cause 500s). So, for example, if you

[appengine-java] Re: Compile and execute at runtime

2009-08-25 Thread Toby Reyelts
(not accepted) on the app-engine :( Any other options? Cheers, Albert Attard Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. 2009/8/14 Toby Reyelts to...@google.com We don't have any near

[appengine-java] Re: Local server works, Appspot fails with java.lang.StackOverflowError when Spring AOP is enabled

2009-08-27 Thread Toby Reyelts
Do you have a simple sample app that you can reproduce this with? On Wed, Aug 26, 2009 at 12:38 AM, Gabriel Moreira gabrielmore...@gmail.comwrote: My app is using Spring 3.0. If i disable Spring AOP, my app runs fine both on local and appspot. But when i enable Spring AOP (tested with

[appengine-java] Re: Exception on creation of java.io.File in GAE

2009-08-31 Thread Toby Reyelts
It looks like compass is reading the System property, java.io.tmpdir and eventually it gets passed into a File constructor call. App Engine doesn't have a temp directory (we don't allow the writing of any files to disk), so this system property is set to null. If you need to set this system

[appengine-java] Re: issues with compass for GAE apps

2009-09-01 Thread Toby Reyelts
Vik, Do you have some sample code to reproduce this? By default, we throw an exception if you try to create more than one PersistenceManagerFactory. Are you using a singleton class to prevent more than one from being created? If so, are you maybe loading that singleton class in different

[appengine-java] Re: I got error: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! access denied (java.lang.RuntimePermission getClassLoader)

2009-09-03 Thread Toby Reyelts
It looks like ajax4jsf is making a call to ClassLoader.getSystemClassLoader, which is not allowed by GAE. A reasonable alternative is for it to fall back to another ClassLoader such as the thread context ClassLoader, it's own ClassLoader, or the caller's ClassLoader. at

[appengine-java] Re: Datastore problems!

2009-09-04 Thread Toby Reyelts
We're unaware of any datastore problems. One thing you might try is upgrading to the latest version of the SDK (don't forget to copy all of the updated datastore libraries into your WEB-INF/lib). If that doesn't work for you, please post a full stacktrace and your application id. On Fri, Sep 4,

[appengine-java] Re: GAE down? Response Error 500

2009-09-04 Thread Toby Reyelts
not modified the code for my list servlet in several days, but this is now not working, and hasn't been since yesterday, and it appears to be the same problem it had a couple days ago during the short window. On Sep 4, 8:31 am, Toby Reyelts to...@google.com wrote: Cliff, We're not aware of any

[appengine-java] Re: GAE down? Response Error 500

2009-09-04 Thread Toby Reyelts
up until 2 days ago. Coincidentally about the same time that the updates previously mentioned which had to be rolled back were done. On Sep 4, 10:44 am, Toby Reyelts to...@google.com wrote: I can't see that any RPCs are ever made from your client application to the server. How are you

[appengine-java] Re: GAE down? Response Error 500

2009-09-04 Thread Toby Reyelts
Web Toolkit 1.7.0 GWT-Incubator for 1.7.0 (14 Jul 2009) Jython 2.5.0 I'm doing everything in Eclipse 3.5 (Galileo) with the Google Plugin for Eclipse 3.5, 1.1.0 and Pydev 1.5.0 (for my Jython stuff) On Sep 4, 11:28 am, Toby Reyelts to...@google.com wrote: Before we go any further, can you

[appengine-java] Re: Discussion on will-it-play-in-app-engine

2009-09-04 Thread Toby Reyelts
Jimbo, Would you mind seeing if this issue goes away with the latest 1.2.5? On Tue, Aug 25, 2009 at 4:03 AM, Jimbo ji...@google-app-engine.com wrote: Hi, I managed to get spring security working by amending the source as suggested at: http://www.dotnetguru2.org/bmarchesson/index.php?p=1100

[appengine-java] Re: GAE down? Response Error 500

2009-09-04 Thread Toby Reyelts
even be able to see that? I'm thinking that's a false alarm. Especially as my app really is not that taxing, at all. The vast majority of the processing for it (the graphics/UI processing) is done through GWT on the client side. On Sep 4, 11:57 am, Toby Reyelts to...@google.com wrote

[appengine-java] Re: Creating static files from a servlet

2009-09-16 Thread Toby Reyelts
You can also avoid extra traffic against your servlet and datastore by making sure to set http caching headers appropriately. On Wed, Sep 16, 2009 at 1:50 PM, Don Schwarz schwa...@google.com wrote: The Service for storing and serving large files item on the Roadmap will give you what you want

[appengine-java] Re: CPU Occasionally Spikes when HttpSession is Created

2009-09-16 Thread Toby Reyelts
App Engine retires and spins up new instances of your app based on demand. If a new instance of your app is being created, you'll see higher CPU then normal as all of your code gets reloaded and initialized. This sounds like the behavior you're seeing. One way to test that is to write a logging

[appengine-java] Re: Exceptions from JDOQL

2009-09-16 Thread Toby Reyelts
If you do a search for this message, you can see that there are some other threads where we have explained that it is a harmless INFO message. On Wed, Sep 16, 2009 at 11:13 PM, Vik vik@gmail.com wrote: any updates on this please? Thankx and Regards Vik Founder www.sakshum.com

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Toby Reyelts
for PMF. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Sep 2, 2009 at 8:42 PM, Toby Reyelts to...@google.com wrote: Thanks for the code. I have three suggestions (mostly from my previous post): 1) Are you maybe loading that singleton class in different

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Toby Reyelts
. In this process i got the two different UserClassLoader. So, does your statement holds good? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Sep 17, 2009 at 11:19 PM, Toby Reyelts to...@google.com wrote: Just to clarify what Jason is saying, the fact

[appengine-java] Re: How-to view stack dumps in GAE

2009-09-21 Thread Toby Reyelts
Hi Diana, Throwable.printStackTrace() writes to System.err. App Engine ties System.err to the java.util.logging.Logger named stderr using the Warning logging level. If you've redirected System.err or don't have logging configured correctly, your stacktraces can end up going somewhere else or

[appengine-java] Re: Plugin Hosted Mode failing to resolve import java.net.* on Macintosh

2009-09-21 Thread Toby Reyelts
Hey Ken, As Jason says, the Eclipse plugin does not directly support validation of GWT code, so you only see an error after running Hosted Mode. If you use've intended this to be just server code, you should pull it up out of the GWT client package you currently have it in. On Mon, Sep 21, 2009

[appengine-java] Re: Plugin Hosted Mode failing to resolve import java.net.* on Macintosh

2009-09-21 Thread Toby Reyelts
is going to process it. Let me know if the App Engine architecture really requires me to run my case via RPC through the App server too. {I've posted to the GWT list about the original question too.} Thanks, Ken On Sep 21, 3:34 pm, Toby Reyelts to...@google.com wrote: Hey Ken

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Toby Reyelts
ApiProxy gives you access to the dev_appserver's internal interfaces for the services that Google provides, such as mail, urlfetch, memcache, xmpp, etc... ApiProxy is entirely unrelated to GWT RemoteServiceServlets, which is what your code is trying to use it for. You only need to use our internal

[appengine-java] Re: reading file from file system

2009-09-22 Thread Toby Reyelts
For the record, this code is asking for a file at the root of the filesystem under a folder named test. If you want to read files from your local application, you need to use a relative path, e.g. test/file.txt, not /test/file.txt. On Tue, Sep 22, 2009 at 6:47 AM, Prashant antsh...@gmail.com

[appengine-java] Re: Accessing App Engine dev server from another intranet computer using Eclipse plugin.

2009-09-22 Thread Toby Reyelts
You should be able to add that to program arguments under the arguments tab for the launch configuration of your application. On Tue, Sep 22, 2009 at 3:09 PM, Dan Dubois uvico...@googlemail.com wrote: Dear All, I am using the GAE 1.2.5 plugin for Eclipse on OS X. I can only seem to access

[appengine-java] Re: Incompatible object argument for function call ?

2009-09-22 Thread Toby Reyelts
Hey Clint, This looks like a bug on our end. Would you mind filing an issue for us in our tracker? Meanwhile, you can work around this by patching DynamicClassLoader.java to not use sun.misc.Unsafe. Change: public Class defineClassX(String className, byte[] b, int start, int end) {

[appengine-java] Re: Extra log output

2009-09-23 Thread Toby Reyelts
You're using java.util.logging, not log4j. What does your logging.properties file look like? On Wed, Sep 23, 2009 at 5:02 PM, Pion onlee2...@gmail.com wrote: I have the following code snippet: public class FooServiceImpl extends RemoteServiceServlet implements ControllerInputService {

[appengine-java] Re: Extra log output

2009-09-23 Thread Toby Reyelts
it is fixed. Glad to see you solved the problem. Again, thanks. On Sep 23, 2:20 pm, Toby Reyelts to...@google.com wrote: You're using java.util.logging, not log4j. What does your logging.properties file look like? On Wed, Sep 23, 2009 at 5:02 PM, Pion onlee2...@gmail.com wrote: I

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Toby Reyelts
Jay, In general, no there are not limitations on App Engine's HttpSession. Here are some things that are useful to know, though: 1) They aren't enabled by default. You need to turn them onhttp://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessionsin appengine-web.xml. 2)

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Toby Reyelts
's state overwrites changes from request 1 On Sep 24, 11:46 am, Toby Reyelts to...@google.com wrote: Jay, In general, no there are not limitations on App Engine's HttpSession. Here are some things that are useful to know, though: 1) They aren't enabled by default. You need to turn

[appengine-java] Re: appcfg can't find javac?

2009-09-25 Thread Toby Reyelts
If you look closer at the message, you can see that it's looking for the java compiler - *javac.exe* not java.exe. The JRE does not contain the Java compiler. Instead, you'll need to put the JDK on your PATH ahead of your JRE. On Fri, Sep 25, 2009 at 10:50 PM, Mark Space brendento...@gmail.com

[appengine-java] Re: appcfg can't find javac?

2009-09-26 Thread Toby Reyelts
:\Program Files\PHP;C:\Program Files \Mercurial;C:\Progr am Files\QuickTime\QTSystem\ My JAVA_HOME is set to the JDK too: C:\Users\Brendenset | grep HOME COMPUTERNAME=HOMER HOMEDRIVE=C: HOMEPATH=\Users\Brenden JAVA_HOME=C:\Program Files\Java\jdk1.6.0 On Sep 25, 9:53 pm, Toby Reyelts

[appengine-java] Re: Load order WEB-INF/classes not always before WEB-INF/*.jar?

2009-10-19 Thread Toby Reyelts
Hey Marc, We're not aware of this being a problem. As far as we know, we're conforming to the standard by preferring classes in WEB-INF/lib. Can you reproduce this definitively? For example, check the value of

[appengine-java] Re: Load order WEB-INF/classes not always before WEB-INF/*.jar?

2009-10-19 Thread Toby Reyelts
On Mon, Oct 19, 2009 at 11:26 AM, Toby Reyelts to...@google.com wrote: Hey Marc, We're not aware of this being a problem. As far as we know, we're conforming to the standard by preferring classes in WEB-INF/lib. Sorry, that should be preferring classes in WEB-INF/classes. Can you

[appengine-java] Re: Load order WEB-INF/classes not always before WEB-INF/*.jar?

2009-10-19 Thread Toby Reyelts
, Marc. Toby Reyelts a écrit : Hey Marc, We're not aware of this being a problem. As far as we know, we're conforming to the standard by preferring classes in WEB-INF/lib. Can you reproduce this definitively? For example, check the value

[appengine-java] Re: Local server works, Appspot fails with java.lang.StackOverflowError when Spring AOP is enabled

2009-10-19 Thread Toby Reyelts
message, so I can try to help track it down/produce a test case? Cheers, Kris On Oct 7, 4:36 pm, Toby Reyelts to...@google.com wrote: Unfortunately this is an issue that will be very difficult for us to solve unless you can provide us with a simple reproducing app that we can use to debug

[appengine-java] Re: AccessControlException on OutputStream#write(byte b[], int off, int len)

2009-10-21 Thread Toby Reyelts
Can you send your app-id? (privately if you wish) On Wed, Oct 21, 2009 at 1:46 AM, Thomas Wiradikusuma wiradikus...@gmail.com wrote: Hi, The following Groovy snippet throws exception: byte[] responseData = byteOut.toByteArray()

[appengine-java] Re: Slowing down local datastore

2009-10-27 Thread Toby Reyelts
Actually, if you're willing to implement your own ApiProxy.Delegate, you can make it slow down datastore ops as you please. Here'shttp://blog.appenginefan.com/2009/10/hooking-into-java-app-engine.htmlan example of using ApiProxy.Delegate. The presentation Java App Engine presentation at Google IO

[appengine-java] Re: Serializing problem with Jackson

2009-10-27 Thread Toby Reyelts
wrote: Thanks for the fast reply! :) When will this be? This is a show stopper for me. Best Regards Thomas On 27 Okt, 19:45, Toby Reyelts to...@google.com wrote: Thanks for the report Thomas. It's a known issue that will be fixed in the next update. On Tue, Oct 27, 2009 at 10

[appengine-java] Re: 401 Unauthorized on deploy since yesterday

2009-10-27 Thread Toby Reyelts
Are you absolutely sure your app-id is set correctly in your appengine-web.xml? On Mon, Oct 26, 2009 at 3:31 PM, MarcGl m...@icents.net wrote: I am having a similar problem. But I get error 403. See below: Deploying X to Google has encountered a problem. Unable to update app: Error

[appengine-java] Re: Uncaught exception from servlet java.lang.NoClassDefFoundError: java.rmi.server.UID is a restricted class.

2009-10-28 Thread Toby Reyelts
Are you running the latest 1.2.6 SDK? It should be implementing the same whitelisting as the production servers. On Tue, Oct 27, 2009 at 7:00 AM, Srinivas Inf srinivas.infon...@gmail.comwrote: I am getting this error message on the server and its working fine in my local Eclipse

[appengine-java] Re: task queue limit 30 sec?

2009-10-28 Thread Toby Reyelts
The limits on tasks queues recently changedhttp://googleappengine.blogspot.com/2009/10/task-queue-quota-increases.html. For example, the new total limit is 100K tasks/day for free apps and 1M default for billing enabled. On Wed, Oct 28, 2009 at 2:38 PM, Jason (Google) apija...@google.com wrote:

[appengine-java] Re: java.lang.IllegalAccessException: Private fields can not be set on JRE classes.

2009-11-09 Thread Toby Reyelts
? grails.stringchararrayaccessor.disabled=true Sorry, relative n00b here. Dary On Oct 18, 8:20 am, Toby Reyelts to...@google.com wrote: Groovy is trying to use reflection to set the private fields http://www.google.com/codesearch/p?hl=ensa=Ncd=1ct=rc#BExOlTNH8oU/.. .of java.lang.String

Re: [appengine-java] Re: A newbie question about logging using java.util.logging

2009-11-12 Thread Toby Reyelts
Did you try com.zas.test.level=INFO instead of com.zas.test=INFO ? On Fri, Nov 13, 2009 at 1:22 AM, Zaske yair.zaslav...@gmail.com wrote: Yes, I tried filtering info - and did not get the messsage. In the end I changed the file to look like: .level = FINEST # Set the default logging level

Re: [appengine-java] Discussion on will-it-play-in-app-engine

2009-11-17 Thread Toby Reyelts
On Tue, Nov 17, 2009 at 7:02 AM, Dan Dubois uvico...@googlemail.com wrote: I have been trying to use Batik SVG Toolkit (http:// xmlgraphics.apache.org/batik/) to generate images on GAE with no luck. I get a ClassNotFoundError on org/w3c/dom/svg/SVGDocument. Perhaps you need the Java binding

Re: [appengine-java] InputStream read returning -1, but avalible btyes correct ?

2009-11-23 Thread Toby Reyelts
FYI a couple of notes: 1) InputStream.available() only tells you how many bytes can be read without blocking. From its specification: It is never correct to use the return value of this method to allocate a buffer intended to hold all data in this stream. Just don't use it. 2)

Re: [appengine-java] memcache memory leak on dev server

2009-11-24 Thread Toby Reyelts
of the same key every time--why would this take more and more memory (and never release it)? Shouldn't the value be replaced, and the memory for the previous value be freed? Vince On Tue, Nov 24, 2009 at 1:30 PM, Toby Reyelts to...@google.com wrote: I've posted a reply to the issue, which

Re: [appengine-java] Package.getImplementationVersion() not supported?

2009-11-24 Thread Toby Reyelts
If the classes are being loaded from UserClassLoader from a jar in your WEB-INF/lib containing a manifest, they should get package information from that manifest. If that's not what you're seeing, please file an issue in the tracker for us with a simple reproducing webapp. On Tue, Nov 24, 2009 at

Re: [appengine-java] UUID.ramdomUUID() extremely slow

2009-11-24 Thread Toby Reyelts
Do you have actual timing code around that one single call, or is other stuff going on during your request? If you can create a trivial webapp that consistently shows 5 seconds just to call UUID.randomUUID() please file an issue for it, and we can look into it. On Tue, Nov 24, 2009 at 9:19 PM,

Re: [appengine-java] GData Java API known to (not) work on GAE?

2009-11-30 Thread Toby Reyelts
Gdata works fine in the Java runtime but, but you need to disablehttp://code.google.com/appengine/kb/java.html#googledataits cookie handler. On Mon, Nov 30, 2009 at 1:00 PM, Guillaume Laforge glafo...@gmail.comwrote: Hi all, I was wondering whether anyone had succeeded using the GData APIs on

Re: [appengine-java] Change datastore filename on dev server?

2009-12-02 Thread Toby Reyelts
Hey James, You can set the file that the datastore uses with the system property, datastore.backing_store. For example, dev_appserver.sh --jvm_flag=-Ddatastore.backing_store=c:\my_project_datastore.blob my_project\war On Sat, Nov 21, 2009 at 12:02 PM, James Cooper

Re: [appengine-java] Re: GData Java API known to (not) work on GAE?

2009-12-02 Thread Toby Reyelts
, Toby! On Mon, Nov 30, 2009 at 19:54, Toby Reyelts to...@google.com wrote: Gdata works fine in the Java runtime but, but you need to disable its cookie handler. On Mon, Nov 30, 2009 at 1:00 PM, Guillaume Laforge glafo...@gmail.com wrote: Hi all, I was wondering

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Toby Reyelts
Yes, I totally agree that the current official way of checking for App Engine presence is not great for third party libraries which don't even necessarily run in a servlet container. We've been putting together a solution for this and hope to make it available soon. On Thu, Dec 3, 2009 at 1:15

Re: [appengine-java] JAXB doesn't work for me in 1.2.8

2009-12-04 Thread Toby Reyelts
Can you supply a stacktrace please? On Fri, Dec 4, 2009 at 3:16 AM, Jeremy Blythe jeremybly...@gmail.comwrote: I get this error: Constructor threw exception; nested exception is java.lang.RuntimeException: javax.xml.bind.JAXBException - with linked exception:

Re: [appengine-java] Re: JAXB doesn't work for me in 1.2.8

2009-12-04 Thread Toby Reyelts
) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:144) ... 49 more On Dec 4, 7:17 pm, Toby Reyelts to...@google.com wrote: Can you supply a stacktrace please? On Fri, Dec 4, 2009 at 3:16 AM, Jeremy Blythe jeremybly...@gmail.com wrote: I get this error

Re: [appengine-java] Re: JAXB doesn't work for me in 1.2.8

2009-12-04 Thread Toby Reyelts
It's probably worth mentioning that, as a temporary workaround, you should be able to bundle your own JAXB implementation with your webapp. For example, the reference version can be obtained from https://jaxb.dev.java.net/. On Fri, Dec 4, 2009 at 4:31 PM, Toby Reyelts to...@google.com wrote

Re: [appengine-java] Re: FOP support / workaround

2009-12-08 Thread Toby Reyelts
Neat! Care to elaborate? On Tue, Dec 8, 2009 at 11:44 AM, nicanor.babula nicanor.bab...@gmail.comwrote: I got FOP working. On Oct 19, 6:37 pm, Stakka henrik.lindqv...@gmail.com wrote: I've tried to get ApacheFOPworking on GAE, using java.awt.* classes from Harmony. I came to the

Re: [appengine-java] java.lang.NoClassDefFoundError: java.rmi.server.UID -using commons-fileupload-1.2.1.jar

2009-12-09 Thread Toby Reyelts
http://code.google.com/appengine/kb/java.html#fileforms On Wed, Dec 9, 2009 at 12:44 PM, Henry enricrequ...@gmail.com wrote: Hi Guys, Im trying to store and image with GWT to Google App engine, I'm using the packages: commons-codec-1.4.jar commons-fileupload-1.2.1.jar

Re: [appengine-java] Re: JAXB doesn't work for me in 1.2.8

2009-12-09 Thread Toby Reyelts
at 10:55 PM, Toby Reyelts to...@google.com wrote: It's probably worth mentioning that, as a temporary workaround, you should be able to bundle your own JAXB implementation with your webapp. For example, the reference version can be obtained from https://jaxb.dev.java.net/. On Fri, Dec 4

Re: [appengine-java] Blacklist creation error on boot

2009-12-10 Thread Toby Reyelts
That's odd. We certainly haven't seen this here. Does that happen when you run the demos? What happens when you run jar tf /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/plugin.jar from a command line? Do you see any other errors like this? You can more or less ignore the

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

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

2009-12-11 Thread Toby Reyelts
It lives in APP_ENGINE_SDK_ROOT/lib/shared/geronimo-servlet_2.5_spec-1.2.jar If you're not using Eclipse, you can read our Ant documentationhttp://code.google.com/appengine/docs/java/tools/ant.htmlto get an idea of what jars you should be compiling against, and which jars you should be deploying

Re: [appengine-java] Re: What does precompilation-enabledtrue/precompilation-enabled do?

2009-12-14 Thread Toby Reyelts
Please send us your app-id privately (if you don't feel comfortable posting it publicly), and we can investigate. -- Forwarded message -- From: Philip philip.jarr...@gmail.com Date: Mon, Dec 14, 2009 at 10:19 AM Subject: [appengine-java] Re: What does

Re: [appengine-java] Meassuring Loading Request

2009-12-18 Thread Toby Reyelts
All requests have their durations logged in the admin console. Was there something more you wanted than that? On Fri, Dec 18, 2009 at 3:42 AM, Marcel Overdijk marceloverd...@gmail.comwrote: On http://code.google.com/intl/nl/appengine/kb/java.html#performance there is info how to write a

Re: [appengine-java] Re: Meassuring Loading Request

2009-12-18 Thread Toby Reyelts
On Fri, Dec 18, 2009 at 3:50 AM, Marcel Overdijk marceloverd...@gmail.comwrote: Now that I'm looking at the example code on http://code.google.com/intl/nl/appengine/kb/java.html#performance to distinguish normal request from loading request I'm wondering if the usage is correct... The

Re: [appengine-java] Datanucleus initialization performance

2010-01-05 Thread Toby Reyelts
Also, can you duplicate the slowness in the dev_appserver? If so, you can hook up a profiling tool yourself and see if there are any obvious hotspots. On Tue, Jan 5, 2010 at 12:44 PM, Don Schwarz schwa...@google.com wrote: Have you tried enabling offline precompilation? On Tue, Jan 5, 2010

Re: [appengine-java] access denied

2010-01-20 Thread Toby Reyelts
Thanks Andrés, I've filed an issuehttp://code.google.com/p/googleappengine/issues/detail?id=2658for this. There's a bug in the implementation of HttpServlet.doOptions which is preventing OPTIONS http requests from being fulfilled correctly. Most people don't need to serve OPTIONS requests, so

Re: [appengine-java] Repost: Javaagent option

2010-01-20 Thread Toby Reyelts
There are no immediate plans for this. Is there something that prevents you from instrumenting via ClassLoaders? On Wed, Jan 20, 2010 at 5:40 PM, Kartik kart...@gmail.com wrote: Hi, Any plans of supporting the -javaagent flag in the app engine? I would like to add my agent for instrumenting

Re: [appengine-java] Re: Repost: Javaagent option

2010-01-21 Thread Toby Reyelts
No, I just meant that you could, for example, write a custom ClassLoader that instruments bytecode before it loads it. On Thu, Jan 21, 2010 at 7:45 PM, Kartik kart...@gmail.com wrote: Can you please elaborate on instrumenting via classloaders? Do you mean JSR-163? On Jan 20, 3:08 pm, Toby

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-05 Thread Toby Reyelts
You have an empty property of type e-mail, and that makes the datastore viewer unhappy. You need to either use a different type that can be non-empty (like String), or have non-empty e-mails. On Thu, Feb 4, 2010 at 10:25 PM, aswath satrasala aswath.satras...@gmail.com wrote: My application is

Re: [appengine-java] OutOfMemoryError

2010-02-09 Thread Toby Reyelts
Hi Lior, Are you allocating a large amount of memory up front? When you start writing a response, a fixed-size heap allocation occurs to hold it. (Implementation detail). If you've exhausted most of your JVM's memory before this point, it won't have enough left over to allocate that buffer for

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-09 Thread Toby Reyelts
to non-empty. Now, I cannot trace back those entities from my application, as it is being tested and is logged in by different users and entities are created. How can I correct this situation? -Aswath On Sat, Feb 6, 2010 at 1:06 AM, Toby Reyelts to...@google.com wrote: You have an empty

Re: [appengine-java] 500 Server error when loading data into memory

2010-02-09 Thread Toby Reyelts
How large is your file unzipped? If it's 9M compressed, I wouldn't be surprised if it comes out to be 100M decompressed in Java heap space causing your heap to be blown out. Are you sure there aren't any errors in your admin console? On Wed, Feb 3, 2010 at 4:46 PM, Alyona medel...@gmail.com

Re: [appengine-java] Precompilation Failure

2010-02-11 Thread Toby Reyelts
Garry, Can you send us your app-id (privately if you wish)? On Thu, Feb 11, 2010 at 1:29 PM, Garry ga...@dynafocus.com wrote: Precompilation is failing and giving the following exception. This is from the SDK 1.3.1. It did the same thing under 1.3.0.

Re: [appengine-java] Re: Why does this error happen??

2010-02-12 Thread Toby Reyelts
Where is your twitter4j jar file located? For example, do you have a copy of it in your JDK's extension folder (e.g. jre/lib/ext)? On Fri, Feb 12, 2010 at 1:05 PM, Jongmin Yoon zect...@gmail.com wrote: Yeah. Of course. Thank you to your reply. --

Re: [appengine-java] Re: Why does this error happen??

2010-02-12 Thread Toby Reyelts
jdom.jar junit.jar rome-0.9.jar slf4j-api-1.5.0.jar twitter4j-core-2.1.1-SNAPSHOT-javadoc.jar twitter4j-core-2.1.1-SNAPSHOT-sources.jar twitter4j-core-2.1.1-SNAPSHOT.jar - this is 'twitter4j' I just hopedT_T On Feb 13, 3:43 am, Toby Reyelts to...@google.com wrote: Where is your

Re: [appengine-java] Re: Strange error on begin transaction

2010-02-12 Thread Toby Reyelts
You can ignore it. It's a red herring http://tinyurl.com/y8tlejt. On Sat, Feb 13, 2010 at 1:43 AM, George Moschovitis george.moschovi...@gmail.com wrote: Any idea? -g. On Feb 12, 7:55 pm, George Moschovitis george.moschovi...@gmail.com wrote: Hello, I see the following error (INFO

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-19 Thread Toby Reyelts
that are using PhoneNumber, Email etc. -Aswath On Sat, Feb 6, 2010 at 1:06 AM, Toby Reyelts to...@google.com wrote: You have an empty property of type e-mail, and that makes the datastore viewer unhappy. You need to either use a different type that can be non-empty (like String), or have non

Re: [appengine-java] Why is java.security.AccessController on the whitelist?

2010-03-02 Thread Toby Reyelts
The purpose of AccessController is to perform an operation requiring escalated permissions on behalf of code that doesn't have that permission. For example, maybe you need to implement an authenticate(String user, String password) function that needs to read from a password file that calling code

Re: [appengine-java] App upload failed

2010-03-02 Thread Toby Reyelts
It looks like you're using gcj. Can you use a different JVM, such as OpenJDK or Sun's JDK? On Tue, Mar 2, 2010 at 3:44 AM, ast anton.star...@gmail.com wrote: Trying upload app: ./appcfg.sh update ../../../projects/appengine/myapp/www/ Reading application configuration data... Encountered a

Re: [appengine-java] Deploying JavaFX application on Google App Engine for Java

2010-03-04 Thread Toby Reyelts
On Thu, Mar 4, 2010 at 1:30 PM, Ikai L (Google) ika...@google.com wrote: Configuring static resources is done via the standard servlets web.xml file: http://code.google.com/appengine/docs/java/config/appconfig.html I'd try a search on Google for web.xml and static - there should be plenty

Re: [appengine-java] Stripes + FreeMarker throwing exception on GAE

2010-03-10 Thread Toby Reyelts
Can you send me your application id, please? On Tue, Mar 9, 2010 at 10:48 AM, rmurta rmu...@gmail.com wrote: My application uses Stripes and Freemarker. I am already using the freemarker jar version build to gae. Application is working fine in the test GAE Server in my local but when I

Re: [appengine-java] Too many open files

2010-03-16 Thread Toby Reyelts
On Tue, Mar 16, 2010 at 4:01 AM, Alexander Kolesnikov otry.it...@gmail.comwrote: I believe this is something that needs attention of the App Engine Team. My webapp was working fine for months, but a few days ago one of the pages started to report server error with logs like this one:

Re: [appengine-java] Unable to start embedded HTTP server, AccessControlException

2010-03-24 Thread Toby Reyelts
Try setting the system property, java.io.tmpdir, to a path that you are allowed to write to. On Wed, Mar 24, 2010 at 5:22 AM, fredrik fredrik.bok...@gmail.com wrote: I am trying to run Google App Engine 1.3.1 from Eclipse 3.5 on a lab computer where I don't have access to the local disk (C:),

Re: [appengine-java] Re: JAXB Support

2010-04-06 Thread Toby Reyelts
It looks like you're bundling the latest 2.2 JAXB RI. Apparently they made a change in that release which requires access to the protected method, ClassLoader.findLoadedClass. This makes it incompatible with App Engine. If you can use the previous release (2.1.2), a built-in version of JAXB, or

Re: [appengine-java] App Engine SDK 1.3.3 is out!

2010-04-22 Thread Toby Reyelts
On Thu, Apr 22, 2010 at 1:58 AM, Guillaume Laforge glafo...@gmail.comwrote: Well done for the release! By the way: On Thu, Apr 22, 2010 at 00:37, Ikai L (Google) ika...@google.com wrote: [...] - Added two new system properties com.google.appengine.application.idand

Re: [appengine-java] Trouble with basic logging

2010-04-26 Thread Toby Reyelts
You have the default setting for all loggers set to WARNING, and you're logging at INFO so your message is not logged. You could either log at a higher level or lower the logging level in your config file. On Mon, Apr 26, 2010 at 5:11 PM, kldaniels kendani...@gmail.com wrote: I am struggling to

Re: [appengine-java] Re: Viewing Emails in dev using log4j

2010-05-13 Thread Toby Reyelts
E-mails are logged at INFO level on the java.util.logging.Logger named, com.google.appengine.api.mail.dev.LocalMailService. The default configuration for logging is WARNING if you're using the default logging.properties file from the SDK / Eclipse plugin. You can either change the logging level in

Re: [appengine-java] Re: Freemarker and Unicode: On local: fine, on cloud: become question mark

2010-05-16 Thread Toby Reyelts
You need to make a call to HttpServletResponse.setContentTypehttp://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletResponse.html#setContentType(java.lang.String)to change the charset for the response. Maybe FreeMarker has a facility somewhere to set that, or maybe you need to do it

Re: [appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Toby Reyelts
This code: com.trapp.gae.dash.androidSendCopyV1.doPost appears to be calling setFollowRedirects which is a JVM-wide property you don't have permission to set on App Engine. Instead use setInstanceFollowRedirects, which you can set per http connection. On Sun, May 23, 2010 at 8:47 AM, Thomas

Re: [appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-25 Thread Toby Reyelts
Rahul, If you're using App Engine's MemcacheService directly (or indirectly, for example through our JSR 107 support), then you are talking to backend memcache instances that have lifetimes separate from your JVMs. I.E.

Re: [appengine-java] Security restrictions may not be entirely emulated errors in Dev mode with Spring 3.0 on 1.3.4

2010-06-02 Thread Toby Reyelts
It looks like you have a version of ASM that is incompatible with the dev_appserver's version hanging around. Do you have ASM in your JRE's lib/ext folder? On Tue, Jun 1, 2010 at 10:56 PM, Andrew am2...@gmail.com wrote: Hi, I'm trying to get spring 3.0 up and running as per the blog post at

Re: [appengine-java] Loading request timings

2010-06-21 Thread Toby Reyelts
Hey John, Nice tests. For the apps where you added a lot of jars, are you running any code at all from any of those jar files, or do they just sit unused in your webapp? It's certainly not our intent that unused jar files cause any extra delay in loading. If you can provide us with the sample

Re: [appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Toby Reyelts
You need to supply --jvm_flag as a command-line argument to dev_appserver.sh (aka KickStart), not to java.exe. That should work the same way for the ant, dev_appserver/ task. (You can see this in config/user/ant-macros.xml). On Mon, Jun 28, 2010 at 3:51 PM, Mike Dillon mikedillo...@gmail.com

[appengine-java] Re: GWT Code works only in local env and does not work after uploading to App engine

2010-07-09 Thread Toby Reyelts
- Does the rest of your GWT UI show up fine? - When you run with Eclipse are you ever testing the compiled production (web) version of your app, or are you always running in development mode? - Are you testing with the same browser against App Engine as you are against Eclipse? - You can try

Re: [appengine-java] Getting java.lang.ClassNotFoundException on class (the package seems to be wrong) after deploy onto google (works localy)

2010-07-09 Thread Toby Reyelts
You have an instance of the old version of that object serialized in one of your HttpSessions. You need to discard that HttpSession from your datastore. On Wed, Jul 7, 2010 at 2:45 PM, Daniel vedm...@gmail.com wrote: Hi i tried to deploy my application onto google after testing it localy

Re: [appengine-java] [Question/Need Help] Uncaught exception from servlet

2010-07-29 Thread Toby Reyelts
Response inline. On Wed, Jul 28, 2010 at 7:21 PM, Xlorep DarkHelm ch...@darkhelm.org wrote: I just tried to deploy my app (showsort -- http://showsort.appspot.com) with my new development version 3 (http:// 3.latest.showsort.appspot.com/) and it now is producing a strange error I've never

Re: [appengine-java] java.net.Proxy not on the JRE Class White List but I can reference it runtime!!

2010-08-01 Thread Toby Reyelts
Hi Marcel, The GAE sandbox tries to be very lenient with regards to references to classes that aren't on the whitelist. Generally speaking, SecurityExceptions are only thrown if the calling code would have caused the static initializer of the non-whitelisted class to execute. So, for example,

  1   2   >