[google-appengine] Re: down time reporting

2010-05-02 Thread Igor
Star this issue 
http://code.google.com/p/googleappengine/issues/detail?id=3116#makechanges

On May 2, 6:38 am, Karter  wrote:
> Hi,
>    can someone please tell me how to resolve this ? I am not sure
> where to report this..
>
> Thanks
> K
>
> 05-01 09:34PM 04.359 /screenshots/ruler/ 500 10080ms 0cpu_ms 0kb
> Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0;
> GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> 3.0.30729; Media Center PC 6.0; InfoPath.2; InfoPath.3),gzip(gfe)
> See details
> 75.51.145.193 - - [01/May/2010:21:34:14 -0700] "GET /screenshots/
> ruler/ HTTP/1.1" 500 0 - "Mozilla/4.0 (compatible; MSIE 8.0; Windows
> NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET
> CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2;
> InfoPath.3),gzip(gfe)" "cross-browser.appspot.com"W 05-01 09:34PM
> 14.440
> --- 
> --- -
> 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
> message frequently, please contact the App Engine team.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Where are the compiled JSP/Tagfiles when running the local server?

2010-05-02 Thread Patrick Cornelißen
Hi!

2010/5/1 Sergio Lopes 

> I'm getting a very strange exception with the generated code from
> my .tag file:
>
> javax.servlet.jsp.JspException: Session support is not enabled in
> appengine-web.xml.  To enable sessions, put true sessions-enabled> in that file.  Without it, getSession() is allowed,
> but manipulation of sessionattributes is not.
> at
> org.apache.jsp.tag.web.calendario_tag.doTag(calendario_tag.java:155)
>
> My application has session-enabled set to false and the tagfile
> metioned doesn't have any call to session attributes.
>

Maybe one of the tags you are using requests session support internally.


-- 
Bye,
 Patrick Cornelißen
 http://www.openprojectguide.org
 http://www.pcornelissen.de http://code.google.com/p/gloudy/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: down time reporting

2010-05-02 Thread Igor
I also have error 500 for last 5-6 hours :(
And it has been categorized only as a warning...

On May 2, 6:38 am, Karter  wrote:
> Hi,
>    can someone please tell me how to resolve this ? I am not sure
> where to report this..
>
> Thanks
> K
>
> 05-01 09:34PM 04.359 /screenshots/ruler/ 500 10080ms 0cpu_ms 0kb
> Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0;
> GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> 3.0.30729; Media Center PC 6.0; InfoPath.2; InfoPath.3),gzip(gfe)
> See details
> 75.51.145.193 - - [01/May/2010:21:34:14 -0700] "GET /screenshots/
> ruler/ HTTP/1.1" 500 0 - "Mozilla/4.0 (compatible; MSIE 8.0; Windows
> NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET
> CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2;
> InfoPath.3),gzip(gfe)" "cross-browser.appspot.com"W 05-01 09:34PM
> 14.440
> --- 
> --- -
> 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
> message frequently, please contact the App Engine team.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Full-text search

2010-05-02 Thread Flips
Hi,

I just wanted to ask if you make progress to develop a full-text
search api.

My little search engine that uses a StringList property and has no
sorting is hitting the ceiling. I am increasingly getting a
NeedIndexError (The built-in indices are not efficient enough for this
query and your data. Please add a composite index for this query),
these errors occur on search queries with more than 4 words, so I
cannot add indices for 4,5,6[..] word queries because this would
result in exploding indices.

If you need testers for your search api I would volunteer.

Best Regards
Philip

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Server failed to serve the requests.

2010-05-02 Thread Robert Kluin
Hi Anupam,
   I have noticed that, not often but occasionally, there will be
issues with redirects on custom domains.  At some point last week
there was an issue on several of my custom domains, including my apps
and my Google Apps email.  I was getting 'too many redirect' errors
even after clearing my cache and cookies on several computers and my
iPhone.  Then the problem just magically fixed itself.  I have also
seen custom domains sporadically return 404 errors, but that is
extremely infrequent (once or twice every few months).

   If you are consistently getting these issues on one particular app
you might want to file a production issues report, although I think
you already said you were in touch with the Google people.  From what
you are explaining it sounds like the traffic is never even reaching
your app. So if your internet is up maybe something is amiss on
Google's end.

Robert




