[google-appengine] Use XRebel with Google App Engine Devserver

2018-04-27 Thread xybrek
Since GAE Devserver is (for I know) is Jetty, would it be possible to 
modify it's launch parameters to be able to run 
XRebel? http://manuals.zeroturnaround.com/xrebel/install/index.html#jettycli

XRebel is a very valuable tool to monitor, profile and debug apps--so I 
might be really good to be able to run it on GAE, however it seems there's 
no easy way around it, 
Any comments? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/328cd61b-2c56-43cb-bf05-b84ec645e835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Disable TLS/SSL check in Google App Engine - Java

2018-04-27 Thread xybrek
Hello, yes in fact the problem was solved when the JVM got upgraded to Java 
8. Thanks for the answer.

On Tuesday, April 24, 2018 at 8:16:30 PM UTC, Katayoon (Cloud Platform 
Support) wrote:
>
> Apparently, this issue is caused by Java 7 itself only using TLS v1 by 
> default, and you need to explicitly enable v1.2 (JDK 8 uses TLS 1.2 by 
> default 
> <https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default>).
>  
> This behavior is noted by PayPal on GitHub 
> <https://github.com/paypal/tls-update>.  
>
> This issue is already reported in the public tracker 
> <https://issuetracker.google.com/35900204>, with a mentioned workaround 
> in Stack Overflow 
> <https://stackoverflow.com/questions/35878293/force-tls-1-0-on-appengine-local-development-server-in-java/36119342>,
>  
> though I have not had the opportunity to test this workaround. For further 
> support on this issue, I encourage you to star Issue 35900204 
> <https://issuetracker.google.com/35900204> and put your comment there 
> since Google Groups are reserved for general product discussions and are 
> not for reporting issues.
>
> PS. I should also note that Java 7 runtime support 
> <https://cloud.google.com/appengine/docs/deprecations/java7> was 
> deprecated on December 13, 2017, and will be shut down entirely on January 
> 16, 2019. So I recommend to migrate from Java 7 to Java 8 Runtime by 
> following this guide 
> <https://cloud.google.com/appengine/docs/standard/java/migrating-to-java8>. 
>
>
>
>
> On Monday, April 23, 2018 at 5:59:37 PM UTC-4, xybrek wrote:
>>
>> My app is getting this error when accessing a HTTPS resource:
>>
>> javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate 
>> for URL: https://some.where/
>> at 
>> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:175)
>> at 
>> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:45)
>> at 
>> com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:543)
>> at 
>> com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:422)
>> at 
>> com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:275)
>>
>> What can be done so GAE would not check of SSL since in my current 
>> purpose for the app, it does not care if it connects via HTTP or HTTPS, so 
>> in my case I just want to disable SSL check.
>>
>> I am running the application from Windows (Linux does not throw  the 
>> error above)
>>
>> Already I have modifiied the *dev_appserver.cmd* like this:
>>
>> java -Ddeployment.security.TLSv1.1=false 
>> -Ddeployment.security.TLSv1.2=false -cp 
>> "%~dp0\..\lib\appengine-tools-api.jar" ^
>> com.google.appengine.tools.KickStart ^
>>com.google.appengine.tools.development.DevAppServerMain %*
>>
>> Also in the application itself this is set:
>>
>> FetchOptions fetchOptions = 
>> FetchOptions.Builder.doNotValidateCertificate();
>> HTTPRequest request = new HTTPRequest(getUrl, HTTPMethod.GET, 
>> fetchOptions)
>>
>> What could be wrong with Windows that it throws the error whereas in 
>> Linux there is no problem? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5846d495-7143-42a9-8d3e-7f2701a7b79e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Disable TLS/SSL check in Google App Engine - Java

2018-04-23 Thread xybrek
My app is getting this error when accessing a HTTPS resource:

javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate 
for URL: https://some.where/
at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:175)
at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:45)
at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:543)
at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:422)
at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:275)

What can be done so GAE would not check of SSL since in my current purpose 
for the app, it does not care if it connects via HTTP or HTTPS, so in my 
case I just want to disable SSL check.

I am running the application from Windows (Linux does not throw  the error 
above)

Already I have modifiied the *dev_appserver.cmd* like this:

java -Ddeployment.security.TLSv1.1=false 
-Ddeployment.security.TLSv1.2=false -cp 
"%~dp0\..\lib\appengine-tools-api.jar" ^
com.google.appengine.tools.KickStart ^
   com.google.appengine.tools.development.DevAppServerMain %*

Also in the application itself this is set:

FetchOptions fetchOptions = 
FetchOptions.Builder.doNotValidateCertificate();
HTTPRequest request = new HTTPRequest(getUrl, HTTPMethod.GET, 
fetchOptions)

What could be wrong with Windows that it throws the error whereas in Linux 
there is no problem? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/39b6e961-5cf4-4502-9500-3f16f6bcdb9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Mobile backend starter does not work "out-of-the-box"?

2013-10-22 Thread xybrek
The Mobile backend starter  
(https://developers.google.com/cloud/samples/mbs/) doesn't seem to work 
"out-of-the-box", where I have deployed the backend from the Cloud console, 
and downloaded the Android app and typed the PROJECT_ID and PROJECT_NUMBER 
when running the Android app it throws this error:

10-22 03:14:01.990: W/AbstractGoogleClient(675): Application name is not set. 
Call Builder#setApplicationName.10-22 03:14:06.840: D/dalvikvm(675): 
GC_CONCURRENT freed 462K, 14% free 5685K/6535K, paused 15ms+23ms, total 
92ms10-22 03:14:06.870: I/CloudBackend(675): error: 10-22 03:14:06.870: 
I/CloudBackend(675): 
com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not 
Found10-22 03:14:06.870: I/CloudBackend(675): Not Found10-22 03:14:06.870: 
I/CloudBackend(675):at 
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:111)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:38)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:314)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1060)10-22 
03:14:06.870: I/CloudBackend(675):at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:412)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:345)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:463)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.cloud.backend.android.CloudBackend.insert(CloudBackend.java:111)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.cloud.backend.android.CloudBackendAsync.access$0(CloudBackendAsync.java:1)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:87)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:1)10-22
 03:14:06.870: I/CloudBackend(675):at 
com.google.cloud.backend.android.CloudBackendAsync$BackendCaller.run(CloudBackendAsync.java:428)

What could I be missing?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] The "MongoDB" in GAE

2013-07-23 Thread xybrek
I'd like to share:

Mungo  the MongoDB inspired Datastore 
API that works with GAE/J

A showcase can be accessed: Here  

Fork it @ GitHub 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Mungo a GAE/J document storage.

2013-06-07 Thread xybrek
I'd like to share Mungo, a GAE/J API for Document storage. 

A really quick example of how Mungo works:

Mungo mungo = new Mungo(); 
  DB testDB = mungo.getDB("testDB");
  DBCollection messages = testDB.createCollection("Message");
  BasicDBObject obj = new BasicDBObject("{\"hello\" : \"world\"}");
  obj.put("hi", "there");
  WriteResult wr = messages.insert(obj); // Done!
  DBObject result = messages.findOne(obj.getId()); // Get it


Here's a simple guestbook app to showcase Mungo: 
http://mungoae-guestbook.appspot.com/

Get the code: 
http://bit.ly/1964JGp

if you find this project interesting why not fork it and implement a 
feature or a bug fix:
https://github.com/pagecrumb/mungo

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




Re: [google-appengine] Re: Amazon S3 Server on GAE (Java)

2013-05-16 Thread xybrek
@Renzo, what do you mean, when you said take a look at www.appscale.com

I know AppScale I even was able to run in in a single virtual machine on my
laptop :-)

Can you elaborate your post if there's something you want me to understand?


On Thu, May 16, 2013 at 5:33 AM, Renzo Nuccitelli  wrote:

>  Take a look at www.*appscale*.com.
>
>
> On Tuesday, May 14, 2013 5:51:52 AM UTC-3, xybrek wrote:
>>
>> Hello, I am currently working on a project that aims to provide
>> S3-compatible object storage API on top of th Google App Engine Platform.
>> The project is a fork of littles3 <https://code.google.com/p/littles3/> from
>> Jesse Peterson; which is the most complete open source S3 server I found
>> for Java.
>>
>> Also, the aim of the project is to provide a Java open implementation of
>> S3
>> (at least most of it, and at least to a usable state) to be able to host
>> your own S3 in GAE cloud, JBoss CapeDwarf or with AppScale.
>>
>> And instead of starting from scratch I started with littles3 which works
>> fine already with Tomcat.
>> However, it does use a File API and other libraries that are not
>> available in the GAE platorm.
>>
>> I named the project 'basket' and is hosted in Gitub: http://bit.ly/YSE3oY
>>
>> *Basket *has 3 modules:
>>
>> *api*
>>
>> Contains the models and the DAO interface
>>
>> *filesystem*
>>
>> Provides concrete implementation of DAO, in the case of littleS3 it was a
>> File based DAO, in case of Basket, I chose to use
>> Mungo <http://bit.ly/13eSDpr> a JSON document datastore api; since it's
>> not possible to save Files with GAE, and GAE Vfs projects seems not active
>> anymore.
>>
>> *web*
>>
>> Is the module that binds it all. It is the actual GAE app which will
>> provide the Restful api to S3 clients.
>>
>> So, if anyone is interested in joining let me know :-)
>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/ZqIpVHuYk6g/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




Re: [google-appengine] Re: Amazon S3 Server on GAE (Java)

2013-05-14 Thread xybrek
Yep, I know about this Google cloud storage, but it's not open-sourced (I
mean the server side of it), also our goal is really to "run your own S3",
much like one of CapeDwarf's goal to "run your own App Engine". Which you
can deploy on your own private cloud. So you have your own private "S3",
much like what RiakCS did, that you can host your own S3 privately, since
it's open-sourced (although they also offer this as a service).


On Wed, May 15, 2013 at 12:53 PM, James Broberg  wrote:

> Why wouldn't you just use Google Cloud Strorage? It's integrated (more or
> less) with GAE.
>
> https://cloud.google.com/products/cloud-storage
>
>
> On 14 May 2013 20:42, xybrek  wrote:
>
>> Right, that's why I expected to be the initial response. However, if you
>> want to run your own App Engine, you will definitely would want to host
>> your own S3. Like if you will be running your own App engine using
>> CapeDwarf <http://www.jboss.org/capedwarf>
>>
>> And yes, I know there's the Blobstore API, but that's really a basic
>> storage, you have to write your own authentication layer on top of it, as
>> well as management of objects etc. Actually we will be using the Blobstore
>> to store objects under the hood of 'basket'
>>
>> Also, object storage clients today, almost all of them connect to S3.
>> Example would be s3cmd which can be configured to connect to different 'S3'
>> like the Amazon S3, the RiakCS etc.
>>
>> Ok so the whole point of this is:  "Run your own S3 on GAE"  and use
>> existing S3 clients to save your buckets and objects.
>>
>>
>> On Wednesday, May 15, 2013 7:07:55 AM UTC+8, Alexander Trakhimenok wrote:
>>>
>>> What the point of the project? There is S3, Blobstore API, Google Drive?
>>>
>>> Why would someone to want emulate S3 on top of GAE? If you need
>>> cross-platform app may be you should thing about creating an abstraction
>>> layer?
>>>
>>> On Tuesday, 14 May 2013 04:51:52 UTC-4, xybrek wrote:
>>>>
>>>> Hello, I am currently working on a project that aims to provide
>>>> S3-compatible object storage API on top of th Google App Engine Platform.
>>>> The project is a fork of littles3 <https://code.google.com/p/littles3/> 
>>>> from
>>>> Jesse Peterson; which is the most complete open source S3 server I found
>>>> for Java.
>>>>
>>>> Also, the aim of the project is to provide a Java open implementation
>>>> of S3
>>>> (at least most of it, and at least to a usable state) to be able to
>>>> host your own S3 in GAE cloud, JBoss CapeDwarf or with AppScale.
>>>>
>>>> And instead of starting from scratch I started with littles3 which
>>>> works fine already with Tomcat.
>>>> However, it does use a File API and other libraries that are not
>>>> available in the GAE platorm.
>>>>
>>>> I named the project 'basket' and is hosted in Gitub:
>>>> http://bit.ly/YSE3oY
>>>>
>>>> *Basket *has 3 modules:
>>>>
>>>> *api*
>>>>
>>>> Contains the models and the DAO interface
>>>>
>>>> *filesystem*
>>>>
>>>> Provides concrete implementation of DAO, in the case of littleS3 it was
>>>> a File based DAO, in case of Basket, I chose to use
>>>> Mungo <http://bit.ly/13eSDpr> a JSON document datastore api; since
>>>> it's not possible to save Files with GAE, and GAE Vfs projects seems not
>>>> active anymore.
>>>>
>>>> *web*
>>>>
>>>> Is the module that binds it all. It is the actual GAE app which will
>>>> provide the Restful api to S3 clients.
>>>>
>>>> So, if anyone is interested in joining let me know :-)
>>>>
>>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/ZqIpVHuYk6g/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




