[appengine-java] GAE heartbeat, notifications, parsing dashboard

2011-06-23 Thread Toby
to the dashboard? Cheers, Toby -- 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

[appengine-java] Re: GAE heartbeat, notifications, parsing dashboard

2011-06-23 Thread Toby
to alert me by mail if a severe problem occurs. So I am looking more or less for an API to retrieve the information displayed on the dashboard (load, quota, requests with the most errors etc.). Cheers, Toby On Jun 23, 12:15 pm, Didier Durand durand.did...@gmail.com wrote: Hi Toby, The (new

Re: [appengine-java] Re: App engine SDK jars in WEB-INF/lib. Why???

2011-05-15 Thread Toby Reyelts
On Sun, May 15, 2011 at 7:58 AM, Philippe Marschall philippe.marsch...@gmail.com wrote: On May 13, 2:29 am, Nichole nichole.k...@gmail.com wrote: Just a quick summary, the servlet spec requires that a servlet container such as appengine provider an implementation for a service. Those

Re: [appengine-java] Re: App engine SDK jars in WEB-INF/lib. Why???

2011-05-12 Thread Toby Reyelts
arjan, There are two sides to the App Engine API: the client and the server. The client side (appengine-api.jar) lives entirely in user-land. If you so chose, you could create your own version of these classes. In the end, the client ends up talking to the server through a binary protocol in

Re: [appengine-java] Re: Are Java static initializers thread safe on GAE ?

2011-03-31 Thread Toby Reyelts
Yes, Java static intiaiizers are thread safe on GAE. On Thu, Mar 31, 2011 at 1:22 PM, dilbert dilbert.elbo...@gmail.com wrote: Thanks Simon and Didier for the answer. I am aware of the singleton issue. Also I'd like someone from Google to confirm (no offence Simon and Didier) what Simon and

Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)

2011-03-31 Thread Toby Reyelts
Please update to the latest App Engine SDK. It has a workaround for this issue with Apple's latest JVM update. On Thu, Mar 31, 2011 at 3:03 PM, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: Hi there, I'm new to GAE/J, so I'm starting with a bulk of silly questions... Well, my

Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)

2011-03-31 Thread Toby Reyelts
There should be an update available for you on the 1st. (Not an April fools joke). On Thu, Mar 31, 2011 at 8:31 PM, lorenoolive...@gmail.com lorenoolive...@gmail.com wrote: Thanks for the hint Toby. How can I update the SDK manually? The Helios update site is not updated with the 1.4.3

Re: [appengine-java] Re: Local development server classpath - com.google.appengine.tools.KickStart

2011-03-21 Thread Toby Reyelts
In order to faithfully emulate production, the dev_appserver only loads application code from WEB-INF/classes and WEB-INF/lib. If you want to avoid copying the jars into WEB-INF/lib, you could soft link them instead. On Sat, Mar 19, 2011 at 7:21 AM, Benjamin Muschko benjamin.musc...@gmail.com

Re: [appengine-java] does the Google AppEngine or WebToolkit replace the bootclasspath of the running Java runtime?

2011-03-12 Thread Toby Reyelts
Do you have the contact information for the Apple Engineer? On Sat, Mar 12, 2011 at 3:38 AM, Shawn Brown big.coffee.lo...@gmail.comwrote: Hi, I used the open-jdk workaround to solve the problems introduced by the latest apple java sdk update but have a question an Apple engineer asked me

Re: [appengine-java] Re: Creating/Compiling new Java class at run time

2011-03-11 Thread Toby Reyelts
jesbox, You can dynamically load classes using Class.forName or even your own custom ClassLoader. As Jay noted, this is how dynamic languages like Groovy, JRuby, and Rhino work, and they run perfectly well on App Engine. Rick, The real question is what compiler/runtime do you need to try to get

Re: [appengine-java] Can I set GAE's dev_appserver to automatically reload context when I change .class files?

