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

2009-09-02 Thread Thai
Because I cannot attach files, I copy and paste the errors here: # 1. 09-02 11:16PM 02.693 /index.jsf 500 4472ms 6319cpu_ms 0kb Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090809 Firefox/3.5.2 (Swiftfox),gzip(gfe) See details 68.196.94.203 - - [02/Sep/2009:2

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

2009-09-02 Thread Thai
Hello, I have a web application using JSF RI 1.2_13, Spring 2.5.6, RichFaces 3.3.1.GA (all components are removed except the a4j core and rich:message). The application runs fine in the GAE sdk on my machine. If I don't use RichFaces, the application runs ok on GAE. So the problem is with that Ri

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

2009-09-02 Thread Alexander Orlov
On Sep 3, 4:57 am, Matthew Blain wrote: > We are investigating this issue and are rolling back a recent change. Hm, a few hours ago I've tried something new in my app... Hopefully I haven't crashed Google's AE :D --~--~-~--~~~---~--~~ You received this message bec

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

2009-09-02 Thread Matthew Blain
We are investigating this issue and are rolling back a recent change. --Matthew --~--~-~--~~~---~--~~ 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-appengi

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

2009-09-02 Thread hansamann
DataStore GET error rate is 100% currently, so I guess that is what some of use are kind of experiencing. Cheers Sven On Sep 2, 7:57 pm, Matthew Blain wrote: > We are investigating this issue and are rolling back a recent change. > > --Matthew --~--~-~--~~~---~--~---

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

2009-09-02 Thread Cliff Hill
Now I'm getting the server 500 error. On Wed, Sep 2, 2009 at 7:20 PM, hansamann wrote: > > same here, I get this > > Uncaught exception from servlet > javax.servlet.UnavailableException: Initialization failed. >at > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler >

[appengine-java] Re: JPA support for enum's

2009-09-02 Thread Larry Cable
I already did that and it still does not work, in fact I migrated my code from JPA to JDO and it still does not work... (of course I removed the annotation since it does not pertain to JDO) On Aug 25, 3:09 pm, Abe Parvand wrote: > Annotate it with the @Enumerated annotation. > > On Aug 25, 2:11 

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

2009-09-02 Thread hansamann
same here, I get this Uncaught exception from servlet javax.servlet.UnavailableException: Initialization failed. at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler (AppVersionHandlerMap.java:199) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.ge

[appengine-java] URLFetch Referer Header

2009-09-02 Thread Matt Farnell
I noticed today that you can now set the Referer HTTP header for a UrlFetch, this is both a good (some services require setting it) and bad move (you can pretend you are someone else). Is this a permanent change or a mistake? thanks, Matt --~--~-~--~~~---~--~~ You r

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Toby Reyelts
This looks like a bug. I believe you can work around it temporarily by patching BeansWrapper to call setAccessible on the enum Constructor. Can you please file an issue in our tracker? On Wed, Sep 2, 2009 at 7:30 PM, Hani Naguib wrote: > > The root exception seems to be: > > Nested in org.spring

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Alexander Orlov
On Sep 3, 2:29 am, Hani Naguib wrote: > Well it looks like something has changed today. Well, to be more precise, something has changed 2 hours ago. All instances of my Grails (and therefore also Spring) based app are down and responding with Server Error 500. Updating the app don't solve the pr

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib
Well it looks like something has changed today. I had to change EnumModels's constructor and class and make them public. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to t

[appengine-java] OpenID Consumer

2009-09-02 Thread anjolight
Hi, I'm trying to create an OpenID consumer in my appengine project. My intention to use Google for OpenID provider with OpenID+OAuth. If someone has an example code to share, I'd greatly appreciate it. thank you. --~--~-~--~~~---~--~~ You received this message bec

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

2009-09-02 Thread Alexander Orlov
Such replies help too. So I'm not the only one, this helps :) I hope these problems are caused by the deployment of an updated (ant less buggy!!!) GAE environment version :) On Sep 3, 1:47 am, Xlorep DarkHelm wrote: > yeah, noticing a lot of weirdness as of a few minutes ago. My app > kinda wor

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

2009-09-02 Thread Xlorep DarkHelm
I should note: http://showsort.appspot.com There should be 2 things that happen, a line drawn down the middle of a big square, and a set of radio buttons are loaded. Only the line is drawn. On Sep 2, 4:47 pm, Xlorep DarkHelm wrote: > yeah, noticing a lot of weirdness as of a few minutes ago. M

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

