[appengine-java] Unable to use datastore viewer

2011-02-02 Thread Alok
As soon as I click on the link Datastore Viewer I get the error

Server Error
A server error has occurred.

Return to Applications screen »



This has been happening consistently for the past month even thought
the datastore operations themselves are working fine. Is this a known
issue?

Regards
Alok

-- 
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: Unable to use datastore viewer

2011-02-02 Thread Alok
The same issue when I use Datastore Statistics and try to display
statistics for a particular entity instead of All Entities. (I have
two different kinds of entities).
Please let me know if you have a solution to this problem.

On 2 फरवरी, 14:18, आलोक (Alok) alok.ku...@gmail.com wrote:
 As soon as I click on the link Datastore Viewer I get the error

 Server Error
 A server error has occurred.

 Return to Applications screen »

 This has been happening consistently for the past month even thought
 the datastore operations themselves are working fine. Is this a known
 issue?

 Regards
 Alok

-- 
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: Unable to use datastore viewer

2011-02-02 Thread Didier Durand
Hi,

You may want to check the advice of this thread:
http://groups.google.com/group/google-appengine/browse_thread/thread/5904be533ce86355/7db9e9f6484694c7

i.e., check if your datastore is empty else empty it (if possible)
See also bottom of if (null email address, etc...)

Did you check the logs for you app: do you get any additional details
there ? Please, post them here if any

regards

didier



On Feb 2, 10:20 am, आलोक (Alok) alok.ku...@gmail.com wrote:
 The same issue when I use Datastore Statistics and try to display
 statistics for a particular entity instead of All Entities. (I have
 two different kinds of entities).
 Please let me know if you have a solution to this problem.

 On 2 फरवरी, 14:18, आलोक (Alok) alok.ku...@gmail.com wrote:

  As soon as I click on the link Datastore Viewer I get the error

  Server Error
  A server error has occurred.

  Return to Applications screen »

  This has been happening consistently for the past month even thought
  the datastore operations themselves are working fine. Is this a known
  issue?

  Regards
  Alok



-- 
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: saxon on the GAE

2011-02-02 Thread Pierre
List, 

It appears that If you remove SAXONICA.SF and SAXONICA.RSA from the META-INF 
folder of the jar, it actually works. This may be relevant for other signed 
libraries...

All the best, 
Pierre 

-- 
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] High Replication - Slow MemCache?

2011-02-02 Thread Simon Knott
I've just been playing around with an application and trying to
determine whether to go with High Replication or Master/Slave and the
biggest issue I'm seeing at the moment is that MemCache is much, much
slower!

Is there a difference in MemCache for HR applications that I'm not
aware of?  Exactly the same MemCache operation with the same
serialized data is taking anywhere between 3-8 times slower on the HR
application.

From an example hit:

Master/Slave:
@1ms memcache.Get real=3ms api=0ms
@5ms memcache.Get real=2ms api=0ms
@8ms memcache.Get real=3ms api=0ms
@35ms memcache.Set real=4ms api=0ms
@80ms memcache.Set real=4ms api=0ms
@84ms memcache.Set real=4ms api=0ms

High Replication:
@3ms memcache.Get real=28ms api=0ms
@32ms memcache.Get real=7ms api=0ms
@41ms memcache.Get real=11ms api=0ms
@175ms memcache.Set real=14ms api=0ms
@249ms memcache.Set real=28ms api=0ms
@278ms memcache.Set real=17ms api=0ms

-- 
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: Just getting started with Datastore

2011-02-02 Thread David Sowerby
Matt

No problem - I think most of us have been there!

On Feb 2, 3:17 am, Matt Reeves mattr...@gmail.com wrote:
 Thanks David (and thanks all), that is a good intro.  I think the light bulb
 just went off in my head that there is no requirement that you define how an
 Entity and its properties should look.  Two entities can be of the same kind
 but look completely different (which would likely be pointless to have any
 useful queries).  I was just having a hard time unlocking my brain from the
 relational db world... all the explanation was spelled out right in front of
 me, just took a few nights to sink in.

 Thanks again.

