[appengine-java] UnknownException

2010-02-16 Thread aswath satrasala
I was working on my application (vs-accounting.appspot.com), and suddenly I started getting errors for the same operation I performed earlier. I looked into the logs. I get the following error. Please see if the following information from the logs can help. Is there a way to traceback more

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-16 Thread aswath satrasala
any help on this please... Thanks. On Fri, Feb 12, 2010 at 3:18 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hello Ikia As suggested by you in the thread 'Incorrect number of entities returned', I have attached the complete files in my previous email. Please let me know, what am

[appengine-java] has multiple relationship fields - error

2010-02-14 Thread aswath satrasala
public class Party { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName=datanucleus, key=gae.encoded-pk, value=true) private String id; @Persistent private PartyUserLogin userLogin; @Persistent private ListPartyUserLogin

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-12 Thread aswath satrasala
Hello Ikia As suggested by you in the thread 'Incorrect number of entities returned', I have attached the complete files in my previous email. Please let me know, what am I doing wrong here. Thanks -Aswath On Tue, Feb 9, 2010 at 3:06 PM, aswath satrasala aswath.satras...@gmail.com wrote

Re: [appengine-java] Re: getNextID

2010-02-10 Thread aswath satrasala
datastore backends, and one request to get the next id may hit one backend while another may hit a different backend. Is sequential ids a hard requirement? Max On Tue, Feb 9, 2010 at 8:27 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hello Max, I am planning to use

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-09 Thread aswath satrasala
at 10:25 PM, aswath satrasala aswath.satras...@gmail.com wrote: My application is running fine. I am still getting the datastore viewer error.What can we do in this scenario. How can we get support? -Aswath On Mon, Feb 1, 2010 at 12:36 PM, aswath satrasala aswath.satras...@gmail.com

Re: [appengine-java] Re: getNextID

2010-02-09 Thread aswath satrasala
, Vincent TELLIER tellier.vinc...@gmail.com wrote: I tried the incrementation, but I got an error saying that it was not implemented in the appengine datastore. TELLIER Vincent + Email : cont...@tellier-vincent.eu + Contact messenger (msn) : abs...@esugenus.fr 2010/2/8 aswath satrasala

Re: [appengine-java] Re: getNextID

2010-02-07 Thread aswath satrasala
See if the following annotation help you. @Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT) -Aswath On Mon, Feb 8, 2010 at 1:18 AM, datanucleus andy_jeffer...@yahoo.comwrote: What getNextID feature on JDO ? i.e please make reference to the JDO API and which particular API Method

[appengine-java] owned relationship ? - could it be a bug

2010-02-05 Thread aswath satrasala
This is a similar posting I had posted earlier incorrect number of entities returned. Hopefully, this posting may be more clean and I will get some replies. I have two classes 1) A 2) B A is in 1 to many relationship with B @PersistenceCapable(identityType = IdentityType.APPLICATION) public class

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-05 Thread aswath satrasala
=gae.encoded-pk, value=true) private String id; @Persistent @Extension(vendorName = datanucleus, key=gae.pk-name, value=true) private String name; @Persistent private ListB bList ; } On Fri, Feb 5, 2010 at 4:32 PM, aswath satrasala aswath.satras...@gmail.com wrote

Re: [appengine-java] Re: Incorrect number of entities returned

2010-02-05 Thread aswath satrasala
and run it. On Thu, Feb 4, 2010 at 7:21 PM, aswath satrasala aswath.satras...@gmail.com wrote: Any help here... Thanks. On Wed, Feb 3, 2010 at 5:35 PM, aswath satrasala aswath.satras...@gmail.com wrote: I did further investigation on my unittest (code is pasted in my previous email

[appengine-java] Re: Incorrect number of entities returned

2010-02-04 Thread aswath satrasala
Any help here... Thanks. On Wed, Feb 3, 2010 at 5:35 PM, aswath satrasala aswath.satras...@gmail.com wrote: I did further investigation on my unittest (code is pasted in my previous email). The second transaction block is not persisting the SecurityGroup Entity. If I add the following line

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-02-04 Thread aswath satrasala
My application is running fine. I am still getting the datastore viewer error.What can we do in this scenario. How can we get support? -Aswath On Mon, Feb 1, 2010 at 12:36 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hello GAE team, I am still not able to use the DataStore

[appengine-java] Re: Incorrect number of entities returned

2010-02-03 Thread aswath satrasala
, 2010 at 12:11 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hello Anything wrong here. I have two classes Tenant and SecurityGroup. * Create Tenant * Create SecurityGroup * Add SecurityGroup to Tenant * Persist. * Create another SecurityGroup entity. * Persist When I query

[appengine-java] Re: Incorrect number of entities returned

2010-02-02 Thread aswath satrasala
; } Thanks On Thu, Jan 28, 2010 at 5:14 PM, aswath satrasala aswath.satras...@gmail.com wrote: I have the following unittest code. I am persisting two SecurityGroup entities, one as a child of Tenant and one entity not having any parent. beginTxn(); Tenant tenant = new

