[appengine-java] Re: using the bulk loader with a date_time field

2011-03-14 Thread Michael Green
For the record (looks obvious in hindsight), the correct format is:  
2010-12-13T22:55:00

~Michael

-- 
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] Deleted APP, recover app ID

2011-03-14 Thread IvanRdz
Hello,

I deleted my app 5 days ago (due to HR datastore migration) and I can
´t recover this app id. When I try to register new app with this same
name in this same account, Google says that this Id is not available.
I remember a warning saying that there was no problem about the app ID
if the app is deleted. But I can´t register it.

Can anyone help me please?



-- 
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: Jersey crash in Eclipse

2011-03-14 Thread Adam Musial-Bright
Thanks. Finally I found the reason:

https://groups.google.com/group/google-appengine-java/browse_thread/thread/3fa6c1122441ff14/e62b01220af0e4b7?hl=de#e62b01220af0e4b7

and a critical bug issue:

http://code.google.com/p/googleappengine/issues/detail?id=4712

Regards
Adam


On 14 Mrz., 06:25, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 Jersey is supposed to work officially on app engine: 
 seehttp://groups.google.com/group/google-appengine-java/web/will-it-play...

 May the associated how-to will help you fix your 
 issue:http://tugdualgrall.blogspot.com/2010/02/create-and-deploy-jax-rs-res...

 regards

 didier

 On Mar 12, 5:59 pm, Adam Musial-Bright







 adam.musialbri...@googlemail.com wrote:
  Hi,

  I am using GAE 1.4.2 + Eclipse 3.6 with the Google Eclipse Plugin on a
  Mac with the newest Java update 1.6.0_24.

  When I start App (Jersey) in Eclipse it crashes after a moment. There
  is no obvious error. This is the log from the Eclipse terminal:

  2011-03-12 17:51:55.513 java[958:903] [Java CocoaComponent
  compatibility mode]: Enabled
  2011-03-12 17:51:55.516 java[958:903] [Java CocoaComponent
  compatibility mode]: Setting timeout for SWT to 0.10
  Mar 12, 2011 4:51:57 PM com.google.apphosting.utils.jetty.JettyLogger
  info
  INFO: Logging to JettyLogger(null) via
  com.google.apphosting.utils.jetty.JettyLogger
  Mar 12, 2011 4:51:57 PM
  com.google.apphosting.utils.config.AppEngineWebXmlReader
  readAppEngineWebXml
  INFO: Successfully processed /Users/adam/Git/stickiepad/war/WEB-INF/
  appengine-web.xml
  Mar 12, 2011 4:51:57 PM
  com.google.apphosting.utils.config.AbstractConfigXmlReader
  readConfigXml
  INFO: Successfully processed /Users/adam/Git/stickiepad/war/WEB-INF/
  web.xml
  Mar 12, 2011 5:51:58 PM
  com.google.appengine.tools.development.DevAppServerImpl start
  INFO: The server is running athttp://localhost:/

  The Eclipse log in the workspace directory do not contain any errors.
  Is there another log I should check?

  Thanks
  Adam

-- 
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] Cannot send emails with attachments larger than 1mb

2011-03-14 Thread keyvez
Hi,

I am trying to send emails with attachments and the only ones that go 
through are the ones smaller than 1mb. I read that app engine increased the 
limit to 10mb for email including attachment. I am using 1.4.2 sdk.

Thanks,
Gaurav

-- 
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] Unable to connect to repository http://dl.google.com/eclipse/plugin/3.6/content.xml

2011-03-14 Thread arash
when I try to install GWT for eclipse through 
http://dl.google.com/eclipse/plugin/3.6
I see this error:

Unable to connect to repository 
http://dl.google.com/eclipse/plugin/3.6/content.xml
Unable to connect to repository 
http://dl.google.com/eclipse/plugin/3.6/content.xml
Connection timed out: connect

how can i solve this problem?

-- 
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: Cannot send emails with attachments larger than 1mb

2011-03-14 Thread keyvez
Problem solved, it wasn't the email service, I was trying to fetch too much 
data in one api call and the it was failing there instead.

-- 
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] Why does google set quotas on their API calls?

2011-03-14 Thread Luca Matteis
From the Image Java API page:

Each Images service request counts toward the Image Manipulation API
Calls quota.

-- 
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: Why does google set quotas on their API calls?

2011-03-14 Thread Luca Matteis
Sorry, clicked on send before finishing my question.

Why does AppEngine set API limitations when I could just as easily use
a third-party library for manipulation and avoid this limitation?

Luca

