[appengine-java] Re: My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage

2011-04-16 Thread hiran.suvrat
Can anyone help with the above problems?

On Apr 9, 10:58 am, hiran.suvrat hiran.suv...@gmail.com wrote:
 Hi,
 Tweet_now is a servlet which i have made. when i run it on the local
 server it works fine. but after deployment to google app engine server
 this error occurs. i am using netbeans to create war file but i am not
 able to deploy it to the server through netbeans. i am using command
 line to deploy on server.

 thanks

 On Apr 8, 12:42 pm, Amit Pandey amit.s...@gmail.com wrote:







  As per your exception* tweet_now* class is not available for JVM. If you
  have created this class, make sure you have imported it. OR if you are using
  jar file for this class, make sure you have added the jar file to the class
  path.

  Just to clarify- Are you using eclipse to deploy the code in app engine?

  Thanks,
   Amit

  On Fri, Apr 8, 2011 at 11:49 AM, hiran.suvrat 
  hiran.suv...@gmail.comwrote: I have a similar problem and the error log 
  is.. Thank you for the help

   500 776ms 956cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-
   US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/
   534.16,gzip(gfe)
   203.110.243.21 - - [30/Mar/2011:14:33:44 -0700] GET / HTTP/1.1 500 0
   - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16
   (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16,gzip(gfe)
   sentiment-app.appspot.com ms=777 cpu_ms=957 api_cpu_ms=0
   cpm_usd=0.026614 loading_request=1
   W 2011-03-30 14:33:44.409
   EXCEPTION
   java.lang.ClassNotFoundException: tweet_now
          at
   com.google.appengine.runtime.Request.process-01e974251f42de3f(Request.java)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
          at org.mortbay.util.Loader.loadClass(Loader.java:91)
          at org.mortbay.util.Loader.loadClass(Loader.java:71)
          at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
          at
   org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
   242)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at
   org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
   685)
          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
          at
   org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
   1250)
          at
   org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
   517)
          at
   org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
   467)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at 
   com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
   437)
          at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
   573)
          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.jav
a:
   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)
   E 2011-03-30 14:33:44.410
   javax.servlet.ServletContext log: unavailable
   javax.servlet.UnavailableException: tweet_now
          at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
          at
   org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
   242)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at
   org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
   685)
          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
          at
   org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
   1250)
          at
   org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
   517)
          at
   org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
   467)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at

   com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppV
ersionHandlerMap.java:
   191)
          at

   com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVers
ionHandlerMap.java:
   168)
          at

   com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques
t(JettyServletEngineAdapter.java:
   123)
          at
   

Re: [appengine-java] Re: My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage

2011-04-16 Thread jem...@gmail.com
Try clean and build everything again. And make sure all classes are enhanced 
properly by data nucleus.

Hth

- Reply message -
From: hiran.suvrat hiran.suv...@gmail.com
Date: Sat, Apr 16, 2011 3:15 am
Subject: [appengine-java] Re: My application works well in eclipse but when I 
deploy the same code in GAE it shows the following error while opening the 
homepage
To: Google App Engine for Java google-appengine-java@googlegroups.com

Can anyone help with the above problems?

On Apr 9, 10:58 am, hiran.suvrat hiran.suv...@gmail.com wrote:
 Hi,
 Tweet_now is a servlet which i have made. when i run it on the local
 server it works fine. but after deployment to google app engine server
 this error occurs. i am using netbeans to create war file but i am not
 able to deploy it to the server through netbeans. i am using command
 line to deploy on server.

 thanks

 On Apr 8, 12:42 pm, Amit Pandey amit.s...@gmail.com wrote:







  As per your exception* tweet_now* class is not available for JVM. If you
  have created this class, make sure you have imported it. OR if you are using
  jar file for this class, make sure you have added the jar file to the class
  path.

  Just to clarify- Are you using eclipse to deploy the code in app engine?

  Thanks,
   Amit

  On Fri, Apr 8, 2011 at 11:49 AM, hiran.suvrat 
  hiran.suv...@gmail.comwrote: I have a similar problem and the error log 
  is.. Thank you for the help

   500 776ms 956cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; en-
   US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/
   534.16,gzip(gfe)
   203.110.243.21 - - [30/Mar/2011:14:33:44 -0700] GET / HTTP/1.1 500 0
   - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16
   (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16,gzip(gfe)
   sentiment-app.appspot.com ms=777 cpu_ms=957 api_cpu_ms=0
   cpm_usd=0.026614 loading_request=1
   W 2011-03-30 14:33:44.409
   EXCEPTION
   java.lang.ClassNotFoundException: tweet_now
          at
   com.google.appengine.runtime.Request.process-01e974251f42de3f(Request.java)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
          at org.mortbay.util.Loader.loadClass(Loader.java:91)
          at org.mortbay.util.Loader.loadClass(Loader.java:71)
          at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
          at
   org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
   242)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at
   org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
   685)
          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
          at
   org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
   1250)
          at
   org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
   517)
          at
   org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
   467)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at 
   com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
   437)
          at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
   573)
          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.jav