-- 
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: AWS competition

2011-02-02 Thread hector@ISB
Actually, I was looking at that recently.  I plan to deploy some war
files out there to see how the process compares, but my experience
thus far with AWS has been that you need to do a lot of the heavy
lifting to get apps running and available to the public... That's one
of the things I really like about GAE, you can turn on and go so
quickly.

On Jan 26, 9:49 pm, Andrei gml...@gmail.com wrote:
 Has anybody looked at AWS Elastic 
 Beanstalk?http://aws.amazon.com/elasticbeanstalk/
 What do you think

-- 
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: Servlet Filter on non-Servlet resource

2011-02-02 Thread hector@ISB
I'm also heavily using Servlet filters... are you asking because you
can't get it to work?  or because there's no examples?

what i've had a bit of trouble with is the security-constraint tag
on web.xml... there seems to be some unexpected behavior but I haven't
debugged it thoroughly.

On Jan 28, 1:45 am, andrew aute...@gmail.com wrote:
 We are using servlet filters without any problem on app-engine for
 logging and authentication of servlet.

 The servlet filter spec states they can be applied to any resource,
 i.e. including html pages etc.

 I have tried this on app engine without success, and when looking at
 the app engine docs 
 (herehttp://code.google.com/intl/en/appengine/docs/java/config/webxml.html...)
 it just mentions and shows examples of servlets.

 Is this just an omission of the text, and no example for that?

 In appengine, can I apply servlet filters to a url (single or with a
 pattern).

-- 
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] HTTP ERROR: 404 whenever i run the default code in eclipse

2011-02-02 Thread abhishek
hi,
I just installed eclipse + java app engine for eclipse, and created a
new project, this has some default files,
i tried to run the project and then if i browse this link:

http://localhost:/strutsgae2


strutsgae2 is the name of the project
i get the 404 error , i dont understand why is the Hello world code
not working for me,
i tried configuring the web.xml file which looks fine to me, but still
cannt get through,
Pl. help,


Also there is another problem, whenever i try to close eclipse i see a
process DataNucleus enhancer in process list of eclipse and this dont
allow the eclipe to close, i have to forcifully close,\

I am on windows, eclipse ganymede.

Anticipating early replies.
thanks
abhishek

-- 
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] Google Voice + App Engine (Java)

2011-02-02 Thread lovegoogle
Hello All,

I tried using google voice within App Engine and it fails to execute
because of the custom Security Manager that App Engine uses.
From the stack trace, it looks like it is failing during the Http
Connection it needs to make to send SMS.
My goal is to use SMS feature within my application.

I tried running the same code outside of App Engine runtime, using
just my JDK as a console app and it works fine.
The restriction is imposed by App Engine.

Is there any way to get around it or Google Voice is a no no within
App Engine.
I would assume that Google Voice is a trusted code since its part of
google APIs.

Any pointers will really help me...Thanks.

Sinu

Here is the code
-
try
{
log.info(going to log in);
Voice voice = new Voice(email, password);
log.info(logged in);
voice.sendSMS(phonenum, message);
log.info(sms sent);
return true;
}
catch(Exception e)
{
e.printStackTrace();
return false;
}
-


Here is the stack trace..