On Sun, May 2, 2010 at 9:52 PM, WeShine Tech  wrote:
> Hello Robert,
>
>  Thanks a tonn for all your replies.
>  I have checked the front end code last time it failed using the other
> versions and it works just fine. So the client code is surely OK.
>
>  I had also cheked for packet loss and the connection also seemed to be
> good.
>
>  And Yes I am using a custom Domain Name. But why would it not redirect to
> the application ? If this is the issue, are there any possible solutions you
> could guide me through .
>
> Thanks and Regards,
> Anupam M.
>
> On Sat, May 1, 2010 at 11:57 PM, Robert Kluin 
> wrote:
>>
>> Hi Anupam,
>>  I would say if you are not even seeing the requests show up in your
>> apps request log, it is never hitting your app.
>>
>>  Can you use the same front end code to access one of the other
>> versions?  If that works consistently at least you can be more
>> confident the front end is OK.
>>
>>  I would say your next steps are going to be debugging their network
>> connection.  Next time it is not working correctly, I would probably
>> check your packet loss rate.  If that is high you'll know you got
>> network issues. I would then check to be sure the name is being
>> resolved correctly.  Are you directly accessing the app at
>> appname.appspot.com or are you using a custom domain name?  If you are
>> using a custom name I would be sure it is getting redirected
>> correctly.
>>
>>  I think I would just follow through that type of debugging process.
>>
>> Robert
>>
>>
>>
>> On Sat, May 1, 2010 at 3:11 AM, WeShine Tech 
>> wrote:
>> > Hello Robert,
>> >  Yes, I am not getting any actual error messages.
>> >
>> >   When the application is down, it does not show any request. Also
>> > there
>> > is nothing shown in the logs.
>> >
>> >   Yes, As far as my knowledge is concerned there should not be any
>> > front
>> > end issue. Can you suggest me somethings I could verify. Also like I
>> > mentioned before my other versions of the applications worked fine after
>> > this one was down. So one more reason why I beleive it must be the front
>> > end
>> > issue.
>> >
>> >  I have been in discussions with Google Support team over the same
>> > issue
>> > as well. They suggested it is latency issue and that I need to optimize
>> > my
>> > application. But again only some requests should be stoped and the rest
>> > my
>> > application should have continued working. So any suggestions on that ?
>> >
>> > Thanks and Regards,
>> > Anupam M.
>> >
>> > On Fri, Apr 30, 2010 at 8:57 PM, Robert Kluin 
>> > wrote:
>> >>
>> >> So you are not getting any actual error messages?
>> >>
>> >> Do you see requests showing up in the request log when expected?  When
>> >> you tell your app to do something does a request show up?
>> >>
>> >> Are you sure you do not have a front-end issue?
>> >>
>> >> Robert
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Wed, Apr 28, 2010 at 11:44 PM, WeShine Tech
>> >>  wrote:
>> >> > Hello Robert,
>> >> >       The errors that I see are mostly warning for the
>> >> > CPU consumption
>> >> > exceeding the quota limit. I read on some thread that if one of the
>> >> > url
>> >> > requests exceeds the quota limit the application goes down. I just
>> >> > want
>> >> > to
>> >> > confirm this.
>> >> >      Also this request is a simple async service (GWT). So if I just
>> >> > split
>> >> > this service into multiple services will my issue be solved ?
>> >> >      Also once the application is down, when I can expect it to start
>> >> > again.
>> >> >     Answers to the rest of the questions:
>> >> >     Between the versions there have been some minor bug fixes.
>> >> > However I
>> >> > checked the logs of the older version and realized the          same
>> >> > log
>> >> > regarding the CPU warning did exist at both the versions. So what I
>> >> > could
>> >> > conclude is that may be the quota did not exceed the limit for my
>> >> > older
>> >> > version because it had comparatively less load.
>> >> >
>> >> >     I did check the whole log in detail and did not find any such log
>> >> > w

[google-appengine] Re: [Billing rates] Billing is not feasible enough

2010-05-02 Thread Greg
Have you looked at what the equivalent would cost on alternative
systems? It probably depends on the mix of services you need, but for
me appengine is far less expensive.

Don't forget to factor in the cost of your time. With appengine, you
don't need to micro-manage email, database or web servers, nor keep on
top of patching the OS.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Cron maintenance NOW, Sun 5/2 9-11p PDT

2010-05-02 Thread Wesley C (Google)
This is an alert that the planned cron maintenance is happening now. If you
want to be notified of planned/scheduled downtimes, please subscribe to the
read-only list at
http://groups.google.com/group/google-appengine-downtime-notify ... you can
go there now to subscribe as well as get more information on tonight's cron
outage.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
   http://corepythonprogramming.com