[appengine-java] Incorrect number of entities returned

2010-01-28 Thread aswath satrasala
I have the following unittest code. I am persisting two SecurityGroup entities, one as a child of Tenant and one entity not having any parent. beginTxn(); Tenant tenant = new Tenant(); SecurityGroup securityGroup = new SecurityGroup();

Re: [appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-01-27 Thread aswath satrasala
, Jan 28, 2010 at 2:48 AM, Ikai L (Google) ika...@google.com wrote: What does you local indexes file look like? Can you post the indexes listed in your production admin console? On Tue, Jan 26, 2010 at 11:24 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hello GAE team, Further

[appengine-java] vs-accounting.appspot.com - datastore viewer error

2010-01-26 Thread aswath satrasala
Hello, My app-id is vs-accounting. I login into appengine.google.com. I choose the above application. Then I click on the datastore viewer. I get the error Server Error A server error has occurred. Return to Applications screen ยป https://appengine.google.com/ -Aswath -- You received this

[appengine-java] Re: vs-accounting.appspot.com - datastore viewer error

2010-01-26 Thread aswath satrasala
index found.. datastore-index kind=SecurityGroup ancestor=true source=manual property name=secGrpList_INTEGER_IDX direction=asc/ /datastore-index The application is fine on the local develpment server. -Aswath On Tue, Jan 26, 2010 at 8:51 PM, aswath satrasala aswath.satras

[appengine-java] generating sequential ids

2010-01-22 Thread aswath satrasala
Hi, I have an Employee class public class Employee { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName=datanucleus, key=gae.encoded-pk, value=true) private String id; @Persistent private String department; @Persistent private

[appengine-java] contain() filter with ListKeys

2010-01-20 Thread aswath satrasala
Hello I have the following class public class SecurityPermission { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; } I have the following query on SecurityPermission Entity to filter by keys.

[appengine-java] Re: contain() filter with ListKeys

2010-01-20 Thread aswath satrasala
Element { type: SecurityPermission id: 2 } and Element { type: SecurityPermission id: 1 } Finally, I have to switch the datasource to 'nontransactional' before executing the query to make my test pass. -Aswath On Wed, Jan 20, 2010 at 8:54 PM, aswath satrasala aswath.satras

[appengine-java] sudden errors

2010-01-14 Thread aswath satrasala
I was just checking my application. Suddenly I started getting the errors for the same links I was clicking earlier. I looked into the dashboard for the logs, to find an error. com.veersoft.action.LoginInterceptor intercept: com.google.apphosting.api.ApiProxy$UnknownException: An error occurred

[appengine-java] child class be part of two higher classes - how?

2010-01-06 Thread aswath satrasala
I have the following 3 classes. How can I make the Party as part of both Tenant and GlAccountOrganization classes. public class Party { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName=datanucleus, key=gae.encoded-pk, value=true) private

Re: [appengine-java] Re: Spring application context initialization on every request

2010-01-04 Thread aswath satrasala
Hello, My application is Struts2 based I have tried setting up the cron job every minute. But, still it does not help. The response time was still 20sec for the first time. -Aswath On Mon, Jan 4, 2010 at 10:00 AM, zhiw...@gmail.com zhiw...@gmail.comwrote: have a look at this link:

[appengine-java] static data loading

2010-01-01 Thread aswath satrasala
Hello All, I have the following JDO class. I want to load the data initially for entities of this class. I am thinking the following - I can create a seperate URL like myapp.appspot.com/initializedata. This resource will create JDO objects and persist the data. However, I want only the admin of

[appengine-java] Struts2.1.8 tags does not work with appengine 1.2.6 and later

2009-12-31 Thread aswath satrasala
Hello all, Struts2 tags don't seem to work for appengine sdk 1.2.6 and later. My small application does not have any problem with appengine sdk1.2.5. Any ideas? Regards -Aswath -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

Re: [appengine-java] Re: What Java MVC framework do you use on AppEngine?

2009-12-23 Thread aswath satrasala
I started to do some small project using struts2, JSP, JDO. What is startup time? When I login into my app, I get the first response back in 9-10 secs. How about any data for wicket applications? -Aswath On Wed, Dec 23, 2009 at 5:25 AM, Larry Cable larry.ca...@gmail.com wrote: I am using

[appengine-java] two entities into the same entity group - unowned relationship

2009-12-18 Thread aswath satrasala
I have two classes with unowned relationship. I am making tenant key as a key field in the MasterUserLogin. How can I make them belong to the same entity group @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Tenant { @PrimaryKey @Persistent(valueStrategy =

[appengine-java] can a child be persisted without a parent?

2009-12-16 Thread aswath satrasala
I have the following two classes. Tenant and Party. A tenant has a listparty. A party has a Tenant. Question: How can I enforce that a party cannot be persisted with out a Tenant -Aswath @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Tenant { @PrimaryKey

<    1   2   3