-
going to log in
https://www.google.com/accounts/ClientLogin - OK
Logged in to Google - Auth token received
java.security.AccessControlException: access denied
(java.lang.RuntimePermission setFactory)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
at
java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
at java.lang.SecurityManager.checkSetFactory(SecurityManager.java:
1612)
at
java.net.HttpURLConnection.setFollowRedirects(HttpURLConnection.java:
249)
at com.techventus.server.voice.Voice.get(Voice.java:1144)
at com.techventus.server.voice.Voice.getGeneral(Voice.java:361)
at com.techventus.server.voice.Voice.init(Voice.java:262)
at com.techventus.server.voice.Voice.init(Voice.java:211)
at
com.sinusekhar.cloudapps.zumba.dao.MobileDAO.sendSMS(MobileDAO.java:
15)
at org.apache.jsp.zumba.jsp.play_jsp._jspService(play_jsp.java:64)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
377)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at com.google.appengine.tools.development.PrivilegedJspServlet.access
$101(PrivilegedJspServlet.java:23)
at com.google.appengine.tools.development.PrivilegedJspServlet
$2.run(PrivilegedJspServlet.java:59)
at java.security.AccessController.doPrivileged(Native Method)
at
com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:
57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
58)
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
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
122)
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.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at 

[appengine-java] Re: GWT wrapper for the client side (javascript) Channel API

2011-02-02 Thread jgranie
Hi,
yes, with this new jar and the new sample on the wiki it works and I
receive the correct message.
Thank you very much

On 31 jan, 20:29, BB buchholz.bast...@googlemail.com wrote:
 Hi,

 Please try downloading the 
 gwt-gae-channelhttp://code.google.com/p/gwt-gae-channel/
  again.
 There were some bugs which are now 
 fixedhttp://code.google.com/p/gwt-gae-channel/issues/list?can=1q=status=F...
  so
 maybe it will work now.

 You should see at least that the onOpen breakpoint is getting called.

-- 
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] Failed to load resource: the server responded with a status of 404 (Not Found) %.nocache.js

2011-02-02 Thread Mursyidien Mohamad
I WANT TO UNSUBSRIBE

On Thu, 30 Dec 2010 01:12 MYT Miguel Angel De la Torre Mart?nez wrote:

Hello.

I been working on an application using GWT, Servlets, GWT-RPC and Mysql. Now 
I'm experimenting with the App Engine but it's been a struggle.

I copied all my model data classes to a blank project and copied only the 
splash window GUI clases, it compiles and runs OK locally on developer mode.

I deployed it to the App Engine and the only thing I got is the default page 
to serve wich is a plain gray background. I should mention that all of the 
UI of my app si dynamic.

After further research i found that in the javascript console I got the 
error  Failed to load resource: the server responded with a status of 404 
(Not Found) %.nocache.js. So that's the reason why the rest of the UI 
doesn't show but how should i fix this issue.

I know that this may be a novice question but I been struggling for a while 
so I don't know what else to try.

best regards

-- 
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] HTTP ERROR: 404 whenever i run the default code in eclipse

2011-02-02 Thread Ing. Ronmell Fuentes
Hi, a bit of more information would be very helpful to reply you.

can you paste the output here and your web.xml?

cheers.

Ronmell F.

On Wed, Feb 2, 2011 at 6:29 AM, abhishek abhishek.netj...@gmail.com wrote:

 hi,
 I just installed eclipse + java app engine for eclipse, and created a
 new project, this has some default files,
 i tried to run the project and then if i browse this link:

 http://localhost:/strutsgae2


 strutsgae2 is the name of the project
 i get the 404 error , i dont understand why is the Hello world code
 not working for me,
 i tried configuring the web.xml file which looks fine to me, but still
 cannt get through,
 Pl. help,


 Also there is another problem, whenever i try to close eclipse i see a
 process DataNucleus enhancer in process list of eclipse and this dont
 allow the eclipe to close, i have to forcifully close,\

 I am on windows, eclipse ganymede.

 Anticipating early replies.
 thanks
 abhishek

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
*-Information Technologies Engineering-*
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.com/

-- 
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] High Replication - Slow MemCache?