wesley.j.chun :: w...@google.com
developer relations :: google app engine
@app_engine :: googleappengine.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Server failed to serve the requests.

2010-05-02 Thread WeShine Tech
Hello Robert,

 Thanks a tonn for all your replies.
 I have checked the front end code last time it failed using the other
versions and it works just fine. So the client code is surely OK.

 I had also cheked for packet loss and the connection also seemed to be
good.

 And Yes I am using a custom Domain Name. But why would it not redirect to
the application ? If this is the issue, are there any possible solutions you
could guide me through .

Thanks and Regards,
Anupam M.

On Sat, May 1, 2010 at 11:57 PM, Robert Kluin wrote:

> Hi Anupam,
>  I would say if you are not even seeing the requests show up in your
> apps request log, it is never hitting your app.
>
>  Can you use the same front end code to access one of the other
> versions?  If that works consistently at least you can be more
> confident the front end is OK.
>
>  I would say your next steps are going to be debugging their network
> connection.  Next time it is not working correctly, I would probably
> check your packet loss rate.  If that is high you'll know you got
> network issues. I would then check to be sure the name is being
> resolved correctly.  Are you directly accessing the app at
> appname.appspot.com or are you using a custom domain name?  If you are
> using a custom name I would be sure it is getting redirected
> correctly.
>
>  I think I would just follow through that type of debugging process.
>
> Robert
>
>
>
> On Sat, May 1, 2010 at 3:11 AM, WeShine Tech 
> wrote:
> > Hello Robert,
> >  Yes, I am not getting any actual error messages.
> >
> >   When the application is down, it does not show any request. Also
> there
> > is nothing shown in the logs.
> >
> >   Yes, As far as my knowledge is concerned there should not be any
> front
> > end issue. Can you suggest me somethings I could verify. Also like I
> > mentioned before my other versions of the applications worked fine after
> > this one was down. So one more reason why I beleive it must be the front
> end
> > issue.
> >
> >  I have been in discussions with Google Support team over the same
> issue
> > as well. They suggested it is latency issue and that I need to optimize
> my
> > application. But again only some requests should be stoped and the rest
> my
> > application should have continued working. So any suggestions on that ?
> >
> > Thanks and Regards,
> > Anupam M.
> >
> > On Fri, Apr 30, 2010 at 8:57 PM, Robert Kluin 
> > wrote:
> >>
> >> So you are not getting any actual error messages?
> >>
> >> Do you see requests showing up in the request log when expected?  When
> >> you tell your app to do something does a request show up?
> >>
> >> Are you sure you do not have a front-end issue?
> >>
> >> Robert
> >>
> >>
> >>
> >>
> >>
> >> On Wed, Apr 28, 2010 at 11:44 PM, WeShine Tech
> >>  wrote:
> >> > Hello Robert,
> >> >   The errors that I see are mostly warning for the CPU consumption
> >> > exceeding the quota limit. I read on some thread that if one of the
> url
> >> > requests exceeds the quota limit the application goes down. I just
> want
> >> > to
> >> > confirm this.
> >> >  Also this request is a simple async service (GWT). So if I just
> >> > split
> >> > this service into multiple services will my issue be solved ?
> >> >  Also once the application is down, when I can expect it to start
> >> > again.
> >> > Answers to the rest of the questions:
> >> > Between the versions there have been some minor bug fixes. However
> I
> >> > checked the logs of the older version and realized the  same
> log
> >> > regarding the CPU warning did exist at both the versions. So what I
> >> > could
> >> > conclude is that may be the quota did not exceed the limit for my
> older
> >> > version because it had comparatively less load.
> >> >
> >> > I did check the whole log in detail and did not find any such log
> >> > which
> >> > would say :
> >> > This request caused a new process to be started for your
> >> > application, and thus caused your application code to be loaded for
> >> > the first time. This request may thus take longer and use more CPU
> >> > than a typical request for your application.
> >> > And regarding the cold start, can I expect any message in the log
> >> > regarding the same ?
> >> >
> >> >
> >> >
> >> > On Wed, Apr 28, 2010 at 7:44 PM, Robert Kluin  >
> >> > wrote:
> >> >>
> >> >> Anupam,
> >> >>
> >> >>   What are the actual errors you are seeing?  Are errors in your
> >> >> app's error log?
> >> >>
> >> >>   Further comments / questions inline:
> >> >>
> >> >
> >> >
> >> >>
> >> >> On Wed, Apr 28, 2010 at 12:31 AM, WeShine Tech
> >> >>  wrote:
> >> >> >  Hello Robert,
> >> >> >
> >> >> >   Are you saying that you have other clients (customers)
> running
> >> >> > the
> >> >> > same code on different deployments ?
> >> >> >  No. So what happened is at my clients site the
> >> >> > application stopped responding. So I started using the earlier
> >> >> > versions
> >> >> > of
> >> >> > my appl