[google-appengine] Re: Amazon S3 Server on GAE (Java)

2013-05-14 Thread xybrek
Right, that's why I expected to be the initial response. However, if you 
want to run your own App Engine, you will definitely would want to host 
your own S3. Like if you will be running your own App engine using 
CapeDwarf<http://www.jboss.org/capedwarf>

And yes, I know there's the Blobstore API, but that's really a basic 
storage, you have to write your own authentication layer on top of it, as 
well as management of objects etc. Actually we will be using the Blobstore 
to store objects under the hood of 'basket' 

Also, object storage clients today, almost all of them connect to S3. 
Example would be s3cmd which can be configured to connect to different 'S3' 
like the Amazon S3, the RiakCS etc. 

Ok so the whole point of this is:  "Run your own S3 on GAE"  and use 
existing S3 clients to save your buckets and objects. 


On Wednesday, May 15, 2013 7:07:55 AM UTC+8, Alexander Trakhimenok wrote:
>
> What the point of the project? There is S3, Blobstore API, Google Drive?
>
> Why would someone to want emulate S3 on top of GAE? If you need 
> cross-platform app may be you should thing about creating an abstraction 
> layer?
>
> On Tuesday, 14 May 2013 04:51:52 UTC-4, xybrek wrote:
>>
>> Hello, I am currently working on a project that aims to provide 
>> S3-compatible object storage API on top of th Google App Engine Platform.
>> The project is a fork of littles3 <https://code.google.com/p/littles3/> from 
>> Jesse Peterson; which is the most complete open source S3 server I found 
>> for Java. 
>>
>> Also, the aim of the project is to provide a Java open implementation of 
>> S3 
>> (at least most of it, and at least to a usable state) to be able to host 
>> your own S3 in GAE cloud, JBoss CapeDwarf or with AppScale. 
>>
>> And instead of starting from scratch I started with littles3 which works 
>> fine already with Tomcat. 
>> However, it does use a File API and other libraries that are not 
>> available in the GAE platorm. 
>>
>> I named the project 'basket' and is hosted in Gitub: http://bit.ly/YSE3oY
>>
>> *Basket *has 3 modules:
>>
>> *api*
>>
>> Contains the models and the DAO interface
>>
>> *filesystem*
>>
>> Provides concrete implementation of DAO, in the case of littleS3 it was a 
>> File based DAO, in case of Basket, I chose to use 
>> Mungo <http://bit.ly/13eSDpr> a JSON document datastore api; since it's 
>> not possible to save Files with GAE, and GAE Vfs projects seems not active 
>> anymore. 
>>
>> *web*
>>
>> Is the module that binds it all. It is the actual GAE app which will 
>> provide the Restful api to S3 clients.
>>
>> So, if anyone is interested in joining let me know :-)
>>
>>

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




[google-appengine] Re: Amazon S3 Server on GAE (Java)

2013-05-14 Thread xybrek
https://code.google.com/p/basket-stack/

On Tuesday, May 14, 2013 4:51:52 PM UTC+8, xybrek wrote:
>
> Hello, I am currently working on a project that aims to provide 
> S3-compatible object storage API on top of th Google App Engine Platform.
> The project is a fork of littles3 <https://code.google.com/p/littles3/> from 
> Jesse Peterson; which is the most complete open source S3 server I found 
> for Java. 
>
> Also, the aim of the project is to provide a Java open implementation of 
> S3 
> (at least most of it, and at least to a usable state) to be able to host 
> your own S3 in GAE cloud, JBoss CapeDwarf or with AppScale. 
>
> And instead of starting from scratch I started with littles3 which works 
> fine already with Tomcat. 
> However, it does use a File API and other libraries that are not available 
> in the GAE platorm. 
>
> I named the project 'basket' and is hosted in Gitub: http://bit.ly/YSE3oY
>
> *Basket *has 3 modules:
>
> *api*
>
> Contains the models and the DAO interface
>
> *filesystem*
>
> Provides concrete implementation of DAO, in the case of littleS3 it was a 
> File based DAO, in case of Basket, I chose to use 
> Mungo <http://bit.ly/13eSDpr> a JSON document datastore api; since it's 
> not possible to save Files with GAE, and GAE Vfs projects seems not active 
> anymore. 
>
> *web*
>
> Is the module that binds it all. It is the actual GAE app which will 
> provide the Restful api to S3 clients.
>
> So, if anyone is interested in joining let me know :-)
>
>

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




