Re: [appengine-java] Re: Securing cron urls / task urls using UserService and not using web.xml

2011-12-13 Thread Raphael André Bauer
On Tue, Dec 13, 2011 at 8:56 AM, andrew andrew.macken...@bcntouch.com wrote:
 Well, if Google guarantee to us that that header can never be set in
 any other external request to your app - it is a rudimentary form of
 security

is that guaranteed somewhere?

Thanks,


Raphael

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




-- 
inc: http://ars-machina.raphaelbauer.com
tech: http://ars-codia.raphaelbauer.com
web: http://raphaelbauer.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] Re: XML reading error.

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: M.W. Aruna Withanage deltaar...@gmail.com
Sender: google-appengine-java@googlegroups.com
Date: Mon, 12 Dec 2011 23:53:09 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Re: XML reading error.

Dear Simon,

Thank you for your information

On 12 December 2011 23:06, Simon Knott knott.si...@gmail.com wrote:

 Hi,

 The GAE sandbox environment is restricted from reading arbitrary files
 from the file system, just as the production environment is.  You need to
 deploy the XML as part of your web application and then load the file.

 See http://code.google.com/appengine/kb/java.html#readfile for more
 information.

 Cheers,
 Simon

 --
 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/-/t39QvGEKgkkJ.
 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] Re: XML reading error.

2011-12-13 Thread Matthew Jaggard
kwanja9...@yahoo.com can you please be more careful with your blackcurrent,
you seem to be sending blank replies to lots of messages which is really
annoying.

On 13 December 2011 09:39, kwanja9...@yahoo.com wrote:

 **
 Sent from my BlackBerry® by dtac.
 --
 *From: * M.W. Aruna Withanage deltaar...@gmail.com
 *Sender: * google-appengine-java@googlegroups.com
 *Date: *Mon, 12 Dec 2011 23:53:09 -0800
 *To: *google-appengine-java@googlegroups.com
 *ReplyTo: * google-appengine-java@googlegroups.com
 *Subject: *Re: [appengine-java] Re: XML reading error.

 Dear Simon,

 Thank you for your information

 On 12 December 2011 23:06, Simon Knott knott.si...@gmail.com wrote:

 Hi,

 The GAE sandbox environment is restricted from reading arbitrary files
 from the file system, just as the production environment is.  You need to
 deploy the XML as part of your web application and then load the file.

 See http://code.google.com/appengine/kb/java.html#readfile for more
 information.

 Cheers,
 Simon

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


-- 
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] How to create a Socket with UrlFetchService?

2011-12-13 Thread Sandro Röder
I want to create a socket like connection with UrlFetchService:

The code I want to execute with is:
java.net.Socket s=new Socket();

s.connect(new InetSocketAddress(host.com,
3000));

Does anyone knows how to do this?

Thanks
Sandro

-- 
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/-/BbfWVFhq6egJ.
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: 1.4.2: Can't make https call from dev server

2011-12-13 Thread paul ng
Hi,

I am using SDK 1.6.0 and I am still seeing this SSLHandshakeException. I am 
trying to connect to a web service using JAX-WS. Here is the causal part of 
the stack trace:

 [java] Caused by: javax.net.ssl.SSLHandshakeException: Could not 
verify SSL certificate for: 
https://ws.firstdataglobalgateway.com:443/fdggwsapi/services
 [java] at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:119)
 [java] at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:42)
 [java] at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:418)
 [java] at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:297)
 [java] at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:150)
 [java] ... 50 more

 
Has the fix been propagated to release 1.6.0?

Thanks,
- Paul 



-- 
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/-/UEBVYPty3_EJ.
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] 1.6.0 SDK logs

2011-12-13 Thread Asaf
Guys,

I've upgraded to Java SDK to 1.6.0,
I am getting about million log messages such as:

[ERROR] 2011-12-13 10:12:15.442:INFO::Logging to STDERR via
org.mortbay.log.StdErrLog
...
[ERROR] FINER: XToolkit.callTimeoutTasks(): current
time=1,323,771,110,116;  tasks=null

For some reason logs are being redirected to STDERR,
p.s - This is not happening with older versions of the SDK.

I'm executing the dev env via the GWT AppLauncher
(com.google.appengine.tools.development.gwt.AppEngineLauncher)



