[appengine-java] email templating

2010-07-22 Thread Matt Farnell
Does anyone have any recommendations for an emailing template solution? Ideally I'd like to be able to define my HTML emails like JSP and then just substitute in the values. I've come across Velocity and StringTemplate, I'd like something thats really lightweight, simple, fast and easy to you.

[appengine-java] Re: appcfg bulkuploading null key values from csv

2010-07-22 Thread Dani
I can answer to myself: Modify the config.yml to: - kind: Callerid connector: csv connector_options: property_map: - property: __key__ external_name: key export_transform: transform.key_id_or_name_as_string - property: queue external_name: queue

[appengine-java] Re: next gen queries

2010-07-22 Thread pac
Thanks for getting back Ikai. On Jul 22, 2:09 am, Ikai L (Google) ika...@google.com wrote: We don't have an ETA yet. We'll announce it when it's ready. On Mon, Jul 19, 2010 at 11:08 AM, pac parvez.chau...@gmail.com wrote: In Alfred Fuller's presentation (http://www.youtube.com/watch?

[appengine-java] Re: How to close an object before second transaction?

2010-07-22 Thread l.denardo
Be sure also that modifyObject does not make indirectly calls to datastore. It was the case in one of my handlers, where the call to modify checked users authorizations, and those were occasionally read from datastore when memcache expired. That resulted in an exception in entity group handling.

[appengine-java] SOLVED: Re: JDO relationships and deletion.

2010-07-22 Thread Christian Gruber
On Jul 21, 2:43 am, Ian Marshall ianmarshall...@gmail.com wrote: I use @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) Hey Ian. Sorry, I had left that off the example - I also use @Per...Cap... with the options you identified. However, I have solved it. It

[appengine-java] Re: SOLVED: Re: JDO relationships and deletion.

2010-07-22 Thread Ian Marshall
I'm glad that you have fixed your problem. I made the decision very early on to detach everything always (unless I was actually in the middle of persisting data within a method). This might be inefficient, but it does seem to work for my brain! On Jul 22, 2:18 pm, Christian Gruber

[appengine-java] Re: How to upload primary key as an id instead of name

2010-07-22 Thread MANISH DHIMAN
Let me explain once again if I missed something earlier. I have an existing task management application wants to shift it now to google app engine. While I tried porting my existing data into google app engine using BulkLoader 1.3.5 with csv file, all my IDs saved as string (not as long).

[appengine-java] Re: email templating

2010-07-22 Thread Nacho Coloma
Have you tried MVEL? On Jul 22, 9:41 am, Matt Farnell mfarn...@gmail.com wrote: Does anyone have any recommendations for an emailing template solution? Ideally I'd like to be able to define my HTML emails like JSP and then just substitute in the values. I've come across Velocity and

[appengine-java] Re: Tag clouds on GAE for Java - how to store and how to aggregate

2010-07-22 Thread planetjones
Thanks again - I'm busy with a few things at the moment, but will have a play with some code over the next week or two and report back here. On Jul 22, 2:41 am, Mark Wyszomierski mar...@gmail.com wrote: Cool, if you structure your entity class like this though:     class Entity {          

[appengine-java] App Engine down?

2010-07-22 Thread Yegor
My GAE apps (Java) and the app engine dashboard produce intermittent Server 500 errors with a generic message: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the

Re: [appengine-java] App Engine down?

2010-07-22 Thread Don Schwarz
It should be okay now. There was a brief outage that affected some percentage of both Java and Python applications. The Java application that we test to create that dashboard was apparently lucky. On Thu, Jul 22, 2010 at 1:14 PM, Yegor yegor.jba...@gmail.com wrote: My GAE apps (Java) and the

[appengine-java] cron log

2010-07-22 Thread Andrei
I have cron job that runs every 2 hours, but it ran 20 times in last few minutes with message Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this

[appengine-java] NPE JspRuntimeLibrary.getContextRelativePath

2010-07-22 Thread Jon Lorusso
Hi, I'm having trouble with my setup of Struts 2 on GAE. I had this very same set up working in the past, but I obviously flipped the wrong switch somewhere I've got a jsp (index.jsp) which calls up an action: s:action name=home executeResult=true / This 'home' action does nothing, but forward

[appengine-java] Re: GAE Deployment - Unable to compile JSP

