[appengine-java] java.lang.NoClassDefFoundError

2012-02-26 Thread Brian Chapman
I get this message when I deploy my app to appspot instance: > > Error: Server Error > The server encountered an error and could not complete your request. > If the problem persists, please > report your > problem and mention this error message and

[appengine-java] Re: NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Brian
*still including JSTL 1.1.2 in my web app, but it doesn't appear to cause any issues. Thanks again for your help! Brian -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the w

[appengine-java] Re: NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Brian
One other item I should mention: this issue only applies on *some* JSP pages. The exception happens only when using the forEach on certain pages. Other pages that use the forEach tag don't have this issue and render just fine. Perhaps it has something to do with the caching and release proces

[appengine-java] NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Brian
y way to configure this behavior? If I could get some more background on the environment(s) used in GAE/J, perhaps it would help me understand this problem better and have a better idea of how to solve it. Thanks in advance for any assistance you can provide!! Brian -- You received this me

[appengine-java] Silence System.out and System.err in the logs?

2011-05-16 Thread Brian Henk
Hi all, All my logging is done through a java.util.Logger, but some not so nice libraries I'm using are writing to System.out and System.err. Is there a way to keep those out of the log (preferably using something in logging.properties)? Thanks -- You received this message because you are subsc

[appengine-java] Source Code?

2011-03-31 Thread Brian Conneen
Are there any plans to make the source code for JAVA GAE available? The python source is available, and having the Java source could be helpful in certain situations. Thanks, Brian -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java&q

[appengine-java] Re: Remote_api in Java works in Development Server?

2011-03-11 Thread Brian Conneen
responses. I'd very much like to migrate my Python GAE app to Java GAE, but if I can't test using real data locally, then I can't do real development. Brian On Feb 17, 10:23 am, Carlos Aguilar wrote: > I've been following all tutorials, but I always get the same error >

[appengine-java] Using BulkUpload into Local Java Dev Server on Mac

2011-03-10 Thread Brian Conneen
I've seen a bunch of threads on this issue, but there doesn't seem to be a definitive example of getting this to work. Essentially I want to migrate my existing Python app to Java, and I know I can deploy both versions into production. But I want to do lots of testing locally before ever deploying

[appengine-java] upload_data to dev server failing --- Cookie name "Path" is a reserved token

2010-10-26 Thread Brian Hill
/bulkloader.log --db_filename=tmp/bulkloader.sql3 upload_data I'm on the latest and greatest of just about everything and am stumped now. Versions are below. Ideas are welcome. Again, the same script --- except for authentication differences --- has worked over and over again on appspot. ~Brian De

[appengine-java] Re: JAXB Support

2010-04-06 Thread Brian
licate the actual GAE production environment? Does anyone have any ideas? I'm really stuck with this one... On 2 Apr, 17:37, "L. Kirven" wrote: > Brian, > > I am doing exactly the same thing.  I followed the blog below and didn't > have any problems.  I hope that this h

[appengine-java] JAXB Support

2010-04-02 Thread Brian
Hi, I've run into an issue with JAXB on GAE. I have set up a simple project using Jersey to expose a RESTful web service and am using JAXB for marshalling/unmarshalling. The project runs fine in my local eclipse environment but when I upload to GAE and send a request to the web service I am getting

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

2010-03-26 Thread Brian Dorry
Nice work on the release, definitely some stuff I will take advantage in this release as well as the roadmap. On Mar 25, 8:48 pm, "Ikai L (Google)" wrote: > Check it out! > > http://googleappengine.blogspot.com/2010/03/app-engine-sdk-132-releas... > > Blog post: > > App Engine SDK 1.3.2 > Release

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

2010-02-18 Thread Brian
You shouldn't use a frame. It is a security problem, and right of google login code to break out of it. After they make a new account, if not using a frame, I believe it forwards the user back to the page they were trying to go to. Seems to work pretty well. On Feb 18, 8:40 am, John V Denley wro

[appengine-java] Re: Google App Engine : web-app being "hibernated" ?