[google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread WeatherPhilip
Just go and star the issue 
http://code.google.com/p/googleappengine/issues/detail?id=2740

Go do it right now. Maybe we can persuade Google to fix this issue.

Philip

On May 2, 5:08 pm, Wooble  wrote:
> On May 2, 3:21 pm, Jaroslav Záruba  wrote:
>
> > I believe that it was in this 
> > video...http://www.youtube.com/watch?v=tx5gdoNpcZM
> > ...where a question was asked
> > whether we are charged for space taken by indexes. The question is "No".
> > (Explanation has been that it would probably discourage users from using
> > advantages of datastore.)
> > So I think that might address your concerns.
>
> That video is 2 years old, and that information is no longer correct.
> You are charged for space used by indexes, although 530 MB of indexes
> for 20MB of data would, to me, indicate that something is probably
> going wrong.  I'd look out for exploding indexes or indexing lots of
> properties that you don't need to query on.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: publishing includes .svn directories

2010-05-02 Thread Jaroslav Záruba
+1
so who's gonna file the issue-report? :)

On Mon, May 3, 2010 at 1:27 AM, jeffrey  wrote:

> My problem was with my Eclipse install. A new install fixed it,
> probably some setting somewhere I didn't feel like searching for. But
> being able to exclude files from upload in Java app in general would
> be useful.
>
> Thanks
>
>
> On Apr 12, 2:47 pm, therealjz  wrote:
> > Exactly what I need but I'm using Java. Anything similar for Java
> > apps?
> >
> > On Apr 12, 11:39 am, david ignacio  wrote:
> >
> >
> >
> > > take a look at the "skipping files" section of the app.yaml
> >
> > >http://code.google.com/appengine/docs/python/config/appconfig.html#Sk.
> ..
> >
> > > On Mon, Apr 12, 2010 at 09:25, therealjz  wrote:
> > > > Hi everyone,
> >
> > > > I'm using the AppEngine plugin for Eclipse and the Subversive plugins
> > > > for svn. My problem is that when I publish my AppEngine project, it
> > > > uploads the .svn directories also. So I get errors from AppEngine
> > > > about duplicate jars being found. Is there any way to keep the
> > > > AppEngine from publishing those files? Seems like it should be an
> easy
> > > > problem but I'm not sure what to do.
> >
> > > > Thanks
> >
> > > > --
> > > > You received this message because you are subscribed to the Google
> Groups "Google App Engine" group.
> > > > To post to this group, send email to
> google-appeng...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> > > > For more options, visit this group athttp://
> groups.google.com/group/google-appengine?hl=en.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: publishing includes .svn directories

2010-05-02 Thread jeffrey
My problem was with my Eclipse install. A new install fixed it,
probably some setting somewhere I didn't feel like searching for. But
being able to exclude files from upload in Java app in general would
be useful.

Thanks


On Apr 12, 2:47 pm, therealjz  wrote:
> Exactly what I need but I'm using Java. Anything similar for Java
> apps?
>
> On Apr 12, 11:39 am, david ignacio  wrote:
>
>
>
> > take a look at the "skipping files" section of the app.yaml
>
> >http://code.google.com/appengine/docs/python/config/appconfig.html#Sk...
>
> > On Mon, Apr 12, 2010 at 09:25, therealjz  wrote:
> > > Hi everyone,
>
> > > I'm using the AppEngine plugin for Eclipse and the Subversive plugins
> > > for svn. My problem is that when I publish my AppEngine project, it
> > > uploads the .svn directories also. So I get errors from AppEngine
> > > about duplicate jars being found. Is there any way to keep the
> > > AppEngine from publishing those files? Seems like it should be an easy
> > > problem but I'm not sure what to do.
>
> > > Thanks
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/google-appengine?hl=en.- Hide quoted 
> > > text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Wooble


On May 2, 3:21 pm, Jaroslav Záruba  wrote:
> I believe that it was in this 
> video...http://www.youtube.com/watch?v=tx5gdoNpcZM
> ...where a question was asked
> whether we are charged for space taken by indexes. The question is "No".
> (Explanation has been that it would probably discourage users from using
> advantages of datastore.)
> So I think that might address your concerns.

That video is 2 years old, and that information is no longer correct.
You are charged for space used by indexes, although 530 MB of indexes
for 20MB of data would, to me, indicate that something is probably
going wrong.  I'd look out for exploding indexes or indexing lots of
properties that you don't need to query on.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Datastore Transaction problems in App Engine 1.3.2

2010-05-02 Thread korey_sed
Transactions are only supported across a single entity group.  So you
cannot do what you want, unless you change your relationship to be an
owned relationship which would put the objects in the same entity
group.

On Apr 10, 6:27 pm, AdamM  wrote:
> Hi,
>
> I am developing an application, that operates on multiple entity
> groups in multiple datastore transactions.
>
> I first create a PersistenceManager and open a transaction on it.I
> make an object persistent using this transaction, but I do not commit
> it. After this I create a new PersistenceManager with a transaction
> from the same factory, I make persistent an object to a different
> entity group. Again I do not commit. At the end I will commit the
> transaction after each other.
>
> There is a foreign key relationship between the 2 objects (I store the
> Object with primary key first).
>
> The second transaction fails to commit with an Exception:
>
> NestedThrowablesStackTrace:
> java.lang.IllegalStateException: Attempted to deregister a transaction
> that is not currently registered.
>         at
> com.google.appengine.api.datastore.TransactionStackImpl.remove(TransactionStackImpl.java:
> 61)
>         at
> com.google.appengine.api.datastore.TransactionImpl.commit(TransactionImpl.java:
> 71)
>         at
> org.datanucleus.store.appengine.DatastoreTransaction.commit(DatastoreTransaction.java:
> 61)
>         at
> org.datanucleus.store.appengine.DatastoreXAResource.commit(DatastoreXAResource.java:
> 88)
> (I do not get this error, if I leave the persistence of the object out
> from the 2nd transaction.)
>
> I was running this code both from JUnit Tests and on Local App Engine
> instance.
>
> This was working with 1.2.6 or 1.3.0 but not with 1.3.2.
>
> I also have a JUnit Test to test concurrent modification, I used to
> get JDOCanRetryException on concurrent changes, but now with the new
> version I am getting:
>
> java.util.ConcurrentModificationException: too much contention on
> these datastore entities. please try again.
>         at
> com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:
> 37)
>         at
> com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
> 63)
>         at
> com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
> 42)
>         at
> com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
> 56)
>         at
> com.google.appengine.api.datastore.TransactionImpl.commit(TransactionImpl.java:
> 66)
>
> Has anything changed in 1.3.2?
>
> Please help.
>
> Regards,
>
> Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
the question 

