[appengine-java] Direct access to JSF source

2010-11-22 Thread Matthew
Hello I have JSF 2 configured on my app with a servlet-mapping of /faces/* which renders correctly if I go to URL's such as domain.com/faces/index.xhtml. If I access the xhtml file URL directly, for example domain.com/index.xhtml, the xhtml source code is returned to the browser. How can I stop

[appengine-java] Application Versions - what is versioned? and what is not versioned?

2010-11-22 Thread A. Stevko
Looking through the documentation, I could not find any mention of the coverage of the application versions. Experience and my gut tells me that these components are not versioned: * Database Indexes and the persistence layers war/WEB-INF/appengine-generated/datastore-indexes.xml war/WEB-INF/appen

[appengine-java] OverQuotaException with the API call mail.SendToAdmins()

2010-11-22 Thread Dom Derrien
Today, I've got three times the OverQuotaException. In the previous days, it was between 4 and 6 times. It happens when many tasks run in parallel and when some have to send two e-mails (one to a regular user, and one to the admins). Here is the beginning of the stack trace: com.google.apphosting

[appengine-java] Re: Unable to complete update

2010-11-22 Thread Didier Durand
Hi Steel, There have been quite a lot of instabilities in deploying new versions recently: check older messages of this group. Maybe, the changes done by Google in this domain are not finished yet... regards didier On Nov 21, 2:06 pm, Steel wrote: > I'm using the integrated Google App Engine m

[appengine-java] Re: Google App Engine with MySQL Database.

2010-11-22 Thread Didier Durand
Hi, mySql is not (at least currently) directly supported on App Engine, you have to use the datastore based on Google BigTable and interface with it via JDO/JPA: see appropriate docs on Dev Guide You can also use 3rd party extensions to interface: I personally use Objectify. You can also probabl

[appengine-java] Re: Entity relations (JPA vs lowlevel API)

2010-11-22 Thread Didier Durand
Hi Vaninho, If you want to group some A, B & C entities in the same entity group, you have to say (for example) that A is a parent of B (via a @Parent Key key in B) and then that B is a parent of C (via a @Parent Key in C). You can add @Transient if you don't want the Keys to be stored as propert

[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-22 Thread Jerry
Wow. It turns out that this test will erase everything from the local dev server's datastore! Not calling the helper's tearDown() fixes that, but I hadn't checked in that change since the test still doesn't succeed in getting App Engine to update datastore-indexes-auto.xml. Now it no longer calls

Re: [appengine-java] Re: Output encoding / JPEG does not seem to work

2010-11-22 Thread Tatyana
No problem. Would you like to post your code so we can help? The code I sent wasn't for blobs tore also, it works however. Sent from my iPad On Nov 22, 2010, at 6:27 PM, John wrote: > Sorry Kellin, did not mean to reply to your post. The code I am talking about > is not related to blobstore.

Re: [appengine-java] Re: Output encoding / JPEG does not seem to work

2010-11-22 Thread John
Sorry Kellin, did not mean to reply to your post. The code I am talking about is not related to blobstore. -- 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-j...@googlegroups.com.

[appengine-java] Re: Output encoding / JPEG does not seem to work

2010-11-22 Thread John
It is on production server that I tried - no luck. Did you try successfully on production to tweak the jpeg quality and get different sizes ? John -- 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 t

Re: [appengine-java] Re: Connect Problem with google SDC

2010-11-22 Thread Ikai Lan (Google)
I'm just getting an empty response. My assumption is that this has been resolved. What times did you experience issues? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_

Re: [appengine-java] Re: Output encoding / JPEG does not seem to work

2010-11-22 Thread Tatyana
Code works fine on development and production servers for couple of month, you are probably having bug in your code. When you browsing your code please verify the type of Blob field used for image source file (in byte array). On Sun, Nov 21, 2010 at 10:25 PM, John wrote: > It is on production se

[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-22 Thread Jerry
Well, with your location = new File("war/WEB-INF/appengine-generated/ local_db.bin") test setup, running the test does update that local_db.bin. But it's the only data file modified today in the entire project directory. Ideas? On Nov 20, 9:20 am, Starman wrote: > In that case, your ds file

[appengine-java] Re: 1.3.8 Console Logging Issue

2010-11-22 Thread timzon
Thank you. Looking forward to get 1.4.0. On Nov 4, 9:33 am, Rajeev Dayal wrote: > We're going to fix this for the App Engine 1.4.0 release. What we'll do is > have messages at Log.INFO level be outputted when you've got your Launch > Configuration's log level set to INFO. > > In the Google Plugin

[appengine-java] JSTL eclipse warning: Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

2010-11-22 Thread Marcel Overdijk
As described in http://groups.google.com/group/google-appengine-java/browse_thread/thread/a37b7710568bf54e/13714cc16cfccf80?lnk=gst&q=jstl#13714cc16cfccf80 you should not include any JSTL library as it's repackaged by Google already. However with the Google plugin when adding something like: <%@

Re: [appengine-java] Re: Entity relations (JPA vs lowlevel API)

2010-11-22 Thread Jeff Schnitzer
This doesn't make any sense; entities in the GAE datastore cannot have multiple *parent* keys. However, your structure would work fine if you just dropped the @Parent annotation. This may help: http://code.google.com/p/objectify-appengine/wiki/Concepts#Keys Jeff On Mon, Nov 22, 2010 at 10:22 A

Re: [appengine-java] Session Management on GAE

2010-11-22 Thread Alexander Arendar
Hi Stephen, Would also be great if you write such limitations somewhere in the documentation. Or maybe it is already described but I missed the link. In such case please drop the link. Sincerely, Alex On Mon, Nov 22, 2010 at 8:39 PM, Stephen Johnson wrote: > From what I know you don't get sessi

Re: [appengine-java] Running Google App Engine from within a HSM.

2010-11-22 Thread Ikai Lan (Google)
It sounds like what you want is a GAE app that talks to your hardware using something like the Secure Data Connector. Here's a tutorial: http://code.google.com/securedataconnector/docs/1.3/tutorials/appengine.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleap

Re: [appengine-java] Session Management on GAE

2010-11-22 Thread Alexander Arendar
Hi all, It's pretty disappointing to hear this, really... Session management is quite fundamental task. The excuse that the app may already be non-existing when container needs to call the sessionDestroyed() is not an excuse. I do understand that distributed environment adds a complexity, but anyw

Re: [appengine-java] Session Management on GAE

2010-11-22 Thread Stephen Johnson
>From what I know you don't get sessionDestroyed. I believe there's a couple of issues with notification of a destroyed session and the most significant one would be that there's no guarantee that an instance of your application will even be running (1.4.0 will allow reserved instances but that isn

Re: [appengine-java] test inbound email with attachments on development server

2010-11-22 Thread Max
I would like to see this also. Two of my app's basic functions involving receiving and processing email attachments. thx, MG On Nov 22, 2010, at 11:56 AM, john byrne wrote: > Can the test web page "http://localhost:/_ah/admin/inboundmail"; be > extended to include the ability to include an

[appengine-java] Re: Entity relations (JPA vs lowlevel API)

2010-11-22 Thread vaninh0
*actually, two parents. On 22 nov, 15:22, vaninh0 wrote: > Hi Didier, > > with Objectify is possible to create a Entity with two distinct > childrens? > > example: > > class A { > @Id Long Id;} > > class B { > @Id Long Id;} > > class C { > @Id Long Id; > @Parent Key a; > @Parent Key b; > > } > >

[appengine-java] Re: Entity relations (JPA vs lowlevel API)

2010-11-22 Thread vaninh0
Hi Didier, with Objectify is possible to create a Entity with two distinct childrens? example: class A { @Id Long Id; } class B { @Id Long Id; } class C { @Id Long Id; @Parent Key a; @Parent Key b; } regards, vanio. On 20 nov, 14:41, Didier Durand wrote: > Hi, > > I would recommend Objectify

[appengine-java] Re: Output encoding / JPEG does not seem to work

2010-11-22 Thread John
It is on production server that I tried - no luck. Did you try successfully on production to tweak the jpeg quality and get different sizes ? John -- 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 t

[appengine-java] JPA query with date range - incorrect result

2010-11-22 Thread Christian
Hey, I have a problem with a JPA query. The Query get's with Date "beginn" and Date "schluss" the right result, with "datumAnfang" and "datumEnde" an incorrect result. I testet if the dates are equal and i think thats curious. Debugging on my local machine the dates: "datumAnfang" and "begin" are

[appengine-java] HELP with : java.lang.ClassCastException: oid is not instanceof javax.jdo.identity.ObjectIdentity

2010-11-22 Thread Frankeke
Hi, i´m trying to save some date in my GAE app but this error appear when I do de makePersistant of my object. at the end of this mail you can see that in Service Class there are one-to-one and 2 one-to-many relationships,. the error Stack is: java.lang.ClassCastException: oid is not instanceof

[appengine-java] test inbound email with attachments on development server

2010-11-22 Thread john byrne
Can the test web page "http://localhost:/_ah/admin/inboundmail"; be extended to include the ability to include an attachment? I would like to test a feature that includes email with attachments -- You received this message because you are subscribed to the Google Groups "Google App Engine fo

[appengine-java] Session Management on GAE

2010-11-22 Thread Sergiy Arendar
Hi, I have a problem: In my application I'm using HttpSessionListener to manage sessions. Here is the class: package com.sergiyarendar.listeners; import java.util.logging.Logger; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; import com.sergiyarendar.se

[appengine-java] Unable to complete update

2010-11-22 Thread Steel
I'm using the integrated Google App Engine module in IntelliJ IDEA 9.0.4 It's been working fine for weeks, but this morning I can't update my application - it checks for about 15 minutes and then rolls back the update. Unable to update: java.lang.RuntimeException: Version not ready. at com

[appengine-java] Re: JPA - Problem when I will insert a parent with a child already inserted.

2010-11-22 Thread jpt
vaninh0, you can only create owned relationships in the datastore if the child's key is of type com.google.appengine.api.datastore.Key or String ("Key as Encoded String"). Check this part of the documentation: http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.ht

[appengine-java] synchronized timers

2010-11-22 Thread kyle12345
Ok, so after thinking long and hard I have decided to try and code my own site. I am not new to programming, but am completely new to web programming. Being completely new to Java and google app engine I plan on asking for alot of help and advice. Hopefully you guys can help me out. So I need to

[appengine-java] Google App Engine with MySQL Database.

2010-11-22 Thread ankit
Hi.. I have deployed an application which is connected to my MySQL database to fetch the values. I want to know how will google fetch values from my machine and show the result whenever user runs the application. Do i have to create a database on google server? If yes than how can i create it.Since

[appengine-java] GAE JDO BLOB persistence problem

2010-11-22 Thread Alex AX
I got a JDO class with an BLOB for large xml files. I debugged into the class, the private byte[] file; is filled with data. But the persisted object misses this data. Is there any known issue? I really dont get how this does not work because: it used to work! Its also just this one filed that is

[appengine-java] Deploying Application having database as backend

2010-11-22 Thread ankit
Hi. I have deployed my application on Google app engine.Since my application has database as backend,i want to know where my database will exists on my machine or on Google server? On any situation how will my application will interact with the database.I am using MySQL as my database. Can Google f

[appengine-java] Re: How can i store an image to a blobstore without using a form?

2010-11-22 Thread timwhunt
One note: POSTing the data from your code to the blobstore does have the limit that you can't add anything bigger than the current 1mb request limit of URLFetch. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this grou

[appengine-java] Re: How can i store an image to a blobstore without using a form?

2010-11-22 Thread timwhunt
You can POST the data from your code right to the blobstore URL. It is as if your code simulates a browser posting the data from a forum. I included some sample code in another thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/2bea1295a3f542de/854ea95dcd986dab --