2011-03-11 Thread Toby Reyelts
Luca, If you're compiling from Ant, why can't you just make that task also ping the server or touch appengine-web.xml? We don't think of the aforementioned solutions as hacky. They are purposefully designed so that we don't start loading a webapp context with half-compiled classes, jsps, etc...

Re: [appengine-java] Re: Creating/Compiling new Java class at run time

2011-03-11 Thread Toby Reyelts
is using Beanshellhttp://www.beanshell.org/, which is a scripting runtime for Java. On Fri, Mar 11, 2011 at 10:55 PM, Rick Smith rick@gmail.com wrote: Hi Toby I know that I can dynamically load class using Class.forName But What if I want to crate a new Java class at run time. What I said

Re: [appengine-java] Could not initialize class PMF

2011-03-09 Thread Toby Reyelts
Hi Laci, NoClassDefFoundError can mean one of two things: 1) You really didn't include the class in your webapp, so it can't be found. You should check the classes in WEB-INF/classes and the jars in WEB-INF/lib to make sure com.reference.server.PMF is present. 2) Your PMF class threw an

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Toby Reyelts
The jar file containing the class, org.eclipse.emf.ecore.EObject has been signedhttp://download.oracle.com/javase/tutorial/deployment/jar/signing.html. App Engine doesn't currently support signed jar files. One simple way to work around this is to yank the manifest out of the jar.

Re: [appengine-java] Re: Can we use Java Development Server in production mode

2011-03-01 Thread Toby Reyelts
Unless I'm mistaken, the Java dev_appserver is multi-threaded, but everyone's given you good answers. Our first priority is making it a good development experience. On Tue, Mar 1, 2011 at 9:56 AM, Jay Young jayyoung9...@gmail.com wrote: Googlers have said many times that you should not use the

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

2011-02-22 Thread Toby Reyelts
If you set the JVM flag, -Djava.security.debug=access,failure, you'll get a lot of log spam that has the root cause buried in it somewhere. If you post the logs to the list, we can help debug it for you. Remember that if you're running dev_appserver from the command line, you need to use

Re: [appengine-java] Servlet Filter on non-Servlet resource

2011-02-08 Thread Toby Reyelts
It sounds like you might have static file cachinghttp://code.google.com/appengine/docs/java/gettingstarted/staticfiles.htmlset up to include files you want to run your filter against. The key line in the doc is: Any request for a URL whose path matches a static file serves the file directly to

[appengine-java] Re: process large file in BlobStore?

2010-12-17 Thread Toby
-mapper-for-bulk-data-import Cheers, Toby On Dec 2, 6:53 pm, Didier Durand durand.did...@gmail.com wrote: Hi, you have to distinguish between a Blob stored in Datastore whose limit is 1 Mbyte and a blob stored in the blobstore whose limit is 2 Gbytes For the blob in the blobstore you access

[appengine-java] Re: Is warm up requests enabled or disabled by default? (Documentation disagrees)

2010-12-06 Thread Toby
Hi Maxim, good point, I was asking myself, too. I do not have a app.yaml and I am not sure if I do have to add one and what to put in. Will it override appengine-web.xml and web.xml? Would be good to get some clarification. Maybe it can also be configured in appengine-web.xml? Cheers, Toby

[appengine-java] process large file in BlobStore?

2010-12-02 Thread Toby
? Or is there a way I can process this data step by step using the task-queue? Thank you, Toby -- 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

[appengine-java] since 1.3.8 extreme performance drop during spin up

2010-10-21 Thread Toby
have no indication at all. Sometimes the cold start goes till the point of complete timeout. I did not change my code and I do not understand what has happened. Am I the only one, can someone help? Toby -- You received this message because you are subscribed to the Google Groups Google App

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,

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

[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] 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: memcache best practice or framework

2010-06-22 Thread Toby
more sophisticated. Maybe something for the roadmap? Cheers, Toby On Jun 18, 10:33 am, John Patterson jdpatter...@gmail.com wrote: Hi Toby, I made some code public that does what you describe: it is a simple   cache interface that has implementations for in-memory,memcacheand   the datastore

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