Thanks,

Asaf.

-- 
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] Sample Application using SOAP and webservices using Google App Engine Project

2011-12-13 Thread suresh sa
Hi,

Can anyone guide me in Creating the Sample application using JMS and
webservices, i need to send the message in a Queue and i need to
deploy and run this one in the Google App Engine.




Regards,
Suresh

-- 
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] Sample Application using SOAP and webservices using Google App Engine Project

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: suresh sa suresh@gmail.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 05:43:00 
To: Google App Engine for Javagoogle-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Sample Application using SOAP and webservices using
 Google App Engine Project

Hi,

Can anyone guide me in Creating the Sample application using JMS and
webservices, i need to send the message in a Queue and i need to
deploy and run this one in the Google App Engine.




Regards,
Suresh

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

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

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

2011-12-13 Thread Matthew Jaggard
WTF?

On 13 December 2011 14:31, kwanja9...@yahoo.com wrote:


 Sent from my BlackBerry® by dtac.

 --
 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] Re: Sample Application using SOAP and webservices using Google App Engine Project

2011-12-13 Thread Simon Knott
Hi,

Unless your JMS Queue provider supports HTTP connectivity, you will be 
unable to use JMS on GAE.

HTTP is currently the only communication protocol supported on GAE-hosted 
applications.

Cheers,
Simon

-- 
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/-/3eeT4WeYNx8J.
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] Seeing

2011-12-13 Thread John
Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing goog_92184880HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)http://code.google.com/p/googleappengine/issues/detail?id=6543
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
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] HardDeadlineExceededError repeatedly occurring before entering application code (in com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)

2011-12-13 Thread John
Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing http://goog_92184880/HardDeadlineExceededError 
repeatedly occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)http://code.google.com/p/googleappengine/issues/detail?id=6543
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/O9ViAR_9z1IJ.
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] Messages received while reconnecting a channel

2011-12-13 Thread Kyle Baley
If a channel expires every two hours, is there a chance that messages could 
get missed if they are sent while connecting to a new one?

-- 
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/-/ih8zcPb_ztYJ.
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] Seeing

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: John jwb...@gmail.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 08:40:34 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Seeing

Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing goog_92184880HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)http://code.google.com/p/googleappengine/issues/detail?id=6543
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
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] Seeing

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: kwanja9...@yahoo.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 19:31:20 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Seeing


Sent from my BlackBerry® by dtac.

-Original Message-
From: John jwb...@gmail.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 08:40:34 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Seeing

Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing goog_92184880HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)http://code.google.com/p/googleappengine/issues/detail?id=6543
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

-- 
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/-/n9lejUCdb7UJ.
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] Seeing

2011-12-13 Thread kwanja9999

Sent from my BlackBerry® by dtac.

-Original Message-
From: kwanja9...@yahoo.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 19:37:18 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Seeing


Sent from my BlackBerry® by dtac.

-Original Message-
From: kwanja9...@yahoo.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 19:31:20 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: Re: [appengine-java] Seeing


Sent from my BlackBerry® by dtac.

-Original Message-
From: John jwb...@gmail.com
Sender: google-appengine-java@googlegroups.com
Date: Tue, 13 Dec 2011 08:40:34 
To: google-appengine-java@googlegroups.com
Reply-To: google-appengine-java@googlegroups.com
Subject: [appengine-java] Seeing

Just logged an issue where the the Java thread seems to be getting killed 
before it runs any application code. 

Anyone else seeing goog_92184880HardDeadlineExceededError repeatedly 
occurring before entering application code (in 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler)http://code.google.com/p/googleappengine/issues/detail?id=6543
?

We haven't figured out exactly when this started, but it seems to have 
become fairly frequent in our app beginning around 07:00PT on 13 December.

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


-- 
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] ConcurrentModificationException question

2011-12-13 Thread coltsith
I recently got a ConcurrentModificationException, and the
documentation states that this will be committed and eventually will
be applied successfully. However I got to thinking of a possible
outcome:

Request A modifies entity
Request B modifies entity and receives ConcurrentModificationException
D
Request E modifies entity
ConcurrentModificationException D commits and is applied, which
overwrites Request E's work.