[google-appengine] Amazon S3 Server on GAE (Java)

2013-05-14 Thread xybrek
Hello, I am currently working on a project that aims to provide 
S3-compatible object storage API on top of th Google App Engine Platform.
The project is a fork of littles3  from 
Jesse Peterson; which is the most complete open source S3 server I found 
for Java. 

Also, the aim of the project is to provide a Java open implementation of S3 
(at least most of it, and at least to a usable state) to be able to host 
your own S3 in GAE cloud, JBoss CapeDwarf or with AppScale. 

And instead of starting from scratch I started with littles3 which works 
fine already with Tomcat. 
However, it does use a File API and other libraries that are not available 
in the GAE platorm. 

I named the project 'basket' and is hosted in Gitub: http://bit.ly/YSE3oY

*Basket *has 3 modules:

*api*

Contains the models and the DAO interface

*filesystem*

Provides concrete implementation of DAO, in the case of littleS3 it was a 
File based DAO, in case of Basket, I chose to use 
Mungo  a JSON document datastore api; since it's not 
possible to save Files with GAE, and GAE Vfs projects seems not active 
anymore. 

*web*

Is the module that binds it all. It is the actual GAE app which will 
provide the Restful api to S3 clients.

So, if anyone is interested in joining let me know :-)

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




Re: [google-appengine] Query Embedded entities

2013-05-07 Thread xybrek
Jeff, not sure if I can take the approach you said to make a Annotation 
interface, as the object i try to store in the datastore is a Map, more 
specifically JSONObject, it my library binds JSON String, Number, Boolean, 
List and Map directly to Entitiy and EmbeddedEntity...