2009-09-02 Thread Xlorep DarkHelm
yeah, noticing a lot of weirdness as of a few minutes ago. My app kinda works, but kinda doesn't. Components I haven't touched are now failing consistently. On Sep 2, 4:44 pm, Alexander Orlov wrote: > Ok,http://2.latest.xy.appspot.com/works but ALL myhttp://wentity.appspot.com/ > instances are d

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread 鱼雷导弹
I have the same problem, too. What happened? 09-02 05:49PM 42.341 Error for /home java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration at jtweet.web.HomeServlet.getHomeTimeline(HomeServlet.java:82) at jtweet.web.HomeServlet.doGet(HomeServlet

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

2009-09-02 Thread Alexander Orlov
http://1.latest.xy.appspot.com is buggy but http://2.latest.xy.appspot.com works. However all my http://*.latest.wentity.appspot.com/ instances of my "heavy weight" app are down. On Sep 3, 1:52 am, Don Schwarz wrote: > When was the last time thathttp://1.latest.xy.appspot.comworked?  I see > not

[appengine-java] java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib
Has any thing changed today. My java app stopped working after a redeploy today. I get the following error: org.springframework.web.servlet.FrameworkServlet initServletBean: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freem

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

2009-09-02 Thread Alexander Orlov
Ok, http://2.latest.xy.appspot.com/ works but ALL my http://wentity.appspot.com/ instances are down an won't come up :( Re-uploading the application don't solve this problem. I get a permanent Response Error 500. Application dead lock? Help! On Sep 3, 1:37 am, Alexander Orlov wrote: > http://1.

[appengine-java] Re: Image Upload

2009-09-02 Thread Mike
I needed to copy the JARs into the WEB-INF/lib directory, in addition to import them as libraries. Sweet! On Sep 2, 6:24 pm, Mike wrote: > GWT and java app engine > > eclipse galileo 3.5 > > On Sep 2, 6:13 pm, Travis J Warren wrote: > > > What environment are you developing in? > > > On Sep 3,

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

2009-09-02 Thread Don Schwarz
When was the last time that http://1.latest.xy.appspot.com worked? I see nothing but 500's since early August. Version 2 seems to be fine: http://xy.appspot.com/ On Wed, Sep 2, 2009 at 6:37 PM, Alexander Orlov wrote: > > http://1.latest.xy.appspot.com/ > http://4.latest.wentity.appspot.com/ > >

[appengine-java] Re: Image Upload

2009-09-02 Thread Mike
GWT and java app engine eclipse galileo 3.5 On Sep 2, 6:13 pm, Travis J Warren wrote: > What environment are you developing in? > > On Sep 3, 8:03 am, Michael Ring wrote: > > > I'm trying to use apache file upload per the example in the app engine > > file upload FAQ and am getting this error

[appengine-java] Image Upload

2009-09-02 Thread Michael Ring
I'm trying to use apache file upload per the example in the app engine file upload FAQ and am getting this error: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/servlet/ ServletFileUpload I have the apache file upload and commons io libraries properly added. Here is the servlet c

[appengine-java] Re: Image Upload

2009-09-02 Thread Travis J Warren
What environment are you developing in? On Sep 3, 8:03 am, Michael Ring wrote: > I'm trying to use apache file upload per the example in the app engine > file upload FAQ and am getting this error: > > java.lang.NoClassDefFoundError: org/apache/commons/fileupload/servlet/ > ServletFileUpload > >

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib
The root exception seems to be: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerConfig' defined in ServletContext resource [/WEB-INF/gae/gae-web.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializer

[appengine-java] GAE down? Response Error 500

2009-09-02 Thread Alexander Orlov
http://1.latest.xy.appspot.com/ http://4.latest.wentity.appspot.com/ ...all my Java apps are down (Response Error 500). I know that my "xy" app should work as haven't change it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration

2009-09-02 Thread Hani Naguib
The exception has now changed to: (what is going on!) org.springframework.web.servlet.FrameworkServlet initServletBean: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerConfig' defined in ServletContext resource [/WEB-

[appengine-java] Re: Reg-What Java Frameworks supports With Google Java App Engine

2009-09-02 Thread Travis J Warren
Kanth. Struts / Spring MVC etc all run on the servlet spec so you will pretty much be OK with any of these frameworks. There is the odd little gotcha but most can be resolved with a bit of searching. The "will it play" link above will sort you out. On Sep 2, 5:06 pm, kanth wrote: > Hi, > > I

[appengine-java] Re: Errors while uploading the application

2009-09-02 Thread Jason (Google)
What is your application's ID? I'm guessing it isn't 'example'. :) Which version of the SDK are you using? Are you trying to deploy from Eclipse or the command line? Are you seeing a more descriptive error, and if so, can you paste it here? - Jason On Tue, Sep 1, 2009 at 7:13 AM, Mita Sakhalkar w

[appengine-java] Re: non-google authentication like in taskless

2009-09-02 Thread Filipe AlvesFerreira
Hi George, I'm using taskless.appspot for Economy 4G3W notes at : https://sites.google.com/a/datevalors1.com/mywebjurispersonquality/home/bem-vindo-a-wuwtools4g3w Any ideas anyone? Thanks 2009/9/2 G

[appengine-java] Re: how to serialize correctly the Vector member in @PersistenceCapable class

2009-09-02 Thread Dmitry Anipko
It is an interesting question - when I look in the debugger at the object that just has been de-serialized, it shows null for that member; however after I extract that value using a getMember helper, that returns a Vector with 0 members. Since the former is probably a debugger artifact, I think th

[appengine-java] Re: memcache service down?

2009-09-02 Thread Jason (Google)
Hi Sven. There was a period of planned maintenance yesterday, but it should have ended a couple of hours or so before your post. Can you confirm whether you're still seeing issues? If so, what is your application ID? - Jason On Tue, Sep 1, 2009 at 8:24 PM, hansamann wrote: > > Adding to that: I j

[appengine-java] Re: test unit doesn't work more

2009-09-02 Thread Jason (Google)
If you're running JUnit tests that rely on the local datastore, you have to add these JARs to your build path manually. - Jason On Tue, Sep 1, 2009 at 4:02 PM, OliBye wrote: > > I also had this issue using the Eclipse plug-in. > > This does not appear to be the original issue (http://code.googl

[appengine-java] Re: how to serialize correctly the Vector member in @PersistenceCapable class

2009-09-02 Thread Jason (Google)
Hi Dmitry. After fetching the MyClassA entity, is the Vector object empty (i.e. the Vector has been instantiated but has 0 items) or null? - Jason On Tue, Sep 1, 2009 at 9:28 AM, Dmitry Anipko wrote: > > Hi, > > I'm stuck with an issue I hope someone can help with (googling doesn't > produce much

[appengine-java] Re: When create a multiple module entry in a project?

2009-09-02 Thread Jason (Google)
I'm not sure what you mean by module entry. Can you explain what you're trying to do in more detail? If you're new to server-side programming, you will probably find the App Engine tutorial helpful: http://code.google.com/appengine/docs/java/gettingstarted/ - Jason On Tue, Sep 1, 2009 at 8:56 A

[appengine-java] Re: bigtable allow external connection?

2009-09-02 Thread Erik Bengtson
You can also use DataNucleus REST. http://www.datanucleus.org/products/accessplatform_2_0/rest/api.html On 1 sep, 09:33, asianCoolz wrote: > possible to only utitlieze bigtable for storing data ? may i know is > it possible to connect to certain port on google app engine to query > for database

[appengine-java] Re: polling technique

2009-09-02 Thread Jason (Google)
I mentioned PubSubHubbub in my last post, which is definitely preferred over polling for feed updates: http://code.google.com/p/pubsubhubbub/ If this won't work for you, App Engine does support scheduled tasks (i.e. cron), so you can set up a cron job to run periodically to fetch a feed, send out

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

2009-09-02 Thread Jason (Google)
Please post the full stack trace. - Jason On Mon, Aug 31, 2009 at 9:17 PM, g wrote: > > I use freemarker as my template engine. > I have the freemarker.jar under the \war\WEB-INFO\lib > from this morning all my pages return 500 error: > java.lang.NoClassDefFoundError: Could not initialize class

[appengine-java] Re: Bulk Uploading Data

2009-09-02 Thread Jason (Google)
A Java upload utility is coming, but I suggest using the Python bulkloader for now -- even though the script is written in Python, you'll still be able to access your data from your deployed Java app. - Jason On Tue, Sep 1, 2009 at 8:40 AM, mscwd01 wrote: > > Hmm, thats an idea. May give that a

[appengine-java] Re: live feed

2009-09-02 Thread Jason (Google)
If you're interested in real-time feed updates, you should look into the PubSubHubbub protocol: http://code.google.com/p/pubsubhubbub/ - Jason On Mon, Aug 31, 2009 at 8:17 PM, asianCoolz wrote: > > since comet not supported, may i know what workaround you folks do to > create live feed ? any su

[appengine-java] Re: Sign in to security constraint enabled page programmatically

2009-09-02 Thread Jason (Google)
You will have to use the ClientLogin API to get a token and use the token to get a cookie from App Engine which you can then use for all subsequent requests. The general process (for Python) is written up here: http://stackoverflow.com/questions/101742/how-do-you-access-an-authenticated-google-app-

[appengine-java] Re: Unowned relationships

2009-09-02 Thread Jason (Google)
I haven't tested this, but I believe this should work, yes. Let me know if/when you try it. As an aside, the object you return here won't actually be detached since you're not using transactions (and hence, not committing). You'll want to use something like the following or use a transaction. obje

[appengine-java] Re: i have create a gwt project ,now when deploy the project with gae ,some problem has appear

2009-09-02 Thread Jason (Google)
Yes, in a nutshell, you'll have to create a new List that does implement Serializable (e.g. ArrayList), copy each element from your results list to your new seralizable list, and return this new list instead. StreamingQueryResult is not serializable and you'll run into issues if you try to send it

[appengine-java] Re: http duration 30seconds

2009-09-02 Thread Jason (Google)
Yes, as long as you can retrieve if from the datastore within 30 seconds. Remember that each datastore entity can be at most 1 MB, so you'll have to split large files into several entities and "stitch" them together on retrieval. - Jason On Mon, Aug 31, 2009 at 6:17 PM, CoolDude wrote: > > what

[appengine-java] Re: bigtable allow external connection?

2009-09-02 Thread Jason (Google)
In general, you'll have to set up an HTTP-based interface to your data (e.g. handlers to create, retrieve, update, etc.) -- you won't be able to connect to and interface directly with the datastore service in particular. That said, you might find the remote_api module (Python-only, for now) interes

[appengine-java] Re: Problems in Connecting to Mysql database using Hibernate

2009-09-02 Thread Jason (Google)
As leszek wrote earlier, you cannot use JDBC to connect to MySQL or other traditional database systems directly. You can either run this database outside of App Engine and put a web service in front of it or, more preferably, use App Engine's datastore, which is documented at http://code.google.com

[appengine-java] Re: Better or Tighter Google Check-out integration Please

2009-09-02 Thread victor
I have found the following beta feature that might be a valid workaround: http://code.google.com/apis/checkout/developer/Google_Checkout_Beta_Polling_API.html On Aug 31, 12:29 am, victor wrote: > Looks like there is already an enhancement request for this > one:http://code.google.com/p/googleap

[appengine-java] non-google authentication like in taskless

2009-09-02 Thread GregGG
Does anyone know who created http://taskless.appspot.com/ ? I notice it allows for both Google account logins as well as a custom registration and authentication. I'm curious what that app is using for authentication and authorization. I've seen some people on here are using spring authenticati

[appengine-java] Re: Is there limitation of size of webapp uploaded to GAE?

2009-09-02 Thread Jason (Google)
Static files can be up to 10 MB each. There is no limit on the total storage size for static files. There is, however for resource files -- the combined size of all resource files can't exceed 150 MB. - Jason On Mon, Aug 31, 2009 at 12:21 AM, barak wrote: > > I was wondering - does GAE has some

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

2009-09-02 Thread Toby Reyelts
Thanks for the code. I have three suggestions (mostly from my previous post): 1) Are you maybe loading that singleton class in different classloaders? Try logging the classloader object reference that tries to create the PersistenceManagerFactory. You can add a static initializer ABOVE pmfInstance

