[appengine-java] A blogging program based on GAE(Java)

2010-10-13 Thread Liang Ding
http://code.google.com/p/b3log-solo -- My Blog: http://blog.csdn.net/DL88250 Open Source, Open Mind, Open Sight, Open Future! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group

[appengine-java] Uncaught exception from servlet - critical error

2010-10-13 Thread rsutaria
Hi, I am trying out the sample code for the XMPP implementation. I have configured an inbound-service in my appengine-web.xml: xmpp_message Also, added all the servlet related tags in my web.xml: xmppreceiver com.test.sp

Re: [appengine-java] HtmlUnit support on GAE for GWT crawlability

2010-10-13 Thread brucko
This is doable. After sorting through the various forums, I decided to write a blog to put what I did all in one place. The biggest problem now appears to be startup times for your instance on App Engine resulting in timeouts. The other thing to watch is to make sure that you don't use the redirect

Re: [appengine-java] HtmlUnit support on GAE for GWT crawlability

2010-10-13 Thread brucko
This is doable. After sorting through the various forums, I decided to write a blog to put what I did all in one place. The biggest problem now appears to be startup times for your instance on App Engine resulting in timeouts. The other thing to watch is to make sure that you don't use the redirect

Re: [appengine-java] Re: Spring MVC on GAE: Slow Load Time

2010-10-13 Thread Guillermo Schwarz
ok, I didn't know that, that is interesting. Cheers, Guillermo. On Wed, Oct 13, 2010 at 4:52 PM, Vladimir wrote: > @Guillermo > > The problem with using Echo or GWT entirely for the frontend is search > engine optimization. If you take a look at the source of any website > that's built using GW

[appengine-java] XMPP invite format

2010-10-13 Thread Tom
What is the is the syntax of the XMPP invite that I need to send to AppEngine before it's willing to communicate with my client? It's it a MUC direct invite? Example: Source: http://xmpp.org/extensions/xep-0249.html Thanks! Tom -- You received this message because you are subscribed to t

[appengine-java] Re: Spring MVC on GAE: Slow Load Time

2010-10-13 Thread Vladimir
@Guillermo The problem with using Echo or GWT entirely for the frontend is search engine optimization. If you take a look at the source of any website that's built using GWT, you won't see much content at all, and that's exactly what Google, Yahoo, etc see right now. This might change in the futur

Re: [appengine-java] Fwd: entity update question

2010-10-13 Thread Cyrille Vincey
Yes you do. From: Vik Reply-To: Date: Wed, 13 Oct 2010 18:47:33 +0530 To: Google App Engine for Java Subject: [appengine-java] Fwd: entity update question Hie I do for create like try{ Employee e = new Employee(); pm.makePersistent(e); }finally(){ pm.close(); } For update

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

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

Re: [appengine-java] Batch put for JDO objects