2010-02-17 Thread Brian
ke a lot of time, everything goes > smooth. I wonder at what time intervals I should set my "alive" > handler. > The first idea was about 3 minutes but that is maybe too slow. > > Best regards, > Henning > > On Feb 17, 7:40 pm, Brian wrote: > > > > > Ye

[appengine-java] Re: Google App Engine : web-app being "hibernated" ?

2010-02-17 Thread Brian
Yes. The actual time to hibernate is really short, closer to 1-2 minutes than 1 hour. Until this is fixed in some way, you need to either be willing to accept the huge wait for free hosting, or code some kind of task to ping your app every 60 seconds... On Feb 16, 11:17 pm, netcompetency wrot

[appengine-java] Re: Production Strange behavior for Struts 2 Iterator Tag

2010-02-17 Thread Brian
I asume the top of your page has <%@ page isELIgnored="false" %> ? On Feb 16, 11:27 pm, MKumar wrote: > Hi, > > I have a struts2 based application running beautifully till time. > > I am using struts2 tag extensively, and its working fine and pulling > the stuffs effectively from valuestack. >

[appengine-java] Re: Problems using a ThreadLocal variable

2010-02-16 Thread Brian
I have not used Wicket myself, but have you seen http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine ? It looks like Wicket must be massaged a little to work... On Feb 16, 3:36 pm, Esteban Masoero wrote: > Hi there: > > Since today, my app started to have problems

Re: [appengine-java] Re: First access to a jsp takes a while

2010-02-14 Thread Brian Wawok
duardo's link the jsps are > precompiled, so it is probably something else. > > On Feb 14, 8:45 am, Eduardo Ramírez wrote: > > On Sun, Feb 14, 2010 at 17:05, Brian Wawok wrote: > > > ** > > > ** > > > *I suspect precompile only hits .java files a

Re: [appengine-java] Re: First access to a jsp takes a while

2010-02-14 Thread Brian Wawok
* Precompilation makes loading requests faster by doing class-loading work ahead of time in the App Engine environment* * * *I suspect precompile only hits .java files and not .jsp files * On Sun, Feb 14, 2010 at 9:17 AM, Daniel Benamy wrote: > I think google just turned on precompilation in 1.3.

Re: [appengine-java] Re: First access to a jsp takes a while

2010-02-14 Thread Brian Wawok
loading request because first I access a simple servlet and experience the extra ~1.5 seconds of the loading request. Then a few seconds later I access a simple jsp and experience ~600ms of extra time. On Feb 13, 10:42 am, Brian wrote: > I had this problem as well. > > Basically yo..

[appengine-java] Re: Local datastore is empty after migrating to 1.3.1

2010-02-13 Thread Brian
My remote datastore kept the data, my local one was wiped. Pretty easy to make a script to load a DB with test data, not really a good idea to rely on your local datastore... On Feb 12, 6:32 pm, mably wrote: > Same thing happened to me. > > Got an empty local datastore after updating to 1.3.1. >

[appengine-java] Re: First access to a jsp takes a while

2010-02-13 Thread Brian
I had this problem as well. Basically your app is running a a Google controlled JVM somewhere. After X seconds of not being used (where X is a number decided on Google based on load, etc) your JVM shuts down. When you get a new request, it has to start up, and then server the request. A simple jsp

[appengine-java] Re: Caching pages.

2010-02-11 Thread Brian
readLine(); > > Then you can cache/change it and print to the HttpServletResponse with a > PrintWriter, then when you need it later you just have to use (String) > cache.get(key); and voilá. > Hope this helps. > > 2010/2/11 Brian > > > > > The server should cach

[appengine-java] Re: Caching pages.

2010-02-11 Thread Brian
The server should cache JSP's for you, you would only cache any stuff that is needed by the page and sent to it from your action On Feb 11, 9:33 am, abhi wrote: > Caching objects in App engine is easy  Cache cache; > Cache cache ; >         try { >             cache = > CacheManager.getInstance

[appengine-java] Re: Workaround for like keyword in JDOQL