[appengine-java] Re: question on redeploying from eclipse

2009-09-02 Thread Arun
I am not using GWT yet (still learning). next time i will measure the size of file transmitted and then i can get a better picture of whats going on. On Aug 31, 8:50 pm, Jason Parekh wrote: > Hi Arun, > I believe it uploads only the changed files.  Are you using GWT?  If so, the > delay you're s

[appengine-java] Re: Log4J vs. java.util.logging in App Engine projects

2009-09-02 Thread Rajeev Dayal
Hi Bill, Would you mind filing an issue for this: http://code.google.com/p/googleappengine/issues/list Thanks, Rajeev On Tue, Sep 1, 2009 at 10:12 PM, Bill Higgins wrote: > > Thanks again for the explanation Rajeev. I would politely suggest > beefing up the header comments in the log4j.prope

[appengine-java] Re: Redeployment/Reloading of Java classes in SDK

2009-09-02 Thread Rajeev Dayal
Filed as http://code.google.com/p/googleappengine/issues/detail?id=2055. On Wed, Sep 2, 2009 at 10:35 AM, Rusco wrote: > > > This hit me too, I am developing servlets with Scala. > > I can't find a "/_ah/reloadwebapp" link (I use the eclipse plugin), > what am I doing wrong ? > > In the meantime

