Re: [appengine-java] JavaScript implementation enclosed with /*-{ and }-*/ error message when compile the taskengine demo project (included in App Engine Java SDK)

2011-09-22 Thread Don Schwarz
Sorry about this. It should be fixed in the next release. On Thu, Sep 22, 2011 at 3:57 AM, Miklos Keresztes < miklos.keresz...@gmail.com> wrote: > Hello everybody, > > When I try to build the taskengine demo project, included in the App Engine > Java SDK, I get a lot of "Native methods require a

Re: [appengine-java] Re: Loading requests timeout with DeadlineExceededException while reading classes

2011-09-09 Thread Don Schwarz
It is possible that you are running into deadlocks when you set threadsafe=true. As of a few days ago you should begin seeing stack traces in your logs if we detect a deadlock at the end of a request. On Fri, Sep 9, 2011 at 10:26 AM, Nick Rudnik wrote: > I see the same behavior on warmup request

Re: [appengine-java] Does the SDK in WEB-INF/lib Get Deployed?

2011-08-17 Thread Don Schwarz
I think you're likely to see some benefit from uncompressing your jar files (i.e. unjar and rejar with -0), but not from merging them. However, free to experiment with this and report back on your results. On Wed, Aug 17, 2011 at 6:14 PM, JT wrote: > Correct me if I am wrong, I read some where

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Don Schwarz
ur JVM gets into a state where no future API calls will complete. This behavior will no longer occur in the next release. Sorry for the trouble, Don -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Don Schwarz
On Fri, May 20, 2011 at 12:28 PM, Francois Masurel wrote: > The faulty instance was restarted so everything went back to normal. > > Yes, that was me testing a workaround. > I just flushed my cache and reloaded about 20 pages to reproduce the bug. > > Thanks. It was enlightening to watch this h

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Don Schwarz
This is very strange. What is your app id? On Fri, May 20, 2011 at 7:55 AM, Francois Masurel wrote: > And here is how it goes when everything is normal... (cf. attachment) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > T

Re: [appengine-java] Backend instance and CPU hours

2011-05-17 Thread Don Schwarz
Because the datastore is a network of servers separate from your backend process, we still charge for the CPU usage that your API calls incur on those servers. We do not, however, charge for CPU cycles (or RAM) consumed by your backend process itself. This should become more clear in the future.

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-17 Thread Don Schwarz
On Tue, May 17, 2011 at 4:08 AM, Francois Masurel wrote: > Hey Googlers, > > Do you know why we get these DeadlineExceededException when Jetty's trying > to load session data from the datastore ? > > It looks like a bug as there is only Google App Engine code being executed > here (see stacktrace

Re: [appengine-java] Re: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-17 Thread Don Schwarz
eleased. On Mon, May 16, 2011 at 4:29 PM, Shashank sharma wrote: > @Don > > I am getting the same error. Also using struts 2.0 and also noticed > this after upgrading to 1.5. Should i send you the war or has someone > else already sent it to you? > > > On May 17, 2:13 am,

Re: [appengine-java] Re: JSP page as Warmup Servlet

2011-05-17 Thread Don Schwarz
JSPs are compiled into servlet class files during deployment, not in each instance. Warmup requests are GET requests, so doGet() will be called. We recommend that you override service() instead, as the default implementation of doGet() calls it, but you can do either. And yes, warmup servlets ca

Re: [appengine-java] JSP page as Warmup Servlet

2011-05-16 Thread Don Schwarz
To be clear, just means the servlet will be *initialized* during the warmup request (not executed). For JSPs, this means that the jspInit() method is called. If you override it to do something expensive this may provide a big benefit, but otherwise you will just get the benefit of loading the JS

Re: [appengine-java] Re: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-16 Thread Don Schwarz
This is very strange. Can one of you send me your war directory? On Mon, May 16, 2011 at 12:14 PM, Nischal Shetty wrote: > @Sean Let's hope someone from the GAE team helps us. They've been super > busy the entire last week. Hoping someone helps us out soon. > > If you come across a possible sol

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-16 Thread Don Schwarz
On Mon, May 16, 2011 at 12:49 PM, JakeP wrote: > Dennis, > > I'm still trying to figure out the best way to call the backend > programmatically from within GAE. The simplest way I know of is with > urlfetch. > > Yes, urlfetch requests from an app to one of its backends have been optimized so they

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread Don Schwarz
Sorry, I pasted the bad link instead of the good one: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/backends/package-summary.html On Fri, May 13, 2011 at 1:08 PM, JakeP wrote: > Thanks Don. > > For some reason, I still get a 404 on that javadoc link. >

