Aw: Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-28 Thread pascal.schroe...@weist-edv.com
Can you tell how can I find the Log of my GoogleAppEngine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/apMmNclQ32cJ. To post to

Re: [appengine-java] Re: Storing Boolean values and updating them doesn’t work

2011-06-28 Thread Evan Cheng
Try to invoke the method of the JDO entity to set the Boolean value. Not just change the field value. Ex: public void setValid(Boolean valid) { this.valid = valid; } On Tue, Jun 28, 2011 at 3:31 PM, ThePablick pabl...@gmail.com wrote: Fixed. The problem was pretty strange however, I loaded

Aw: Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-28 Thread pascal.schroe...@weist-edv.com
Okay I have found the failure: First: service name=GreeterService port name=GreeterPort binding=tns:GreeterPortBinding soap:address location=http://soap-server.appspot.com/soapserver*.* / /port /service /definitions Secound: the NAMESPACE_URI in GreeterSOAPHandler.java was not

Aw: Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-28 Thread pascal.schroe...@weist-edv.com
Okay I have found the failure: First: service name=GreeterService port name=GreeterPort binding=tns: GreeterPortBinding soap:address location=http://soap-server.appspot.com/soapserver*.* / /port /service /definitions Secound: the NAMESPACE_URI in GreeterSOAPHandler.java was not

Aw: Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-28 Thread pascal.schroe...@weist-edv.com
Hello I have an other problem of clientside 1. 1. 2011-06-28 12:32:44.597 /hellosoapclient 500 413ms 23cpu_ms 0kb Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) 212.37.160.176 - - [28/Jun/2011:04:32:44 -0700] GET /hellosoapclient

Aw: Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-28 Thread pascal.schroe...@weist-edv.com
or this from an other client (same Service) 1. 212.37.160.176 - - [28/Jun/2011:04:39:15 -0700] GET /soapclient HTTP/1.1 500 0 http://soap-client.appspot.com/; Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) soap-client.appspot.com ms=400 cpu_ms=175

[appengine-java] Channel presence service problems on dev_server

2011-06-28 Thread Roberto Saccon
Anyone got channel presence stuff working ? On dev server I get the follwoing exception: WARNING: /_ah/channel/dev com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 5: http method POST against URL http://192.168.1.2:8080/_ah/channel/connected/ timed out. at

[appengine-java] appengine-web.xml configuration dependencies: session storage

2011-06-28 Thread Ian Marshall
Considering the following non-default configuration options below: sessions-enabledtrue/sessions-enabled async-session-persistence enabledtrue/async-session-persistence enabled does asynchronous session persistence require sessions to be enabled (I guess so)? -- You received this message

Re: [appengine-java] Global count down timer

2011-06-28 Thread lorenoolive...@gmail.com
@Jayr and @Ikai, thanks for the assistance! Actually, I cannot change this requirement because this is the core of the business. I don't really need synchronized clocks between application instances, but I need a unique global vision of a regressive timer, which can be reset at any time. That is,

[appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Drew Spencer
Hey coders, wasn't sure whether to put this in the objectify group or here, so I went for here. I have a many-to-one relationship that is causing me a headache. I am using a CellTable to display the data for this entity: class Supply { @Id private Long id; private String number; private String

[appengine-java] GAE Eclipse Plugin for Indigo (3.7)

2011-06-28 Thread JT
Team, will the plugin works with recently released Eclipse 3.7? 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,

[appengine-java] Big Entities vs Small Entities

2011-06-28 Thread gadev
Hi there, Unfortunately, I have reached a dead-end, I have a number of entities, for example: @Entity class MyEntity { @Id String uid; String value1; String value2; String value3; ... } The entity is set by a back-end job with default data. The entity is used to populate a form

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Bruno Fuster
Hello Drew, I don't know much about GWT, but what I think you need to create a new object to handle this data, like a wrapper that should have all the information you need (number, consumption, supplier name) or @Transient properties into the entity object. So you need to get the suppliers from

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Drew Spencer
Thanks for the info, Bruno. So you are saying I need a kind of proxy entity that wraps the needed data from both objects? I think I may need a custom cell after doing a little more reading. There must be a simple way. Also I think I should have posted this in the GWT group. :/ -- You

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Bruno Fuster
Modeling your views based on your domains/entities can give you some headaches. In this case you can simple use a @Transient value, but if it grows, create a new object to handle these 2 entities. You could even replicate the supplier name to make it easier and less RPC calls. But if your

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Drew Spencer
Well I am just trying to get some kind of demo program running and learn about cells/celltable while I go because my app needs to display lots of tabular data and I understand this is the fastest way to do it. What I am doing is this: Get the supplies (List) Loop the supplies, adding each

Re: [appengine-java] Big Entities vs Small Entities

2011-06-28 Thread Stephen Johnson
Why not use a single int or long value (depending on the number of String values) where each bit position determines if that value was modified? Bit 0 for value1, bit 1 for value2, etc. Then if you want to know if any of the values have been modified, for example, in a query then just query to see

[appengine-java] Re: req.getparamater non-latin character problem.

2011-06-28 Thread Ronoaldo José de Lana Pereira
I guess you have to do the following in order to have the proper encoding when retrieving the request: if (request.getCharacterEncoding() == null) try { request.setCharacterEncoding(ISO-8859-1); } catch (UnsupportedEncodingException e) {

Re: [appengine-java] Big Entities vs Small Entities

2011-06-28 Thread gadev
Thanks for your suggestion Stephen but it looks error-prone to me, what happens if in the future I update this entity with more attributes and what should be the order of the bits? meaning which is first, second, etc. Also, it would be difficult for other devs to understand and maintained. --

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Jeff Schnitzer
To be honest, whenever I start to have a less-than-perfect match between my entities and the content rendered in my client, I usually create DTOs. It's mildly annoying, but it results in a clean interface without a lot of extra payload (some of which might be security-sensitive) sent across the

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-28 Thread Bruno Fuster
I'm with you Jeff. DTOs are the way to go in these cases. On Tue, Jun 28, 2011 at 3:09 PM, Jeff Schnitzer j...@infohazard.org wrote: To be honest, whenever I start to have a less-than-perfect match between my entities and the content rendered in my client, I usually create DTOs. It's

Re: [appengine-java] Select query using keys

2011-06-28 Thread Bruno Fuster
Did you try WHERE p.user = KEY('User', 2102191) ? That's how it works on the admin console with raw queries... I'm just not sure 'cause I'm using objectify for all apps... filter(p.user, user.key()) is enough :) On Tue, Jun 28, 2011 at 6:14 PM, hadf hadrien.for...@gmail.com wrote: Hello, I

[appengine-java] Server Error

2011-06-28 Thread rama krishna
Hi All, I developed a project using spring roo and spring tool suite STS using the following commands persistence setup --database GOOGLE_APP_ENGINE --provider DATANUCLEUS --applicationId trialdeck entity --class ~.domain.Speaker --testAutomatically field string --fieldName fullName --notNull

[appengine-java] Re: Channel API

2011-06-28 Thread Mike Kitzman
I have a question about this. On the client side, I can call the close() function on the created Socket object, however when I have the same client re-connect and request another token, it seems that I am unable retrieve another token (The call to createChannel never returns). Is this

[appengine-java] Datastore keeps trying to use index to sort after index definition was deleted

2011-06-28 Thread japi
I have a plain looking entity that just stored the String id of a product (7369-45D), the String value of a currency (USD), of the double value of he price (15.55), and i used to be able to sort the table without any problems. Then i decided to give indexes a try ... index table where

[appengine-java] Image Upload From Android Phone

2011-06-28 Thread dharma teja vooturi
Hi all, I am working on an android app which needs a functionality to uploading an image to the server . The app engine documentation has an example which explains how to use blobstore from a web client. Is there a similar way for a mobile client ? thanks in advance -- You

Re: [appengine-java] Image Upload From Android Phone

2011-06-28 Thread Bruno Fuster
Hi, You need to provide a resource that returns the upload URI (blobstoreService .createUploadUrl(/uploadImage)) and call it before uploading for real. Then post to that new URI with the image data. On Tue, Jun 28, 2011 at 5:59 AM, dharma teja vooturi dharmas...@gmail.comwrote: Hi all,