Re: [appengine-java] Re: strange question about Ehcache

2010-01-03 Thread yjun hu
i'm using jdo,and now it run okay after i replace with ehcache 1.6.0

On Mon, Jan 4, 2010 at 12:45 PM, asianCoolz  wrote:

> are u using jpa ?  if yes, are you annotating your jpa entity with
> cache?
>
> --
>
> 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-j...@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.
>
>
>


-- 
dream or truth

--

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-j...@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] log4j logging everything as INFO even though I'm doing "log.error("xxx");"?

2010-01-03 Thread Tb
Hi,

I switched to log4j in my app because of the (supposed) ease to send
out emails with log traces but it's not coming out right in the GAE
log console. Every error seems to come out as INFO which is pretty
confusing...

Am I missing something?

--

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-j...@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: strange question about Ehcache

2010-01-03 Thread asianCoolz
are u using jpa ?  if yes, are you annotating your jpa entity with
cache?

--

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-j...@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: Spring application context initialization on every request

2010-01-03 Thread zhiw...@gmail.com
have a look at this link:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/603cc766d1e1c3d4/88913abfcb6351e8

On Dec 31 2009, 6:17 pm, Naim  wrote:
> Hi,
>
> I have deployed a small application on appengine using Spring
> framework.
> But I have noticed, if my app does not get any request for a after
> period of time (10 mins perhaps), all the initialization done by
> Spring vanishes. To serve the next request, it initializes the Spring
> application context and all the servlet contexts.
> At the moment, I am preventing this by running a cron that makes a
> request to my app every minute.
>
> Is there any other way? Am I missing something?
> __
> Naim
> mdnh...@gmail.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-j...@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: HIPAA compliance

2010-01-03 Thread Doug


>From reading the Google Health FAQ I think the answer to your question
is no, but they don't need to be.



Is Google Health covered by HIPAA?

Unlike a doctor or health plan, Google Health is not regulated by the
Health Insurance Portability and Accountability Act (HIPAA), a federal
law that establishes data confidentiality standards for patient health
information. This is because Google does not store data on behalf of
health care providers. Instead, our primary relationship is with you,
the user. Under HIPAA, you have a right to obtain a copy of your
medical records. If you choose to use Google Health, we'll help you
store and manage your medical records online.

Although Google Health is not covered by HIPAA, we are committed to
protecting your privacy. Our Google Health privacy policy governs what
information Google Health collects and how we use it, and any
violation of that policy can be enforced by the Federal Trade
Commission, which takes action against companies that engage in unfair
and deceptive trade practices -- including violations of their privacy
policies.



On Jan 3, 11:17 am, Pion  wrote:
> http://www.slideshare.net/bess.ho/google-health-architecture-api
> (slide 28) shows that Google Health is using Google App Engine.
>
> Is Google App Engine HIPAA (Health Insurance Portability and
> Accountability Act -http://en.wikipedia.org/wiki/HIPAA) compliance ?

--

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-j...@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: strange question about Ehcache

2010-01-03 Thread yjun hu
ok!  i deploy my app to server with ehcache 1.6.0 replace,  and it works
fine now
it seems gae does not support ehcache 1.7.1

On Mon, Jan 4, 2010 at 10:29 AM, yjun hu  wrote:

> anybody here?
>
>
> On Thu, Dec 31, 2009 at 3:28 PM, yjun hu  wrote:
>
>> my project works with spring+ struts2+Encache, and it works fine on my
>> local machine, but when i deploy to GAE, it got one error when run Ehcache
>> It seems that project can not * initialize class net.sf.ehcache.Element*
>> my Ehcache version is the latest version 1.7.1
>> and my app id is "rabidstudio", could u help me to investigate it. Thanks
>>
>> Uncaught exception from servlet
>>
>> java.lang.reflect.InvocationTargetException
>>  at 
>> com.google.appengine.runtime.Request.process-9f8eedb4d1d9c430(Request.java)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>
>>
>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>  at java.lang.reflect.Method.invoke(Method.java:42)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
>>
>>
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
>>  at 
>> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
>>
>>
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
>>  at 
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>>
>>
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
>>  at 
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>>
>>
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>
>>
>>  at 
>> org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
>>
>>
>>  at 
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
>>
>>
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>
>>
>>  at 
>> com.blog.interceptors.SessionInterceptor.intercept(SessionInterceptor.java:50)
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> com.struts2.gae.interceptor.GaeFileUploadInterceptor.intercept(GaeFileUploadInterceptor.java:53)
>>
>>
>>  at 
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>>  at 
>> org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
>>  at 
>> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
>>
>>
>>  at 
>> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
>>  at 
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>  at 
>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>>
>>
>>  at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>  at 
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>  at 
>> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97)
>>
>>
>>  at 
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>  at 
>> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilt

[appengine-java] Re: strange question about Ehcache

2010-01-03 Thread yjun hu
anybody here?

On Thu, Dec 31, 2009 at 3:28 PM, yjun hu  wrote:

> my project works with spring+ struts2+Encache, and it works fine on my
> local machine, but when i deploy to GAE, it got one error when run Ehcache
> It seems that project can not * initialize class net.sf.ehcache.Element*
> my Ehcache version is the latest version 1.7.1
> and my app id is "rabidstudio", could u help me to investigate it. Thanks
>
> Uncaught exception from servlet
>
> java.lang.reflect.InvocationTargetException
>   at 
> com.google.appengine.runtime.Request.process-9f8eedb4d1d9c430(Request.java)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Method.java:42)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
>
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
>   at 
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
>
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>
>   at 
> org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
>
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
>
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>
>   at 
> com.blog.interceptors.SessionInterceptor.intercept(SessionInterceptor.java:50)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> com.struts2.gae.interceptor.GaeFileUploadInterceptor.intercept(GaeFileUploadInterceptor.java:53)
>
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
>   at 
> org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
>   at 
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
>
>   at 
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>   at 
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>
>   at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>   at 
> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97)
>
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>   at 
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>
>   at 
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>   at 
> org.mortbay.jetty

Re: [appengine-java] unable to delete cron job

2010-01-03 Thread yjun hu





On Sun, Jan 3, 2010 at 2:54 PM, Jeff Schnitzer  wrote:

> It's not really intuitive behavior.  It's basically summed up in this bug:
>
> http://code.google.com/p/googleappengine/issues/detail?id=2530
>
> Jeff
>
> On Sat, Jan 2, 2010 at 6:20 PM, seleronm  wrote:
> > Hi,
> >
> > Please refer to the following links
> > http://code.google.com/intl/us/appengine/docs/java/config/cron.html
> > [Uploading Cron Jobs] section
> >
> > Please try.
> > Thanks.
> >
> >>I created a sample cron job with an excution frequency of 2 minutes
> >>just to experiment with the working of cron on GAE. After a few
> >>invocations, I decided to remove the job. I deleted cron.xml and
> >>deployed my app on GAE. However, the cron continues to execute. How do
> >>I remove the job?
> >>
> >>--
> >>
> >>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-j...@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-j...@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-j...@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.
>
>
>


-- 
dream or truth

--

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-j...@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: Request Too Large

2010-01-03 Thread Max
I am still getting that error

com.google.apphosting.api.ApiProxy$RequestTooLargeException: The
request to API call datastore_v3.Put() was too large.
at com.google.apphosting.runtime.ApiProxyImpl.doSyncCall
(ApiProxyImpl.java:212)
at com.google.apphosting.runtime.ApiProxyImpl.access$000
(ApiProxyImpl.java:43)
at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:
96)
at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:
94)
at java.security.AccessController.doPrivileged(Native Method)
at com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall
(ApiProxyImpl.java:94)
at com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall
(ApiProxyImpl.java:43)


Could some advise where should I look for that problem?


Thanks

On Dec 31 2009, 2:00 am, Max  wrote:
> I am doing bulk upload using my custom code.
> It uploaded most data but few blocks are not uploaded.
> I use makePersistentAll and my code guarantees that it does not upload
> more then 500 objects at once.
>
> I get following error
>
> com.google.apphosting.api.ApiProxy$RequestTooLargeException: The
> request to API call datastore_v3.Put() was too large.
>         at com.google.apphosting.runtime.ApiProxyImpl.doSyncCall
> (ApiProxyImpl.java:212)
>         at com.google.apphosting.runtime.ApiProxyImpl.access$000
> (ApiProxyImpl.java:43)
>         at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:
> 96)
>         at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:
> 94)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall
> (ApiProxyImpl.java:94)
>         at com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall
> (ApiProxyImpl.java:43)
>         at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:83)
>
> It is not  "java.lang.IllegalArgumentException: cannot put more than
> 500 entities in a single call"
>
> What is "too large"? I wish to verify my data before I will submit it
> to datastore and ensure that it is not too large for the datastore :)
>
> Cheers, Max