a:
   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)
   E 2011-03-30 14:33:44.410
   javax.servlet.ServletContext log: unavailable
   javax.servlet.UnavailableException: tweet_now
          at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
          at
   org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
   242)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
          at
   org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
   685)
          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
          at
   org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
   1250)
          at
   org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
   517)
          at
   org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
   467)
          at
   org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
   50)
      

[appengine-java] Bulkloader upload generates new entries instead of updating existing ones

2011-04-16 Thread Adam Musial-Bright
Hello,

for my project I am using GAE datastore to store data. For backup
purpose I decided to use the bulkloader - which downloads the whole
data perfectly in a csv file. Also the upload uploads the data fine
without errors.
My problem is, that the upload do not update the existing data but
creates duplicates. Here an example from the datastore viewer:

Before update:

ID/Name
id=18000
id=20001

After update:

ID/Name
id=18000
id=20001
name=18000
name=20001

In the datastore entity I am using this as an data id:

@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;

Any Idea how I can actually update existing data with bulkloader?

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] Using Text instead of String - Problem?

2011-04-16 Thread Thomas Riley
Hello all,

In my app engine project I have been storing values in the datastore as Text 
(com.google.appengine.api.datastore.Text) instead of String as I expect the 
value may be greater than 500 sometimes.

It all works great bar one problem.

When extracting the Text value and converting it to a Sting it seems to 
store the underlying value inside some form of HTML-like 'tag'.

For example: storing 'testing' in the Datastore as Text returns 'Text: 
testing\n\n when converting it to string using Text.getValue();

Does anyone have any ideas how to solve this without having to actually 
parse the string and extract the value?

Sample code below shows how I convert from Text to String:
Text command = new Text(testing);
String commandString = command.getValue();



-- 
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] JSP File Upload errors on web, okay locally in Eclipse Galileo

2011-04-16 Thread Dököll Solutions
Greetings!

I have a jsp page working fine locally but when deployed to GAE and I call 
the URL from my website, I receive the following error

Error: Server ErrorThe server encountered an error and could not complete 
your request.

If the problem persists, please 
reporthttp://code.google.com/appengine/community.html your 
problem and mention this error message and the query that caused it.

Has anybody seen that error pop up before?  I can post the code if you need 
to see it but I believe it is fine, seems to be generic. Other jsp pages 
deployed to GAE, called from my site via URLs work just fine, not sure why 
FileUpload page is special.

Hope it's simple:-)


Dököll

-- 
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] JSP File Upload errors on web, okay locally in Eclipse Galileo

2011-04-16 Thread Wilson MacGyver
Are you using the jsp to upload to blob store? You have to enable billing for 
it to work.

On Apr 16, 2011, at 12:34 PM, Dököll Solutions dokollsolutions...@gmail.com 
wrote:

 Greetings!
 
 I have a jsp page working fine locally but when deployed to GAE and I call 
 the URL from my website, I receive the following error
 
 Error: Server Error
 
 The server encountered an error and could not complete your request.
 If the problem persists, please report your problem and mention this error 
 message and the query that caused it.
 
 Has anybody seen that error pop up before?  I can post the code if you need 
 to see it but I believe it is fine, seems to be generic. Other jsp pages 
 deployed to GAE, called from my site via URLs work just fine, not sure why 
 FileUpload page is special.
 
 Hope it's simple:-)
 
 
 
 Dököll
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.

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



[appengine-java] Re: JSP File Upload errors on web, okay locally in Eclipse Galileo

2011-04-16 Thread Dököll Solutions
Thanks for the info, yes I am using jsp... I will see how to enable
billing, do you have an URL handy to do this.