Can this happen? Or does Request E get its own
ConcurrentModificationException since (D) hasn't been committed yet?

Many 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] Does a new front end instance class allow for a larger Java XMX Heap Size?

2011-12-13 Thread Scott Murphy
If I choose a larger instance class, will it give me a larger Heap?  I 
tried this with a back end and found that I could not use the extra memory 
because the heap still stayed pretty small and my app would throw 
OutOfMemory exceptions when I got to around 256MB

-- 
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/-/QXUrumbE-dwJ.
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] Master/Slave - High Replication migration experience

2011-12-13 Thread Ikai Lan (Google)
Kyle,

Oy, I wish you had posted earlier. We've shipped a new migration tool as
part of 1.6.1 that doesn't use datastore admin to do the copies.

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



On Sun, Dec 11, 2011 at 6:38 PM, Kyle Baley k...@baley.org wrote:

 I went through a Master/Slave - High Replication migration over the
 weekend and it didn't go well. Hoping I can get some info on if we did
 anything wrong but mostly wanted to relay the experience for others.

 I did a couple of test migrations the week before, running the migration
 tool through to the end and reverting at the last create alias step. I
 also ran through the process in its entirety with our staging and build
 environments. It always ran smoothly

 (Note the use of the ellipsis above. It's what legitimate journalists
 refer to as foreshadowing. Or possibly foreboding.)

 First hurdle: When it came time to start the migration, the Datastore
 Admin tool didn't appear in the console for the destination. Normally, I'm
 used to it not showing up in Chrome but this time, it was blank in Firefox
 too. IE showed a generic HTTP error page. I needed it so I could clear out
 the data from the destination leftover from previous migration tests. I had
 already deployed the same version of the app that was currently in the
 Master/Slave version.

 Eventually, I looked at the source of the admin console and found the URL
 for the iframe it used and launched it directly in Firefox. It was confused
 which of the three active Google accounts I regular use should be logged in
 so I chose the correct one and carried on, deleting the existing data.

 Next, I launched the migration tool. It hung on the Copy phase (the second
 step). I let it go for about half an hour. (During my trial runs, it took
 less than ten minutes.)

 So I reverted and went back to the Datastore Admin tool (which now
 appeared properly in the Admin Console, at least in Firefox) and deleted
 all the data. I went to the Datastore Viewer to verify and could not access
 it. I received a 500 Server Error with a link to report the error on this
 group. (Incidentally, I am not a big 
 fanhttp://codebetter.com/kylebaley/2011/04/25/google-ui-faux-pas-or-how-to-show-love-hillbilly-styleof
  the new Google Groups, especially for AppEngine which has three to
 choose from)

 I relied on the Datastore Admin tool to tell me that the data had been
 cleared and tried the migration again. Once again, it hung on the copy
 phase, this time for almost an hour before I reverted. While it was doing
 its thing, I checked the Datastore Admin tool on the destination and almost
 from the start, it showed entity totals that were *almost* as high as the
 source. But they didn't move during the entire time I waited. I suspect it
 was reporting on old data.

 After reverting, I gave up on the migration tool. Before starting the
 whole process, I had done the following:
 - Switched the source app to a maintenance version that redirects all
 traffic to a maintenance page (and if a user is already running the app,
 the page is refreshed to show the maintenance page).
 - Backed up the data

 So I restored the backup to the HR app and all seems to be running
 smoothly on it. The source doesn't have an alias to the new app but I
 didn't intend to use one anyway.

 That's my migration experience. The app is up and running now and we just
 barely did it under our budget thanks to all the database reads and writes.
 An app that normally costs us about ten cents a day cost us almost $4.00
 last night.

 In summary, the major parts I'm not happy with:
 - Datastore Admin page not showing up in any browser
 - The migration tool apparently not working. (There's a chance it was
 actually doing something and I reverted prematurely but my earlier test
 runs suggest something went wrong.)
 - 500 Server Error on the destination's Datastore Viewer. Furthermore, it
 seems unprofessional to direct support to a Google Group for a paid
 application.

 The 40x cost increase for the migration I'm okay with. Four dollars still
 isn't a lot of money. That said, I'm not sure what I would have done had we
 reached our budget. I'm not the billing administrator for either app.

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

[appengine-java] Re: Sample Application using SOAP and webservices using Google App Engine Project

