[appengine-java] Re: child of the same class
Since it is not yet supported, what is the possible approache in the meantime to solve this? Can i use unowned one-to-many relationship? And when the one-to-many same class relationship bug is already fixed, is there a way to convert the unowned one-to-many to owned? On Sep 2, 8:29 am, mar_novice mariocape1...@gmail.com wrote: I filed the bug already, thanks.. hope that this bug will be fix immediately and have an update with the sdk. I really need to implement this.. On Aug 29, 2:12 am, Jason (Google) apija...@google.com wrote: My sample was using JDO. In JDO, this does not work, but I haven't tested with JPA yet. - Jason On Thu, Aug 27, 2009 at 1:34 PM, Michael Niu yong...@gmail.com wrote: You can implements self one-to-many relationship the tricky is Dont define ManytoOne, for your example your class will look like : class Mall{ ... id and other properties @OneToMany ListMallsubMallList; ... } remenber. dont add parent object to the class! cheers Michael On Aug 25, 11:03 pm, mar_novice mariocape1...@gmail.com wrote: Is it possible to implement a parent-child relationship in the same class.. for example parent Location has a child Location... for instance Mall class with fields name, longitude, latitude. a big mall name X, lat - 1.1 long- 2.3 sub mall name A, lat - 1.01 long -2.1 sub mall name B sub mall sub mall submall sub mall --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: issues with compass for GAE apps
Hie here is the code I am using: package vik.sakshum.sakshumweb.jsp.model.jdo; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManagerFactory; import org.compass.core.Compass; import org.compass.core.config.CompassConfiguration; import org.compass.core.config.CompassEnvironment; import org.compass.gps.CompassGps; import org.compass.gps.device.jdo.Jdo2GpsDevice; import org.compass.gps.impl.SingleCompassGps; public final class PMF { private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory(transactions-optional); private static final Compass compass; private static final CompassGps compassGps; static { compass = new CompassConfiguration().setConnection(gae://index) .setSetting(CompassEnvironment.ExecutorManager.EXECUTOR_MANAGER_TYPE, disabled) .addScan(vik.sakshum.sakshumweb.jsp.model.jdo) .buildCompass(); compassGps = new SingleCompassGps(compass); compassGps.addGpsDevice(new Jdo2GpsDevice(appenine, pmfInstance)); compassGps.start(); compassGps.index(); } private PMF() {} public static PersistenceManagerFactory get() { return pmfInstance; } public static Compass getCompass(){ return compass; } } any clues? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Sep 2, 2009 at 12:34 AM, Toby Reyelts to...@google.com wrote: Vik, Do you have some sample code to reproduce this? By default, we throw an exception if you try to create more than one PersistenceManagerFactory. Are you using a singleton class to prevent more than one from being created? If so, are you maybe loading that singleton class in different classloaders? (Try logging the classloader object reference that tries to create the PersistenceManagerFactory). Lastly, you can disable the exception if you want (details should be in the exception message), but it will be a performance problem for you if you're creating more than a few PersistenceManagerFactory's. On Tue, Sep 1, 2009 at 1:51 PM, Vik vik@gmail.com wrote: anyone any updates on this please? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sun, Aug 30, 2009 at 8:51 PM, Vik vik@gmail.com wrote: Hie Any one using compass on his GAE app? I am frequently getting error cannot initialize PMF where there is static code to initialize compass apis. Any idea how to resolve? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: GAE Eclipse plugin - Uploading 0 files.
No, the files were uploaded, I just wondering regarding the wording... On Sep 1, 5:50 pm, Jason Parekh jasonpar...@gmail.com wrote: Hm, and when you hit your web app on app engine, it was still the old version? jason On Tue, Sep 1, 2009 at 3:02 AM, barak barak.ya...@gmail.com wrote: Not sure what each line in the output states, but after changing some files, the Cloning N static files. was increased by one, the file indeed uploaded, but still I saw Uploading 0 files. On Aug 31, 6:21 pm, Jason Parekh jasonpar...@gmail.com wrote: Hi Barak, Could you verify the file has not been uploaded already? I'm pretty sure the uploader only uploads modified files. I tried this in a new project SimpleProject with a file /war/test/test.html. The first deploy uploaded 22 files. The second deploy uploaded 0 files. I hit the appspot URL, and my file was indeed uploaded during the first deploy. jason- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: who can help me
Look into this file: WEB-INF/web.xml. It looks like XML-syntax problem. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Reg-What Java Frameworks supports With Google Java App Engine
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 --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Problem while using Gilead for Hibernate and Gwt
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.NoSuchMethodError: net.sf.beanlib.spi.BeanTransformerSpi.initCustomTransformerFactory (Lnet/sf/beanlib/spi/CustomBeanTransformerSpi$Factory;)Lnet/sf/beanlib/ spi/BeanTransformerSpi; at net.sf.gilead.core.beanlib.merge.MergeBeanPopulator.newBeanPopulator (MergeBeanPopulator.java:51) at net.sf.gilead.core.LazyKiller.populate(LazyKiller.java:249) at net.sf.gilead.core.LazyKiller.attach(LazyKiller.java:216) at net.sf.gilead.core.PersistentBeanManager.mergePojo (PersistentBeanManager.java:517) at net.sf.gilead.core.PersistentBeanManager.merge (PersistentBeanManager.java:305) at net.sf.gilead.gwt.GileadRPCHelper.parseInputParameters (GileadRPCHelper.java:95) at net.sf.gilead.gwt.PersistentRemoteService.processCall (PersistentRemoteService.java:147) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost (RemoteServiceServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1093) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle (DevAppEngineWebAppContext.java:54) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:306) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.content (HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:442) com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details Anyone can please help me.. Thanks in advance --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: A matter in local time
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) environment ? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] xmpp support
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, I am wondering should i invest my time create 'xmpp/bosh' feature on my app and anticipating for next version of GAE? what is the estimate date of the next release? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: self join in google app engine
Read this thread - could be helpfull : http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/3affdf1441f864b6/99a166946ad0ef61?lnk=gstq=self#99a166946ad0ef61 --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: xmpp support
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 second.co...@gmail.com wrote: 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, I am wondering should i invest my time create 'xmpp/bosh' feature on my app and anticipating for next version of GAE? what is the estimate date of the next release? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Exception while deploying JSP Tag Lib Files
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 were two things that I had to do (these are detailed in that thread): 1. Copy tools.jar into the AppEngine lib/shared directory. 2. Modify appcfg.cmd so it fully-qualifies the reference to java.exe in the JDK/bin directory. I switched from Eclipse to IntelliJ IDEA a month or two ago, and upgraded to the newest App Engine SDK. However #1 was still required on my machine. Don't give up hope, you're almost there! - Jim --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Log4J vs. java.util.logging in App Engine projects
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 billh...@gmail.com wrote: Thanks again for the explanation Rajeev. I would politely suggest beefing up the header comments in the log4j.properties file and the logging.properties, explaining to the user that they may either use Log4J or java.util.logging as they please. On Sep 1, 11:09 am, Rajeev Dayal rda...@google.com wrote: Yes, I think you've got it exactly right. If you notice any deviations from this behavior, please post back on this thread and let us know. On Tue, Sep 1, 2009 at 9:31 AM, Bill Higgins billh...@gmail.com wrote: Thanks much for the response Rajeev. Let me see if I can repeat and reduce it to make sure I understand the formula. 1) DataNucleus will use EITHER log4j OR java.util.logging. It never uses both. 2) DataNucleus will use log4j if it detects log4j classes on the classpath, otherwise it will use java.util.logging 3) If my app doesn't use log4j, then I can safely delete the default log4j.properties file and DataNucleus will happily use java.util.logging Is this correct? On Aug 31, 5:22 pm, Rajeev Dayal rda...@google.com wrote: +[tobyr] Hi Bill, We include both logging files due to the implementation of Datanucleus. If you have log4j on your classpath (or if you have any jars which bundle the log4j classes), then Datanucleus will use the log4j logging system. If you don't have a configuration file for log4j, then none of the information will be displayed. That is why we include one by default. If you do not have log4j on your classpath, then the log4j system is not used, and neither is the log4j.properties file which we include. If you are sure that you do not have any log4j classes on your classpath, then you can safely remove the log4j.properties file, and control all of your logging via the logging.properties file. If you're using log4j, you can get rid of the logging.properties file. My recommendation would be to keep both files, and only update the one for the logging system that you're using. You don't need to keep both of them in sync unless you adjust the Datanucleus logging levels. Let me know if you have any questions - I know that this is somewhat confusing. Rajeev On Sun, Aug 30, 2009 at 7:51 AM, Bill Higgins billh...@gmail.com wrote: Hi, I'm new to App Engine development, and am a bit confused by the logging configuration files that the Google Eclipse project produces in a new web application project. When you create a new web app project, the new project includes two logging configuration files: project/src/log4j.properties project/war/WEB-INF/logging.properties I understand that the first is for log4j and the second for java.util.logging but I'm not sure why one would need both and how each affect logging determinations. If I make changes to one should I make changes to another? Is there a safe way to delete one and simply use the other? If so which one is the keeper? Thanks in advance. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: bigtable allow external connection?
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) interesting: http://code.google.com/appengine/articles/remote_api.html - Jason On Tue, Sep 1, 2009 at 12:33 AM, asianCoolz second.co...@gmail.com 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 in bigtable? let say i deployed my app in amazon and i want to use google app engine's bigtable --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: http duration 30seconds
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 second.co...@gmail.com wrote: what if my avi is binary stream stored in bigtable can i retrieve it through servlet and return to user? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Unowned relationships
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. object = pm.getObjectById(type,id); object = pm.detachCopy(object); ... return type.cast(object); - Jason On Tue, Sep 1, 2009 at 6:12 AM, funkforce funkfo...@gmail.com wrote: Hi, Regarding generic methods for presistance, has anybody been doing that? Like this for example: public static T T readDataObject(ClassT type, Long id) { Object object = null; PersistenceManager pm = PMF.get().getPersistenceManager(); pm.setDetachAllOnCommit(true); try { object = pm.getObjectById(type,id); } finally { pm.close(); } return type.cast(object); } You call it like this: Beverage b = PersistenceHandler.readDataObject(Beverage.class, beverageId); Will this kind of code work? Thanks. FF On Sep 1, 11:54 am, funkforce funkfo...@gmail.com wrote: Hi, First of all, thanks for posting, it really helps me. objectuser : Good post and the link was really nice. Albert Attard : Thanks for the examples, it shows that you have to wright lots of code to manage your own relationships (which I was trying to avoid). leszek: This is what I did and I was trying to avoid to handle persistence issues as much as I could. I will re-model and start over and see how I should go on. Thanks. FF On Sep 1, 9:52 am, leszek leszek.ptokar...@gmail.com wrote: You can follow something like that class Parent { @Persistent private ListLong/Key childList; // non Persistent private ListChild list; ... } class Child { @PrimaryKey private Long/Key key; ... } // before save Parent private void beforeSave(EntityManager em,Parent pa) { if (pa.getList() != null) { ListLong chList = new ArrayListLong(); for (Child ch : pa.getList) { pm.makePersistent(ch); pm.flush(); chList.add(ch.getKey()); } pa.setChildList(chList); } } private void afterLoad(EntityManager em,Parent pa) { ListChild chList = new ArrayListChild(); for (Long key : pa.getChildList()) { Child ch = pm.getObjectById(Child.class,key); chList.add(ch); } pa.setList(chList); } PersistenManager pm; // main service Parent pa = pm..getObjectById(...) afterLoad(pm,pa); ... ... beforeSave(pm,pa); pm.makePersistent(pa); ListParent pList = pm.queryExecute(); for (Parent pa : pList) { afterLoad(pm,pa); } ... // etc In order to avoid repeating the same beforeSave and afterLoad for all Entity classes having onowned relationship you can apply Annotation and, by the use of reflection, develop generic approach for all classes having this feature.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Sign in to security constraint enabled page programmatically
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-engine-service-from-a-non-web-pyt Please let me know if you have any more questions on this. - Jason On Mon, Aug 31, 2009 at 8:54 AM, Erdinc Yilmazel erdincyilma...@gmail.comwrote: Hi, I have a servlet in my appengine java application which has an admin role security constraint on it. When I try to access this servlet google asks me to login using my google account and everything works fine. What I want to do is to write a desktop application which interacts with this servlet remotely over https. So instead of using a browser to communicate with the servlet, I am going to implement an http client for my application (Using commons httpclient). Since there is a security constraint on the servlet running on appengine, my http client has to sign in to google somehow... If I login using a browser and copy the cookies set by google to my own http client, everything works as expected. What is the best way to implement a login procedure for a desktop app like this? I want the user of the app (Me in this case) to enter the google username and password and access the password protected servlet remotely... One thing I tried was simulating the exact browser and user behaviour (Filling in the form for username and password, submitting it, following redirects etc.) and this was working a couple of months ago, but when google changes something, it fails. Is there an api for this? Thanks --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: java.lang.NoClassDefFoundError
Please post the full stack trace. - Jason On Mon, Aug 31, 2009 at 9:17 PM, g gigi...@gmail.com 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 freemarker.template.Configuration but the localhost is fine. Is there anything wrong with appengine-java? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: bigtable allow external connection?
You can also use DataNucleus REST. http://www.datanucleus.org/products/accessplatform_2_0/rest/api.html On 1 sep, 09:33, asianCoolz second.co...@gmail.com 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 in bigtable? let say i deployed my app in amazon and i want to use google app engine's bigtable --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: When create a multiple module entry in a project?
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 AM, Xavier Pegenaute xpegena...@gmail.comwrote: Hi, I am not used to develop web apps and I have no a clear idea about when use more than one module entry in my project. Any one could me explain me when could be a better solution? Thanks Regards. Xavi. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: how to serialize correctly the VectorMyType member in @PersistenceCapable class
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 dmitry.ani...@gmail.comwrote: Hi, I'm stuck with an issue I hope someone can help with (googling doesn't produce much useful results) I have Java class MyClassA declared with @PersistenceCapable and that has all its members declared with @Persistent. One of the members is of type VectorMyClassB myClassBVectorMember, declared with @Persistent(serialized=true). I want the POJO XML serialization to happen for the myClassBVectorMember when I serialize the object of MyClassA using JDO. MyClassB implements Serializable. Now, what happens, is that serialization and deserialization of all the other fields (of core types) in MyClassA works fine, but the vector isn't serialized correctl - when the object is serialized and deserialized, the vector is always re-created empty. If someone can give any hints or references to what attributes I need to use in both MyClassA and MyClassB to achieve the correct POJO XML serialization within a GAE datastore object, I'd appreciate it. Thanks. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: test unit doesn't work more
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 oliver@gmail.com wrote: I also had this issue using the Eclipse plug-in. This does not appear to be the original issue (http://code.google.com/ p/googleappengine/issues/detail?id=1876) I think the documentation is correct. I think it's the Eclipse plug-in that has the this new issue. It appears that the Eclipse plug-in does not add appengine-api- stubs.jar and appengine-local-runtime.jar to your class path (which the JUnit documentation mentions http://code.google.com/appengine/docs/java/howto/unittesting.html). These jars are distributed with the Eclipse 1.2.2-200907291526 plug-in in the lib/impl directory. So to work around this issue I made an eclipse user library with these two jars in and added it to my class path. This has solved my local issues. I've not tried uploading this to GAE yet, nor checked for any overlapping classpath issues with sealed jars etc. On Jul 24, 5:18 pm, Jason Barnes inspectorm...@gmail.com wrote: Hi, I am new to App Engine for Java. I just downloaded Eclipse 3.4.2 and the latest Google plug-ins. I cannot get any of the example code either here or in the official documentation to compile. I seem to be hung up on that fact that Eclipse cannot import com.google.appengine.tools.development.ApiProxyLocalImpl? Any help is appreciated! Thanks, Jason On Jul 14, 1:22 pm, Max Ross maxr+appeng...@google.commaxr%2bappeng...@google.com wrote: Hi everyone, let's see if we can get this ironed out. First off, the ApiProxy.Environment interface did change in 1.2.2. There is one new method (getAttributes()), and the existing methods now need to return meaningful values in your tests. If you're following the how-to article on unit testing ( http://code.google.com/appengine/docs/java/howto/unittesting.html) you'll need to update your TestEnvironment class to look like this one: http://code.google.com/p/datanucleus-appengine/source/browse/branches... (lines 34 - 66) We're working on getting the docs updated right now. If your TestEnvironment class looks exactly like this and your unit tests are still failing, please post a complete example including model classes and test code and I'll investigate. Thanks, and sorry for the trouble. Max On Tue, Jul 14, 2009 at 8:08 AM, cmin minal...@gmail.com wrote: same here.. All requiree methods of TestAPIEnvironment are returning something relevant. Also verified, that hosted mode everything is ok , just tests fails. On Jul 14, 7:23 am, ivo ivo.reduto.fre...@gmail.com wrote: +1 with all unit tests queries failing every query returns empty / null I tried to troubleshoot in the same ways described in the previous messages and got the same results On Jul 14, 2:43 pm, Alejandro D. Garin aga...@gmail.com wrote: I have the same TestEnvironment but my queries still fail. what can I do? On Tue, Jul 14, 2009 at 10:18 AM, Ronald Mathies ronaldmath...@gmail.comwrote: Oke, and again here i am (Man i shoult test further before shouting :) ) My sollution: In the class that implement ApiProxy.Environment make sure the following methods return something meaningfull: public class TestEnvironment implements ApiProxy.Environment { public String getAppId() { return Unit Tests; } public String getVersionId() { return 1.0; } public MapString, Object getAttributes() { MapString, Object map = new HashMapString, Object(); return map; } public String getRequestNamespace() { return gmail.com; } // Rest of the methods contain iether null or false. } On Jul 14, 3:13 pm, Ronald Mathies ronaldmath...@gmail.com wrote: I also encountered this problem, using unit tests it fails. However, when i execute the same code in hosted mode it does work. I updated the appengine-api-stubs.jar and appengine-local-runtime.jar so this cannot be the problem. I also removed my current datastore from disk so this also can't cause the problem. A few things i notice, in the log at one point i see the following: datastore URL=appengine driver= userName= Is this correct? And, i the problems i am having are NullPointerExceptions. Every single test i have fails. On Jul 14, 1:47 pm, Alejandro D. Garin aga...@gmail.com wrote: I have the same problem updating to 1.2.2 On Tue, Jul 14, 2009 at 7:57 AM, clanger danielmcla...@gmail.com wrote:
[appengine-java] Re: non-google authentication like in taskless
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? https://sites.google.com/a/datevalors1.com/mywebjurispersonquality/home/bem-vindo-a-wuwtools4g3w Thanks 2009/9/2 GregGG greg.geo...@gmail.com 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 authentication. Maybe they're using that, but I'm guessing it must have at least a little custom coding to allow both modes of authentication. Any ideas anyone? I'm playing with the idea of creating my own custom servlet filter to do something similar but hate to write code when re-use is a possibility. Thanks. -- FilipeAlvesFerreira#4(1942) --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Errors while uploading the application
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 uniqueli...@gmail.comwrote: Hi barak, This is my applications appengine-web.xml and web.xml respectively ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; applicationexample/application version1/version !-- Configure java.util.logging -- system-properties property name=java.util.logging.config.file value=WEB-INF/ logging.properties/ /system-properties /appengine-web-app ?xml version=1.0 encoding=utf-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 servlet servlet-nameExample/servlet-name servlet-classexample.ExampleServlet/servlet-class /servlet servlet-mapping servlet-nameExample/servlet-name url-pattern/examples/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file /welcome-file-list /web-app --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration
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-INF/gae/gae-web.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory $1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (FrameworkServlet.java:402) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext (FrameworkServlet.java:316) at org.springframework.web.servlet.FrameworkServlet.initServletBean (FrameworkServlet.java:282) at org.springframework.web.servlet.HttpServletBean.init (HttpServletBean.java:126) at javax.servlet.GenericServlet.init(GenericServlet.java:215) at org.mortbay.jetty.servlet.ServletHolder.initServlet (ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: 256) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize (ServletHandler.java:612) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 448) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler (AppVersionHandlerMap.java:190) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler (AppVersionHandlerMap.java:167) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest (JettyServletEngineAdapter.java:127) at com.google.apphosting.runtime.JavaRuntime.handleRequest (JavaRuntime.java:235) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:4950) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:4948) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest (BlockingApplicationHandler.java:24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 359) at com.google.net.rpc.impl.Server$2.run(Server.java:823) at com.google.tracing.LocalTraceSpanRunnable.run (LocalTraceSpanRunnable.java:56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan (LocalTraceSpanBuilder.java:516) at com.google.net.rpc.impl.Server.startRpc(Server.java:778) at com.google.net.rpc.impl.Server.processRequest(Server.java:351) at com.google.net.rpc.impl.ServerConnection.messageReceived (ServerConnection.java:437) at com.google.net.rpc.impl.RpcConnection.parseMessages (RpcConnection.java:319) at com.google.net.rpc.impl.RpcConnection.dataReceived (RpcConnection.java:290) at com.google.net.async.Connection.handleReadEvent(Connection.java: 428) at
[appengine-java] Re: Image Upload
GWT and java app engine eclipse galileo 3.5 On Sep 2, 6:13 pm, Travis J Warren travisjwar...@gmail.com wrote: What environment are you developing in? On Sep 3, 8:03 am, Michael Ring michaeljr...@gmail.com 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 I have the apache file upload and commons io libraries properly added. Here is the servlet code directly from google:http://code.google.com/appengine/kb/java.html#fileforms what can I check on? Thanks, Mike --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration
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 'freemarkerConfig' defined in ServletContext resource [/WEB-INF/gae/gae-web.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory $1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (FrameworkServlet.java:402) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext (FrameworkServlet.java:316) at org.springframework.web.servlet.FrameworkServlet.initServletBean (FrameworkServlet.java:282) at org.springframework.web.servlet.HttpServletBean.init (HttpServletBean.java:126) at javax.servlet.GenericServlet.init(GenericServlet.java:215) at org.mortbay.jetty.servlet.ServletHolder.initServlet (ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: 256) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize (ServletHandler.java:612) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 448) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler (AppVersionHandlerMap.java:190) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler (AppVersionHandlerMap.java:167) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest (JettyServletEngineAdapter.java:127) at com.google.apphosting.runtime.JavaRuntime.handleRequest (JavaRuntime.java:235) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:4950) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:4948) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest (BlockingApplicationHandler.java:24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 359) at com.google.net.rpc.impl.Server$2.run(Server.java:823) at com.google.tracing.LocalTraceSpanRunnable.run (LocalTraceSpanRunnable.java:56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan (LocalTraceSpanBuilder.java:516) at com.google.net.rpc.impl.Server.startRpc(Server.java:778) at com.google.net.rpc.impl.Server.processRequest(Server.java:351) at com.google.net.rpc.impl.ServerConnection.messageReceived (ServerConnection.java:437) at com.google.net.rpc.impl.RpcConnection.parseMessages (RpcConnection.java:319) at com.google.net.rpc.impl.RpcConnection.dataReceived (RpcConnection.java:290) at
[appengine-java] Re: java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration
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.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1093) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter (SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle (AppVersionHandlerMap.java:237) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:830) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable (RpcRequestParser.java:76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest (JettyServletEngineAdapter.java:139) at com.google.apphosting.runtime.JavaRuntime.handleRequest (JavaRuntime.java:235) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:4950) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:4948) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest (BlockingApplicationHandler.java:24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 359) at com.google.net.rpc.impl.Server$2.run(Server.java:823) at com.google.tracing.LocalTraceSpanRunnable.run (LocalTraceSpanRunnable.java:56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan (LocalTraceSpanBuilder.java:516) at com.google.net.rpc.impl.Server.startRpc(Server.java:778) at com.google.net.rpc.impl.Server.processRequest(Server.java:351) at com.google.net.rpc.impl.ServerConnection.messageReceived (ServerConnection.java:437) at com.google.net.rpc.impl.RpcConnection.parseMessages (RpcConnection.java:319) at com.google.net.rpc.impl.RpcConnection.dataReceived (RpcConnection.java:290) at com.google.net.async.Connection.handleReadEvent(Connection.java: 428) at com.google.net.async.EventDispatcher.processNetworkEvents (EventDispatcher.java:762) at com.google.net.async.EventDispatcher.internalLoop (EventDispatcher.java:207) at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: 101) at com.google.net.rpc.RpcService.runUntilServerShutdown (RpcService.java:251) at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run (JavaRuntime.java:392) at java.lang.Thread.run(Unknown Source) C 09-02 05:49PM 42.344 Uncaught exception from servlet java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration at jtweet.web.HomeServlet.getHomeTimeline(HomeServlet.java:82) at jtweet.web.HomeServlet.doGet(HomeServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1093) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter (SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
[appengine-java] Re: GAE down? Response Error 500
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 ch...@darkhelm.org wrote: 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 alexander.or...@loxal.net wrote: Ok,http://2.latest.xy.appspot.com/worksbut ALL myhttp://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 alexander.or...@loxal.net wrote: 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 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---