2010-10-13 Thread Tommy
Here is the code I was using to attempt to convert the JDO object to an Entity and save it. MyObject obj1; MyObject obj2; obj1.setData(1); obj2.setData(2); ArrayList objectsToBatchWrite = new ArrayList(); objectsToBatchWrite.add(new Entity(obj1.getKey())); objectsToBatchWrite.add(new Entity(ob

[appengine-java] noob google app demos

2010-10-13 Thread ronald brown
I try to run app engine demos that came in the toolkit which has the java sdk plugin for eclipse. I tried to run from the command line cd down to the dir called eclipse but it has no plugins directory. But from my computer it shows the plug in directories in eclipse. I checked veiw all hidden in fi

[appengine-java] Proxy the Java Development Server

2010-10-13 Thread Nigel Daley
Is there a way to proxy all the network traffic coming from the local development server? I've set http.proxyHost and http.proxyPort on the DevServer process (confirmed using ps) but these seem to have no effect. I've also set the proxy at the MacOS system pref level and that also has no effec

[appengine-java] ERROR IN THE EXAMPLE

2010-10-13 Thread cecelthejavaman
Good night! I'm following the example of the GETTING START for Appengine with Java and I meet a problem: This jsp don't compile: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page import="com.google.appengine.api.users.User" %> <%@ page import="com.

[appengine-java] Google App Engine + Struts1 - problem with session

2010-10-13 Thread L??a ??ha
Hi, I'm trying to make simple login/logout function in my application. This application is using Struts1 framework. The problem is that my solution works perfectly on localhost, but not in google app engine. Here is what I have in brief: The information about being sign in or not is stored in my ja

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

2010-10-13 Thread Maxim Veksler
I have opened a bug in backlog JIRA on this issue, which contains a work around for this exception. People are encouraged to vote on this issue http://jira.qos.ch/browse/LBCORE-171 Maxim. On Wed, Oct 13, 2010 at 6:18 PM, Maxim Veksler wrote: > Hi Nacho, > > The this configuration of logback wor

[appengine-java] Re: OneToOne relationship with java.lang.Long ids

2010-10-13 Thread curti...@gmail.com
This is pretty disappointing. Supporting what I have described is very basic JPA. The whole point of having a specification is to avoid vendor lock-in and the more I look at this, the more I wonder how Google can truthfully say that they support JPA. GAE needs to be more upfront about their lack o

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

2010-10-13 Thread Maxim Veksler
Hi Nacho, The this configuration of logback works for you? I've tried to do the same, with the following versions of logback: logback-classic-0.9.24.jar, logback-core-0.9.24.jar, slf4j-api-1.6.1.jar With the following configuration of backlog.xml: cat WEB-INF/classes/logback.xml %-

Re: [appengine-java] Re: Spring MVC on GAE: Slow Load Time

2010-10-13 Thread Guillermo Schwarz
Spring is all about rejecting the bloated EJBs and now Spring is even more bloated than the EJBs ever were. I would switch away from Spring until they resolve their issues. Echo2 is a nice presentation framework. Cheers, Guillermo. On Wed, Oct 13, 2010 at 10:28 AM, Vladimir wrote: > Thanks fo

[appengine-java] Specify fields in select queries

2010-10-13 Thread Lucian Baciu
Are there any plans to add to AppEngine the possibility to specifying entity fields in select queries? For example: "Select name from Person". It would be nice to have this feature to avoid the serialization overhead for entities that have list properties that do not need to be retrieved. Thanks,

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

2010-10-13 Thread Maxim Veksler
That's an interesting point. I did not know j.u.l was so slow. We need google here, to tell us if their implementation of java.util.logging performance is the same as the vanilla Sun's JVM (don't speak the O name). If this is the case then It's wise to use logback and live with ERROR / INFO only,

[appengine-java] Re: Spring MVC on GAE: Slow Load Time

2010-10-13 Thread Vladimir
Thanks for the replies! Probably the best choice right now is to switch away from Spring entirely. I wonder how Google/Spring is going to tackle this issue, especially since they're working on creating a closer integration between the two companies' technologies (they even talked about Roo and GWT

[appengine-java] Re: Spring MVC on GAE: Slow Load Time

2010-10-13 Thread Vladimir
Thanks Marcelo! BTW, how long is your load time using VRaptor, and how complicated is your app? (do you use any security modules, jdo, etc) On Oct 7, 7:41 am, Marcelo Madeira wrote: > Vladimir, > > I am using the cron job solutions... i know that it´s not the best > solutions but it´s working

[appengine-java] Fwd: entity update question

2010-10-13 Thread Vik
Hie I do for create like try{ Employee e = new Employee(); pm.makePersistent(e); }finally(){ pm.close(); } For update case I am getting the entity by id and updating one of the attribute like Employee e = pm.getObectById(empPK, Employee.class); e.setSalary(1000); the question is do

[appengine-java] Re: SOLVED: BlobstoreService on local dev server: usable ?

2010-10-13 Thread Didier Durand
Hi Guillaume, I did star issue 3821: I am pro testing to all possible extents. A bientôt! didier On Oct 13, 2:04 pm, Guillaume Laforge wrote: > Hi Didier, > > Yes, the documentation could be updated to cover all the services > available for local testing, that can't hurt :-) > > I always make

Re: [appengine-java] SOLVED: BlobstoreService on local dev server: usable ?

2010-10-13 Thread Guillaume Laforge
Hi Didier, Yes, the documentation could be updated to cover all the services available for local testing, that can't hurt :-) I always make sure to read the JavaDoc, as I know the documentation is often non-exhaustive. By the way, I opened an issue recently for adding support for Namespace and C

[appengine-java] SOLVED: BlobstoreService on local dev server: usable ?

2010-10-13 Thread Didier Durand
Hi Guillaume, Thanks a lot for the pointer to the javadoc at http://code.google.com/appengine/docs/java/tools/localunittesting/javadoc/com/google/appengine/tools/development/testing/LocalBlobstoreServiceTestConfig.htmle.google.com/appengine/docs/java/tools/localunittesting/javadoc/com/google/appen

[appengine-java] Re: JDO problem : oid is not instanceof javax.jdo.identity.ObjectIdentity

2010-10-13 Thread l.denardo
Looks like adding: @AfterClass public static void afterClass(){ pmf.close(); } solves the issue. Any further clarification is appreciated anyway. Thanks for your patience. Lorenzo -- You received this message because you are subscribed to the Google Groups "Goo

[appengine-java] Re: JDO problem : oid is not instanceof javax.jdo.identity.ObjectIdentity

2010-10-13 Thread l.denardo
To make clearer what I mean with "not predictable", I post part of a test method: [...] try{ pm.makePersistent(persistent); saved = persistent.getKey(); } finally{ pm.close(); }

[appengine-java] JDO problem : oid is not instanceof javax.jdo.identity.ObjectIdentity

2010-10-13 Thread l.denardo
Hello everybody, I'm facing a really annoying issue which I stepped into. My unit tests (JDO) sometimes throw a ClassCastException: oid is not instanceof javax.jdo.identity.ObjectIdentity The most annoying fact is that this is not reproducible in a predictable way. The very same JUnit test (using

Re: [appengine-java] Why is guestbook-example-fts (full text search) example working but mine is not?

2010-10-13 Thread Raphael André Bauer
On Mon, Oct 11, 2010 at 12:33 AM, arny wrote: > Hi, > > I'm really confused about the AppEngine database index limits. > > My project is using 15 tokens to index some content. > I'm using the index then to self-join it up to 3 times. > Then my index looks like this: isOnline ▲ , searchIndex ▲ , >

Re: [appengine-java] Re: BlobstoreService on local dev server: usable ?

2010-10-13 Thread Guillaume Laforge
In your test case, are you using the testing support? http://code.google.com/intl/fr-FR/appengine/docs/java/tools/localunittesting.html I've used it in the past for the datastore and memcache, but I've not used it for testing my blobstore usage yet. But I think it should be working. Look at the d

[appengine-java] Re: BlobstoreService on local dev server: usable ?

2010-10-13 Thread Didier Durand
Thanks Romesh, Guillaume, -> Romesh: I am in 1.3.7 but I get the message. I don't run in local app jetty server but just under JUnit in a testcase: is that the reason ? didier > On Wed, Oct 13, 2010 at 10:22, romesh soni wrote: > > Hi Didier, > > You have nothing to do anything special for usi

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

2010-10-13 Thread NickA
> Just configuring properly log4j/logback to log to System.err or > System.out should be enough to see messages properly in the AppEngine > console. That's exactly what I used to do but if you read Eurig's blog, that solution doesn't display the correct log levels in the console. "The trouble tha

Re: [appengine-java] BlobstoreService on local dev server: usable ?

2010-10-13 Thread Guillaume Laforge
I'm also using the blobstore in one of my app, with SDK 1.3.7, without a problem. On Wed, Oct 13, 2010 at 10:22, romesh soni wrote: > Hi Didier, > You have nothing to do anything special for using blobstore service in dev. > It seems that your app engine api is not up to date. Can you try updatin

Re: [appengine-java] BlobstoreService on local dev server: usable ?

2010-10-13 Thread romesh soni
Hi Didier, You have nothing to do anything special for using blobstore service in dev. It seems that your app engine api is not up to date. Can you try updating your app engine. The blobstore api has been added recently. See what your error is saying: package 'blobstore' or call 'DeleteBlob()' was

[appengine-java] BlobstoreService on local dev server: usable ?

2010-10-13 Thread Didier Durand
Hi there, Trying to use BlobstoreService via the SDK on my local dev machine (Ubuntu): I get CallNotFoundException if I try to use either BlobstoreService.delete() or BlobstoreService.fetchData() in Junit tests. See trace below. a) is it possible BlobsotBlobstoreService in dev environment ? b) D