2011-02-02 Thread Ikai Lan (Google)
Memcache should not be slower since Memcache behavior should not have
changed. Let me find out for you. Do you have any more details about what
you are doing in these calls (not that it should matter)?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Feb 2, 2011 at 9:18 AM, Simon Knott knott.si...@gmail.com wrote:

 I've just been playing around with an application and trying to
 determine whether to go with High Replication or Master/Slave and the
 biggest issue I'm seeing at the moment is that MemCache is much, much
 slower!

 Is there a difference in MemCache for HR applications that I'm not
 aware of?  Exactly the same MemCache operation with the same
 serialized data is taking anywhere between 3-8 times slower on the HR
 application.

 From an example hit:

 Master/Slave:
 @1ms memcache.Get real=3ms api=0ms
 @5ms memcache.Get real=2ms api=0ms
 @8ms memcache.Get real=3ms api=0ms
 @35ms memcache.Set real=4ms api=0ms
 @80ms memcache.Set real=4ms api=0ms
 @84ms memcache.Set real=4ms api=0ms

 High Replication:
 @3ms memcache.Get real=28ms api=0ms
 @32ms memcache.Get real=7ms api=0ms
 @41ms memcache.Get real=11ms api=0ms
 @175ms memcache.Set real=14ms api=0ms
 @249ms memcache.Set real=28ms api=0ms
 @278ms memcache.Set real=17ms api=0ms

 --
 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.comgoogle-appengine-java%2bunsubscr...@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: Just getting started with Datastore

2011-02-02 Thread Ikai Lan (Google)
Yep, entities are schemaless. This is both powerful and a bit of a mismatch
to Java's type system. We've all become very used to thinking in terms of
types. A little too much sometimes, in my opinion.

Objectify's documentation is really amazing. I've been considering pulling a
Bing and copy-pasting his intro into our official docs.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Feb 2, 2011 at 9:59 AM, David Sowerby david.sowe...@virgin.netwrote:

 Matt

 No problem - I think most of us have been there!

 On Feb 2, 3:17 am, Matt Reeves mattr...@gmail.com wrote:
  Thanks David (and thanks all), that is a good intro.  I think the light
 bulb
  just went off in my head that there is no requirement that you define how
 an
  Entity and its properties should look.  Two entities can be of the same
 kind
  but look completely different (which would likely be pointless to have
 any
  useful queries).  I was just having a hard time unlocking my brain from
 the
  relational db world... all the explanation was spelled out right in front
 of
  me, just took a few nights to sink in.
 
  Thanks again.

 --
 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.comgoogle-appengine-java%2bunsubscr...@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: Just getting started with Datastore

2011-02-02 Thread JT
Pulling a bing? Lol hope everyone understand what that means.

I am happy with jpa so far, makes my life easy to write codes that is
portable to hibernate/relational. The only thing that could be better is
the fact that I have to use Key as primary key in child entity.

J
On Feb 2, 2011 4:01 PM, Ikai Lan (Google)
ikai.l+gro...@google.comikai.l%2bgro...@google.com
wrote:

-- 
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: Just getting started with Datastore

2011-02-02 Thread Jeff Schnitzer
Awww, bush

You have my permission, if you want to it...

Jeff

On Wed, Feb 2, 2011 at 1:01 PM, Ikai Lan (Google)
ikai.l+gro...@google.com wrote:
 Yep, entities are schemaless. This is both powerful and a bit of a mismatch
 to Java's type system. We've all become very used to thinking in terms of
 types. A little too much sometimes, in my opinion.
 Objectify's documentation is really amazing. I've been considering pulling a
 Bing and copy-pasting his intro into our official docs.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger: http://googleappengine.blogspot.com
 Reddit: http://www.reddit.com/r/appengine
 Twitter: http://twitter.com/app_engine


 On Wed, Feb 2, 2011 at 9:59 AM, David Sowerby david.sowe...@virgin.net
 wrote:

 Matt

 No problem - I think most of us have been there!

 On Feb 2, 3:17 am, Matt Reeves mattr...@gmail.com wrote:
  Thanks David (and thanks all), that is a good intro.  I think the light
  bulb
  just went off in my head that there is no requirement that you define
  how an
  Entity and its properties should look.  Two entities can be of the same
  kind
  but look completely different (which would likely be pointless to have
  any
  useful queries).  I was just having a hard time unlocking my brain from
  the
  relational db world... all the explanation was spelled out right in
  front of
  me, just took a few nights to sink in.
 
  Thanks again.

 --
 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.