2010/5/2 Jaroslav Záruba 

> Oh and keep in mind please that my answer (that indexes are the cause)
> might be completely wrong as well. I'm a noob! :)
>
> 2010/5/2 Jaroslav Záruba 
>
> I believe that it was in this video...
>> http://www.youtube.com/watch?v=tx5gdoNpcZM
>>  ...where a question was
>> asked whether we are charged for space taken by indexes. The question is
>> "No". (Explanation has been that it would probably discourage users from
>> using advantages of datastore.)
>> So I think that might address your concerns.
>>
>> Should you watch this video from the start to the end, please let me know
>> where exactly that question has been asked+answered. I'm too lazy to seek
>> again, Youtube is not exastly fast today. Next time someone asks I would
>> like to post exact timestamp.
>>
>> Regards
>>   J. Záruba
>>
>> On Sun, May 2, 2010 at 9:11 PM, Perica Zivkovic <
>> perica.zivko...@gmail.com> wrote:
>>
>>> Jaroslav,
>>>
>>> thank you for your answer. To be honest if Im using 20MB of objects
>>> and that is creating 530MB of indexes I am stopping with GAE today !!
>>>
>>> Because that will mean that I get from Google 101GB and if I create
>>> 200-300MB of objects all my space is gone ??!??!
>>>
>>> cheers,
>>>
>>> Perica
>>>
>>> On May 2, 4:28 pm, Jaroslav Záruba  wrote:
>>> > I've learned that indexes may take way more space (many times more)
>>> than the
>>> > data itself.
>>> >
>>> > You might consider excluding particular property from indexing` in Java
>>> that
>>> > would be:
>>> >
>>> >   @Persistent
>>> >   @Extension(vendorName = "datanucleus", key = "gae.unindexed",
>>> value="true")
>>> >   private String unindexedString;
>>> >
>>> > ...as seen here<
>>> http://code.google.com/appengine/docs/java/datastore/queriesandindexe..
>>> .>
>>> > .
>>> >
>>> > Regards
>>> >   J. Záruba
>>> >
>>> > On Sun, May 2, 2010 at 12:13 PM, Perica Zivkovic
>>> > wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > Hi there,
>>> >
>>> > > I have created small blog on GAE and I'm puzzled about numbers on the
>>> > > dashboard saying that my app is using 0.55 of 101 GB (billing
>>> enabled)
>>> > > of Total Stored Data. Thats 550 MB !!
>>> >
>>> > > If I take a look to the actual usage I see that I have three files in
>>> > > blobstore with total size 17MB and datastore stats also say that
>>> total
>>> > > size of all my entities is 3MB so all in all I should be using 20 MB.
>>> >
>>> > > What I'm I missing here and what is using "other" 530MB of "Total
>>> > > Stored Data"?
>>> >
>>> > > cheers,
>>> >
>>> > > Perica
>>> >
>>> > > p.s. app ID is "zivkovic-nl"
>>> >
>>> > > --
>>> > > You received this message because you are subscribed to the Google
>>> Groups
>>> > > "Google App Engine" group.
>>> > > To post to this group, send email to
>>> google-appeng...@googlegroups.com.
>>> > > To unsubscribe from this group, send email to
>>> > > google-appengine+unsubscr...@googlegroups.com>> e...@googlegroups.com>
>>> > > .
>>> > > For more options, visit this group at
>>> > >http://groups.google.com/group/google-appengine?hl=en.
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> > To post to this group, send email to google-appengine@googlegroups.com
>>> .
>>> > To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com
>>> .
>>> > For more options, visit this group athttp://
>>> groups.google.com/group/google-appengine?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appeng...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine?hl=en.
>>>
>>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
Oh and keep in mind please that my answer (that indexes are the cause) might
be completely wrong as well. I'm a noob! :)

2010/5/2 Jaroslav Záruba 

> I believe that it was in this video...
> http://www.youtube.com/watch?v=tx5gdoNpcZM
> ...where a question was asked
> whether we are charged for space taken by indexes. The question is "No".
> (Explanation has been that it would probably discourage users from using
> advantages of datastore.)
> So I think that might address your concerns.
>
> Should you watch this video from the start to the end, please let me know
> where exactly that question has been asked+answered. I'm too lazy to seek
> again, Youtube is not exastly fast today. Next time someone asks I would
> like to post exact timestamp.
>
> Regards
>   J. Záruba
>
> On Sun, May 2, 2010 at 9:11 PM, Perica Zivkovic  > wrote:
>
>> Jaroslav,
>>
>> thank you for your answer. To be honest if Im using 20MB of objects
>> and that is creating 530MB of indexes I am stopping with GAE today !!
>>
>> Because that will mean that I get from Google 101GB and if I create
>> 200-300MB of objects all my space is gone ??!??!
>>
>> cheers,
>>
>> Perica
>>
>> On May 2, 4:28 pm, Jaroslav Záruba  wrote:
>> > I've learned that indexes may take way more space (many times more) than
>> the
>> > data itself.
>> >
>> > You might consider excluding particular property from indexing` in Java
>> that
>> > would be:
>> >
>> >   @Persistent
>> >   @Extension(vendorName = "datanucleus", key = "gae.unindexed",
>> value="true")
>> >   private String unindexedString;
>> >
>> > ...as seen here<
>> http://code.google.com/appengine/docs/java/datastore/queriesandindexe...>
>> > .
>> >
>> > Regards
>> >   J. Záruba
>> >
>> > On Sun, May 2, 2010 at 12:13 PM, Perica Zivkovic
>> > wrote:
>> >
>> >
>> >
>> >
>> >
>> > > Hi there,
>> >
>> > > I have created small blog on GAE and I'm puzzled about numbers on the
>> > > dashboard saying that my app is using 0.55 of 101 GB (billing enabled)
>> > > of Total Stored Data. Thats 550 MB !!
>> >
>> > > If I take a look to the actual usage I see that I have three files in
>> > > blobstore with total size 17MB and datastore stats also say that total
>> > > size of all my entities is 3MB so all in all I should be using 20 MB.
>> >
>> > > What I'm I missing here and what is using "other" 530MB of "Total
>> > > Stored Data"?
>> >
>> > > cheers,
>> >
>> > > Perica
>> >
>> > > p.s. app ID is "zivkovic-nl"
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Google App Engine" group.
>> > > To post to this group, send email to
>> google-appeng...@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > > google-appengine+unsubscr...@googlegroups.com> e...@googlegroups.com>
>> > > .
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/google-appengine?hl=en.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Google App Engine" group.
>> > To post to this group, send email to google-appeng...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com
>> .
>> > For more options, visit this group athttp://
>> groups.google.com/group/google-appengine?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
I believe that it was in this video...
http://www.youtube.com/watch?v=tx5gdoNpcZM
...where a question was asked
whether we are charged for space taken by indexes. The question is "No".
(Explanation has been that it would probably discourage users from using
advantages of datastore.)
So I think that might address your concerns.

