[appengine-java] Re: Deploy button in Eclipse does not prompt for administrator account username

2011-08-22 Thread Bjorn B
I think the issue is that on some installations for Eclipse (STS among
other) you get an silent error when clicking on the Google-login
button in the bottom left corner. Some odd exception (only vissible in
the error pane), and nothing happends. I still haven't worked out how
to get around this error.

/Björn

On Aug 16, 9:59 pm, "Ikai Lan (Google)"  wrote:
> You need to go to:
>
> appengine.google.com
>
> and register an application ID. You can't use one that's taken. Once that's
> done, put that into your appengine-web.xml.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com | twitter.com/ikai
>
> On Sun, Aug 14, 2011 at 10:26 PM, C De  wrote:
> > So I installed Google App Engine for Java using Eclipse and successfully
> > created the sample Guestbook project.I managed to run the project on my
> > machine and also created an app id using the admin console. However when I
> > try and deploy the app on the Google App Engine I do not get any prompt
> > asking me to login, subsequently I get an error saying "This application
> > does not exist".
>
> > --
> > 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/-/-PFNasspAU4J.
> > To post to this group, send email to
> > google-appengine-java@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Vik
any help on this please?

Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org


On Wed, Aug 10, 2011 at 12:31 PM, Vik  wrote:

> Hie
>
> I have sitemap.xml and urllist.txt files in my web root folder of my
> gwt+gae app. However, on deploying these files are still not accessible.
> I can see other files at the same place like sitemap.html is accessible.
>
> Any advise why this is happening?
>
> Thankx and Regards
>
> Vik
> Founder
> http://www.sakshum.org
> http://blog.sakshum.org
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Problem deploying to GAE

2011-08-22 Thread Sarah
Unable to update:
java.io.IOException: Error posting to URL: 
https://appengine.google.com/api/appversion/clonefiles?app_id=salam-world&version=1&;
500 Internal Server Error



500 Server Error


Error: Server Error
The server encountered an error and could not complete your 
request.If the problem persists, please http://code.google.com/appengine/community.html";>report your 
problem and mention this error message and the query that caused it.



at 
com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:277)
at 
com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:238)
at 
com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:213)
at 
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:605)
at 
com.google.appengine.tools.admin.AppVersionUpload.cloneFiles(AppVersionUpload.java:468)
at 
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:428)
at 
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:121)
at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:300)
at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:52)
at 
com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:617)
at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:160)
at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:67)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:63)
com.google.appengine.tools.admin.AdminException: Unable to update app: Error 
posting to URL: 
https://appengine.google.com/api/appversion/clonefiles?app_id=salam-world&version=1&;
500 Internal Server Error

-- 
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/-/niAQHTWW1TUJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Announcing: Programming Google App Engine, 2nd Edition Rough Cuts

2011-08-22 Thread thstart
Hi Dan,

I was happy with 1st edition, build a whole app working perfect under
M/S, now the advice is to move to HR. My main concern is the speed
and the cost of translation. The last 2 months switched the app from M/S
to HR but it was working 2-5 times slower, so I switched back to M/S
and it is working perfectly well.

Could please look at this discussion:
https://groups.google.com/forum/#!topic/google-appengine/1dbE4aihYZo

Do you have answers to these questions? I will purchase the 2nd edition 
right now if you do.

Best,
--Constantine

-- 
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/-/OFR7GDS8jj0J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Can't enable datastore admin

2011-08-22 Thread Sam
Hi,

I'm trying to take advantage of the new Java datastore admin functionality 
in v1.5.3. However, every time I click "Enable" for Datastore Admin, I get 
the error message "A version with the name:ah-builtin-python-bundle, already 
exists." Has anyone else encountered this? Do you know how to fix it?

Thanks,

Sam

-- 
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/-/BLOWraffMqIJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: FileServiceFactory.getFileService().getBlobKey(file) is Broken, blobkey parser returns null

2011-08-22 Thread Jared Alexander
Thanks for the tip, worked for me as well!