[appengine-java] Incoming Email - DKIM Verification needs AE-support/whitelisting-DNS-lookup

2011-02-02 Thread agks mehx
I believe, as of today, apps cannot perform DKIM verification for incoming 
email.  This is a big problem due to potential for Denial of Service (or run 
up the bill sky high since AE can scale).

Please let me know if you think there is a way to do this today -- I believe 
the DNS lookup cannot be performed.

If I am right, please add this support to AppEngine expediently!  Thanks.

-- 
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: AWS competition

2011-02-02 Thread RDS

Elastic Beanstalk is also PaaS like App Engine. Beanstalk is not IaaS
like traditional AWS/EC2, so the infrastructure configuration 
management aspects are removed from the developer. So far, App Engine
has some features that I like, and it has a few years of maturity
behind it, so I'll let others get burnt on Beanstalk and listen to the
horror stories :-)


On Feb 2, 1:19 pm, hector@ISB hrovira@gmail.com wrote:
 Actually, I was looking at that recently.  I plan to deploy some war
 files out there to see how the process compares, but my experience
 thus far with AWS has been that you need to do a lot of the heavy
 lifting to get apps running and available to the public... That's one
 of the things I really like about GAE, you can turn on and go so
 quickly.

 On Jan 26, 9:49 pm, Andrei gml...@gmail.com wrote:

  Has anybody looked at AWS Elastic 
  Beanstalk?http://aws.amazon.com/elasticbeanstalk/
  What do you think

-- 
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: Just getting started with Datastore

2011-02-02 Thread WillSpecht
Can you elaborate on pulling a Bing.

On Feb 2, 4:01 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 Yep, entities are schemaless. This is both powerful and a bit of a mismatch
 to Java's type system. We've all become very used to thinking in terms of
 types. A little too much sometimes, in my opinion.

 Objectify's documentation is really amazing. I've been considering pulling a
 Bing and copy-pasting his intro into our official docs.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger:http://googleappengine.blogspot.com
 Reddit:http://www.reddit.com/r/appengine
 Twitter:http://twitter.com/app_engine

 On Wed, Feb 2, 2011 at 9:59 AM, David Sowerby david.sowe...@virgin.netwrote:

  Matt

  No problem - I think most of us have been there!

  On Feb 2, 3:17 am, Matt Reeves mattr...@gmail.com wrote:
   Thanks David (and thanks all), that is a good intro.  I think the light
  bulb
   just went off in my head that there is no requirement that you define how
  an
   Entity and its properties should look.  Two entities can be of the same
  kind
   but look completely different (which would likely be pointless to have
  any
   useful queries).  I was just having a hard time unlocking my brain from
  the
   relational db world... all the explanation was spelled out right in front
  of
   me, just took a few nights to sink in.

   Thanks again.

  --
  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.comgoogle-appengine-java%2bunsubscr...@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: Just getting started with Datastore

2011-02-02 Thread Stephen Johnson
http://online.wsj.com/article/SB10001424052748704124504576118510340787364.html