Should you watch this video from the start to the end, please let me know
where exactly that question has been asked+answered. I'm too lazy to seek
again, Youtube is not exastly fast today. Next time someone asks I would
like to post exact timestamp.

Regards
  J. Záruba

On Sun, May 2, 2010 at 9:11 PM, Perica Zivkovic
wrote:

> Jaroslav,
>
> thank you for your answer. To be honest if Im using 20MB of objects
> and that is creating 530MB of indexes I am stopping with GAE today !!
>
> Because that will mean that I get from Google 101GB and if I create
> 200-300MB of objects all my space is gone ??!??!
>
> cheers,
>
> Perica
>
> On May 2, 4:28 pm, Jaroslav Záruba  wrote:
> > I've learned that indexes may take way more space (many times more) than
> the
> > data itself.
> >
> > You might consider excluding particular property from indexing` in Java
> that
> > would be:
> >
> >   @Persistent
> >   @Extension(vendorName = "datanucleus", key = "gae.unindexed",
> value="true")
> >   private String unindexedString;
> >
> > ...as seen here<
> http://code.google.com/appengine/docs/java/datastore/queriesandindexe...>
> > .
> >
> > Regards
> >   J. Záruba
> >
> > On Sun, May 2, 2010 at 12:13 PM, Perica Zivkovic
> > wrote:
> >
> >
> >
> >
> >
> > > Hi there,
> >
> > > I have created small blog on GAE and I'm puzzled about numbers on the
> > > dashboard saying that my app is using 0.55 of 101 GB (billing enabled)
> > > of Total Stored Data. Thats 550 MB !!
> >
> > > If I take a look to the actual usage I see that I have three files in
> > > blobstore with total size 17MB and datastore stats also say that total
> > > size of all my entities is 3MB so all in all I should be using 20 MB.
> >
> > > What I'm I missing here and what is using "other" 530MB of "Total
> > > Stored Data"?
> >
> > > cheers,
> >
> > > Perica
> >
> > > p.s. app ID is "zivkovic-nl"
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com e...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Perica Zivkovic
Jaroslav,

thank you for your answer. To be honest if Im using 20MB of objects
and that is creating 530MB of indexes I am stopping with GAE today !!

Because that will mean that I get from Google 101GB and if I create
200-300MB of objects all my space is gone ??!??!

cheers,

Perica

On May 2, 4:28 pm, Jaroslav Záruba  wrote:
> I've learned that indexes may take way more space (many times more) than the
> data itself.
>
> You might consider excluding particular property from indexing` in Java that
> would be:
>
>   @Persistent
>   @Extension(vendorName = "datanucleus", key = "gae.unindexed", value="true")
>   private String unindexedString;
>
> ...as seen 
> here
> .
>
> Regards
>   J. Záruba
>
> On Sun, May 2, 2010 at 12:13 PM, Perica Zivkovic
> wrote:
>
>
>
>
>
> > Hi there,
>
> > I have created small blog on GAE and I'm puzzled about numbers on the
> > dashboard saying that my app is using 0.55 of 101 GB (billing enabled)
> > of Total Stored Data. Thats 550 MB !!
>
> > If I take a look to the actual usage I see that I have three files in
> > blobstore with total size 17MB and datastore stats also say that total
> > size of all my entities is 3MB so all in all I should be using 20 MB.
>
> > What I'm I missing here and what is using "other" 530MB of "Total
> > Stored Data"?
>
> > cheers,
>
> > Perica
>
> > p.s. app ID is "zivkovic-nl"
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Got CAS client working with appengine (java)

