[appengine-java] 500 Server Error. Please help

2010-07-17 Thread jayati
After much difficulty in deploying, (difficulty like:  I was getting
remote host closed connection many times and had to deploy again and
again) It finally deployed correctly. But, I am getting error as
follows:

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

The URL of the application is: jayati3644.appspot.com

Could someone tell me why this is happening and what I should do to
remove it. I have tried deploying the application a number of times
and also making another application and deploying my project there but
it doesn't work. Any help appreciated.

-- 
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] 500 Server Error. Please help

2010-07-17 Thread John Patterson

Look  in the logs to see what is causing the error

On 17 Jul 2010, at 19:37, jayati wrote:


After much difficulty in deploying, (difficulty like:  I was getting
remote host closed connection many times and had to deploy again and
again) It finally deployed correctly. But, I am getting error as
follows:

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

The URL of the application is: jayati3644.appspot.com

Could someone tell me why this is happening and what I should do to
remove it. I have tried deploying the application a number of times
and also making another application and deploying my project there but
it doesn't work. Any help appreciated.

--  
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-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] any limitation on the versions for a give app-id

2010-07-17 Thread aswath satrasala
I am planning to update the application every month.  Hence, I want to give
a different version no for the new upload to the appengine.
Is there any limit on the number of versions that can be uploaded to
appengine for the given app-id.

-Aswath

-- 
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: [objectify-appengine] any limitation on the versions for a give app-id

2010-07-17 Thread Scott Hernandez
Yes, I think it is 10. You can delete old versions so you can upload
new ones, but you can only have a limited number at a time.

On Sat, Jul 17, 2010 at 9:42 AM, aswath satrasala
aswath.satras...@gmail.com wrote:
 I am planning to update the application every month.  Hence, I want to give
 a different version no for the new upload to the appengine.
 Is there any limit on the number of versions that can be uploaded to
 appengine for the given app-id.

 -Aswath




-- 
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] Discussion on will-it-play-in-app-engine

2010-07-17 Thread Shyam Visamsetty
Just wanted to update this page on iText library.
http://blog.rubypdf.com/2009/12/17/how-to-run-itext-on-google-app-engine/

-- 
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] Discussion on will-it-play-in-app-engine

2010-07-17 Thread Guillaume Laforge
Neat!

Do you know if the patch will find its way in the iText source tree at some
point?

Guillaume

On Sat, Jul 17, 2010 at 21:51, Shyam Visamsetty shyamsunder...@gmail.comwrote:

 Just wanted to update this page on iText library.
 http://blog.rubypdf.com/2009/12/17/how-to-run-itext-on-google-app-engine/

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

-- 
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: Dance Dance Robot error / Channel API

2010-07-17 Thread Daniel Guermeur
Yes it is in App Engine 1.3.5. Look in the jar. I've got the backend
working already. There is no doc, just classes.

Among other things here is what there is:

import com.google.appengine.api.channel.ChannelMessage;
import com.google.appengine.api.channel.ChannelService;
import com.google.appengine.api.channel.ChannelServiceFactory;

and it all works.

Daniel

On Jul 16, 6:42 pm, Rahul Ravikumar tikura...@gmail.com wrote:
 The Channel API for Google App Engine is not out yet!

 On Jul 15, 6:11 pm, Daniel Guermeur superco...@gmail.com wrote:



  Hello there,

  I am building a GWT+ GAE app based on Dance Dance Robot app, the demo
  Google IO demo app showcased at Google IO.

  I am using the Channel API (Java AppEngine 1.3.5) . I am almost there
  but there is one hick up on the GWT client side (Java):

  When running the app I get an error:
  ==
  - Uncaught exception escaped.
  com.google.core.client.JavaScriptException: (TypeError): $wnd.goog is
  undefined.
  ==

  This comes from the ChannelFactory.java on the client side. Here it
  is:

  public class ChannelFactory {
      public static final native Channel createChannel(String
  channelId) /*-{
        return new $wnd.goog.appengine.Channel(channelId);
      }-*/;

  }

  Again this is straight from the Dance Dance Robot demo app.

  I am pretty sure it is a stupid mistake on my part but can't find it.

  Any suggestion would be greatly appreciated.

  Daniel

-- 
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: Dance Dance Robot error / Channel API

2010-07-17 Thread Rahul Ravikumar
Thanks for letting me know.. This is awesome.