Appreciate your prompt attention.

Dököll

On Apr 16, 1:00 pm, Wilson MacGyver wmacgy...@gmail.com wrote:
 Are you using the jsp to upload to blob store? You have to enable billing for 
 it to work.

 On Apr 16, 2011, at 12:34 PM, Dököll Solutions dokollsolutions...@gmail.com 
 wrote:



  Greetings!

  I have a jsp page working fine locally but when deployed to GAE and I call 
  the URL from my website, I receive the following error

  Error: Server Error

  The server encountered an error and could not complete your request.
  If the problem persists, please report your problem and mention this error 
  message and the query that caused it.

  Has anybody seen that error pop up before?  I can post the code if you need 
  to see it but I believe it is fine, seems to be generic. Other jsp pages 
  deployed to GAE, called from my site via URLs work just fine, not sure why 
  FileUpload page is special.

  Hope it's simple:-)

  Dököll

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

 - Show quoted text -

-- 
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: JSP File Upload errors on web, okay locally in Eclipse Galileo

2011-04-16 Thread Wilson MacGyver
You can do it at the admin console. Left hand side, billing setting. You only 
have to pay if you exceed the free quota. 

Sent from my iPhone

On Apr 16, 2011, at 2:52 PM, Dököll Solutions dokollsolutions...@gmail.com 
wrote:

 Thanks for the info, yes I am using jsp... I will see how to enable
 billing, do you have an URL handy to do this.
 
 Appreciate your prompt attention.
 
 Dököll
 
 On Apr 16, 1:00 pm, Wilson MacGyver wmacgy...@gmail.com wrote:
 Are you using the jsp to upload to blob store? You have to enable billing 
 for it to work.
 
 On Apr 16, 2011, at 12:34 PM, Dököll Solutions 
 dokollsolutions...@gmail.com wrote:
 
 
 
 Greetings!
 
 I have a jsp page working fine locally but when deployed to GAE and I call 
 the URL from my website, I receive the following error
 
 Error: Server Error
 
 The server encountered an error and could not complete your request.
 If the problem persists, please report your problem and mention this error 
 message and the query that caused it.
 
 Has anybody seen that error pop up before?  I can post the code if you need 
 to see it but I believe it is fine, seems to be generic. Other jsp pages 
 deployed to GAE, called from my site via URLs work just fine, not sure why 
 FileUpload page is special.
 
 Hope it's simple:-)
 
 Dököll
 
 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.- Hide quoted 
 text -
 
 - Show quoted text -
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.
 

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



Re: [appengine-java] Using Text instead of String - Problem?

2011-04-16 Thread Jeff Schnitzer
You must be calling toString() somewhere, which puts that extra
formatting around it.  Text.getValue() always returns the plain
String.

Jeff

On Sat, Apr 16, 2011 at 7:41 AM, Thomas Riley tomrile...@gmail.com wrote:
 Hello all,
 In my app engine project I have been storing values in the datastore as Text
 (com.google.appengine.api.datastore.Text) instead of String as I expect the
 value may be greater than 500 sometimes.
 It all works great bar one problem.
 When extracting the Text value and converting it to a Sting it seems to
 store the underlying value inside some form of HTML-like 'tag'.
 For example: storing 'testing' in the Datastore as Text returns 'Text:
 testing\n\n when converting it to string using Text.getValue();
 Does anyone have any ideas how to solve this without having to actually
 parse the string and extract the value?
 Sample code below shows how I convert from Text to String:
 Text command = new Text(testing);
 String commandString = command.getValue();



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


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



Re: [appengine-java] Using Text instead of String - Problem?

2011-04-16 Thread Thomas Riley
I see, thanks. Only problem is, doesn't toString() only return 70 chars or 
will .getValue().toString() return the whole 'string' in it's true form?

-- 
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] Using Text instead of String - Problem?

2011-04-16 Thread Jeff Schnitzer
getValue() returns the whole String.  Calling String.toString() just
returns this.

I strongly recommend you install JD (or some other decompiler) into
eclipse so you can see what goes on inside Text.  It's really quite
simple.

Jeff

On Sat, Apr 16, 2011 at 3:08 PM, Thomas Riley tomrile...@gmail.com wrote:
 I see, thanks. Only problem is, doesn't toString() only return 70 chars or
 will .getValue().toString() return the whole 'string' in it's true form?

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


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