-- 
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/-/4UtA_mAj6nYJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] appengine complained can't seriialize javax.faces.component.UIParameter object???

2011-08-22 Thread nella
Hi,  I have a JSF2 app that is able to run on my local instance.  However, 
after I deployed to GAE, i encountered an object serialization runtime error 
on pages containing a UIPrameter object  (e.g.   )

I've tried the same app on glassfish (local) and tomcat (local), and they 
both run fine.  I suspect maybe it is not as simple as object serialization 
problem?  Could it be concurrent thread related issue? I can use an extra 
pair of eyes to spot what am I missing here.  Thank you


[code]

Uncaught exception from servlet
java.lang.RuntimeException: java.io.NotSerializableException: 
javax.faces.component.UIParameter
at 
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:358)
at 
com.google.apphosting.runtime.jetty.DatastoreSessionStore.createEntityForSession(DatastoreSessionStore.java:71)
at 
com.google.apphosting.runtime.jetty.DatastoreSessionStore.saveSession(DatastoreSessionStore.java:93)
at 
com.google.apphosting.runtime.jetty.SessionManager$AppEngineSession.save(SessionManager.java:153)
at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:41)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:249)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
at 
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:262)
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$2.handleRequest(RuntimePb.java:9819)
at com.google.net.rpc.impl.RpcUtil.handleRequest(RpcUtil.java:445)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:414)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:579)
at 
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:454)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:694)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:332)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:324)
at 
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:452)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.NotSerializableException: javax.faces.component.UIParameter
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
at java.util.ArrayList.writeObject(ArrayList.java:673)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:962)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1478)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at 
java.io.ObjectOutputStrea

[appengine-java] Cloud computing projects for engineering students

2011-08-22 Thread Ravindra Dastikop
Hello All

For last 3 years, I have been specializing in cloud computing and have
introduced an elective for V semester engineering

http://cloudcomputingcourse.blogspot.com

I have already asked my students to do GAE based projects and here is
an example http://sdmcetcon1.appspot.com

Kindly suggest me some more projects that I can assign my students to
explore GAE further

http://dastikop.blogspot.com

regards

Ravindra dastikop

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Upload attachments Google Sites

2011-08-22 Thread Nicolò Brognoli
Hello,
I want to upload an InputStream object onto Google sites. The sites API 
manage only "File" objects, but I can't use the OuputStream to generate the 
File from the InputStream.

How can I upload the InputStream object to Google Sites? 
Should I do that with a POST request? And if so, how can I create such 
request?

Thanks. 

-- 
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/-/xu1WcvMjvXMJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Server Error : Deployment Failed

2011-08-22 Thread Sarah
+1 same error here

-- 
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/-/ZY7XbAsdhrcJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Android authentication broken?

2011-08-22 Thread Erlend Hamnaberg
Hi all.

I'm using Google appengine from Android, and have been using this [1] method 
for auth.
Is there something that has changed recently? It used to work a couple of 
weeks ago.
Coming back from vacation it failed to work.

Any pointers?


1: 
http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app

Best regards

Erlend

-- 
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/-/fS-61cGsFCsJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] JDOQL 3.1

2011-08-22 Thread Stephen Foster

I was just wondering if anyone knew if there were any plans to support
JDOQL 3.1 in app engine anytime soon. A couple of the features such as
size() would be really useful. I've read through the release history
of GAE and can't see anything obvious.

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Server Error : Deployment Failed

2011-08-22 Thread Nikhil
Same issue while deploying application. Re-tried a few times. Looks like a 
consistent problem.

-- 
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/-/RG-BfmZqIcQJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] How to use HTTPURLCONNECTION to post data to a form containing captcha+multiple choice values

2011-08-22 Thread Ikai Lan (Google)
Is your site showing the captcha? If so, I know I'm not answering the
question, but have you considered this?

http://www.google.com/recaptcha

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Sat, Aug 20, 2011 at 3:06 AM, Arvind Chari wrote:

> Hello,
>
> I have a situation where I want to submit a form using POST to
> http://domain.com/submit.php. This form has a couple of text boxes,
> and then a captcha field. The captcha text box is named "CAPTCHA" and
> the actual captcha image linked to it, is generated by
> http://domain.com/captcha.php.
>
> My question is, how do I treat the captcha? Should I treat is as just
> an ordinary text box and fill random value for it, before submission?
> If this is not the case, then how to treat this specific scenario, how
> to display/obtain value of captcha and then submit this value along
> with other (fixed) values?
>
> Regards,
> Arvind.
>
> --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Mail API calls - Quota

2011-08-22 Thread Ikai Lan (Google)
We've reduced the free quota on new applications. If you enable billing, you
should still have the same billing quota.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Sun, Aug 21, 2011 at 7:41 AM, realdope  wrote:

> Hi,
>
> According to
> http://code.google.com/appengine/docs/quotas.html#Billable_Quotas_and_Fixed_Quotas,
>
> Resource Free Default Quota Billing Enabled Default Quota  Daily Limit Maximum
> Rate Daily Limit Maximum Rate  Mail API Calls 7,000 calls 32 calls/minute 
> 1,700,000
> calls 4,900 calls/minute  Recipients Emailed 
> (billable
> ) 100 recipients 8 recipients/minute 100 recipients free; 7,400,000
> recipients maximum 5,100 recipients/minuteAccording to Admin console quota
> details, it says
> Mail API Calls
> [image: 0%]
>  0%  0 of 100  Okay  Recipients Emailed
> [image: 0%]
>  0%  0 of 2,000  Okay
> I must be terribly confused but why the discrepancy in free daily limit in
> Mail API calls and Recipients Emailed?
>
>
>  --
> 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/-/2-H9e7zt3PEJ.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Ikai Lan (Google)
Vik, it probably has something to with your web.xml file.

On a related note, are you at all interested in GAE consulting? It sounds
like you're carrying a lot of weight on your own shoulders, and there are
plenty of experts in this forum that wouldn't mind taking on an additional
contract!

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Mon, Aug 22, 2011 at 6:52 AM, Vik  wrote:

> any help on this please?
>
> Thankx and Regards
>
> Vik
> Founder
> http://www.sakshum.org
> http://blog.sakshum.org
>
>
> On Wed, Aug 10, 2011 at 12:31 PM, Vik  wrote:
>
>> Hie
>>
>> I have sitemap.xml and urllist.txt files in my web root folder of my
>> gwt+gae app. However, on deploying these files are still not accessible.
>> I can see other files at the same place like sitemap.html is accessible.
>>
>> Any advise why this is happening?
>>
>> Thankx and Regards
>>
>> Vik
>> Founder
>> http://www.sakshum.org
>> http://blog.sakshum.org
>>
>
>  --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Cloud computing projects for engineering students

2011-08-22 Thread Ikai Lan (Google)
Feel free to repurpose anything you want from here:

http://io-bootcamp-datastore.appspot.com/

It's a tutorial session I did about the datastore from Google IO.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Sun, Aug 21, 2011 at 5:29 AM, Ravindra Dastikop <
ravindra.dasti...@gmail.com> wrote:

> Hello All
>
> For last 3 years, I have been specializing in cloud computing and have
> introduced an elective for V semester engineering
>
> http://cloudcomputingcourse.blogspot.com
>
> I have already asked my students to do GAE based projects and here is
> an example http://sdmcetcon1.appspot.com
>
> Kindly suggest me some more projects that I can assign my students to
> explore GAE further
>
> http://dastikop.blogspot.com
>
> regards
>
> Ravindra dastikop
>
> --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Android authentication broken?

2011-08-22 Thread Ikai Lan (Google)
Can you describe the errors you're seeing? Exceptions that are thrown, etc?
"It doesn't work" isn't a particularly helpful error report.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Mon, Aug 22, 2011 at 7:00 AM, Erlend Hamnaberg  wrote:

> Hi all.
>
> I'm using Google appengine from Android, and have been using this [1]
> method for auth.
> Is there something that has changed recently? It used to work a couple of
> weeks ago.
> Coming back from vacation it failed to work.
>
> Any pointers?
>
>
> 1:
> http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
>
> Best regards
>
> Erlend
>
> --
> 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/-/fS-61cGsFCsJ.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] appengine complained can't seriialize javax.faces.component.UIParameter object???

2011-08-22 Thread Stephen Johnson
Hi,
The local dev stores session information in memory so you won't get the
NotSerializableException on local dev because the local dev doesn't need to
serialize the objects that are in the session. I think that may also be the
case with glassfish and tomcat if you haven't set up a database to store
session information in. When you deploy to GAE, sessions are stored in the
datastore and thus the objects in the session have to be serialized. The
UIParameter object in your session isn't serializable but a quick glance at
the docs indicates it has saveState and restoreState methods that may be
what you are supposed to use.

Stephen
www.cortexconnect.com

On Sun, Aug 21, 2011 at 4:49 AM, nella  wrote:

> Hi,  I have a JSF2 app that is able to run on my local instance.  However,
> after I deployed to GAE, i encountered an object serialization runtime error
> on pages containing a UIPrameter object  (e.g.value="foo" />)
>
> I've tried the same app on glassfish (local) and tomcat (local), and they
> both run fine.  I suspect maybe it is not as simple as object serialization
> problem?  Could it be concurrent thread related issue? I can use an extra
> pair of eyes to spot what am I missing here.  Thank you
>
>
> [code]
>
> Uncaught exception from servlet
> java.lang.RuntimeException: java.io.NotSerializableException: 
> javax.faces.component.UIParameter
>   at 
> com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:358)
>   at 
> com.google.apphosting.runtime.jetty.DatastoreSessionStore.createEntityForSession(DatastoreSessionStore.java:71)
>   at 
> com.google.apphosting.runtime.jetty.DatastoreSessionStore.saveSession(DatastoreSessionStore.java:93)
>   at 
> com.google.apphosting.runtime.jetty.SessionManager$AppEngineSession.save(SessionManager.java:153)
>   at 
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:41)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>   at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>   at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>   at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>   at 
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:249)
>   at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>   at org.mortbay.jetty.Server.handle(Server.java:326)
>   at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>   at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
>   at 
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
>   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>   at 
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
>   at 
> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:262)
>   at 
> com.google.apphosting.base.RuntimePb$EvaluationRuntime$2.handleRequest(RuntimePb.java:9819)
>   at com.google.net.rpc.impl.RpcUtil.handleRequest(RpcUtil.java:445)
>   at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:414)
>   at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:579)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:454)
>   at com.google.tracing.TraceContext.runInContext(TraceContext.java:694)
>   at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:332)
>   at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:324)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:452)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>   at java.lang.Thread.run(Thread.java:636)
> Caused by: java.io.NotSerializableException: javax.faces.component.UIParameter
>   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
>   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
>   at java.util.ArrayList.writeObject(ArrayList.java:673)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread jem...@gmail.com
I'll do it for free just for the heck of it.

- Reply message -
From: "Ikai Lan (Google)" 
Date: Mon, Aug 22, 2011 2:10 pm
Subject: [appengine-java] Re: sitemap.xml and urllist.txt
To: 

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Eclipse & GAE with OSX Lion

2011-08-22 Thread Nick Wood
Thanks for all of the replies, everyone!

I found out the issue.

The IP that I had set for my localhost in my /etc/hosts file had changed. 
 Since fixing this, I am now been able to successfully connect Eclipse with 
the Google Login, as well as deploy the server locally.

Thanks all!  Sorry for the troubles :)

-- 
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/-/nhT07-0IGE4J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] How to use any Web services, in particular RESTFull.

2011-08-22 Thread NeverFollow
Hi, 
- I am new to GAE and I wonder how to run some Web services.
 
- I would like to exchange XML files using RESTFull. 
  So far I used Glassfish, and I wonder if GAE provides a similar function? 
  Is there any plugin to use with Eclipse? 
  Is there a location where I can find some example?
 
Thank you