[appengine-java] Re: memcache best practice or framework

2010-06-18 Thread Toby
this is not the most urgent issue. Cheers, Toby On Jun 17, 6:46 pm, Ikai L (Google) ika...@google.com wrote: What aspect of Memcache is too slow? Have you run AppStats yet? The overhead of Memcache is low enough for many of the top sites on the internet to use. Some sites are listed on the main page

[appengine-java] DataStore, ApplicationError: 3: Unexpected error, please try again

2010-06-18 Thread Toby
Hello, I am lately getting errors of this kind: Response: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 3: Unexpected error, please try again. at com.google.apphosting.runtime.ApiProxyImpl $AsyncApiFuture.rpcFinished(ApiProxyImpl.java:293) at

[appengine-java] Re: What would you recommend: Objectify or Twig?

2010-06-17 Thread Toby
of the datastore. The only thing I really regret is all the time I lost trying to make JDO work. Cheers, Toby On Jun 17, 9:13 am, David Sowerby david.sowe...@virgin.net wrote: This is a difficult question to give a fair answer to - most of us only have time to make a fairly quick assessment

[appengine-java] memcache best practice or framework

2010-06-17 Thread Toby
latency for the network traffic to the server I had the idea to store the in-memory cache in the memcache, de-serialize it and then use it? Do you have other ideas how to speed up caching? Thank you for your advice, Toby -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Task Queue java API

2010-06-13 Thread Toby
Hi Sathish, I am not actually sure about your problem. But I agree that the documentation is a bit complicated to decode. I do like that: TaskOptions taskOptions = TaskOptions.Builder.url(/ servlet).param(param, param).method(Method.GET); //enqueue request

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

[appengine-java] Re: full text search tutorial wanted

2010-05-28 Thread Toby
I use the code done by Nicolas and I can only say that it works great. There is one limitation, though. It assumes AND between the keywords that you search. I modified that by breaking it up in several queries but I think that code is not very efficient. In the longer term there is fulltext search

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] 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: 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

[appengine-java] Google I/O 2010

2010-05-14 Thread Toby
a chat. Looking forward to meet you. Toby -- 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

[appengine-java] Re: Objectify is there NontransactionalWrite/Read setting?

2010-05-14 Thread Toby
Hello Jeff, Thank you for your advice. I actually do not need transactions so it is perfect for me that this is the default. I do not need strong consistency. This might speed up things a bit? I use DAOBase, how would I need configure this? Thanks, Toby p.s. the consistency thing might be worth

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

[appengine-java] Re: Datastore Statistics not updated for 3 days

2010-05-11 Thread Toby
Hello Ikai, Everything is back to normal. Thank you, Toby On May 11, 1:08 am, Ikai L (Google) ika...@google.com wrote: Seems like you aren't the only one reporting this. Let me see if I can chase down what's going on. On Mon, May 10, 2010 at 8:56 AM, Toby toby.ro...@gmail.com wrote: now

[appengine-java] Re: Datastore Statistics not updated for 3 days

2010-05-10 Thread Toby
now it is: 4 days, 12:34:38 ago I checked my other appengine applications and they are all about the same. On May 9, 2:25 pm, Toby toby.ro...@gmail.com wrote: Hello, I have some trouble with the Administration Console. Everything is very slow. Sometimes I get error page. The Datastore

[appengine-java] Objectify is there NontransactionalWrite/Read setting?

2010-05-10 Thread Toby
these features). Is there a similar thing for objectify? Or does the jdoconfig.xml apply for objectify as well? Thanks, Toby -- 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

[appengine-java] Datastore Statistics not updated for 3 days

2010-05-09 Thread Toby
? What can I do? Toby -- 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

[appengine-java] Re: App Engine and Spring slow start up