--

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-j...@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] Amazon SDB / Other API's :- Has anyone tried using it in GAE/J ?

2010-01-03 Thread newbie100
Hi,

Now that there is JAXB support, I was wondering if anyone has used any
of the Amazon API's (Java Client Bindings), specifically SimpleDB,
from a GAE/J application.

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-j...@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: https on my domain

2010-01-03 Thread Pion
http://www.slideshare.net/bess.ho/google-health-architecture-api
(slide 28) shows that Google Health is using Google App Engine.

I just registered to Google Health. After logging in, the url of the
Google Health is https://health.google.com/health/p/ -- notice the
https and no *.appspot.com

How is it done?

Thanks in advance for your help.

On Jan 3, 10:01 am, Pion  wrote:
> http://code.google.com/appengine/kb/general.html#httpsappssays, "Can
> I use SSL (HTTPS) on App Engine with my Google Apps domain?
>
> All secure traffic with Google App Engine must be served from your
> appspot.com domain (https://your-app-id.appspot.com). If you are
> serving your app off of a Google Apps domain, you must direct all
> secure traffic through your app's appspot domain."
>
> On Thursday, October 16, 
> 2008,http://googleappengine.blogspot.com/2008/10/announcing-https-support-...
> says, "You may be wondering why we're only supporting appspot.com
> right now, and not arbitrary Google Apps domains. This has to do with
> fundamental limitations in the SSL protocol. We're currently
> investigating workarounds for this using e.g. SNI, which provides a
> viable solution for newer browsers--we'll keep you posted! "
>
> I don't see it the product 
> roadmaphttp://code.google.com/appengine/docs/roadmap.html.
>
> What's the latest status/plan on this?

--

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-j...@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] https on my domain

2010-01-03 Thread Pion
http://code.google.com/appengine/kb/general.html#httpsapps says, "Can
I use SSL (HTTPS) on App Engine with my Google Apps domain?

All secure traffic with Google App Engine must be served from your
appspot.com domain (https://your-app-id.appspot.com). If you are
serving your app off of a Google Apps domain, you must direct all
secure traffic through your app's appspot domain."

On Thursday, October 16, 2008,
http://googleappengine.blogspot.com/2008/10/announcing-https-support-for-appspotcom.html
says, "You may be wondering why we're only supporting appspot.com
right now, and not arbitrary Google Apps domains. This has to do with
fundamental limitations in the SSL protocol. We're currently
investigating workarounds for this using e.g. SNI, which provides a
viable solution for newer browsers--we'll keep you posted! "

I don't see it the product roadmap 
http://code.google.com/appengine/docs/roadmap.html.

What's the latest status/plan on this?

--

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-j...@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] HIPAA compliance

2010-01-03 Thread Pion
http://www.slideshare.net/bess.ho/google-health-architecture-api
(slide 28) shows that Google Health is using Google App Engine.

Is Google App Engine HIPAA (Health Insurance Portability and
Accountability Act - http://en.wikipedia.org/wiki/HIPAA) compliance ?

--

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-j...@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] SUBSTRING function for JPA

2010-01-03 Thread Wong

SUBSTRING function for JPA is not working.

entityManager.createQuery("SELECT SUBSTRING(v.name, 1, 3) from Venue
v") return v.name but NOT the substring.


Anyone has any idea?

--

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-j...@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] Querying by Category class

2010-01-03 Thread Itzik Yatom
I consider to use the built in Category class for implementing tags
for one of my datastore classes. Something like:
.
import com.google.appengine.api.datastore.Category;
.
@Persistent
protected List tags;
.
My question is how do I filter objects by a tag value, for example I
want to get all objects that have a 'pollution' tag.
Actually, there are here two questions:
1. How to query by fields that are lists (or collections)?
2. How to use Category class in queries ?

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-j...@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: problem in XMPP sendMessage()

2010-01-03 Thread Sahil Mahajan

using getPresence(recipientJid, fromJid).isAvailable()) solved the
problem

found answer in
http://groups.google.com/group/google-appengine-java/browse_thread/thread/13802bcecc63da4b/e5c17cc17e58d859?lnk=gst&q=xmpp+send+invite&pli=1

