[appengine-java] Re: URL Fetch problems

2011-03-06 Thread aldrinm
Can you try encoding the access token value ,

https://graph.facebook.com/me?
access_token=+URLEncoder.encode(316426390227|
2.MHJgJ9J6fuNwKern3vyHgg__.3600.129933-1185632060|oZFo-
ku78icKHAx_aFvNw dItx9U, UTF-8)

?


On Mar 6, 10:04 am, Kim Kha Nguyen nkim...@gmail.com wrote:
 OS: Ubuntu 10.10
 Java SDK: OpenJDK 6
 AppEngine: 1.4.2
 WebToolkit: 2.2.0

 I use URLFetch (doc here:http://goo.gl/hPraM), and url 
 is:https://graph.facebook.com/me?access_token=316426390227|2.MHJgJ9J6fuNwKern3vyHgg__.3600.129933-1185632060|oZFo-ku78icKHAx_aFvNw
  dItx9Uexpires_in=5101

 If I run in Firefox, error message is:

 java.lang.IllegalArgumentException: Invalid uri 
 'https://graph.facebook.com/me?access_token=316426390227|2.MHJgJ9J6fuNwKern3vyHgg__.3600.129933-1185632060|oZFo-ku78icKHAx_aFvNw
  dItx9Uexpires_in=5101': Invalid query

 But if I run in Chrome, error message is:

 javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate 
 for:https://graph.facebook.com/me?access_token=316426390227%7C2.MHJgJ9J6f...

 Please help me... I'm amateur in GAE.

 Thank all of you!

 Note: I opened a issue here:http://goo.gl/bxLgu

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: sending mails using appengine mail service

2010-02-27 Thread aldrinm
Can you post the error (if any), or a code sample of what you are
attempting?


On Feb 27, 4:39 pm, santosh mantri sandy1man...@gmail.com wrote:
 hello everyone,
 I am trying to send mail using app engine mail service but its not
 happening for me..can anybody help me...
 I have tried the example snippet from appengine...

-- 
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: grails The filename or extension is too long

2009-12-11 Thread aldrinm
You might want to try the work-arounds mentioned in this issue
http://code.google.com/p/googleappengine/issues/detail?id=1862

--

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: Persisting java.util.TimeZone

2009-11-25 Thread aldrinm
Thanks Jason,

Marking it as serialized works!
...
@Persistent(serialized = true)
TimeZone timeZone


Cheers,
Aldrin


On Oct 20, 11:11 pm, Jason (Google) apija...@google.com wrote:
 Have you tried storing it as a serialized 
 property?http://gae-java-persistence.blogspot.com/2009/10/serialized-fields.html

 If so, then please post your implementation that doesn't work and any log
 details re: the failure.

 - Jason



 On Fri, Oct 16, 2009 at 7:07 AM, aldrinm aldr...@gmail.com wrote:

  Hi,

  Can I persist an instance of java.util.TimeZone in the datastore? From
  this thread,
 http://groups.google.com/group/google-appengine-java/browse_thread/th...
  and the whitelist
 http://code.google.com/appengine/docs/java/jrewhitelist.html
  , it appears that it can be done. Unable to get it to work. Any
  pointers?

  Thanks
  Aldrin

--

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 with Constraints (JPA + grails)

2009-11-07 Thread aldrinm

You may need to call the validate() method on the domain instance.

On Nov 7, 3:26 am, Jeremiah Elliott jelli...@integrityemr.com wrote:
 I am working on a project that is evaluating the use of grails and gae. We
 are unable to specify constraints that are actually enforced.

 We have tried a grails style like:
 static constraints = {
 id(visible:false)
 userName(blank: false)
  firstName(blank: false)
 middleName(blank:false, nullable:false)
 lastName(blank: false)
  }

 and annotations such as:
 @Basic(optional = false)
 �...@column(nullable = false)

 but either way we can insert data that should not be allowed. In particular
 we are trying to specify that a field can not be null or empty.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] java.lang.IllegalAccessException: Private fields can not be set on JRE classes.

2009-10-18 Thread aldrinm

Hi,

What does this exception indicate? Unable to use direct char[] access
of java.lang.String. Disabling this method.
 [java] java.lang.IllegalAccessException: Private fields can not
be set on JRE classes.
This has started occurring after updating the GAE SDK to the latest
(ver 1.2.7 - 2009-10-15). Tried googling but absolutely nothing! I'm
using grails and do not understand what the framework is doing. Though
the app continues to work irrespective of this error, am curious abt
this. Here is a part of the stack trace.


 [java] Unable to use direct char[] access of java.lang.String.
Disabling this method.
 [java] java.lang.IllegalAccessException: Private fields can not
be set on JRE classes.
 [java] at
com.google.appengine.tools.development.agent.runtime.Runtime.verifyWritable
(Runtime.java:81)
 [java] at
com.google.appengine.tools.development.agent.runtime.Runtime.verifyAndRun
(Runtime.java:335)
 [java] at
com.google.appengine.tools.development.agent.runtime.Runtime.set
(Runtime.java:229)
 [java] at
org.codehaus.groovy.grails.web.util.StringCharArrayAccessor.createString
(StringCharArrayAccessor.java:168)
 [java] at
org.codehaus.groovy.grails.web.util.StreamCharBuffer.readAsString
(StreamCharBuffer.java:294)
 [java] at
org.codehaus.groovy.grails.web.util.StreamCharBuffer.toString
(StreamCharBuffer.java:312)
 [java] at
org.codehaus.groovy.grails.web.pages.FastStringWriter.toString
(FastStringWriter.java:47)
 [java] at
org.codehaus.groovy.grails.web.taglib.GroovyPageTagWriter.getValue
(GroovyPageTagWriter.java:36)
 [java] at
org.codehaus.groovy.grails.web.pages.GroovyPage.captureTagOutput
(GroovyPage.java:351)
 [java] at org.codehaus.groovy.grails.web.pages.GroovyPage
$captureTagOutput.call(Unknown Source)
 [java] at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
(CallSiteArray.java:40)
 [java] at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
(AbstractCallSite.java:117)
 [java] at
org.codehaus.groovy.grails.web.plugins.support.WebMetaUtils
$_registerMethodMissingForTags_closure13.doCall(WebMetaUtils.groovy:
128)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

Thanks,
Aldrin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: Persisting java.util.TimeZone

2009-10-18 Thread aldrinm

As a workaround, am now persisting the timezone id as a String
datatype

On Oct 16, 7:07 pm, aldrinm aldr...@gmail.com wrote:
 Hi,

 Can I persist an instance of java.util.TimeZonein the datastore? From
 this 
 thread,http://groups.google.com/group/google-appengine-java/browse_thread/th...
 and the whitelisthttp://code.google.com/appengine/docs/java/jrewhitelist.html
 , it appears that it can be done. Unable to get it to work. Any
 pointers?

 Thanks
 Aldrin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---