2010-05-02 Thread Piwaï
Let me quickly add some more info, even if no one answered => the
patched jar and the sources are now available in a Google Code
Project : http://code.google.com/p/cas-client-appengine/downloads/list

On Apr 27, 1:23 pm, Piwaï  wrote:
> Hi !
>
> Just wanted to let you know, I was able to useCASclient 
> (http://www.jasig.org/cas) with AppEngine. So I'll write the few steps here,
> in case anyone look for it when searching on Google ;-)
>
> First, I followed these steps :
>
> http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Cl...
>
> I downloadedcas-client-3.1.10 here 
> :http://www.ja-sig.org/downloads/cas-clients/cas-client-3.1.10-release...
>
> I only usedcas-client-core. However, I had to make some changes to
> one of the classes :
> org.jasig.cas.client.util.AbstractConfigurationFilter . This is
> because the filter tries to instanciate an InitialContext() to find
> parameters in the context. Appengine does not seem yet to allow
> instanciation of InitialContext.
>
> So I changed the following file :
>
> cas-client-3.1.10-release\cas-client-3.1.10\cas-client-core\src\main
> \java\org\jasig\cas\client\util\AbstractConfigurationFilter.java
>
> and removed some code in the middle :
>
> ***
>     protected final String getPropertyFromInitParams(final
> FilterConfig filterConfig, final String propertyName, final String
> defaultValue)  {
>         final String value =
> filterConfig.getInitParameter(propertyName);
>
>         if (CommonUtils.isNotBlank(value)) {
>             log.info("Property [" + propertyName + "] loaded from
> FilterConfig.getInitParameter with value [" + value + "]");
>             return value;
>         }
>
>         final String value2 =
> filterConfig.getServletContext().getInitParameter(propertyName);
>
>         if (CommonUtils.isNotBlank(value2)) {
>             log.info("Property [" + propertyName + "] loaded from
> ServletContext.getInitParameter with value [" + value2 + "]");
>             return value2;
>         }
> // ** CODE REMOVED HERE
>
>         log.info("Property [" + propertyName + "] not found.  Using
> default value [" + defaultValue + "]");
>         return defaultValue;
>     }
> ***
>
> I then repackagedcas-client :
> cdcas-client-3.1.10/cas-client-core
> mvn package -Dmaven.test.skip
>
> I addedcas-client-3.1.10/cas-client-core-patched/target/cas-client-
> core-3.1.10.jar to my GAE project.
>
> Then it's just a matter a configuring your web.xml to work withCAS,
> as with any other CASsified app.
>
> If you have any questions, please let me know.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
I've learned that indexes may take way more space (many times more) than the
data itself.

You might consider excluding particular property from indexing` in Java that
would be:

  @Persistent
  @Extension(vendorName = "datanucleus", key = "gae.unindexed", value="true")
  private String unindexedString;

...as seen 
here
.

Regards
  J. Záruba

On Sun, May 2, 2010 at 12:13 PM, Perica Zivkovic
wrote:

> Hi there,
>
> I have created small blog on GAE and I'm puzzled about numbers on the
> dashboard saying that my app is using 0.55 of 101 GB (billing enabled)
> of Total Stored Data. Thats 550 MB !!
>
> If I take a look to the actual usage I see that I have three files in
> blobstore with total size 17MB and datastore stats also say that total
> size of all my entities is 3MB so all in all I should be using 20 MB.
>
> What I'm I missing here and what is using "other" 530MB of "Total
> Stored Data"?
>
> cheers,
>
> Perica
>
> p.s. app ID is "zivkovic-nl"
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Scheduled downtime is not reflected on the system status page though appspot returns 404

2010-05-02 Thread michael kariv
My app on the appspot.com returns 404 error.

Downtime notification group (http://groups.google.com/group/google-
appengine-downtime-notify)
clearly notifies about the downtime.
"This is a notification to our developers on App Engine that there
will
be an upcoming cron maintenance period"

Yet the status page
http://code.google.com/status/appengine
says Normal in all categories.

I might miss some technical details, but from the user perspective if
appspot.com does not respond for whatever reason, status page should
have not be all green.

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Total Stored Data - can someone explain please ??

2010-05-02 Thread Perica Zivkovic
Hi there,

I have created small blog on GAE and I'm puzzled about numbers on the
dashboard saying that my app is using 0.55 of 101 GB (billing enabled)
of Total Stored Data. Thats 550 MB !!

If I take a look to the actual usage I see that I have three files in
blobstore with total size 17MB and datastore stats also say that total
size of all my entities is 3MB so all in all I should be using 20 MB.

What I'm I missing here and what is using "other" 530MB of "Total
Stored Data"?

cheers,

Perica

p.s. app ID is "zivkovic-nl"

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.