2010-02-11 Thread Brian
Get a list of (key, name) for your object in question Do a foreach loop and check each name in java ( if blah.indexOf("ash") >= 0 ) if it matches your filter, download the full person via the key and add him to a list to return On Feb 11, 5:26 am, Piyush wrote: > Hi All, > > I am developing a r

[appengine-java] Re: Could not deploy my App in Google App Engine!

2010-02-11 Thread Brian
Wild guess, but a ' in a path can't help things On Feb 11, 8:32 am, Babgali wrote: > I am very new to GWT world! I am getting below exception when I am > trying to deploy in Google App Engine. > Error:- > "An internal error occurred during: "Deploying Babu'sFirstGWTApp to > Google". > Received IO

[appengine-java] Re: Least CPU Intensive way to query?

2010-02-10 Thread Brian
o store the > data in sharded "slabs" - that is, store a denormalized cache of the data > you need from 200 temporally sharded lists of posts - it's unlikely that you > need all the data from each post. > > A good project to study would be the Jaiku > en

[appengine-java] Re: Least CPU Intensive way to query?

2010-02-09 Thread Brian
I am also getting and closing a new PersistenceManager around the query, if that matters On Feb 9, 11:08 pm, Brian wrote: >  Hi guys, > > I was wondering if anyone has found a less CPU intensive way to query. > I basically have a bunch of small objects in the database I want out. >

[appengine-java] Least CPU Intensive way to query?

2010-02-09 Thread Brian
Hi guys, I was wondering if anyone has found a less CPU intensive way to query. I basically have a bunch of small objects in the database I want out. I tried a few ways to get them out, including an extent and a query. I ended up settling on this: Query query = pm.newQuer

[appengine-java] Re: User authentication

2010-01-28 Thread Brian
Is there any documentation on how to combine app engine, openID, and oauth? We have already set up our production app (serving over 100K users) to act as a shibboleth service provider, but would like to move it to app engine. We need a way to provide the same federated authentication support thoug

[appengine-java] Re: appcfg.py download_data and Java owned relationships