On Jul 17, 2:15 pm, Daniel Guermeur superco...@gmail.com wrote:
 Yes it is in App Engine 1.3.5. Look in the jar. I've got the backend
 working already. There is no doc, just classes.

 Among other things here is what there is:

 import com.google.appengine.api.channel.ChannelMessage;
 import com.google.appengine.api.channel.ChannelService;
 import com.google.appengine.api.channel.ChannelServiceFactory;

 and it all works.

 Daniel

 On Jul 16, 6:42 pm, Rahul Ravikumar tikura...@gmail.com wrote:

  The Channel API for Google App Engine is not out yet!

  On Jul 15, 6:11 pm, Daniel Guermeur superco...@gmail.com wrote:

   Hello there,

   I am building a GWT+ GAE app based on Dance Dance Robot app, the demo
   Google IO demo app showcased at Google IO.

   I am using the Channel API (Java AppEngine 1.3.5) . I am almost there
   but there is one hick up on the GWT client side (Java):

   When running the app I get an error:
   ==
   - Uncaught exception escaped.
   com.google.core.client.JavaScriptException: (TypeError): $wnd.goog is
   undefined.
   ==

   This comes from the ChannelFactory.java on the client side. Here it
   is:

   public class ChannelFactory {
       public static final native Channel createChannel(String
   channelId) /*-{
         return new $wnd.goog.appengine.Channel(channelId);
       }-*/;

   }

   Again this is straight from the Dance Dance Robot demo app.

   I am pretty sure it is a stupid mistake on my part but can't find it.

   Any suggestion would be greatly appreciated.

   Daniel

-- 
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] populate datastore with a new kind

2010-07-17 Thread emmanuel harel
Thanks John !
Is it possible to have a svn check out repository address ?
Regards


2010/7/5 John Patterson jdpatter...@gmail.com

 You can upload and download data using the RemoteDatastore:

 http://code.google.com/p/remote-datastore/

 It works at the binary level so you can use it with JDO, Twig, Objectify,
 low-level API etc


 On 4 Jul 2010, at 16:00, dukefan wrote:

  Hello,
 Does anybody have a procedure to create a kind in the datastore (in
 development and production mode) using a script ?
 The new step is for example to upload data reference to the datastore,
 in python it is possible using
 http://code.google.com/intl/fr/appengine/docs/python/tools/uploadingdata.html
 I would like to know if in java there is an equivalent ?
 Regards


 --
 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Problem with datastore

2010-07-17 Thread lisandrodc


I'm using the Google AppEngine, with Java. When I use some datastore
features, I'm getting an error message:
 Objeto con id model.fe...@cf17c3 es manejado por otro
ObjectManager.

The code:
public void crearPartido(String nombre1, String nombre2,Date
fecha,Fecha fechaAgreg) {
//JDOHelper.getPersistenceManager(obj);
PersistenceManager pm2 = PMF.get().getPersistenceManager();
Transaction tx = pm2.currentTransaction();
try {
tx.begin();
Equipo eq1= new Equipo(nombre1, , );
Equipo eq2=new Equipo(nombre2,,);
Partido par1=new Partido(, , eq1,eq2, fecha);
fechaAgreg.agregarPartido(par1);
pm2.makePersistent(fechaAgreg);


} finally {
tx.commit();
pm2.close();
if (tx.isActive()) {
tx.rollback();
}
}

}

And the persistent manager class:

public final class PMF {
private static PersistenceManagerFactory pmfInstance = null;

public static PersistenceManagerFactory get() {
if ((pmfInstance == null )||(pmfInstance.isClosed())){
pmfInstance = JDOHelper.

getPersistenceManagerFactory(transactions-optional);
}

return pmfInstance;
}
}
Regards!
Lisandro

-- 
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] polymorphism in relationships is not yet supported?

2010-07-17 Thread lisandrodc
I have  a problem when assign an object using polymorphism.

 Received a child of type model.Empate for a field of type
model.Resultado.  Unfortunately polymorphism in relationships is not
yet supported.

par1=new Partido(23, new Empate(), eq1,eq2, fecha);
The constructor:
public Partido(Long numero, Resultado resultado, Equipo equipoLocal,
Equipo equipoVisitante, Date fechaPartido) {
super();
this.numero = numero;
this.resultado = resultado;
this.setEquiposPartido(new ArrayListEquipo());
this.equiposPartido.add(equipoLocal);
this.equiposPartido.add(equipoVisitante);
this.fechaPartido = fechaPartido;
}
The class Empate extends the class Resultado(parent).
Regards
Lisandro

-- 
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] rename a app-id

2010-07-17 Thread aswath satrasala
Hello,
Is there any way I can rename my app-id.

-Aswath

-- 
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: sessions - configured but don't work on first call

2010-07-17 Thread Shawn Brown
 Why can't a filter start a session?
 this.getThreadLocalRequest().getSession(); will find a session created
 by a filter via request.getSession(true);
 but  request.getSession(true); doesn't seem so send a cookie to the client.

 I really can't understand this.  Help please

It looks like this is related to the appengine developement server.
When deployed, the filter sets cookies as expected.  It's not that the
cookie was at a different uri or something, there was just no cookie
(JSESSION or anything I tried to set) being sent on the first access.

I configured appengine-web.xml file to treat it as a non-static
resource so yes the filter is called but under the dev server no
cookie is sent for the first access.

Shawn

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