On Nov 30 2009, 12:51 pm, Sahil Mahajan  wrote:
> Hello
> Thanks for your help
>
> Problem was in .withRecipientJids(receiverJid). When I simplified
> receiverjid, it works correctly
>
> Regards
> Sahil Mahajan
> On Nov 29, 12:47 pm, m seleron  wrote:
>
> > Hi.
>
> > I tested execution by the following source.
>
> > JID jid = new JID("x...@gmail.com"); // set your send gmail address
> > Message msg = new MessageBuilder().withRecipientJids(jid)
> > .withFromJid(new JID("x...@appspot.com") ) // set your
> > ap...@appspot.com
> > .withMessageType(MessageType.NORMAL)
> > .withBody("send-message").build();  //set msg String
> > boolean messageSent = false;
> > XMPPServicexmpp= XMPPServiceFactory.getXMPPService();
> > if (xmpp.getPresence(jid).isAvailable()) {
> >         SendResponse status =xmpp.sendMessage(msg);
> > messageSent = (status.getStatusMap().get(jid) ==
> > SendResponse.Status.SUCCESS);
>
> > }
>
> > I executed about ten times.
> > My Gtalk is seem to receive it normally.
>
> > Though various possibilities are thought.
> > If it is possible
> > Please execute it by the fixed value
> > as much as possible to simplify a problem.
>
> > Though something only has to be able to be useful.
>
> > thanks.
>
> > On 11月29日, 午前2:52, Sahil Mahajan  wrote:
>
> > > I removed .withFromJid(new JID(recipientJid[0].getId()) )
> > > but I am still facing problem.
>
> > > The servlet works correctly for first two messages. But problem starts
> > > when servlet receives third message.
>
> > > I find this strange. Initially it works fine, but gives problem from
> > > third message.
>
> > > Regards
> > > Sahil Mahajan
>
> > > On Nov 28, 8:19 pm, Ravi Sharma  wrote:
>
> > > > I am not sure, but i think you dont need to(should not)  set fromJid, as
> > > > message will be sent from your application JID.
> > > > I am running following code and its working .
>
> > > > JID jid = new JID(responseJid);
> > > >         Message msg = new MessageBuilder()
> > > >             .withRecipientJids(jid)
> > > >             .withBody(msgBody)
> > > >             .build();
>
> > > >         boolean messageSent = false;
> > > >         XMPPServicexmpp= XMPPServiceFactory.getXMPPService();
> > > >         if (xmpp.getPresence(jid).isAvailable()) {
> > > >             SendResponse status =xmpp.sendMessage(msg);
> > > >             messageSent = (status.getStatusMap().get(jid) ==
> > > > SendResponse.Status.SUCCESS);
> > > >         }
>
> > > > On Sat, Nov 28, 2009 at 2:51 PM, sahil mahajan  
> > > > wrote:
> > > > > I am usingXMPPand getting following error when I try
> > > > > /CODE*/
> > > > > Message msg = new MessageBuilder()
> > > > >                 .withRecipientJids(receiverJid)
> > > > >          .withFromJid(new JID(recipientJid[0].getId()) )
> > > > >   .withMessageType(MessageType.NORMAL)
> > > > >                 .withBody(msgBody)
> > > > >                 .build();
>
> > > > >       SendResponse status =xmpp.sendMessage(msg);
>
> > > > > My JID's are correct. msgBody is not null
> > > > > Problem occures atxmpp.sendMessage(msg);
> > > > > I don't understand what is null?
>
> > > > > /***ERROR
> > > > > DETAILS/
>
> > > > > Uncaught exception from servlet
> > > > > java.lang.NullPointerException
> > > > >    at 
> > > > > com.google.appengine.api.xmpp.XMPPServiceImpl.createMessageRequest(XMPPServiceImpl.java:120)
> > > > >    at 
> > > > > com.google.appengine.api.xmpp.XMPPServiceImpl.sendMessage(XMPPServiceImpl.java:105)
> > > > >    at 
> > > > > com.ChatRoom.server.XMPPReceiverServlet.doPost(XMPPReceiverServlet.java:165)
> > > > >    at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> > > > >    at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > > > >    at 
> > > > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> > > > >    at 
> > > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> > > > >    at 
> > > > > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
> > > > >    at 
> > > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > > >    at 
> > > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
> > > > >    at 
> > > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > > >    at 
> > > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> > > > >    at 
> > > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > > > >    at 
> > > > > org.mortbay.jetty.ser

[appengine-java] Re: XMPP getPresence response not valid?

2010-01-03 Thread Sahil Mahajan
Thanks

using getPresence(recipientJid, fromJid).isAvailable()) solved the
problem

On Jan 3, 10:43 am, timzon  wrote:
> Yes, sorry for not providing an update earlier.
>
> My problem was that I was not passing the From Jabber Id initially
> used tosendtheinvitet0 .isAvailable.
> Doing the following fixed my problem:
>
> if (xmpp.getPresence(recipientJid, fromJid).isAvailable()) {
> ...
>
> On Jan 2, 11:55 am, Sahil Mahajan  wrote:
>
> > Hi
>
> > I am facing same problem.
> > Did you find any solution to this problem?
> > getPresence is always returning false.
>
> > On Nov 18 2009, 10:47 am, m seleron  wrote:
>
> > > Hi.
>
> > > Though it is likely already to have tried.
>
> > > If the state is [is not available]
> > > pleaseinviteit from GMailchat or GTalk toXMPPAddresses
> > > ([app...@appspot.com] or [anyth...@app-id.appspotchat.com],etc.)
>
> > > Please confirm Gtalk display thatXMPPAddresses
> > > ([app...@appspot.com] or [anyth...@app-id.appspotchat.com],etc.)
> > > is online and confirm presence status on the GppEngine side.
>
> > > Please refer to the following links for details 
> > > ofXMPPAddresses.http://code.google.com/intl/us/appengine/docs/java/xmpp/overview.html
>
> > > Thanks.
>
> > > On 11月18日, 午前1:52, timzon  wrote:
>
> > > > Is anybody having problem with  xmpp.getPresencenot providing valid
> > > > presence information for GTalk clients?
>
> > > > Using very simple function to check the availability of a GTalk
> > > > client:
>
> > > > XMPPServicexmpp= XMPPServiceFactory.getXMPPService();
> > > > if (xmpp.getPresence(agentJid).isAvailable()) {
> > > >         log.info(agentJid.toString() + " is available (added to
> > > > list)");} else {
>
> > > >         log.info(agentJid.toString() + " is not available");
>
> > > > }
>
> > > >getPresencealways returns the same presence status for a user
> > > > regardless of the user real status.
>
> > > > I've tried this with GTalk clients on both GMail and Apps domains. The
> > > > result is exactly the same.
>
> > > > This is extremely blocking for our application as we need to validate
> > > > the presence of a group of GTalk clients to determine what to do with
> > > > a request.
>
> > > > Thanks in advance for your help,
> > > >  Jerome.

--

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-j...@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: Could not fetch URL with URLFetchService but with HttpClient

2010-01-03 Thread m seleron
Hi,

I'm sorry for being not able to explain adequately.

I tried.

cfm?fuseaction=Reports.SetReport
   ^
I think that this sign is a cause in the development
where the Exception occurs.

However, even if this sign is included
I do not think that production garish excetion is generated.

The appearance is seen for a while.
If there is no workaround

There might be a necessity for doing post to the Issue list.

thanks.


2010/1/3 derkent :
> hey thanks, you seem to be right.
>
> It seems a bug in the sdk, in production the problem "goes away".
>
> I am not sure what you mean though when you say, when value of the url
> paramater dot is included.
>
> Thanks again,
>
> On Jan 1, 8:42 pm, seleronm  wrote:
>> Hi,
>>
>> I tried a little.
>> ( SDK 1.3.0)
>>
>> The condition that IOException is generated
>> when value of the URL parameter .(dot) is included.
>>
>> This is not generated in production.
>>
>> I think that the possibility of bug of development environment(SDK).
>>
>> thanks.
>>
>> >I have an url which is redirecting:
>>
>> >http://www.accessdata.fda.gov/Scripts/cder/DrugsatFDA/index.cfm?fusea...
>> >Reports.SetReport&rptname=1&reportSelectDate=12%2F2009&ta=Submits
>>
>> >org.apache.http.client.HttpClient can follow the redirect without any
>> >problem and get the content.
>> >However URLFetchService has problems following the redirects,
>> >java.io.IOException: Could not fetch URL.
>>
>> >Clearly the implementations are different, but I wonder how I can get
>> >the URLFetchService to also read in that url. Could this be a bug? If
>> >I ask HttpClient not to follow the redirect, it comes back with
>> >"temporarily moved", which I believe is HTTP Error 302.
>>
>> >Any help would be very kind.
>>
>> >The code using the URLFetchService:
>>
>> >URL url = new URL(urlStr);
>> >URLFetchService urlFetchService =
>> >URLFetchServiceFactory.getURLFetchService();
>> >HTTPRequest httpRequest = new HTTPRequest(url,
>> >HTTPMethod.GET,followRedirects());
>> >HTTPResponse response = urlFetchService.fetch(httpRequest);
>>
>> >The code using HTTPClient
>>
>> >String url = "http://www.accessdata.fda.gov/Scripts/cder/DrugsatFDA/
>> >index.cfm?
>> >fuseaction=Reports.SetReport&rptname=1&reportSelectDate=12%2F2009&ta=Submits
>> >";
>> >HttpClient httpclient = new DefaultHttpClient
>> >();
>> >httpclient.getParams().setBooleanParameter
>> >(
>> >            "http.protocol.handle-redirects",
>> >true);
>> >HttpGet httpGet = new HttpGet
>> >(url);
>> >ResponseHandler responseHandler = new BasicResponseHandler
>> >();
>> >String
>> >responseBody;
>> >try
>> >{
>> >responseBody = httpclient.execute(httpGet,
>> >responseHandler);
>> >    System.out.println
>> >(responseBody);
>> >} catch (ClientProtocolException e)
>> >{
>> >e.printStackTrace
>> >();
>> >} catch (IOException e)
>> >{
>> >e.printStackTrace
>> >();
>> >}
>>
>> >--
>>
>> >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-j...@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.
>
> --
>
> 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-j...@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-j...@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: Could not fetch URL with URLFetchService but with HttpClient

2010-01-03 Thread derkent
hey thanks, you seem to be right.

It seems a bug in the sdk, in production the problem "goes away".

I am not sure what you mean though when you say, when value of the url
paramater dot is included.

Thanks again,

On Jan 1, 8:42 pm, seleronm  wrote:
> Hi,
>
> I tried a little.
> ( SDK 1.3.0)
>
> The condition that IOException is generated
> when value of the URL parameter .(dot) is included.
>
> This is not generated in production.
>
> I think that the possibility of bug of development environment(SDK).
>
> thanks.
>
> >I have an url which is redirecting:
>
> >http://www.accessdata.fda.gov/Scripts/cder/DrugsatFDA/index.cfm?fusea...
> >Reports.SetReport&rptname=1&reportSelectDate=12%2F2009&ta=Submits
>
> >org.apache.http.client.HttpClient can follow the redirect without any
> >problem and get the content.
> >However URLFetchService has problems following the redirects,
> >java.io.IOException: Could not fetch URL.
>
> >Clearly the implementations are different, but I wonder how I can get
> >the URLFetchService to also read in that url. Could this be a bug? If
> >I ask HttpClient not to follow the redirect, it comes back with
> >"temporarily moved", which I believe is HTTP Error 302.
>
> >Any help would be very kind.
>
> >The code using the URLFetchService:
>
> >URL url = new URL(urlStr);
> >URLFetchService urlFetchService =
> >URLFetchServiceFactory.getURLFetchService();
> >HTTPRequest httpRequest = new HTTPRequest(url,
> >HTTPMethod.GET,followRedirects());
> >HTTPResponse response = urlFetchService.fetch(httpRequest);
>
> >The code using HTTPClient
>
> >String url = "http://www.accessdata.fda.gov/Scripts/cder/DrugsatFDA/
> >index.cfm?
> >fuseaction=Reports.SetReport&rptname=1&reportSelectDate=12%2F2009&ta=Submits
> >";
> >HttpClient httpclient = new DefaultHttpClient
> >();
> >httpclient.getParams().setBooleanParameter
> >(
> >            "http.protocol.handle-redirects",
> >true);
> >HttpGet httpGet = new HttpGet
> >(url);
> >ResponseHandler responseHandler = new BasicResponseHandler
> >();
> >String
> >responseBody;
> >try
> >{
> >responseBody = httpclient.execute(httpGet,
> >responseHandler);
> >    System.out.println
> >(responseBody);
> >} catch (ClientProtocolException e)
> >{
> >e.printStackTrace
> >();
> >} catch (IOException e)
> >{
> >e.printStackTrace
> >();
> >}
>
> >--
>
> >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-j...@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.

--

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