[appengine-java] Re: Redeployment/Reloading of Java classes in SDK

2009-09-02 Thread Rusco
This hit me too, I am developing servlets with Scala. I can't find a "/_ah/reloadwebapp" link (I use the eclipse plugin), what am I doing wrong ? In the meantime I went back to good old Tomcat for development, so far everything works smoothly. Here a sample "server.xml" snippet, I just put my

[appengine-java] Re: Exception while deploying JSP Tag Lib Files

2009-09-02 Thread Jim McCabe
Klaus - I had the same problem, but there is a way to fix it. Take a look at the link suggested by Rajeev: http://groups.google.com/group/google-appengine-java/browse_thread/thread/175e70cc0c93ded9 About 75% of the way deep into the thread you'll start to find some solutions. For me, there we

[appengine-java] Confirmation of Google Multi-Tenant app policy

2009-09-02 Thread doc123
Hi Now I am planning to start free project management service => http://www.chainofasker.com/ by using Google App Engine When I try to provide this free project management service, problem is server fee because once I release this service, I can not expect how many user come to this site and u

[appengine-java] Re: xmpp support

2009-09-02 Thread Roberto Saccon
last time I asked (a few months back, before wave announcement) and got an answer from a Google employee, BOSH was not intended to be part of the GAE supported XMPP subset. -- Roberto On Sep 2, 5:47 am, asianCoolz wrote: > May i know when GAE mentioned will support XMPP for next version of > GA