On Wed, Feb 2, 2011 at 10:34 PM, WillSpecht willspe...@gmail.com wrote:

 Can you elaborate on pulling a Bing.

 On Feb 2, 4:01 pm, Ikai Lan (Google) 
 ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
 wrote:
  Yep, entities are schemaless. This is both powerful and a bit of a
 mismatch
  to Java's type system. We've all become very used to thinking in terms of
  types. A little too much sometimes, in my opinion.
 
  Objectify's documentation is really amazing. I've been considering
 pulling a
  Bing and copy-pasting his intro into our official docs.
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger:http://googleappengine.blogspot.com
  Reddit:http://www.reddit.com/r/appengine
  Twitter:http://twitter.com/app_engine
 
  On Wed, Feb 2, 2011 at 9:59 AM, David Sowerby david.sowe...@virgin.net
 wrote:
 
   Matt
 
   No problem - I think most of us have been there!
 
   On Feb 2, 3:17 am, Matt Reeves mattr...@gmail.com wrote:
Thanks David (and thanks all), that is a good intro.  I think the
 light
   bulb
just went off in my head that there is no requirement that you define
 how
   an
Entity and its properties should look.  Two entities can be of the
 same
   kind
but look completely different (which would likely be pointless to
 have
   any
useful queries).  I was just having a hard time unlocking my brain
 from
   the
relational db world... all the explanation was spelled out right in
 front
   of
me, just took a few nights to sink in.
 
Thanks again.
 
   --
   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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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: Incoming Email - DKIM Verification needs AE-support/whitelisting-DNS-lookup

2011-02-02 Thread Peter Ondruska
Is there issue for this? I would love to star it!

-- 
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: Incoming Email - DKIM Verification needs AE-support/whitelisting-DNS-lookup

2011-02-02 Thread agks mehx
I don't know how to create an issue.  If there is one, I would also like to
star it.

On Wed, Feb 2, 2011 at 8:43 PM, Peter Ondruska peter.ondru...@gmail.comwrote:

 Is there issue for this? I would love to star it!

 --
 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.comgoogle-appengine-java%2bunsubscr...@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] Google Voice + App Engine (Java)

2011-02-02 Thread Fabrizio Accatino
I think your lib uses not whitelisted java API or blocked java API
   java.security.AccessControlException: access denied
(java.lang.RuntimePermission
setFactory)


Following your stacktrace the problem comes from
java.net.HttpURLConnection.setFollowRedirect
The method is called by
com.techventus.server.voice.Voice.get(Voice.java:1144)
I searched using Google... is this your lib?
http://code.google.com/p/google-voice-java  ?

If yes, download the latest source code and compile it. The latest version
of Voice.java does not contain the call to
java.net.HttpURLConnection.setFollowRedirect.
It was replaced some revisions ago.
http://code.google.com/p/google-voice-java/source/diff?spec=svn137old=115r=135format=sidepath=/trunk/src/com/techventus/server/voice/Voice.java
http://code.google.com/p/google-voice-java/source/browse/trunk/src/com/techventus/server/voice/Voice.java

The jar in the download area was not updated. So you need to download the
source code and compile it by yourself.


   Fabrizio




On Wed, Feb 2, 2011 at 5:34 PM, lovegoogle sinusek...@gmail.com wrote:

 Hello All,

 I tried using google voice within App Engine and it fails to execute
 because of the custom Security Manager that App Engine uses.
 From the stack trace, it looks like it is failing during the Http
 Connection it needs to make to send SMS.
 My goal is to use SMS feature within my application.

 I tried running the same code outside of App Engine runtime, using
 just my JDK as a console app and it works fine.
 The restriction is imposed by App Engine.

 Is there any way to get around it or Google Voice is a no no within
 App Engine.
 I would assume that Google Voice is a trusted code since its part of
 google APIs.

 Any pointers will really help me...Thanks.

 Sinu

 Here is the code
 -
try
{
log.info(going to log in);
Voice voice = new Voice(email, password);
log.info(logged in);
voice.sendSMS(phonenum, message);
log.info(sms sent);
return true;
}
catch(Exception e)
{
e.printStackTrace();
return false;
}
 -


 Here is the stack trace..

 -
 going to log in
 https://www.google.com/accounts/ClientLogin - OK
 Logged in to Google - Auth token received
 java.security.AccessControlException: access denied
 (java.lang.RuntimePermission setFactory)