On Sunday, May 5, 2013 11:46:34 PM UTC+8, Jeff Schnitzer wrote:
>
> No, I mean make up a field in your POJO that _is_ indexed and 
> automatically populate it with the value you want to index.  A very crude 
> example is something like this:
>
> class Person {
>// ...
>String name;
>@Index String nameNormalized;
>
>public void setName(String value) {
>   name = value;
>   nameNormalized = value.toLowerCase();
>}
> }
>
> Now you can filter by nameNormalized and voila, you have case-insensitive 
> queries.
>
> You might have to get imaginative about how you create these synthetic 
> indexes, of course - especially when you have nested layers of collections 
> of EmbeddedEntity. But you should be able to figure out something that will 
> work.
>
> Jeff
>
>
> On Sat, May 4, 2013 at 11:08 PM, xybrek >wrote:
>
>> Ok I see, when you say synthetic index, do you mean create a Index kind 
>> on a different namespace?
>>
>> Xybrek
>>
>>
>> On Sunday, May 5, 2013 1:42:55 PM UTC+8, Jeff Schnitzer wrote:
>>
>>> EmbeddedEntity fields are not indexable. This is mentioned in the 
>>> javadocs:
>>>
>>> https://developers.google.com/**appengine/docs/java/javadoc/**
>>> com/google/appengine/api/**datastore/EmbeddedEntity<https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/EmbeddedEntity>
>>>
>>> This doesn't prevent you from making your own synthetic index in the 
>>> top-level Entity though.
>>>
>>> Jeff
>>>
>>>
>>>
>>> On Sat, May 4, 2013 at 8:24 PM, xybrek  wrote:
>>>
>>>>  I have few question regarding Query'ing EmbeddedEntity with GAE 
>>>> datastore:
>>>>
>>>>- Is EmbeddedEntity query-able? and Index-able? 
>>>>- If so, then how to index such embedded entity?
>>>>- Does Query, query Filter works with EmbeddedEntity 
>>>>- And that can we build queries that query Entity then filter its 
>>>>EmbeddedEntities 
>>>>
>>>> I've searched the docs by can't seem to find any clear answer to these 
>>>> question.
>>>>
>>>> http://stackoverflow.com/**questions/16380962/query-**embedded-entities<http://stackoverflow.com/questions/16380962/query-embedded-entities>
>>>>  
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Google App Engine" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to google-appengi...@**googlegroups.com.
>>>> To post to this group, send email to google-a...@googlegroups.**com.
>>>>
>>>> Visit this group at http://groups.google.com/**
>>>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en>
>>>> .
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>
>>>
>>>
>

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




Re: [google-appengine] Query Embedded entities

2013-05-04 Thread xybrek
Ok I see, when you say synthetic index, do you mean create a Index kind on 
a different namespace?

Xybrek

On Sunday, May 5, 2013 1:42:55 PM UTC+8, Jeff Schnitzer wrote:
>
> EmbeddedEntity fields are not indexable. This is mentioned in the javadocs:
>
>
> https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/EmbeddedEntity
>
> This doesn't prevent you from making your own synthetic index in the 
> top-level Entity though.
>
> Jeff
>
>
>
> On Sat, May 4, 2013 at 8:24 PM, xybrek >wrote:
>
>> I have few question regarding Query'ing EmbeddedEntity with GAE 
>> datastore:
>>
>>- Is EmbeddedEntity query-able? and Index-able? 
>>- If so, then how to index such embedded entity?
>>- Does Query, query Filter works with EmbeddedEntity 
>>- And that can we build queries that query Entity then filter its 
>>EmbeddedEntities 
>>
>> I've searched the docs by can't seem to find any clear answer to these 
>> question.
>>
>> http://stackoverflow.com/questions/16380962/query-embedded-entities
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

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




[google-appengine] Re: URLFetch and asynchronous pages

2013-05-04 Thread xybrek
You may need to use HTMLUnit for this:

 // Setup the headless browser
 WebClient webClient = new WebClient();
 webClient.setWebConnection(new UrlFetchWebConnection(webClient));

HtmlPage page = webClient.getPage(target);
//gae hack because its single threaded
webClient.getJavaScriptEngine().pumpEventLoop(PUMP_TIME);
pageString = page.asXml();


You can check my implementation and POM configuration here:  
http://bit.ly/10eRef0

I've tested it to work with GAE, as well as with JBoss CapeDwarf, the only 
problem I had was when I was fetching a big site, those with lots of 
resources, where I get time out exception as you know GAE has constraint in 
front-end run code run. 

Cheers.

On Sunday, May 5, 2013 12:46:13 AM UTC+8, Phil wrote:
>
> I'm trying to grab in the html from a web page. I think the standard GAE 
> way to do this is to use UrlFetch. I'm running into an issue that the page 
> I'm grabbing loads much of it's content asynchronously. Is there anyway to 
> have UrlFetch grab the html that loads via javascript?
>
> Specifically, I'm trying to grab this page: 
> http://www.groupon.com/browse/san-francisco?category=restaurants-and-bars
>
> Any idea how to get the html that loads via js in the middle of the page?
>
> Thanks,
> Phil
>

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




[google-appengine] Query Embedded entities

2013-05-04 Thread xybrek
I have few question regarding Query'ing EmbeddedEntity with GAE datastore:

   - Is EmbeddedEntity query-able? and Index-able?
   - If so, then how to index such embedded entity?
   - Does Query, query Filter works with EmbeddedEntity
   - And that can we build queries that query Entity then filter its 
   EmbeddedEntities

I've searched the docs by can't seem to find any clear answer to these 
question.

http://stackoverflow.com/questions/16380962/query-embedded-entities

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




Re: [google-appengine] Re: Testing GWT + GAE locally (not DevMode)

2013-05-01 Thread xybrek
Hi Jeff, how's it going with Motomapia? Anyway, yah, that should be the
case, however, the App i'm trying to push is just a test app, since i'm not
finished with the app... I just needed to check how it will look like and
behave in the GAE runtime. Where when I found something that the SDK
runtime was able to miss.  Cheers!


On Wed, May 1, 2013 at 10:41 PM, Jeff Schnitzer  wrote:

> FWIW, we nearly always deploy to a sandbox appid and test before deploying
> to production.
>
> Jeff
>
>
> On Wed, May 1, 2013 at 3:04 AM, xybrek  wrote:
>
>> Issue resolved by following this blog article:
>>
>>
>> http://bpossolo.blogspot.com/2013/01/the-ultimate-guide-to-gwt-gae-maven.html
>>
>> and the maven command allowed the app to deploy (with GWT) to GAE cloud:
>> appengine:update
>>
>>
>> On Wednesday, May 1, 2013 1:13:26 PM UTC+8, xybrek wrote:
>>>
>>> Hmmm... that could be the problem, when deploying I use the *appcfg.cmd
>>> update "path/to/war" *
>>> Do you mean I need to upload/update through the maven plugin? I just use
>>> maven for local deployment: like "mvn *gwt:run*"
>>>
>>> Will this command mvn *gae*:*deploy *deploy to GAE as well as compile
>>> GWT? I'm thinking that this is analogous to *mvn gae:ru*n that does not
>>> involved the GWT side of things?
>>>
>>> Xybrek
>>>
>>> On Wednesday, May 1, 2013 12:52:26 PM UTC+8, Brandon Donnelson wrote:
>>>>
>>>> When deploying does the GWT module compile before it deploys? It should
>>>> compile before it deploys. Another option to verify its compiling is delete
>>>> the gwt project module and related from the war directory, thats compiled,
>>>> before deploying. (Don't delete any static resources.) Is the compile
>>>> comping the module getting deployed, or is there more than one module and
>>>> one module is not getting compiled. There are a few other reasons that this
>>>> happens, but maybe that hints at helping deployments.
>>>>
>>>> Brandon
>>>>
>>>> On Tuesday, April 30, 2013 1:58:06 PM UTC-7, xybrek wrote:
>>>>>
>>>>> `DevMode` works just fine when testing a GWT + GAE application.
>>>>> However the problem arises when we try to deploy our app in GAE cloud, and
>>>>> suddenly we get:
>>>>>
>>>>>
>>>>> GWT module 'app' need to be recompiled
>>>>>
>>>>> After a long update/upload time. The issue now is how can we test
>>>>> locally and be sure at least that we won't suddenly get this error. In a
>>>>> typical GWT (non-GAE) its very easy to do, just deploy it to a local 
>>>>> Tomcat
>>>>> of JBoss AS server.
>>>>>
>>>>> However we can't do this for a GAE app. So what are the options to
>>>>> achieve this?
>>>>>
>>>>>  - Where to deploy a GWT+GAE app to be able to see if the GWT needs to
>>>>> be recompiled or what, before we even try to upload it.
>>>>>  - Or are there any better way? `SuperDevMode` perhaps?
>>>>>
>>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/thev4M1M_WY/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




[google-appengine] Re: Testing GWT + GAE locally (not DevMode)

2013-05-01 Thread xybrek
Issue resolved by following this blog article: 

http://bpossolo.blogspot.com/2013/01/the-ultimate-guide-to-gwt-gae-maven.html

and the maven command allowed the app to deploy (with GWT) to GAE cloud: 
appengine:update

On Wednesday, May 1, 2013 1:13:26 PM UTC+8, xybrek wrote:
>
> Hmmm... that could be the problem, when deploying I use the *appcfg.cmd 
> update "path/to/war" *
> Do you mean I need to upload/update through the maven plugin? I just use 
> maven for local deployment: like "mvn *gwt:run*"
>
> Will this command mvn *gae*:*deploy *deploy to GAE as well as compile 
> GWT? I'm thinking that this is analogous to *mvn gae:ru*n that does not 
> involved the GWT side of things? 
>
> Xybrek
>
> On Wednesday, May 1, 2013 12:52:26 PM UTC+8, Brandon Donnelson wrote:
>>
>> When deploying does the GWT module compile before it deploys? It should 
>> compile before it deploys. Another option to verify its compiling is delete 
>> the gwt project module and related from the war directory, thats compiled, 
>> before deploying. (Don't delete any static resources.) Is the compile 
>> comping the module getting deployed, or is there more than one module and 
>> one module is not getting compiled. There are a few other reasons that this 
>> happens, but maybe that hints at helping deployments. 
>>
>> Brandon
>>
>> On Tuesday, April 30, 2013 1:58:06 PM UTC-7, xybrek wrote:
>>>
>>> `DevMode` works just fine when testing a GWT + GAE application. However 
>>> the problem arises when we try to deploy our app in GAE cloud, and suddenly 
>>> we get:
>>>
>>>
>>> GWT module 'app' need to be recompiled
>>>
>>> After a long update/upload time. The issue now is how can we test 
>>> locally and be sure at least that we won't suddenly get this error. In a 
>>> typical GWT (non-GAE) its very easy to do, just deploy it to a local Tomcat 
>>> of JBoss AS server. 
>>>
>>> However we can't do this for a GAE app. So what are the options to 
>>> achieve this?
>>>
>>>  - Where to deploy a GWT+GAE app to be able to see if the GWT needs to 
>>> be recompiled or what, before we even try to upload it.
>>>  - Or are there any better way? `SuperDevMode` perhaps? 
>>>
>>

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




[google-appengine] Re: Testing GWT + GAE locally (not DevMode)

2013-04-30 Thread xybrek
Hmmm... that could be the problem, when deploying I use the *appcfg.cmd 
update "path/to/war" *
Do you mean I need to upload/update through the maven plugin? I just use 
maven for local deployment: like "mvn *gwt:run*"

Will this command mvn *gae*:*deploy *deploy to GAE as well as compile GWT? 
I'm thinking that this is analogous to *mvn gae:ru*n that does not involved 
the GWT side of things? 

Xybrek

On Wednesday, May 1, 2013 12:52:26 PM UTC+8, Brandon Donnelson wrote:
>
> When deploying does the GWT module compile before it deploys? It should 
> compile before it deploys. Another option to verify its compiling is delete 
> the gwt project module and related from the war directory, thats compiled, 
> before deploying. (Don't delete any static resources.) Is the compile 
> comping the module getting deployed, or is there more than one module and 
> one module is not getting compiled. There are a few other reasons that this 
> happens, but maybe that hints at helping deployments. 
>
> Brandon
>
> On Tuesday, April 30, 2013 1:58:06 PM UTC-7, xybrek wrote:
>>
>> `DevMode` works just fine when testing a GWT + GAE application. However 
>> the problem arises when we try to deploy our app in GAE cloud, and suddenly 
>> we get:
>>
>>
>> GWT module 'app' need to be recompiled
>>
>> After a long update/upload time. The issue now is how can we test locally 
>> and be sure at least that we won't suddenly get this error. In a typical 
>> GWT (non-GAE) its very easy to do, just deploy it to a local Tomcat of 
>> JBoss AS server. 
>>
>> However we can't do this for a GAE app. So what are the options to 
>> achieve this?
>>
>>  - Where to deploy a GWT+GAE app to be able to see if the GWT needs to be 
>> recompiled or what, before we even try to upload it.
>>  - Or are there any better way? `SuperDevMode` perhaps? 
>>
>

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




[google-appengine] Testing GWT + GAE locally (not DevMode)

2013-04-30 Thread xybrek
`DevMode` works just fine when testing a GWT + GAE application. However the 
problem arises when we try to deploy our app in GAE cloud, and suddenly we 
get:


GWT module 'app' need to be recompiled

After a long update/upload time. The issue now is how can we test locally 
and be sure at least that we won't suddenly get this error. In a typical 
GWT (non-GAE) its very easy to do, just deploy it to a local Tomcat of 
JBoss AS server. 

However we can't do this for a GAE app. So what are the options to achieve 
this?

 - Where to deploy a GWT+GAE app to be able to see if the GWT needs to be 
recompiled or what, before we even try to upload it.
 - Or are there any better way? `SuperDevMode` perhaps? 

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




[google-appengine] Mocking framework that works in the GAE runtime

2013-04-04 Thread xybrek
Are there any Java mocking framework than can work with GAE runtime? Such 
that I can do mocking in my application (not testing)?

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




[google-appengine] NoSuchFieldError - TypedValue.(TypedValue.java:31) when Running GWT Appengine webapp

2012-11-02 Thread xybrek
I'm getting this exception when running my GWT-AppEngine application:

java.lang.NoSuchFieldError: NULL
at 
org.springframework.expression.TypedValue.(TypedValue.java:31)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at 
com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
at 
com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
at 
org.springframework.expression.spel.support.StandardEvaluationContext.setRootObject(StandardEvaluationContext.java:85)
at 
org.springframework.expression.spel.support.StandardEvaluationContext.(StandardEvaluationContext.java:74)
at 
org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:124)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1272)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:224)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:311)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at 
org.springframework.bean