[appengine-java] Re: A matter in local time

2009-09-02 Thread le anh
On Sep 2, 2:24 pm, leszek wrote: > If you delete double declaration (String formattedDate) and add proper > imports and declaration  'Calendar cal = Calendar.getInstance()); it > should work. > But you are having this problem while running in local  environment > (in your machine) or it does no

[appengine-java] Re: self join in google app engine

2009-09-02 Thread leszek
Read this thread - could be helpfull : http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/3affdf1441f864b6/99a166946ad0ef61?lnk=gst&q=self#99a166946ad0ef61 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[appengine-java] xmpp support

2009-09-02 Thread asianCoolz
May i know when GAE mentioned will support XMPP for next version of GAE, does that mean, it will support "all" features of xmpp? can we use "BOSH" to replace comet feature? the reason i asking is because i'm very interested to use comet in my application but found out GAE doesn't support it. So,

[appengine-java] self join in google app engine

2009-09-02 Thread Midhat
Hi I have modified the guestbook example shipped with google app engine (java) to include a parent-child relationship using some sort of a 'self join'. Now my greeting.java file looks like this package guestbook; import java.util.Date; import java.util.List; import javax.jdo.annotations.IdG

[appengine-java] Re: A matter in local time

2009-09-02 Thread leszek
If you delete double declaration (String formattedDate) and add proper imports and declaration 'Calendar cal = Calendar.getInstance()); it should work. But you are having this problem while running in local environment (in your machine) or it does not work after deploying to google (production)

[appengine-java] Re: Reg-What Java Frameworks supports With Google Java App Engine

2009-09-02 Thread Jos Snellings
http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine On Wed, Sep 2, 2009 at 9:06 AM, kanth wrote: > > Hi, > > I am new to Google Java App Engine.Is Google Java App Engine supports > Java Frame works like Struts1.x Struts2,JSF,etc? > > OR > > just one can develop by

[appengine-java] Problem while using Gilead for Hibernate and Gwt

2009-09-02 Thread Rajitha
Hi All, Im currently working on Sim Applications using Hibernate,Gwt,mysql in eclipse 3.4.im using Gilead for this. When im running my Application im getting following errors: SEVERE: [125187460050] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call java.lang.

[appengine-java] Reg-What Java Frameworks supports With Google Java App Engine

2009-09-02 Thread kanth
Hi, I am new to Google Java App Engine.Is Google Java App Engine supports Java Frame works like Struts1.x Struts2,JSF,etc? OR just one can develop by using servlets and jsps with Google Java App Engine? Please give information on this? Regards Rao --~--~-~--~~~---~