-- 
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/-/Tdyc_jkFva4J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Does the SDK in WEB-INF/lib Get Deployed?

2011-08-22 Thread objectuser
I decided to give Objectify a try because I think any significant reduction 
in startup time could be quite valuable.

It appears my startup time is now around 8s.  So maybe 2s less, but I don't 
have any objective data.  It's certainly not around 2s total.  Alas.

On the plus side, Objectify seems better than JDO for me.  If nothing else, 
it maps embedded objects in a much more natural way and I don't have the JDO 
post processing times.

So it was probably worth it to me to switch to Objectify, but a reduction 
from 10s to 2s is not really in the cards.

-- 
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/-/cY1UM7iYR24J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Vik
Right

This is our non profit organization(http://www.sakshum.org)  working for
educating the children from slums and building a blood donor network across
India. At this moment I am the only developer building the entire system and
had privilege of a volunteer tester for some of the time.

As soon as the word non-profit appears the first thing gets associated with
it is cost. And that's what we dont have now to afford a consultant or
developer. So, I am trying to sail the boat
as long as I can and until i find some volunteers willing to help me out.

Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org


On Mon, Aug 22, 2011 at 11:40 PM, Ikai Lan (Google) wrote:

> Vik, it probably has something to with your web.xml file.
>
> On a related note, are you at all interested in GAE consulting? It sounds
> like you're carrying a lot of weight on your own shoulders, and there are
> plenty of experts in this forum that wouldn't mind taking on an additional
> contract!
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com | twitter.com/ikai
>
>
>
> On Mon, Aug 22, 2011 at 6:52 AM, Vik  wrote:
>
>> any help on this please?
>>
>> Thankx and Regards
>>
>> Vik
>> Founder
>> http://www.sakshum.org
>> http://blog.sakshum.org
>>
>>
>> On Wed, Aug 10, 2011 at 12:31 PM, Vik  wrote:
>>
>>> Hie
>>>
>>> I have sitemap.xml and urllist.txt files in my web root folder of my
>>> gwt+gae app. However, on deploying these files are still not accessible.
>>> I can see other files at the same place like sitemap.html is accessible.
>>>
>>> Any advise why this is happening?
>>>
>>> Thankx and Regards
>>>
>>> Vik
>>> Founder
>>> http://www.sakshum.org
>>> http://blog.sakshum.org
>>>
>>
>>  --
>> 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, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Android authentication broken?

2011-08-22 Thread Erlend Hamnaberg
Hello.

Sorry about the lack of error message.

Here is an excerpt from the log of the phone:

08-23 08:12:38.895: DEBUG/GetCookieAsyncTask(19335): Will authenticate by
getting the following uri: http://.appspot.com/_ah/login?auth=

08-23 08:12:39.085: WARN/GetCookieAsyncTask(19335): The HttpResponse has
wrong status. Expected 302, got 500.
08-23 08:12:39.085: DEBUG/GetCookieAsyncTask(19335): Status code: 500
08-23 08:12:39.085: DEBUG/GetCookieAsyncTask(19335): Entity content: 
08-23 08:12:39.085: INFO/GetCookieAsyncTask(19335): Failed to obtain
authentication cookie!

--
Erlend

On Mon, Aug 22, 2011 at 8:12 PM, Ikai Lan (Google) wrote:

> Can you describe the errors you're seeing? Exceptions that are thrown, etc?
> "It doesn't work" isn't a particularly helpful error report.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com | twitter.com/ikai
>
>
>
> On Mon, Aug 22, 2011 at 7:00 AM, Erlend Hamnaberg wrote:
>
>> Hi all.
>>
>> I'm using Google appengine from Android, and have been using this [1]
>> method for auth.
>> Is there something that has changed recently? It used to work a couple of
>> weeks ago.
>> Coming back from vacation it failed to work.
>>
>> Any pointers?
>>
>>
>> 1:
>> http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
>>
>> Best regards
>>
>> Erlend
>>
>> --
>> 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/-/fS-61cGsFCsJ.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> 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, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.