2010-07-22 Thread Shoubhik
Hi Mukesh, have you copied the tools.jar from .../JDK1.6/lib to .../JRE1.6/lib ? And javac.exe from .../JDK1.6/bin to JRE1.6/lib ? if not , try these,. Also,check whether you have kept any unnecessary .jsp files in your / war directory...(or the one appropriate in ur app's

[appengine-java] Invalid handle problem while using Transaction in Remote API.

2010-07-22 Thread Subhash
Hi I am using Remote API for connecing with my database while running code on my local machine. While I use transactions, it gives Invalid handle exception while saving my entity. If I don't use transaction. same code is running fine. Below is my code:

[appengine-java] Unable to SHOW image...

2010-07-22 Thread Shoubhik
input name=COLLEGE type=image src=/Image0652.jpg The above HTML snippet works fine when i use my app offline.. But after uploading it,.. the image just doesn't show up! The logs: No handlers matched this URL Where am I wrong, please advise.. :-( Thanks and regards, Shoubhik Bose. -- You

Re: [appengine-java] Re: How to upload primary key as an id instead of name

2010-07-22 Thread Uberto Barbini
On Thu, Jul 22, 2010 at 3:49 PM, MANISH DHIMAN manisd...@gmail.com wrote: Let me explain once again if I missed something earlier. I have an existing task management application wants to shift it now to google app engine. While I tried porting my existing data into google app engine using

[appengine-java] Google App Engine problem with receiving OPTIONS requests

2010-07-22 Thread Panu
Hey, I have a rather problematic issue with App Engine when attempting to post data to the server. Firefox uses OPTIONS method to verify the data before sending it to the server and this is causing the issue. Everything works fine on localhost and the server receives the OPTIONS request, returns

[appengine-java] Re: App Engine down?

2010-07-22 Thread Yegor
Yep, it seems to be back to normal. Thanks. On Jul 22, 12:21 pm, Don Schwarz schwa...@google.com wrote: It should be okay now.  There was a brief outage that affected some percentage of both Java and Python applications.  The Java application that we test to create that dashboard was

[appengine-java] Re: GAE JavaMail jumbles UTF-8

2010-07-22 Thread Marc Hacker
Please star the issue at http://code.google.com/p/googleappengine/issues/detail?id=3497 On Jul 13, 3:40 pm, Marc Hacker marc1hac...@gmail.com wrote: Sounds good, thanks for trying, but it didn't help for me :-( Also I need a solution for the html body as well... Anyone? On Jul 13, 8:45 

Re: [appengine-java] Invalid handle problem while using Transaction in Remote API.

2010-07-22 Thread John Patterson
On 22 Jul 2010, at 20:53, Subhash wrote: Hi I am using Remote API for connecing with my database while running code on my local machine. While I use transactions, it gives Invalid handle exception while saving my entity. If I don't use transaction. same code is running fine. Below is my code:

[appengine-java] number of properties in a composite index

2010-07-22 Thread pac
I think there is limit of 100/200 composite indexes. But is there a limit on number of properties in a composite index ? e.g. I have 4 in following example datastore-index kind=SomeKind ancestor=false source=auto property name=itemsList direction=asc/ property name=itemsList

[appengine-java] Re: email templating

2010-07-22 Thread TL
For very simple templates you can use java.text.MessageFormat. It lacks the ability to do real template work, conditions, loops, HTML escaping etc, but for simple substitutions, numbers, dates, etc it works. There may be a comparable and better implementation in one of the apache utility packages

[appengine-java] new demo shows google appengine instances registering in opscode chef upon startup

2010-07-22 Thread Adrian Cole
I wrote a demo application which registers google appengine instances in chef [1], specifically the opscode platformhttps://cookbooks.opscode.com/users/new, upon startup. While the chef api is not 100% complete in jclouds, enough is finished to start integrating.

[appengine-java] Problem of persistence in JDO

2010-07-22 Thread lisandrodc
Hi! I have a problem with active transaction.When I try to guard in the datastore, says: Object with id com.google.appengine.api.datastore.Key:Torneo(1)/ Equipo(3) is managed by a different Object Manager. Disegn: A Torneo has relation one to many Equipo A Fecha has relation one to many Partido

[appengine-java] Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread nischalshetty
To obtain the redirect URL it's an https call to twitter. I'm just not able to obtain it in production. However, it works in my development environment on my PC. Please help ASAP, my site gets a lot of users and this is causing problems for all of them :( Here's the stack trace :

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread nischalshetty
Was searching twitter, others seem to be facing the same problem. Please treat this on priority, my entire site http://www.justunfollow.com is unusable right now due to the error. A lot of users are stuck due to the error. -Nischal On Jul 23, 7:24 am, nischalshetty nischalshett...@gmail.com

[appengine-java] Re: How to upload primary key as an id instead of name

2010-07-22 Thread Subhash
Hi Uberto, Otherwise if all your existing ids are numeric you can change bulkloader to create the id instead of name. How I can upload exiting data with id as numeric not with name as string. My .yaml file format is given below: transformers: - kind:User connector: csv connector_options:

[appengine-java] limit on the entities in the entitygroup

2010-07-22 Thread aswath satrasala
Hello, I am writing a multi-tenant accounting app for SMB's. Is there any limit on the number of entities in the entitygroup? I am planning to put most of the entities in one entity group for each tenant. Since my app is for SMB's, the number of concurrent users is 3-5. Hence, I don't anticipate

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread Benjamin
Sorry to hear of your trouble Nischal I'm hitting twitter without any issue from my prod app engine - if it helps, i've had a lot of success using twitter4j libraries - maybe you can check them out. The only strange thing about getting an auth token from twitter oauth from app engine is how you

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread nischalshetty
@Benjamin I am using twitter4j. Its not an issue on my end since the apps been running from 6 months now. And I just ran a check on many other twitter apps hosted on the app engine, none seem to be working. Can you share the url of your app? -Nischal On Jul 23, 10:03 am, Benjamin