at

 java.security.AccessControlContext.checkPermission(AccessControlContext.java:
 323)
at
 java.security.AccessController.checkPermission(AccessController.java:
 546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
 532)
at com.google.appengine.tools.development.DevAppServerFactory
 $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
at java.lang.SecurityManager.checkSetFactory(SecurityManager.java:
 1612)
at
 java.net.HttpURLConnection.setFollowRedirects(HttpURLConnection.java:
 249)
at com.techventus.server.voice.Voice.get(Voice.java:1144)
at com.techventus.server.voice.Voice.getGeneral(Voice.java:361)
at com.techventus.server.voice.Voice.init(Voice.java:262)
at com.techventus.server.voice.Voice.init(Voice.java:211)
at
 com.sinusekhar.cloudapps.zumba.dao.MobileDAO.sendSMS(MobileDAO.java:
 15)
at org.apache.jsp.zumba.jsp.play_jsp._jspService(play_jsp.java:64)
at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
 377)
at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
 313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at
 com.google.appengine.tools.development.PrivilegedJspServlet.access
 $101(PrivilegedJspServlet.java:23)
at com.google.appengine.tools.development.PrivilegedJspServlet
 $2.run(PrivilegedJspServlet.java:59)
at java.security.AccessController.doPrivileged(Native Method)
at

 com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:
 57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
 511)
at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1166)
at

 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
 58)
at 

[appengine-java] Re: Incoming Email - DKIM Verification needs AE-support/whitelisting-DNS-lookup

2011-02-02 Thread Didier Durand
Hi,

I would also star such an issue

To open it, go to http://code.google.com/p/googleappengine/issues/list
and click on new issue, then describe.

Let us know when done so that we can star it
regards
didier

On Feb 3, 7:45 am, agks mehx agksm...@gmail.com wrote:
 I don't know how to create an issue.  If there is one, I would also like to
 star it.

 On Wed, Feb 2, 2011 at 8:43 PM, Peter Ondruska 
 peter.ondru...@gmail.comwrote:

  Is there issue for this? I would love to star it!

  --
  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.comgoogle-appengine-java%2bunsubscr...@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] UrlFecth: random java.io.IOException: Could not fetch URL: http://...myurl...

2011-02-02 Thread Fabrizio Accatino
I have a recurring task that get content from various urls on different
hosts.
On some urls I get random IOException:
  java.io.IOException: Could not fetch URL: http://...myurl...

On one url the failure rate is about 1 / 10.  But it's not regular.
On another url the rate is lower:  1/100.
Other urls work without errors.


The errors are not timeout-related. When UrlFetch encounters a timeout it
throws an exception with a different message:
  java.io.IOException: Timeout while fetching: http://...myurl...


Suggestions?


Fabrizio

-- 
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: UrlFecth: random java.io.IOException: Could not fetch URL: http://...myurl...

2011-02-02 Thread Didier Durand
Hi,

1 possibility that I see: you fetch a page with a variable length (i.e
dynamically generated over time: RSS stream, twitter feed, etc...) and
sometimes the length is over the URL fetch service limit - exception

See text at end of 
http://code.google.com/appengine/docs/java/urlfetch/overview.html#Responses

regards

didier

On Feb 3, 8:23 am, Fabrizio Accatino fht...@gmail.com wrote:
 I have a recurring task that get content from various urls on different
 hosts.
 On some urls I get random IOException:
   java.io.IOException: Could not fetch URL:http://...myurl...

 On one url the failure rate is about 1 / 10.  But it's not regular.
 On another url the rate is lower:  1/100.
 Other urls work without errors.

 The errors are not timeout-related. When UrlFetch encounters a timeout it
 throws an exception with a different message:
   java.io.IOException: Timeout while fetching:http://...myurl...

 Suggestions?

 Fabrizio

-- 
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.