2010-01-26 Thread Brian Hayward
Can someone help? Or am I asking in the wrong place? Thanks, Brian On Fri, Jan 22, 2010 at 11:43 PM, Brian Hayward wrote: > I would like to use appcfg.py download_data to export my entities in > csv format and maintain the owned relationships between entities > (one-to-many in this

[appengine-java] appcfg.py download_data and Java owned relationships

2010-01-22 Thread Brian Hayward
be decoded after download? Or do I have to configure the exporter to decode it for me? Can someone point me to an example for how to do this? Thanks, Brian -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this

[appengine-java] SAML Federated Single Sign On

2010-01-20 Thread Brian
Will app engine support SAML identity providers? Our app currently supports 100K+ users at multiple universities as a SAML service provider. We use the Shibboleth service provider for our site and currently integrate with Shib, CAS, and Oracle IdPs. We'd like to deploy our app in the app engine, bu

[appengine-java] Re: app engine urlfetch without new heap allocation every time you set a new url

2010-01-11 Thread Brian
Are you sure you are getting bad performance out of calling "new" too many times? I would be interested to see benchmarks showing the performance. The JVM is very smart, worrying about using a "new" vs not is usually is a losing battle. Brian Goetz has some good presentations

Re: [appengine-java] Re: Finding abandoned child entities

2009-12-17 Thread Brian Hayward
Thanks for answering. With this list, how can I tell if a given entity of that kind has a parent or not? Thanks, Brian On Thu, Dec 17, 2009 at 8:26 PM, m seleron wrote: > Hi, > > If you specify kind if it is lowlevelapi > I think that it is possible to acquire list of entity >

Re: [appengine-java] Unable to add another admin account

2009-12-17 Thread Brian Hayward
There are actually two links in the confirmation email you received. You have to click on the second one to activate your account if it's a google apps private domain. If you click on the first one, it will fail without really saying anything (at least that was my experience). -- Brian O

Re: [appengine-java] Re: Performance of Data Store

2009-12-17 Thread Brian Hayward
Thanks for the reply,  the problem is the significant amount of cpu quota used.  Is there a way to optimize the index?  I have just one. Thanks, Brian Ikai L (Google) wrote: Brian, in many cases it is changing the indexes that is expensive. Entities are stored in a distributed key-value store

Re: [appengine-java] Re: Performance of Data Store

2009-12-16 Thread Brian Hayward
I added items one at a time until I got to 30, then I did the empty, so I'm pretty sure it wasn't a load request, this is normal. Child entities have 4 fields with one being a list of Strings. There is one index and it is 9% of the overall space. Thanks, Brian On Thu, Dec 17, 2009

[appengine-java] Performance of Data Store

2009-12-16 Thread Brian Hayward
logs reported that part alone as 1552ms. Thanks, Brian -- 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, sen

[appengine-java] Finding abandoned child entities

2009-12-16 Thread Brian Hayward
So I read in the documentation that deleting parents via the admin console will create abandoned children because owned relationships are managed by JDO. Is there a query that can find abandoned children of a given kind? Thanks, Brian -- You received this message because you are subscribed to

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

2009-12-12 Thread Brian
I assume they aren't doing a full JVM startup every warm up, are they? Seems they could load it into the JVM memory.. then page it out to disk or something. Somehow has to be a way to keep it scalable to many 1000s of users, while not taking 7 seconds to "wake up" On Dec 12, 8:20 pm, Rusty Wrigh

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

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

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

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

[appengine-java] Fast MVC Framework for GAE?

2009-12-10 Thread Brian
I have a app that I thought would be perfect for the google app engine. Mostly idle, but for periods could be fairly high demand. Very simple workflow, no user request should take more than 2 seconds server side. To prototype it out, I used the stripes framework to get a simple MVC setup. This wor

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

2009-11-24 Thread Brian Hayward
Looking through my logs, it seems like just about every call for UUID.randomUUID() takes about 5 seconds. Is there a better way to generate UUID's than this when using the app engine? I know at least some of this is from an inactive app (there are a few minutes between most requests), but it see

[appengine-java] Re: thanking uuuuuuuuu

2009-11-03 Thread Brian Hayward
Probably needs to be a feature request, I'd like to see this too. -- Brian On Tue, Nov 3, 2009 at 6:52 AM, raju k alias (billa) wrote: > > Thank for the java version > > Is there any plugin for netbeans IDE > > > > --~--~-~--~~~-

[appengine-java] Re: null User from datastore

2009-10-25 Thread Brian Harris
Yep that was it, thanks. On Fri, Oct 23, 2009 at 12:54 PM, Jason (Google) wrote: > Hi Brian. This might be related to JDO fetch groups. Try annotating your > User field with this, and see if it works: > > @Persistent(defaultFetchGroup = "true") > User myUser; > > -

[appengine-java] Re: Gadget Hosting on App Engine

2009-10-24 Thread Brian Dorry
I will do that, thanks. On Oct 24, 12:00 pm, Roy Smith wrote: > I think this is more likely to be a gadget issue than an appengine issue. > Check the gadgets discussion group as a few other people are experiencing > the same issue > > On Sat, Oct 24, 2009 at 3:24 PM, Brian Dorry

[appengine-java] Gadget Hosting on App Engine

2009-10-24 Thread Brian Dorry
I have recently been tasked with working on creating a gadget for a project that is hosted on app engine. I am also hosting the gadget specification on app engine. The gadget specification is generated on the server side as it refers back to the application id that the gadget is hosted on (this p

[appengine-java] null User from datastore

2009-10-22 Thread Brian
quot;); Thanks for any ideas, Brian --~--~-~--~~~---~--~~ 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 unsubscr

[appengine-java] Re: Issue on using Spring MVC framework on GAE.

2009-09-14 Thread Brian Dorry
Running into the same problem here using both the bean definition and overriding the initBinder method on the SimpleFormController. Any other insight into this issue? On Sep 11, 3:13 pm, "Jason (Google)" wrote: > If you're subclassing SimpleFormController, you can also override the > initBinder