Re: [appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-13 Thread Don Schwarz
> > > > > I am having the same issue this: > > > > > CacheFactory factory = > > > net.sf.jsr107cache.CacheManager.getInstance().getCacheFactory(); > > > > > Throws a CacheException with no stack trace and the message: > >

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread Don Schwarz
Backends are definitely ready for Java, but it seems that there are some mistakes in the documentation. We'll get those fixed right away. The correct link to the backends API javadoc is: http://code.google.com/appengine/docs/java/com/google/api/backends/package-summary.html And the sample backe

Re: [appengine-java] After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-11 Thread Don Schwarz
What is the NullPointerException that you are getting? You shouldn't need to change your GCacheFactory. Nothing changed with that in 1.5.0, and the new package you are using is not correct. com.google.appengine.api.memcache.jsr107cache.GCacheFactory is the one you want. It is in appengine-jsr10

Re: [appengine-java] Session and load balancing

2011-04-20 Thread Don Schwarz
No, we currently do not do this. Feel free to file a bug in our issue tracker to help us prioritize this kind of change in the future. On Wed, Apr 20, 2011 at 12:16 PM, hadf wrote: > I would like to know if GAE insures that requests attached to the same > HttpSession are redirected on the same

Re: [appengine-java] local dev server flag to have the same sandbox as the prod server

2011-04-13 Thread Don Schwarz
Can you file an issue in our issue tracker with the full stack trace and ideally a pointer to the relevant code? http://code.google.com/p/googleappengine/issues/list Thanks, Don On Wed, Apr 13, 2011 at 5:20 PM, gabriel munteanu wrote: > Hi, I have an application that uses htmlparser.jar f

Re: [appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-07 Thread Don Schwarz
Thanks for the nice thoughts, everyone. We're excited about what all of you have built on App Engine as well! On Thu, Apr 7, 2011 at 10:13 AM, gjs wrote: > > +1 > > Regards > > On Apr 7, 3:52 pm, Thomas Wiradikusuma wrote: > > I agree with Rajkumar, > > > > GAE/J is a very important service, e

Re: [appengine-java] Re: SecurityException when using Apache HttpClient classes from Groovy

2011-04-01 Thread Don Schwarz
Just to close off this thread, we rolled out a fix for this issue yesterday. On Sun, Mar 27, 2011 at 5:35 PM, Don Schwarz wrote: > Sorry for the trouble, folks. Can you respond privately with your app ids? > > > On Sun, Mar 27, 2011 at 2:44 AM, radomir wrote: > >> John

Re: [appengine-java] Re: GAE implementation of java.util.concurrent....

2011-03-31 Thread Don Schwarz
. On Thu, Mar 31, 2011 at 11:55 AM, dilbert wrote: > Thanks Don for the quick answer. I was also wandering about the GAE servlet > container implementation. If two requests arrive to the same JVM instance > will they be processed by the same servlet (object) or will the runtime > spawn

Re: [appengine-java] Re: GAE implementation of java.util.concurrent....

2011-03-31 Thread Don Schwarz
All of the atomic and locking primitives and data structures should work normally. The thread-related classes (e.g. ExecutorService) will not work because you are still not allowed to do your own thread creation/manipulation. On Thu, Mar 31, 2011 at 6:28 AM, Thomas Visser wrote: > The GAE SDK us

Re: [appengine-java] Re: SecurityException when using Apache HttpClient classes from Groovy

2011-03-27 Thread Don Schwarz
Sorry for the trouble, folks. Can you respond privately with your app ids? On Sun, Mar 27, 2011 at 2:44 AM, radomir wrote: > John, > > I experienced exactly the same problem and was able to workaround. See > my post: > > http://radomirml.com/2011/03/27/fixing-strange-noclassdeffounderror-on-app

Re: [appengine-java] Security constraint not working

2011-03-21 Thread Don Schwarz
Can you reply privately with your app id? On Sat, Mar 19, 2011 at 1:23 PM, Rob wrote: > Hi folks, > > I'm sure this is just me being foolish, but I have the following in my > web.xml: > > > > > /comment/* > /entry/* > /series/* > /upload/* >

Re: [appengine-java] Re: Weird performance problem last 3 days or so

2011-03-11 Thread Don Schwarz
I can look into this. Can you reply privately with the real appids for foo and bar? On Thu, Mar 10, 2011 at 10:49 PM, mdt wrote: > Some more information on this -- looking through the logs I didn't occur to > me to expand the entries for the long latency queries, but when I did I > found: > > >

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

2011-03-03 Thread Don Schwarz
Also, please star this issue: http://code.google.com/p/googleappengine/issues/detail?id=3754 On Thu, Mar 3, 2011 at 10:15 AM, Toby Reyelts wrote: > The jar file containing the class, org.eclipse.emf.ecore.EObject has been > signed

Re: [appengine-java] Re: High Replication - Large CPU spikes without Datastore Access

2011-02-08 Thread Don Schwarz
I can help you investigate this. Please reply privately with your application ID. On Tue, Feb 8, 2011 at 6:38 AM, Simon Knott wrote: > Well now I'm just starting to think it's fishy - I've just had a > second high-CPU request to my app and it has exactly the same CPU ms > time consumed, down to

Re: [appengine-java] JSP and a Servlet with url-pattern /*

2011-02-08 Thread Don Schwarz
It sounds like you're running into this issue in 1.4.0: http://code.google.com/p/googleappengine/issues/detail?id=4216 This will be fixed in the next release, which is due out soon. In the mean time, you can either roll back to the 1.3.8 SDK or you can try declaring your CollectorServlet with a

Re: [appengine-java] ClassLoader can't find resources at runtime

2011-01-25 Thread Don Schwarz
You can try touching (i.e. re-saving) your appengine-web.xml file. That should cause the DevAppServer to reload your application within the next 5 seconds. I don't know if that's faster than restarting the whole DevAppServer manually for you. There is also a /_ah/reloadwebapp URL that you can hi

[appengine-java] Sort order, collating sequence and more.

2011-01-09 Thread Don
roposal for a solution, I would like to here you opinions about all these and other limitations. Perhaps I do not understand things right at this point. Thanks in advance Don -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group

Re: [appengine-java] Re: Setting up Warmup Requests

2010-12-06 Thread Don Schwarz
that catches others out. > > On Dec 6, 4:01 pm, mscwd01 wrote: > > That clears things up nicely. I'll just add > > to my appengine-web.xml and redeploy. > > > > Many thanks > > > > On Dec 6, 3:52 pm, Don Schwarz wrote: > > > > > >

Re: [appengine-java] Setting up Warmup Requests

2010-12-06 Thread Don Schwarz
custom initialization or to execute common code-paths in your application code to trigger class loading and hotspot compilation early. Does that clear things up? -- Don [1] Some Java applications (e.g. JRuby apps) are configured with an app.yaml file instead. On Mon, Dec 6, 2010 at 9:22 AM, mscwd01

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-03 Thread Don Schwarz
My apologies. We plan to have it up before the end of the day today. On Fri, Dec 3, 2010 at 9:26 AM, Royce Fullerton wrote: > When will the Eclipse plugin update site be updated? > > The plugin is now version 1.4, but the SDK is still version 1.3.8. > > On Dec 3, 2:59 am, "Ikai Lan (Google)" >

Re: [appengine-java] jsessionid not present anymore

2010-12-03 Thread Don Schwarz
Yes, this was a change we made in 1.4.0. If you have sessions disabled, we no longer bother to set the jsessionid cookie, because it was serving no purpose (at least within our own code). Were you using jsessionid for something else? If so, I suggest either enabling sessions or managing your own

Re: [appengine-java] how to rollback a stuck deployment in java?

2010-11-23 Thread Don Schwarz
You don't need an app.yaml file. You do need to use the command line appcfg utility that comes with the App Engine Java SDK, however: http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Command_Line_Arguments On Tue, Nov 23, 2010 at 4:01 PM, A. Stevko wrote: > How do I rollback

Re: [appengine-java] Re: Blobstore upload forms and character encoding

2010-11-12 Thread Don Schwarz
l releases, but I will see if we can start with this code. Thanks, Don On Wed, Sep 29, 2010 at 2:48 AM, Guillaume Laforge wrote: > Yup, that would be handy to be able to look at the sources of the local dev > server. > I mean, even if it's not "open source" in the sense

Re: [appengine-java] Security and Authentication - in web.xml annoying error

2010-11-01 Thread Don Schwarz
Add a element. App Engine does not pay attention to it, but I believe it is technically required. On Sat, Oct 30, 2010 at 2:21 PM, Daniel wrote: > Hi i got the following setting in my web.xml: > > >     >        /* >     >     >        * >     >   > > in eclipse it shows me a red X as if it wa

Re: [appengine-java] Re: Java while statement bug on GAE server?

2010-10-26 Thread Don Schwarz
Yes, it's a bug in your code: > while(tempFlag == true); Note the semicolon. Try removing it. On Tue, Oct 26, 2010 at 10:22 AM, doc123 wrote: > Sorry to use specific sample code.  So I tried more basic following code. > > try > { > > int i =0; > > boolean tempFlag = false; > > while(tempFlag =

Re: [appengine-java] DeadlineExceededException from URLFetchService

2010-10-25 Thread Don Schwarz
types of connection errors (e.g. the remote server is slow vs. the remote server is down completely) ? I don't know how reliably we can tell the difference. -- Don On Mon, Oct 25, 2010 at 3:05 PM, hector wrote: > Would it be possible to throw DeadlineExceededException from the > URLFetc

Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-22 Thread Don Schwarz
The fix for this has now been rolled out to all applications. On Thu, Oct 21, 2010 at 4:40 PM, mscwd01 wrote: > Great! Thanks for attempting to fix this so quickly. > > On Oct 21, 10:32 pm, Don Schwarz wrote: >> This is a temporary workaround only.  We should have this fixed in

Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread Don Schwarz
This is a temporary workaround only. We should have this fixed in a few hours. On Thu, Oct 21, 2010 at 4:29 PM, mscwd01 wrote: > Thanks for the update, changing precompilation from true to false did > indeed solve the problem. > > Is this considered a fix or a temporary work-around? I'm not sure

Re: [appengine-java] Include appengine-api-labs-1.3.8.jar in application deploy for TaskQueue?

2010-10-20 Thread Don Schwarz
On Wed, Oct 20, 2010 at 3:48 PM, andrew wrote: > In my application I have started to experiment with TaskQueue. > > After deploying, on execution "in the cloud" I get the following > exception: > > java.lang.NoClassDefFoundError: com/google/appengine/api/labs/ > taskqueue/QueueFactory > > I assume

Re: [appengine-java] Re: Unable to deploy 1.3.8 project

2010-10-19 Thread Don Schwarz
A small number of applications remain on the 1.3.7 server-side code for a brief period after each release for testing and verification purposes. You should be on 1.3.8 shortly. On Tue, Oct 19, 2010 at 12:04 PM, Peter Liu wrote: > I tried that many times. I installed a new Eclipse with ONLY 1.3.8

Re: [appengine-java] Re: SDK 1.3.8 released!

2010-10-15 Thread Don Schwarz
Sorry folks, the Eclipse plugin pipeline is a bit backed up and the 1.3.8 release will not be automatically updated until Monday. In the mean time you can download the SDK manually and point Eclipse to it if you need to upgrade early. This has nothing to do with Java being treated as a second cla

Re: [appengine-java] Re: GAE and Log4j - A little solution to make things easier.

2010-10-13 Thread Don Schwarz
We're not doing anything special to optimize around this bug right now: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6511515 However, we probably could be. Please file an issue in our issue tracker and we'll investigate. On Wed, Oct 13, 2010 at 8:42 AM, Maxim Veksler wrote: > That's an i

Re: [appengine-java] I'm not able to deploy my new app due to InvalidClassException: local class incompatible

2010-10-04 Thread Don Schwarz
This isn't the full stack trace so it's difficult to be sure, but do you store AbstractEngineResponses in an HTTP session? If so, it seems that the class is no longer compatible with the version stored in your session. If so, try clearing your cookies. This will create a new session for you. Fo

Re: [appengine-java] Re: Capabilities related tests

2010-10-04 Thread Don Schwarz
Looks good. Thanks. On Mon, Oct 4, 2010 at 12:00 PM, Guillaume Laforge wrote: > Hi Don! > > Here it is: http://code.google.com/p/googleappengine/issues/detail?id=3821 > I hope the description is okay? > > Guillaume > > On Mon, Oct 4, 2010 at 17:48, Don Schwarz wrote:

Re: [appengine-java] Re: Capabilities related tests

2010-10-04 Thread Don Schwarz
Guillaume, this is a great idea. Please file an issue in our issue tracker and we'll follow up. On Mon, Oct 4, 2010 at 9:50 AM, Guillaume Laforge wrote: > And I forgot a complementary question: > > Are there plans to add a mocked capabilities service in the testing jar? > > Guillaume > > On Mon,

Re: [appengine-java] Re: Securing JSESSIONID cookie

2010-09-22 Thread Don Schwarz
You're right. This seems like a bug. Please file an issue in the issue tracker. On Wed, Sep 22, 2010 at 9:08 AM, James wrote: > Or a better question, since I don't actually want to use sessions: > > Why is the JSESSIONID cookie set even though sessions aren't enabled > in appengine-web.xml, per

Re: [appengine-java] What is the scope for NamespaceManager?

2010-09-15 Thread Don Schwarz
To provide a bit more detail, NamespaceManager.set() mutates the current ApiProxy environment, which is scoped to a single request and is stored in a thread-local. On Wed, Sep 15, 2010 at 4:54 PM, Guillaume Laforge wrote: > Yeah, that would have been a design flaw, definitely :-) > The fear I had

Re: [appengine-java] Re: Exception not displayed on app engine

2010-09-14 Thread Don Schwarz
You might have better luck with this in the GWT forums. I'm not aware of anything App Engine-specific that would cause this. On Tue, Sep 14, 2010 at 9:53 AM, Vik wrote: > any one on this plz? > Thankx and Regards > > Vik > Founder > www.sakshum.com > www.sakshum.blogspot.com > > > On Sat, Aug 14

Re: [appengine-java] Catching HardDeadlineExceededError

2010-09-09 Thread Don Schwarz
There is no way to catch a HardDeadlineExceededError. However, you should be getting a DeadlineExceededException first. Perhaps it is being caught and not properly logged by your code or some third-party library that you are using? If you would like help debugging this let me know your applicati

Re: [appengine-java] Re: Problem in sending out UTF-8 POST data (only in production, works fine in development)

2010-09-07 Thread Don Schwarz
On Fri, Aug 20, 2010 at 10:38 PM, आलोक (Alok) wrote: > The problem is resolved. We were trying to (1) read some POSTed data, > (2) converting it and then (3) POSTing it again. > setting the HttpServletRequest.setCharacterEncoding("UTF-8") before > (1) solved the issue. > > But this brings us to t

Re: [appengine-java] How serve static content without session suport on a session-enabled aplication

2010-08-25 Thread Don Schwarz
If your static files are set up properly this should happen automatically. If you're not seeing this, can you please provide more details? On Wed, Aug 25, 2010 at 12:21 PM, Rodrigo Teixo wrote: > Hello all! > > I have a aplication with session enabled on app-engine.xml, but for > static content

Re: [appengine-java] Re: NPE when deploying error handlers

2010-08-24 Thread Don Schwarz
Thanks for the report. That is certainly a bug. On Mon, Aug 23, 2010 at 2:33 PM, Nacho Coloma wrote: > > If works as expected. > > Sorry, it should say "It works as expected". > > It's late :) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engin

Re: [appengine-java] Is process time cumulative?

2010-08-23 Thread Don Schwarz
Please respond privately with your application ID and how I can trigger this (assuming it happens reproducibly) and we will take a closer look. Thanks, Don On Sun, Aug 22, 2010 at 9:38 PM, gpeev wrote: > I have been doing some test with my app and there is no way 40 seconds > lapse s

Re: [appengine-java] Re: How can i measure my apps performance in Appstats?

2010-08-19 Thread Don Schwarz
ng how it works http://www.youtube.com/watch?v=zUJUSxXOOa4 > > sorry for the delay when my app runs locally being profiled :) i hope > this screencast helps everyone who wants to increase his apps > performance. > > kind regards, > ingo > > 2010/8/17 ingo : > > Hi Don, > >

Re: [appengine-java] Custom error pages

2010-08-19 Thread Don Schwarz
I believe the "timeout" error code covers this case: http://code.google.com/appengine/docs/java/config/appconfig.html#Custom_Error_Responses If not please reply here, but leaving off definitely should. On Thu, Aug 19, 2010 at 7:21 AM, dflorey wrote: > Is it possible to specify the error page

Re: [appengine-java] com.google.apphosting.utils.config.AppEngineConfigException

2010-08-16 Thread Don Schwarz
You only want one "" element. You can put multiple "" elements inside of it. On Fri, Jul 2, 2010 at 6:50 PM, Nick wrote: > Hi, > > Plz help on the the error > "com.google.apphosting.utils.config.AppEngineConfigException" > > Plz note following > a) Error log > B) XML files "web.xml", ""appengi

Re: [appengine-java] Re: How can i measure my apps performance in Appstats?

2010-08-16 Thread Don Schwarz
Hi Ingo, If you're making any API calls at all, there's a good chance that the performance of your application depends significantly on the performance of those API calls. The goal of Appstats is to give you transparency into how many API calls you are making, and how much time you are spending i

Re: [appengine-java] Java Engine Support for PNG writing

2010-08-06 Thread Don Schwarz
il?id=1313 Thanks, Don On Thu, Aug 5, 2010 at 3:39 PM, Skippy Ta wrote: > Sorry, I should have specified. The current non-GAE version of my app > implements several AWT classes such as Dimension, Color, Point, etc. > I'm trying to get the app engine to draw colored paths using coll

Re: [appengine-java] Java Engine Support for PNG writing

2010-08-03 Thread Don Schwarz
You just need to render text? Try: http://code.google.com/p/litetext/wiki/AppEngine On Mon, Aug 2, 2010 at 1:04 PM, Skippy Ta wrote: > Currently, my app needs to dynamically write data out to a PNG file, > but the JRE white list doesn't support several of the awt classes > necessary for this (

Re: [appengine-java] Re: Dance Dance Robot error / Channel API

2010-07-27 Thread Don Schwarz
is feature launches publicly. If you name the script something else (as you've done), that will work fine for now but you'll need to remember to adjust the path later. On Mon, Jul 26, 2010 at 9:47 PM, GoSharp Lite wrote: > Thanks, Don. It works like a charm after I include below line in

Re: [appengine-java] Re: Dance Dance Robot error / Channel API

2010-07-26 Thread Don Schwarz
Yes, this feature isn't launched in the production server yet. You can try it out in the 1.3.5 DevAppServer, but it requires a slightly workaround: Extract the "apphosting/tools/dev-channel-js.js" file from appengine-api-1.0-sdk-1.3.5.jar and move it to /_ah/channel/jsapi in your war directory (a

Re: [appengine-java] Channel api / Dance dance robot: what is ApplicationError: 2:

2010-07-26 Thread Don Schwarz
The Channel API is not yet publicly launched. However, most of the DevAppServer support was in 1.3.5. Here's a workaround if you want to test it out: Extract the "apphosting/tools/dev-channel-js.js" file from appengine-api-1.0-sdk-1.3.5.jar and move it to /_ah/channel/jsapi in your war directory

Re: [appengine-java] App Engine down?

2010-07-22 Thread Don Schwarz
It should be okay now. There was a brief outage that affected some percentage of both Java and Python applications. The Java application that we test to create that dashboard was apparently lucky. On Thu, Jul 22, 2010 at 1:14 PM, Yegor wrote: > My GAE apps (Java) and the app engine dashboard p

Re: [appengine-java] Re: Check capability API for write-access?

2010-07-15 Thread Don Schwarz
This will be supported in Java in the next release. On Thu, Jul 15, 2010 at 6:10 PM, Ikai L (Google) wrote: > I'd appreciate if members of this group didn't "bump" topics - it creates > noise, and we do make an effort to respond to topics, even older ones. > > There's capabilities API, unfortuna

Re: [appengine-java] How long is my application state hold on the app engine?

2010-07-14 Thread Don Schwarz
That is correct. You can not maintain state within the JVM and expect to get any long-term persistence or coherency. You should use either memcache (which provides coherency) or the datastore (which provides both). On Wed, Jul 14, 2010 at 3:38 PM, Ingo Jaeckel wrote: > hello everyone, > > i jus

Re: [appengine-java] Why are filters not used on first access?

2010-07-11 Thread Don Schwarz
Please read the second paragraph of: http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html You'll need to exclude your files from in appengine-web.xml if you are relying on a custom filter for authentication purposes. On Mon, Jul 12, 2010 at 3:27 AM, Shawn Brown wrote: > H

Re: [appengine-java] app upload issue

2010-06-30 Thread Don Schwarz
http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Command_Line_Arguments http://groups.google.com/group/google-appengine-java/browse_thread/thread/7beadad55307cca5 On Thu, Jul 1, 2010 at 2:47 AM, Vik wrote: > Hie > > Can someone help me on how to resolve it? I understand what

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

2010-06-28 Thread Don Schwarz
a machine with more RAM or more processors. The -Xmx setting you added to dev_appserver.sh has no effect. Your code is executed in a subprocess, which is why --jvm_flag must be used to pass Java args through to this process. On Mon, Jun 28, 2010 at 6:38 PM, Mike Dillon wrote: > Thanks Don, &g

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

2010-06-28 Thread Don Schwarz
I believe you want the following flag: --jvm_flag=-Xmx512m On Sun, Jun 27, 2010 at 3:13 PM, Mike Dillon wrote: > Hello all, > > Im working on a project that reads GTFS archives as part of its > functionality. When we are importing > a particular set of data that has ~60,000 entries my dev serve

Re: [appengine-java] Re: GAE deployments high rate of failures

2010-06-17 Thread Don Schwarz
1.3.4 update. > > Cheers, > > Jerome > > On Jun 17, 6:34 am, Tristan wrote: > > had the same problem... all deployment issues went away with 1.3.4 > > (and you can now have 100 versions per app - someone said ... neat) > > > > On Jun 16, 2:13 pm, Jerom

Re: [appengine-java] Re: GAE deployments high rate of failures

2010-06-16 Thread Don Schwarz
Try upgrading to the 1.3.4 SDK. On Wed, Jun 16, 2010 at 10:14 AM, Jerome wrote: > Same here, for the past few weeks, deploying our application to GAE > often take 5 or more attempts (we are very happy when we can deploy on > the 2nd try). > > The issues we are getting rotate between: > - failure

Re: [appengine-java] Re: Version not ready error (but it's ready)

2010-06-08 Thread Don Schwarz
What version of the SDK are you using? I believe that this deadline was increased significantly in 1.3.4. On Tue, Jun 8, 2010 at 10:39 PM, Tristan wrote: > Well??? This problem happens EVERY time I deploy these days. As a > result Google App Engine has become USELESS as a hosting solution. > Any

Re: [appengine-java] Re: Dance Dance Robot, Channel API Help

2010-05-21 Thread Don Schwarz
Yes, that's the URL to sign up for trusted testing. Here's the source code for the demo: http://code.google.com/p/dance-dance-robot/ On Fri, May 21, 2010 at 4:17 AM, Ivan Zuzak wrote: > All I've found is this: > > https://spreadsheets.google.com/viewform?formkey=dGFxQ1A4T1BSYWxNdFlYVFhUcmg2amc

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

2010-05-16 Thread Don Schwarz
We need more information to help with this. Did you compare the HTTP response headers between the DevAppServer and when deployed? On May 15, 9:29 pm, Phuong Nguyen wrote: > Thanks to Google guys, FreeMarker is now run fine. However, there is > still a (small/big/?) problem with Unicode. > I have

Re: [appengine-java] Re: one project access classes in another project in same account

2010-05-04 Thread Don Schwarz
Bruce, an "application" is the fundamental unit of isolation in App Engine. There are no guarantees that two applications will be available in the same data center, let alone loaded onto the same servers. Each application can have more than one administrator, so it's unclear how any automated gro

Re: [appengine-java] Re: VerifyError on no-op default constructor

2010-05-04 Thread Don Schwarz
gt; Ah, great, glad you found a partial workaround, at least. > Don, since this workaround is only partial, the ultimate solution > would be to let our FreeMarkerJspApplicationContext through the > verifier. Do you see any problem with that going forward? > > As I said earlier in

Re: [appengine-java] Re: VerifyError on no-op default constructor

2010-05-03 Thread Don Schwarz
I suspect that this is due to the way we make javax.servlet.jsp.JspApplicationContext available to application code but do not currently make javax.el.* available. Thus, the javax.el.ELResolver class that you are providing in your application is not the same class that your JspApplicationContext i

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
d the >> check until seeing a fix for it. >> >> Christian >> >> >> On Fri, Apr 23, 2010 at 12:01 PM, Don Schwarz wrote: >> >>> I've identified a bug in the 1.3.3 SDK that affected Christian. >>> >>> If anyone is having a prob

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
found, you can register an error handler for 404 by adding something like this to your web.xml: 404 /404.html We're working on a real fix. -- Don On Fri, Apr 23, 2010 at 10:45 AM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > Update : In my case, switching back to

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
Also, if you have an old version of your application still deployed that does not show this problem, please provide the version numbers for the working and not-working versions. On Fri, Apr 23, 2010 at 10:25 AM, Don Schwarz wrote: > I am taking a look at this now. Can one (or more) of

Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Don Schwarz
I am taking a look at this now. Can one (or more) of you reply to me privately with app ids that are experiencing problems? On Fri, Apr 23, 2010 at 10:01 AM, Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: > On Fri, Apr 23, 2010 at 4:48 PM, Miroslav Genov > wrote: > > The problem is

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

2010-04-22 Thread Don Schwarz
2782 isn't fully fixed. We now guarantee that DeadlineExceededException has been caught by someone before HardDeadlineExceededError is thrown, but we still don't always guarantee that you'll get either exception. If you are in a tight-bound CPU loop you may miss both notifications and just get a

Re: [appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-20 Thread Don Schwarz
a workaround on > > the DevAppServer ? Any other suggestions? > > > > On Apr 13, 6:05 pm, Rahul Ravikumar wrote: > > > > > I am seeing the problem on DevAppServer. > > > > > On Apr 13, 3:08 pm, Don Schwarz wrote: > > > > > > Are yo

Re: [appengine-java] Run App Engine on a production intranet

2010-04-15 Thread Don Schwarz
The DevAppServer is definitely not designed to be used in this way. The biggest problem that you will probably run into is that the local datastore implementation is designed to store all data in memory. There are most likely security issues with the DevAppServer (which is the reason that it is o

Re: [appengine-java] Re: Does Thread.sleep count towards CPU time?

2010-04-15 Thread Don Schwarz
CPU times reported for each request in the admin console. Do the high CPU requests correspond to loading requests? You should be able to compare the wallclock time to the CPU time for each request and see what is going on. On Thu, Apr 15, 2010 at 11:23 AM, Thorsten wrote: > Dear Don, >

Re: [appengine-java] Does Thread.sleep count towards CPU time?

2010-04-15 Thread Don Schwarz
In general, no. Can you provide more information? Are you looking at the Quota API output or the actual times reported in the Admin Console request logs? How long are you sleeping for, and how much CPU time are you being charged for while you are sleeping? On Thu, Apr 15, 2010 at 10:40 AM, Thor

Re: [appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-13 Thread Don Schwarz
t; >> I have filed an issue >> :http://code.google.com/p/googleappengine/issues/detail?id=3083 >> >> You can reproduce the problem using a dispatch servlet and the >> blobstore service together. The blobstore service does not seem to >> handle upload in such ca

Re: [appengine-java] Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-12 Thread Don Schwarz
case? Thanks, Don On Mon, Apr 12, 2010 at 9:14 PM, Rahul Ravikumar wrote: > I have a central dispatcher servlet that has a servlet mapping of : > >   >        dispatcher >        / >   > > When i try to use the blob store service's createUploadUrl("/ > uplo

Re: [appengine-java] javax.net.ssl.HttpsURLConnection

2010-04-01 Thread Don Schwarz
on that is capable of retrieving HTTPS data. However, if you are trying to use a library where that is not sufficient (because it checks for an https:// URL itself and tries to cast the connection class?) please open a new issue in an issue tracker and explain what we can do to help. Thanks, Don On

Re: [appengine-java] performance of Task Queue Java API

2010-03-25 Thread Don Schwarz
There is a bulk add API in the upcoming 1.3.2 release that should help with this. On Thu, Mar 25, 2010 at 9:45 AM, Eugene Kuleshov wrote: > > My application need to create bunch of tasks to do some data > processing. I've tried to prototype a small application that spawns > 5000 tasks from the p

Re: [appengine-java] Re: What happened - working app broken

2010-03-24 Thread Don Schwarz
st character without checking it against File.separator, though. Glad you got it working, Don On Wed, Mar 24, 2010 at 11:12 AM, Steve Pritchard wrote: > WORKING. Thanks. > > As an education what is the recommended way to find the base file > location. > > Thanks for the help.

Re: [appengine-java] Re: What happened - working app broken

2010-03-24 Thread Don Schwarz
e system properties file, namely user.dir > > Further investigation says the first statement to create > BufferedReader is open is failing - the method is returning a null. > Steve > > On Mar 24, 11:19 am, Don Schwarz wrote: > > How are you generating that file path? > >

Re: [appengine-java] What happened - working app broken

2010-03-24 Thread Don Schwarz
How are you generating that file path? On Wed, Mar 24, 2010 at 10:05 AM, Steve Pritchard wrote: > My applications read an initialization file to prime themselves. > > Overnight they both broke. The code > > public static String[] loadFileAsStrings(String sFileName) { >try { > BufferedR

Re: [appengine-java] Signed Applet + Precompilation

2010-03-23 Thread Don Schwarz
Are you serving the applet out of WEB-INF/lib somehow? We should only be processing jars in that directory. If you're serving this files to clients you should be able to either place it outside of WEB-INF and let it be served as any other static file, or store it somewhere other than WEB-INF/lib

Re: [appengine-java] Datastore Delete raises wrong exception

2010-03-18 Thread Don Schwarz
Yes, it seems like we should be able to generate a better error message here. Can you file a bug in our issue tracker, please? http://code.google.com/p/googleappengine/issues/list Thanks, Don On Thu, Mar 18, 2010 at 4:42 PM, Mouseclicker wrote: > Hi, > > I am using the low level data

Re: [appengine-java] Filter's static variable is lost

2010-03-18 Thread Don Schwarz
Unlike most Java hosting providers, we load and unload your code on JVMs as your load patterns change. This will result in static variable static being lost, and as a result you should only expect durability of data stored in the datastore. Transient data should generally be stored in memcache, a

  1   2   3   >