2010-04-26 Thread Toby
... humm, it sounds like an idea. But I am not sure it works. I learned that even the use of JDO is slowing down the start up. So I imagine if there was a way to optimize that with the datastore they would have done it? How would you want to put this in place? With a filter? On Apr 25, 5:38 am,

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

[appengine-java] Re: Best way to perform search on DataStore - Design Question

2010-04-06 Thread Toby
some work and it would be worthless if GAE will have this feature in the near future. Also I guess it can be implemented more efficiently on google side reusing all the infrastructure that they have already in place. Cheers, Toby On Mar 29, 6:32 am, Tristan tristan.slomin...@gmail.com wrote

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] 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:),

[appengine-java] Re: Best way to perform search on DataStore - Design Question

2010-03-16 Thread Toby
I am using compass as well and it works fine. The indexing part is costly and you might need to do task queue if you reindex large amount of data. Starting the search manager is slow and it happens a lot due to the suspend policy. You can also take a look at this project:

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:

[appengine-java] Re: How to delete all entities of a kind with the datastore viewer

2010-03-13 Thread Toby
a larger datastore! 2010/3/12 Toby toby.ro...@gmail.com Hello, deleting 500 should not take a lot of time. Did you try the deletePersistentAll method? Query q = pm.newQuery(persistentClass); q.deletePersistentAll(); otherwise what I do

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

[appengine-java] Re: JDO Level2 Cache setup for dummies

2010-03-09 Thread Toby
advice. Toby On Mar 8, 1:11 pm, datanucleus andy_jeffer...@yahoo.com wrote: Do I understand right, that this L2 cache is doing exactly the same? Indeed, part of the JDO1/JDO2 and JPA2 specs. Why is it not disabled by default (are there draw backs)? It *is* disabled by default in DataNucleus 1

[appengine-java] Re: Task Queue Problems

2010-03-07 Thread Toby
, Toby On Mar 6, 4:07 am, rletness rletn...@gmail.com wrote: Ok so either I'm doing something really stupid or I can't get a simple task to execute.  I have defined a task worker at /tasks/foo. I can hit /tasks/foo no problem and the code executes fine (just a simple servlet of course

[appengine-java] Re: Children in an owned one-to-many relationship not being retrieved, what am I doing wrong?

2010-03-07 Thread Toby
performance especially if you do not always need the child collections. But maybe there is also a way to trigger that through an annotation. Cheers, Toby On Mar 7, 1:46 am, tempy fay...@gmail.com wrote: I have the following 3-part owned relationship... Users, the root entity, have a collection

[appengine-java] Re: Children in an owned one-to-many relationship not being retrieved, what am I doing wrong?

2010-03-07 Thread Toby
(); maybe that causes the _Cards to be reinitialized when the Entity is deserialized. Can you try to remove that? Cheers, Toby On Mar 7, 2:19 pm, tempy fay...@gmail.com wrote: Thanks for the suggestion... I did try that exact code and sad to say it didn't help, just returned a 0-size

[appengine-java] Re: JDO Level2 Cache setup for dummies

2010-03-07 Thread Toby
) it would take it from the cache instead of doing the datastore call? Or is this someting else? Why is it not disabled by default (are there draw backs)? Thanks, Toby On Mar 6, 12:39 pm, datanucleus andy_jeffer...@yahoo.com wrote: Is it possible that DN L2 caching in GAE drives down CPU milliseconds

[appengine-java] Re: App Engine and Spring slow start up

2010-03-04 Thread Toby
helpless. It would be great to get some input from a GAE team member. Cheers, Toby On Mar 3, 11:35 pm, Robert Lancer robert.lan...@gmail.com wrote: The problem is one I face without even usingspring, google loves to lecture people on how the web should be fast but this doesn't apply to their own

[appengine-java] Re: Flash arcade game GAE based