[appengine-java] Re: Moderation enabled

2011-04-16 Thread Richard Fanning
Hi there,

Just about to post so hoping this will gain auto approval as a new member of 
the group.

Thanks

Rich

-- 
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] Redirection query on naked domain

2011-04-16 Thread Richard Fanning
Hi there,

I currently have an website deployed to app engine and have the domain on 
google apps (domain is registered with google and eNom are domain provider). 
I'm setting up my sitemap using google webmaster tools and noticed that my 
redirect seems to be a domain redirect rather than a URL redirect for the 
naked domain. Not sure I got the terminology correct there so i'll provide 
more detail

When I hit the following URL the robots.txt is displayed.

http://www.jungle-it.com/robots.txt

When I hit the following URL it directs to the sites homepage 
(http://www.jungle-it.com/)

http://jungle-it.com/robots.txt

I've read the named domains is not exactly supported but i'm not sure if 
this is what is not supported?

http://code.google.com/appengine/kb/general.html#naked_domain

Is there a way to correct this behaviour? Perhaps I can add a CNAME with the 
domain registrar? 

Note:  I'm using GAE/J

Thanks

Rich

-- 
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: Failing tasks getting duplicated

2011-04-16 Thread John
Yes. This behavior is reproducible and has been observed on different
applications actually. When the task returns a 500 response code, it
gets duplicated for some reason.


On Apr 16, 1:50 am, nischalshetty nischalshett...@gmail.com wrote:
 When a task fails, the same task would be retried again. Ideally if you
 have just one task in your system and that fails a 100 times at the end of
 the day you should still have only one task in the queue.

 Are you sure you do not have any logic in the url that the task calls where
 you create a new task?

-- 
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: [google-appengine] Re: RequestError: Server responded with: 500, A temporary internal problem has occurred. Try again later.

2011-04-16 Thread Gwyn Howell


The issue seems to be profile pictures. I tried removing my profile picture via 
the GMail - Settings - My Picture, then run the test again and it worked 
fine. I checked the XML for both requests (one with profile picture and one 
without) and the only difference is that the one with had an etag attrb on the 
photo link tag. from the documentation 
(http://code.google.com/apis/contacts/docs/3.0/reference.html#Photos) this 
looks to be expected behavior.

Thanks to Vinay ditoweb.com 
http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2507

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



[google-appengine] Re: communicate with channel over external python app?

2011-04-16 Thread Dale
You might want to star this issue 
http://code.google.com/p/googleappengine/issues/detail?id=4189
Once the java version is in place it could then be ported to python.

(As an aside we have an embedded system written in C that polls our
app. Having a simple, non-browser based Channels API would be much
better for us as well.)

Dale

On Apr 15, 7:57 pm, andreas schmid a.schmi...@gmail.com wrote:
 i see. thank you

 On Apr 15, 2011, at 1:29 PM, Calvin wrote:



  Channel API is one-way, and currently only works when the recipient is a 
  JavaScript-capable web browser.

  The XMPP api might be more what you're looking for:
 http://code.google.com/appengine/docs/python/xmpp/overview.html

  Calvin
  p.s. Second person asking about using Channel API with a non-browser client 
  in a month.
 https://groups.google.com/forum/#!topic/google-appengine/fZeNkYIiKeU

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

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



Re: [google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-04-16 Thread n8gray
Ikai,

I totally understand that you guys want to focus on the interesting parts of 
the problem, but you could make one really simple change that would probably 
*solve* the problem for most of your users: allow us to set the DKIM header 
on outgoing mail.  All it would require is allowing write access to one more 
header.

See this bug for details:
http://code.google.com/p/googleappengine/issues/detail?id=3161

Cheers,
-n8

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



Re: [google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-04-16 Thread Adam Sah
Ikai-- totally agree re:bulk email, but please please please add DKIM, which 
(I'm told) is 90% of the solution for
enterprise/extranet apps that need to use email for workflow.  The Big 
Reason I chose AppEngine was to get
an integrated solution from one vendor: forcing me to use multiple vendors 
makes GAE far less compelling.

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

thanks again!
adam

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



[google-appengine] Re: communicate with channel over external python app?

2011-04-16 Thread Stephen Blum
Dale,

Like Andreas stated above the XMPP API will be more what you are
seeking, however you'll need to write a wrapper between your Channel
API and the XMPP receiver.  There are Cloud services available such as
PubNub that provide this layer of communication automatically between
all types of hardware.  I recommend checking them out.


Stephen

On Apr 16, 2:56 am, Dale dalehu...@gmail.com wrote:
 You might want to star this 
 issuehttp://code.google.com/p/googleappengine/issues/detail?id=4189
 Once the java version is in place it could then be ported to python.

 (As an aside we have an embedded system written in C that polls our
 app. Having a simple, non-browser based Channels API would be much
 better for us as well.)

 Dale

 On Apr 15, 7:57 pm, andreas schmid a.schmi...@gmail.com wrote:







  i see. thank you

  On Apr 15, 2011, at 1:29 PM, Calvin wrote:

   Channel API is one-way, and currently only works when the recipient is a 
   JavaScript-capable web browser.

   The XMPP api might be more what you're looking for:
  http://code.google.com/appengine/docs/python/xmpp/overview.html

   Calvin
   p.s. Second person asking about using Channel API with a non-browser 
   client in a month.
  https://groups.google.com/forum/#!topic/google-appengine/fZeNkYIiKeU

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

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



[google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-04-16 Thread nickmilon
+1

On Apr 16, 9:02 pm, n8gray n8g...@gmail.com wrote:
 Ikai,

 I totally understand that you guys want to focus on the interesting parts of
 the problem, but you could make one really simple change that would probably
 *solve* the problem for most of your users: allow us to set the DKIM header
 on outgoing mail.  All it would require is allowing write access to one more
 header.

 See this bug for 
 details:http://code.google.com/p/googleappengine/issues/detail?id=3161

 Cheers,
 -n8

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



[google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-04-16 Thread nickmilon
+1

On Apr 16, 10:06 pm, Adam Sah adam@gmail.com wrote:
 Ikai-- totally agree re:bulk email, but please please please add DKIM, which
 (I'm told) is 90% of the solution for
 enterprise/extranet apps that need to use email for workflow.  The Big
 Reason I chose AppEngine was to get
 an integrated solution from one vendor: forcing me to use multiple vendors
 makes GAE far less compelling.

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

 thanks again!
 adam

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



[google-appengine] Re: AppEngine IPs in SpamHaus

2011-04-16 Thread Kyle Jensen
Any update on this issue?  The affected IPs are still in SpamHaus,
which causes problems for both OpenDNS and email delivery for email
containing links to names resolving to the affected IPs.
-Kyle

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



[google-appengine] JDO: is not a supported property type.

2011-04-16 Thread Divyahans
Hi, when I run my Java servlet I get this error - group.Groupie is not
a supported property type.
(group being the package and Groupie being the class)

Here is the code for Groupie:

package group;
import com.google.appengine.api.datastore.Key;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import java.util.ArrayList;

@PersistenceCapable
public class Groupie
{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;

@Persistent
private ArrayListString numbers;

@Persistent
private String groupName;

public Groupie(String name, ArrayListString temp)
{
groupName = name;
numbers = temp;
}
public Groupie(String name)
{
groupName = name;
numbers = new ArrayListString();
}

public String getGroupName()
{
return groupName;
}

public ArrayListString getNumbers()
{
return numbers;
}


public void addNumber(String temp)
{
numbers.add(temp);
}

public String getAllNumbers()
{
String result = ;
for(int index =0; index  numbers.size(); index++)
{
result += br + numbers.get(index);
}
return result;
}
}


Why do I still get the error even though I put the @Persistent's?

Thanks


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



[google-appengine] Google Checkout + App engine stinks

2011-04-16 Thread Daniel
Every single time I try to up my quota, and pay a bit more for
appengine, google checkout messes up and I have to wait 30 minutes to
even attempt again.  Granted most of my problems lie in the fact that
I'm using a google apps account.  My most recent attempt was thwarted
when google checkout redirected me to combine a personal and google
apps account, locking up appengine again and apparently deleting my
google checkout account.  So now I have an application over quota
linked to a non-existent google checkout account and I can't do
anything for 30 minutes.

Seriously, there has to be a better way to deal with billing.  I don't
think I have ever seen an online application that had a 30 minute
waiting period every time you made any attempt to change billing
(especially the numerous failed attempts I'm riddled with).  I have
ended up stuck in this ridiculous waiting period at least ten times
and I don't think it's user error, rather flawed design on the app
engine teams part.

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