2011-12-13 Thread Chandana Napagoda
Hi Suresh,

Here is Guide which provide details explanation.
http://code.google.com/appengine/articles/soap.html


Cheers,
Chandana

On Dec 13, 8:12 pm, Simon Knott knott.si...@gmail.com wrote:
 Hi,

 Unless your JMS Queue provider supports HTTP connectivity, you will be
 unable to use JMS on GAE.

 HTTP is currently the only communication protocol supported on GAE-hosted
 applications.

 Cheers,
 Simon

-- 
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: Securing cron urls / task urls using UserService and not using web.xml

2011-12-13 Thread BoulderGae
I just had this discussion with well connected people at Google.  That
is the guarantee that they gave us (a very large visible GAE
implementation) and we (and they) are banking on it.  I have suggested
a change to their documentation to explicitly state such a guarantee.
Test it for yourself.  One exception to that seems to be that you can
manually add that header to requests that originate from a task
queue.  But that is under our control, so we don't see it as a
significant security problem.

scott

On Dec 13, 1:08 am, Raphael André Bauer
raphael.andre.ba...@gmail.com wrote:
 On Tue, Dec 13, 2011 at 8:56 AM, andrew andrew.macken...@bcntouch.com wrote:
  Well, if Google guarantee to us that that header can never be set in
  any other external request to your app - it is a rudimentary form of
  security

 is that guaranteed somewhere?

 Thanks,

 Raphael



  --
  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 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

 --
 inc:http://ars-machina.raphaelbauer.com
 tech:http://ars-codia.raphaelbauer.com
 web:http://raphaelbauer.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.



[appengine-java] How to use WSGEN to Generate WSDL File

2011-12-13 Thread suresh sa
Hi,
 
Can some one guide in JAX-WS tool wsgen to generate a WSDL file and the 
JAX-B POJOs that will be of use to us in our SOAP server. So that i ll 
helps us for creating the client application to be created automatically 
for the server.
 
 
 
Regards,
Suresh

-- 
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/-/MrqrdA4YejwJ.
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: Sample Application using SOAP and webservices using Google App Engine Project

2011-12-13 Thread suresh sa
hi,
 
can u tell me how to use WSGEN to generate the Client codes i am new to 
Google app Engine and is i need to download some other software to use WSGEN
 
 
Regards,
Suresh

-- 
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/-/2M77BDb-0zQJ.
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: Master/Slave - High Replication migration experience

2011-12-13 Thread andrew
Ikai,

Any additional information available on the features of this new tool?

Specifically,  support for copying all/multiple namespaces from one
datastore to another...

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.



Re: [appengine-java] Re: Securing cron urls / task urls using UserService and not using web.xml

2011-12-13 Thread Raphael André Bauer
On Wed, Dec 14, 2011 at 5:49 AM, BoulderGae sc...@scmlabs.com wrote:
 I just had this discussion with well connected people at Google.  That
 is the guarantee that they gave us (a very large visible GAE
 implementation) and we (and they) are banking on it.  I have suggested
 a change to their documentation to explicitly state such a guarantee.
 Test it for yourself.  One exception to that seems to be that you can
 manually add that header to requests that originate from a task
 queue.  But that is under our control, so we don't see it as a
 significant security problem.

Okay - if the container can guarantee that no outside request can set
the header - that would be perfect..

I'll examine that a bit - and it would be great if that guarantee
would be quoted in the docs.


Thanks a lot for that information!


Best,


Raphael


 scott

 On Dec 13, 1:08 am, Raphael André Bauer
 raphael.andre.ba...@gmail.com wrote:
 On Tue, Dec 13, 2011 at 8:56 AM, andrew andrew.macken...@bcntouch.com 
 wrote:
  Well, if Google guarantee to us that that header can never be set in
  any other external request to your app - it is a rudimentary form of
  security

 is that guaranteed somewhere?

 Thanks,

 Raphael



  --
  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 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

 --
 inc:http://ars-machina.raphaelbauer.com
 tech:http://ars-codia.raphaelbauer.com
 web:http://raphaelbauer.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.




-- 
inc: http://ars-machina.raphaelbauer.com
tech: http://ars-codia.raphaelbauer.com
web: http://raphaelbauer.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.