2010-03-04 Thread Toby
a request for the data to be saved. This will be done asynchronously. Cheers, Toby On Mar 3, 5:47 am, nicolas melendez nfmelen...@gmail.com wrote: I want to do the same. Is there any good XMPP Java framework to include in my Applet? recomendations? Thanks NM On Tue, Mar 2, 2010 at 11:31 PM, tsp

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

[appengine-java] Re: Google Accounts are killing my application!....

2010-03-02 Thread Toby
-map? Or is there a good approach you would advice? Thanks, Toby On Feb 22, 8:09 pm, Ikai L (Google) ika...@google.com wrote: Providing a login inside a frame is a compromise you should never, ever make. You're essentially training your users to be victims of phishing attacks. By providing

[appengine-java] Re: Google Apps Support in GAE

2010-02-22 Thread Toby
I wonder if this can be added to the top tool-bar, where there is Mail - Calendar - ... - MyApp Cheers, Toby On Feb 19, 10:40 pm, Peter Ondruska peter.ondru...@gmail.com wrote: I usehttp://code.google.com/p/gdata-java-client/ On Feb 19, 5:16 pm, g3 insight insigh...@gmail.com wrote: I want

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

2010-02-19 Thread Toby Reyelts
You still have phone entities that are empty. On Fri, Feb 19, 2010 at 8:40 AM, aswath satrasala aswath.satras...@gmail.com wrote: Hello Toby I am still not able to use the 'Datastore Viewer'. It simply displays message Server Error A server error has occurred. I cleaned up my entities

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] 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] 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
One solution is to run some cron / task-queue based job which fixes up the entities in the background. On Tue, Feb 9, 2010 at 5:40 AM, aswath satrasala aswath.satras...@gmail.com wrote: Hello Toby, thanks. Yes, the property type email could have been empty. Further dev, I will change them

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

[appengine-java] Re: blobstore lucene search index

2009-12-25 Thread Toby
using a search engine of my own design. I had first to adapt it to GAE by generalizing the index storage mechanism so that it can be *implemented* using files (originally the only way) or with Datastore. It was a good couple of days of work but it is not hard. On Dec 22, 6:33 pm, Toby tobias.ro

[appengine-java] Re: GAE roadmap for 2010

2009-12-25 Thread Toby
Hello, Some visibility on the roadmap would be great. I think in the last month GAE has already improved a lot. There are quite some open issues that are often listed against the use of GAE. I believe if we knew that they will be addressed at some point in time it might help. Personally I see two

[appengine-java] blobstore lucene search index

2009-12-22 Thread Toby
Hello, I think a sophisticated search api is what a lot of us are missing. I use currently the compass-lucene project but I am not completely satisfied with the performance. I think there is also the GAELucene project that uses a similar aproach. I guess the main issue was so far that you could

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

[appengine-java] Re: Datastore Statistics vs. Quota

2009-12-08 Thread Toby
. Is there an JDO annotation to disable indexes on properties or do I need to disable auto-index? Thanks, Tobias On Dec 7, 6:00 pm, Eric Rannaud eric.rann...@gmail.com wrote: On Mon, Dec 7, 2009 at 2:20 AM, Toby tobias.ro...@sunnymail.mobi wrote: thank you for your update. In fact I was suspecting

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

[appengine-java] Re: Datastore Statistics vs. Quota

2009-12-07 Thread Toby
eric.rann...@gmail.com wrote: On Sat, Dec 5, 2009 at 9:29 AM, Toby tobias.ro...@sunnymail.mobi wrote: I know that they are updated at least once a day. In my case the data volume has not changed for quite some time. And the discrepancy is really huge. I mean 50MB to 500MB. So maybe my datastore

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] 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] 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
On Tue, Dec 1, 2009 at 3:21 AM, Bobby bobbysoa...@gmail.com wrote: Toby, there's one obstacle though, the GAE URLFetch timeout doesn't play nicely with the GData API. I've found that timeouts happen fairly frequently at peak hours, depending on the GData system you're accessing. There has

  1   2   >