On Mon, Mar 14, 2011 at 8:08 PM, Luca Matteis lmatt...@gmail.com wrote:
 From the Image Java API page:

 Each Images service request counts toward the Image Manipulation API
 Calls quota.


-- 
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: Why does google set quotas on their API calls?

2011-03-14 Thread Jay Young
Because when you do image transformations, you are sending an API to another 
piece of Google's infrastructure, which I would assume is highly optimized 
for doing such things.  If you do it in your own code, you'll probably pay 
more in CPU cost than you would for the API call.  If it's just a matter of 
bumping into the number of times you are allowed to make those API calls, 
let them know.  They've been known to relax some quotas for users with real 
needs.

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



Re: [appengine-java] Re: Why does google set quotas on their API calls?

2011-03-14 Thread Luca Matteis
Ok. Thanks for the information. I'm still new at this cloud thing, and
it looks great.

On Mon, Mar 14, 2011 at 8:29 PM, Jay Young jayyoung9...@gmail.com wrote:
 Because when you do image transformations, you are sending an API to another
 piece of Google's infrastructure, which I would assume is highly optimized
 for doing such things.  If you do it in your own code, you'll probably pay
 more in CPU cost than you would for the API call.  If it's just a matter of
 bumping into the number of times you are allowed to make those API calls,
 let them know.  They've been known to relax some quotas for users with real
 needs.

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


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



[appengine-java] Gettin white page when trying to log in - cause of exception.... even after deleting all _ah_SESSION Entities???

2011-03-14 Thread Daniel
I'm getting the next exception after I've added the private static
final long serialVersionUID to the class...

What else do i need to delete from my app in order to be able to log
in into the application

Regards,

Daniel.

2011-03-14 14:25:24.394

http://vedmack.appspot.com/
javax.servlet.ServletException: java.lang.RuntimeException:
java.io.InvalidClassException: dr.todo.beans.ScheduleControllerBean;
local class incompatible: stream classdesc serialVersionUID =
-1116670100735325123, local class serialVersionUID =
-6271321495824439527
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
240)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
135)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
261)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$2.handleRequest(RuntimePb.java:8440)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
454)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
572)
at com.google.tracing.TraceContext$TraceContextRunnable
$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:
688)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
326)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
318)
at com.google.tracing.TraceContext
$TraceContextRunnable.run(TraceContext.java:446)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.RuntimeException: java.io.InvalidClassException:
dr.todo.beans.ScheduleControllerBean; local class incompatible: stream
classdesc serialVersionUID = -1116670100735325123, local class
serialVersionUID = -6271321495824439527
at
com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
419)
at
com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java:
315)
at
com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java:
288)
at
org.mortbay.jetty.servlet.AbstractSessionManager.getHttpSession(AbstractSessionManager.java:
237)
at
org.mortbay.jetty.servlet.SessionHandler.setRequestedId(SessionHandler.java:
246)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
136)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
238)
... 19 more
Caused by: java.io.InvalidClassException:
dr.todo.beans.ScheduleControllerBean; local class incompatible: stream
classdesc serialVersionUID = -1116670100735325123, local class
serialVersionUID = -6271321495824439527
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:579)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
1600)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:
1513)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
1749)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at java.util.HashMap.readObject(HashMap.java:1047)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:
991)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:
1865)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at 

[appengine-java] JDO not storing time information in Date, only stores the day

2011-03-14 Thread Cheng Wei Lee
Hi GAE/J gurus,

I am using Google App Engine with Java, JDO for persistence. I have my 
Activity object withtimestamp declared as Persistent and of type 
java.util.Date.

public class Activity ...
{ ...
  @Persistent
  private Date timestamp;
...
}

All Activities stored in the database are seen with correct date but time 
information is always zero. e.g Tue Mar 14 00:00:00.

Is there any know issue? I'm currently using GAE 1.4.0


Many thanks!


Cheng

-- 
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: JDO not storing time information in Date, only stores the day

2011-03-14 Thread captain
Hi Cheng,

Need to see more code. Can you provide the way you create and watch
your timestamp?

Cheers

On Mar 14, 5:55 pm, Cheng Wei Lee cheng@gmail.com wrote:
 Hi GAE/J gurus,

 I am using Google App Engine with Java, JDO for persistence. I have my
 Activity object withtimestamp declared as Persistent and of type
 java.util.Date.

 public class Activity ...
 { ...
   @Persistent
   private Date timestamp;
 ...

 }

 All Activities stored in the database are seen with correct date but time
 information is always zero. e.g Tue Mar 14 00:00:00.

 Is there any know issue? I'm currently using GAE 1.4.0

 Many thanks!

 Cheng

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