Re: [appengine-java] javax.mail.internet.MimeMultipart is a restricted class

2011-03-15 Thread Ronmell Fuentes
Hi,
as far as I know, when sending mail using GAE with javamail, you cannot use
attachments,
because this attachments use
Message-Multipar-DataSourceHandler-input/output
and, acording to gae's documentation, you cannot use files in GAE.

the error means that class cannot be used in gae.

cheers,

R. F.

On Tue, Mar 15, 2011 at 10:49 AM, Alberto Sandoval Sotelo 
alberto2...@gmail.com wrote:

 I get this error only in development engine:

 com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
 abstract java.lang.String
 pruebadocs.client.GreetingService.greetServer(java.lang.String) throws
 java.lang.IllegalArgumentException' threw an unexpected exception:
 java.lang.NoClassDefFoundError: javax.mail.internet.MimeMultipart is a
 restricted class. Please see the Google  App Engine developer's guide for
 more details.

 Please help me i dont know what else to do.

 I tried adding mail.jar to my lib directory and did't work either.

 I have las versions of the SDK's.

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




-- 
*-Information Technologies Engineering-*
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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-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: How to POST to the BlobStore from a command line Java program?

2011-02-24 Thread Ronmell Fuentes
Hi,
what Didier's right!
also you could use webservices REST-type, and write your own handlers
with this new way, you could perform the specific operations like:

@POST -  insert
@PUT-  update
@GET   -   select
@DELETE -   delete.

so that, you can see that you've got all the basic operations like in a DB,
and acording to what Didier said, you could write a POJO to store all
your data.

Then, in the client side, you could write a program to perform all the tasks

for maintaining these POJOs ( select, update, insert, delete )
programaticly.

here you can find a very helpful project about REST-type services.

http://www.restlet.org/

hope this was helpful.

cheers,


On Wed, Feb 23, 2011 at 11:11 PM, Didier Durand durand.did...@gmail.comwrote:

 Hi guys,

 I don't have a direct answer to your question but I have another
 proposal:

 why don't replace the blobstore by a pojo containing a list of gae
 blob objects. They are limited to 1 Mbytes each but you can split your
 files into a collection that you gather via the proper structure (a
 java collection)

 You can then access the full servlet api (POST to store them, GET to
 retrieve them)

 The recent availability allows you to serve a blob while you fetch the
 next one.

 I see only 1 issue in this solution as of now: the 30s limit on
 interactive request meaning that each file has to be served back in
 less than 30s. Maybe too small depending on size of your files.

 regards

 didier

 On Feb 24, 5:13 am, Rick Smith rick@gmail.com wrote:
  I am also looking for a similar solution. Currently my application is
  running on a local server and I have uploaded more than 5 thousands
 file
  in SVN. Now I want to shift on Google app engine and I have already done
  most of the hardwork. But I do not found a programatic way to upload
 these
  file to blob store directly and I am still waiting for a concrete
 solution
  as I can't upload each file one by one using file system.
 
  It will be highly appreciated if some one from google take on this and
  provide us a solution so that we can move on GAE.
 
  Regards
 
  Rick

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




-- 
Ronmell F.

*-Information Technologies Engineering-*
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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-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] Learning the datastore

2011-02-22 Thread Ronmell Fuentes
Hi John,
acording to my expertise in DataStore, you'll get more know-how when running
the example
you'll see the creation of the files and all the data that datastore deals
with.
try running the helloWorld example and try to
1. create one own Object to be stored (kinda POJO);
2. create a PersistenceManager and instance it, to save the POJO.
3. save the POJO and retrieve it to show the contents.

Of course, when one is trying to run the examples the bugs and problems
appear, but
that's part of our job. If you need more help with running the examples or
writing your owns
write a mail.

we keep in touch!

cheers,

Ronmell F.

On Mon, Feb 21, 2011 at 9:45 PM, John gro...@tenromans.com wrote:

 I've been reading the App Engine docs to prep myself for for a new
 project using the datastore.

 When learning a new technology I like to look at working code vs. just
 the examples in the docs.

 Does anyone know of an active open source project that I can download
 and use to accelerate my learning on the datastore?

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




-- 
*-Information Technologies Engineering-*
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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-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] HTTP ERROR: 404 whenever i run the default code in eclipse

2011-02-02 Thread Ing. Ronmell Fuentes
Hi, a bit of more information would be very helpful to reply you.

can you paste the output here and your web.xml?

cheers.

Ronmell F.

On Wed, Feb 2, 2011 at 6:29 AM, abhishek abhishek.netj...@gmail.com wrote:

 hi,
 I just installed eclipse + java app engine for eclipse, and created a
 new project, this has some default files,
 i tried to run the project and then if i browse this link:

 http://localhost:/strutsgae2


 strutsgae2 is the name of the project
 i get the 404 error , i dont understand why is the Hello world code
 not working for me,
 i tried configuring the web.xml file which looks fine to me, but still
 cannt get through,
 Pl. help,


 Also there is another problem, whenever i try to close eclipse i see a
 process DataNucleus enhancer in process list of eclipse and this dont
 allow the eclipe to close, i have to forcifully close,\

 I am on windows, eclipse ganymede.

 Anticipating early replies.
 thanks
 abhishek

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




-- 
*-Information Technologies Engineering-*
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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-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] can we use Web-services in Gooogle app engine

2010-09-02 Thread Ronmell Fuentes
Hi.

As far as I know and have tried, GAE supports but Rest-type web services
only, called RESTLETs.

R. Fuentes.

2010/8/23 aptest1 actiprocess apte...@gmail.com

 Hi,

 We are planning to use web-services in Google app to communicate with
 SAP-system.

 1.Is Google app engine supports the Web-services?
 2.can we use web-services in Google app engine?

 Thanks in advance
 Chandrashaker Gattu

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Re: Datastore.

2010-08-12 Thread Ronmell Fuentes
*Hi *Caram it's good to say hi to you again...  jeje Just Kidding.

yup, you are generating an automatic ID, but that's why there is double
records, because there is for instance 2 differents IDs for the same
records. I mean:

let's suppose the initial data in your data store is like following:
*ID   name  desc.*
1.hello   whatever.

but if you try to upload the same data in an CSV file, like this.

*name   desc.*
hellowhatever
hellowhatever1.

after uploading the file the data in datastore would be something like this.

*ID  name  desc.*
1.   hello  whatever.
2.   hello  whatever.
3.   hello  whatever1.

because the ID, is been generated every time that an insert occurs.

If you want to avoid this, you can add something to the Constructor of the
class to manage this. For example:

*public Login(String user, String password) {
   Key key = KeyFactory.createKey(Login.class.getSimpleName(),
user);
   this.user = user;
   this.password = password;
   }*

This will make the following:

when inserting for the first time the data:
user: hello
pass: world

the Datastore would be like this.

*Key  userpassword.*
Login(hello)helloworld.

then when uploading new data from CSV, smthg like this.

hello newworld
hello2   world2
hello3   world3

 the data store would be like this.

*key user password.*
Login(hello)  hello newworld
Login(hello2)hello2   world2
Login(hello3)hello3   world3

As you can see, in the user hello the data was just update, so there's no
double records, but the others are inserted as new ones.
this happens because the Key of your Entity is generated depending on the
user, and since the Key is unique, when making MakePersistenceAll() the
Data just is written over the previous data, if there is already a record
with the same Key, then data is updated, otherwise is inserted.

Hope this was helpful.

Rgds.

R. F

2010/8/12 Caram caram.jun...@gmail.com

 I'm confused.

 My class Login of persistence is:
 ---
 import javax.jdo.annotations.IdGeneratorStrategy;
 import javax.jdo.annotations.PersistenceCapable;
 import javax.jdo.annotations.Persistent;
 import javax.jdo.annotations.PrimaryKey;

 @PersistenceCapable
 public class Login {

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

@Persistent
private String user;

@Persistent
private String password;



public String getUser() {
return user;
}

public void setUser(String user) {
this.user = user;
}

public String getPassword() {
return password;
}

public void setPassword(String password) {
this.password = password;
}

 }

 -

 So, I'm storing the Entity and automatic generating the ID. Right? If
 true, my data should not double as is happening, right?

 Thank you very much!

 Rgds,
 Caram.:

 On 11 ago, 18:38, Ronmell Fuentes ringe...@gmail.com wrote:
  yup, just in case the ID is not generated when storing the Entity.
  ;-)
  otherwise the ID 'd be generated every time the data'd be stored.
 
  2010/8/11 Caram caram.jun...@gmail.com
 
 
 
   But, in
  http://code.google.com/intl/en/appengine/docs/python/tools/uploadingd.
 ..
   ,
   he said:
 
   When data is downloaded, the entities are stored along with their
   original keys. When the data is uploaded, the original keys are used.
   If an entity exists in the datastore with the same key as an entity
   being uploaded, the entity in the datastore is replaced.
 
   You can use upload_data to replace the data in the app from which it
   was dumped, or you can use it to upload the data to a different
   application. Entities with numeric system IDs will be uploaded with
   the same IDs, and reference properties will be preserved.
 
   So, my ID of Login is Long, I understand that it should be updating
   like he said above and not adding as is happening.
 
   Am I right?
 
   Thanks!
   Caram.:
 
   On 11 ago, 15:57, Ronmell Fuentes ringe...@gmail.com wrote:
Hi, ok.
what happens is the following.
 
As you already know, in DataStore there's no update because when
 you
insert a record, depending on the Primary Key you have set in your,
 all
   the
new data just falls over the first records. This means, that if you
 are
generating an ID every time an insert is done, this will keep until
   always.
jeje. But if for example you set a primary Key based on an field of
 your
entity, for example you set
Primary Key(MyField);  where MyField is a string name, this will
 create
something like this.
For MyField=helloworld1

Re: [appengine-java] Re: Datastore.

2010-08-12 Thread Ronmell Fuentes
Ok, don't worry, that's what we are here for.

on the other hand, remember the two types of associations in DataStore, the
owned and not owned related to the way the Primary Keys are stored as
foreign Keys in other Entities to simulate the Relational way.

The concept is a bit complex when trying to understand it, but once you've
got it, you are done!.

GAE  DataStore Rule! jeje.

Rgds.
any doubt, I'm always available.

Ronmell F.

2010/8/12 Caram caram.jun...@gmail.com

 Sorry for indelicate, I researched, tried, and nothing illuminate my
 way...

 But, MAN! I got it! :) Thanks for the explanation!!! :)

 I would now look for:
 1) If I can use a Key like you said but with a Key that is a number
 generated automatically.
 2) If 1 above not possible, how I can map foreign keys and control the
 associations.

 I would research!

 THANKS!
 Caram.:


 On 12 ago, 13:24, Ronmell Fuentes ringe...@gmail.com wrote:
  *Hi *Caram it's good to say hi to you again...  jeje Just Kidding.
 
  yup, you are generating an automatic ID, but that's why there is double
  records, because there is for instance 2 differents IDs for the same
  records. I mean:
 
  let's suppose the initial data in your data store is like following:
  *ID   name  desc.*
  1.hello   whatever.
 
  but if you try to upload the same data in an CSV file, like this.
 
  *name   desc.*
  hellowhatever
  hellowhatever1.
 
  after uploading the file the data in datastore would be something like
 this.
 
  *ID  name  desc.*
  1.   hello  whatever.
  2.   hello  whatever.
  3.   hello  whatever1.
 
  because the ID, is been generated every time that an insert occurs.
 
  If you want to avoid this, you can add something to the Constructor of
 the
  class to manage this. For example:
 
  *public Login(String user, String password) {
 Key key =
 KeyFactory.createKey(Login.class.getSimpleName(),
  user);
 this.user = user;
 this.password = password;
 }*
 
  This will make the following:
 
  when inserting for the first time the data:
  user: hello
  pass: world
 
  the Datastore would be like this.
 
  *Key  userpassword.*
  Login(hello)helloworld.
 
  then when uploading new data from CSV, smthg like this.
 
  hello newworld
  hello2   world2
  hello3   world3
 
   the data store would be like this.
 
  *key user password.*
  Login(hello)  hello newworld
  Login(hello2)hello2   world2
  Login(hello3)hello3   world3
 
  As you can see, in the user hello the data was just update, so there's
 no
  double records, but the others are inserted as new ones.
  this happens because the Key of your Entity is generated depending on the
  user, and since the Key is unique, when making MakePersistenceAll() the
  Data just is written over the previous data, if there is already a record
  with the same Key, then data is updated, otherwise is inserted.
 
  Hope this was helpful.
 
  Rgds.
 
  R. F
 
  2010/8/12 Caram caram.jun...@gmail.com
 
 
 
   I'm confused.
 
   My class Login of persistence is:
   ---
   import javax.jdo.annotations.IdGeneratorStrategy;
   import javax.jdo.annotations.PersistenceCapable;
   import javax.jdo.annotations.Persistent;
   import javax.jdo.annotations.PrimaryKey;
 
   @PersistenceCapable
   public class Login {
 
  @PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  private Long id;
 
  @Persistent
  private String user;
 
  @Persistent
  private String password;
 
  public String getUser() {
  return user;
  }
 
  public void setUser(String user) {
  this.user = user;
  }
 
  public String getPassword() {
  return password;
  }
 
  public void setPassword(String password) {
  this.password = password;
  }
 
   }
 
  
 ---
 --
 
   So, I'm storing the Entity and automatic generating the ID. Right? If
   true, my data should not double as is happening, right?
 
   Thank you very much!
 
   Rgds,
   Caram.:
 
   On 11 ago, 18:38, Ronmell Fuentes ringe...@gmail.com wrote:
yup, just in case the ID is not generated when storing the Entity.
;-)
otherwise the ID 'd be generated every time the data'd be stored.
 
2010/8/11 Caram caram.jun...@gmail.com
 
 But, in

 http://code.google.com/intl/en/appengine/docs/python/tools/uploadingd.
   ..
 ,
 he said:
 
 When data is downloaded, the entities are stored along with their
 original keys. When the data is uploaded, the original keys are
 used.
 If an entity exists in the datastore with the same key as an entity
 being

Re: [appengine-java] Re: Datastore.

2010-08-11 Thread Ronmell Fuentes
yup, just in case the ID is not generated when storing the Entity.
;-)
otherwise the ID 'd be generated every time the data'd be stored.

2010/8/11 Caram caram.jun...@gmail.com

 But, in
 http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html#Downloading_and_Uploading_All_Data
 ,
 he said:

 When data is downloaded, the entities are stored along with their
 original keys. When the data is uploaded, the original keys are used.
 If an entity exists in the datastore with the same key as an entity
 being uploaded, the entity in the datastore is replaced.

 You can use upload_data to replace the data in the app from which it
 was dumped, or you can use it to upload the data to a different
 application. Entities with numeric system IDs will be uploaded with
 the same IDs, and reference properties will be preserved.

 So, my ID of Login is Long, I understand that it should be updating
 like he said above and not adding as is happening.

 Am I right?

 Thanks!
 Caram.:

 On 11 ago, 15:57, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi, ok.
  what happens is the following.
 
  As you already know, in DataStore there's no update because when you
  insert a record, depending on the Primary Key you have set in your, all
 the
  new data just falls over the first records. This means, that if you are
  generating an ID every time an insert is done, this will keep until
 always.
  jeje. But if for example you set a primary Key based on an field of your
  entity, for example you set
  Primary Key(MyField);  where MyField is a string name, this will create
  something like this.
  For MyField=helloworld1;
 
  MyEntity(helloworld1);
 
  For MyField=helloworld2;
 
  MyEntity(helloworld1);
 
  and so on...
 
  So that, the main point here is, when inserting a new record, and the
 value
  of the Primary Key is not set by yourself, this will automatically create
 a
  new record. All data will be inserted again and again.
 
  if you already have the ID=1;
  and you try to insert a new record with ID=1 and ID is the primary key,
 then
  the record won't be inserted again, but will be updated.
 
  As you can see, all depends on the way you create your Entities or
 Classes .
 
  Rgds.
 
  R. F.
 
  2010/8/11 Caram caram.jun...@gmail.com
 
 
 
   Ronmell,
 
   These days I study and I succeed in download data from datastore
   in .csv.
   I understand that I can modifiy this .csv and upload it to make the
   changes in my datastore. But, when I try to upload it, duplicate in my
   datastore all entities I have. It changes the ID to name, I've tried
   many things unsuccessfully, can you help me?
 
   Here my commands/codes:
 
   bulkloader.yaml:
 
  
 ---
 --
   # Autogenerated bulkloader.yaml file.
   # You must edit this file before using it. TODO: Remove this line when
   done.
   # At a minimum address the items marked with TODO:
   #  * Fill in connector and connector_options
   #  * Review the property_map.
   #- Ensure the 'external_name' matches the name of your CSV column,
   #  XML tag, etc.
   #- Check that __key__ property is what you want. Its value will
   become
   #  the key name on import, and on export the value will be the Key
   #  object.  If you would like automatic key generation on import
   and
   #  omitting the key on export, you can remove the entire __key__
   #  property from the property map.
 
   # If you have module(s) with your model classes, add them here. Also
   # change the kind properties to model_class.
   python_preamble:
   - import: base64
   - import: re
   - import: google.appengine.ext.bulkload.transform
   - import: google.appengine.ext.bulkload.bulkloader_wizard
   - import: google.appengine.api.datastore
   - import: google.appengine.api.users
 
   transformers:
 
   - kind: Login
connector: csv
 
property_map:
  - property: __key__
external_name: ID
export_transform: transform.key_id_or_name_as_string
 
  - property: password
external_name: password
 
  - property: user
external_name: user
 
  
 ---
 --
 
   For download:
   appcfg.py download_data -e caram.jun...@gmail.com --
   config_file=bulkloader.yaml --kind=Login --filename=teste.csv --
   url=http://pac-web.appspot.com/remote_api
 
   Result (teste.csv):
 
  
 ---
 ---
   password,ID,user
   swdw,1,User
   CARACA,1001,User
   CARACA2,2001,User
   ,3001,
   edsed,4001,User
   edsed,4002,User43
   edsed,5001,User43
   edsed,6001,User47
 
  
 ---
 ---
 
   For upload (result inhttps://appengine.google.com/datastore, kind
   Login

Re: [appengine-java] Re: Datastore.

2010-08-05 Thread Ronmell Fuentes
Hi, Nup.
all are comand-console tools.

but you could build your own app which could consume some services in your
data store and that'd be with GUI and all features you want. :D

Rgds.

R. F

2010/8/5 Caram caram.jun...@gmail.com

 Hi Ronmell!

 Nice information, I would take a look.
 Is there any GUI tool?

 Rgds,
 Caram.:

 On 5 ago, 01:42, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi,
  for sure.
 
  you can use tools writen in python such as: appcfg.py or bulkloader.py,
 they
  work perfectly, are useful and easy to use.
 
  Rgds.
  Ronmell F.
 
  2010/8/4 Caram caram.jun...@gmail.com
 
 
 
 
 
   Hello!
 
   Can we access the datastore of an applicattion out of the Google site
   (appengine.google.com/datastore/explorer) ?
 
   Thanks!
   Caram.:
 
   --
   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.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Re: Datastore.

2010-08-05 Thread Ronmell Fuentes
you are Welcome.

R. F

2010/8/5 Caram caram.jun...@gmail.com

 Thank you!

 On 5 ago, 13:21, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi, Nup.
  all are comand-console tools.
 
  but you could build your own app which could consume some services in
 your
  data store and that'd be with GUI and all features you want. :D
 
  Rgds.
 
  R. F
 
  2010/8/5 Caram caram.jun...@gmail.com
 
 
 
 
 
   Hi Ronmell!
 
   Nice information, I would take a look.
   Is there any GUI tool?
 
   Rgds,
   Caram.:
 
   On 5 ago, 01:42, Ronmell Fuentes ringe...@gmail.com wrote:
Hi,
for sure.
 
you can use tools writen in python such as: appcfg.py or
 bulkloader.py,
   they
work perfectly, are useful and easy to use.
 
Rgds.
Ronmell F.
 
2010/8/4 Caram caram.jun...@gmail.com
 
 Hello!
 
 Can we access the datastore of an applicattion out of the Google
 site
 (appengine.google.com/datastore/explorer) ?
 
 Thanks!
 Caram.:
 
 --
 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.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.comgoogle-appengine-java%2B
   unsubscr...@googlegroups.com
 .
 For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.
 
--
ausencia de evidencia  ≠  evidencia de ausenciahttp://
   culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Re: Datastore.

2010-08-05 Thread Ronmell Fuentes
Ok.
1.  appcfg.py can be used whether your app is written in Java or Python.
2.  when they speak about remote_api is right, you need to write some
lines in your web.xml file to allow the connection remotely.
3.  when it's mentioned
com.google.apphosting.utils.remoteapi.RemoteApiServlet  is the name of the
servlet which answer the request of connection, so that, you have to write
the name of the servlet, and also have to map it to the URL where the tool
is redirected when trying to connect.

4.  The app.yaml is a file which is written when developing an app made in
python, so at this point it's useless.

5. If you are going to use a tool such as appcfg.py or bulkloader.py you
have to write some files in order to manage your data in datastore. This is
very important since when using the dataStore we have schemaless, so the
tool doesn't know how to deal with data stored in datastore, thus you have
to write a file for loading/downloading the data. These files contains the
classes called Exporter/Loader. In google docs for GAE there is information
about this issue.

6.  Personally when I knew I had to deal with data stored in DataStore  of
my App, I decided to build my own tool for doing this. I took the
Service-Rest way. This means that I have a Service (Rest type) listening,
running on my app so that I can connect remotely to this service and tell it
to do pretty much whatever I want and what it was programmed for.

There is an opensource product for this.
http://www.restlet.org/
this is the related documentation.
http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet.html

For me it works perfectly and it's not too difficult to understand the
concept.

Hope this is helpful.
Rgds

R. F.
any doubt I'm always willing to help.

2010/8/5 Caram caram.jun...@gmail.com

 I'm confused!

 I uploaded a Java app.

 I installed Python 2.7 and GAE for Python to work with the remote
 database.

 I'm following this link:
 http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html
 but I'm confused because this article is for Python, not for Java app.
 It have a tip in beginning:

 If you have a Java app, you can use the Python appcfg.py tool by
 installing the Java version of the remote_api handler, which is
 included with the Java runtime environment. The handler servlet class
 is com.google.apphosting.utils.remoteapi.RemoteApiServlet.

 I'm very lost... In article mention archive app.yaml to alter but I
 don't know where it is...

 Thanks.


 On 5 ago, 14:09, Ronmell Fuentes ringe...@gmail.com wrote:
  you are Welcome.
 
  R. F
 
  2010/8/5 Caram caram.jun...@gmail.com
 
 
 
 
 
   Thank you!
 
   On 5 ago, 13:21, Ronmell Fuentes ringe...@gmail.com wrote:
Hi, Nup.
all are comand-console tools.
 
but you could build your own app which could consume some services in
   your
data store and that'd be with GUI and all features you want. :D
 
Rgds.
 
R. F
 
2010/8/5 Caram caram.jun...@gmail.com
 
 Hi Ronmell!
 
 Nice information, I would take a look.
 Is there any GUI tool?
 
 Rgds,
 Caram.:
 
 On 5 ago, 01:42, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi,
  for sure.
 
  you can use tools writen in python such as: appcfg.py or
   bulkloader.py,
 they
  work perfectly, are useful and easy to use.
 
  Rgds.
  Ronmell F.
 
  2010/8/4 Caram caram.jun...@gmail.com
 
   Hello!
 
   Can we access the datastore of an applicattion out of the
 Google
   site
   (appengine.google.com/datastore/explorer) ?
 
   Thanks!
   Caram.:
 
   --
   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.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.comgoogle-appengine-java%2B
   unsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.comgoogle-appengine-java%2B
   unsubscr...@googlegroups.com
 .
 For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en

Re: [appengine-java] Re: Datastore.

2010-08-05 Thread Ronmell Fuentes
jeje ok ok.
In the doc related to python, there you can find information about how to
write your Exporter/Loader classes.

Happy Codding.

Rgds.

R. F.

2010/8/5 Caram caram.jun...@gmail.com

 I would search about item 5 because I traveled, understand
 nothing... :)

 Thanks!

 On 5 ago, 15:45, Ronmell Fuentes ringe...@gmail.com wrote:
  Ok.
  1.  appcfg.py can be used whether your app is written in Java or Python.
  2.  when they speak about remote_api is right, you need to write some
  lines in your web.xml file to allow the connection remotely.
  3.  when it's mentioned
  com.google.apphosting.utils.remoteapi.RemoteApiServlet  is the name of
 the
  servlet which answer the request of connection, so that, you have to
 write
  the name of the servlet, and also have to map it to the URL where the
 tool
  is redirected when trying to connect.
 
  4.  The app.yaml is a file which is written when developing an app made
 in
  python, so at this point it's useless.
 
  5. If you are going to use a tool such as appcfg.py or bulkloader.py you
  have to write some files in order to manage your data in datastore. This
 is
  very important since when using the dataStore we have schemaless, so the
  tool doesn't know how to deal with data stored in datastore, thus you
 have
  to write a file for loading/downloading the data. These files contains
 the
  classes called Exporter/Loader. In google docs for GAE there is
 information
  about this issue.
 
  6.  Personally when I knew I had to deal with data stored in DataStore
  of
  my App, I decided to build my own tool for doing this. I took the
  Service-Rest way. This means that I have a Service (Rest type) listening,
  running on my app so that I can connect remotely to this service and tell
 it
  to do pretty much whatever I want and what it was programmed for.
 
  There is an opensource product for this.http://www.restlet.org/
  this is the related documentation.
 http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet.html
 
  For me it works perfectly and it's not too difficult to understand the
  concept.
 
  Hope this is helpful.
  Rgds
 
  R. F.
  any doubt I'm always willing to help.
 
  2010/8/5 Caram caram.jun...@gmail.com
 
 
 
 
 
   I'm confused!
 
   I uploaded a Java app.
 
   I installed Python 2.7 and GAE for Python to work with the remote
   database.
 
   I'm following this link:
  http://code.google.com/intl/en/appengine/docs/python/tools/uploadingd.
 ..
   but I'm confused because this article is for Python, not for Java app.
   It have a tip in beginning:
 
   If you have a Java app, you can use the Python appcfg.py tool by
   installing the Java version of the remote_api handler, which is
   included with the Java runtime environment. The handler servlet class
   is com.google.apphosting.utils.remoteapi.RemoteApiServlet.
 
   I'm very lost... In article mention archive app.yaml to alter but I
   don't know where it is...
 
   Thanks.
 
   On 5 ago, 14:09, Ronmell Fuentes ringe...@gmail.com wrote:
you are Welcome.
 
R. F
 
2010/8/5 Caram caram.jun...@gmail.com
 
 Thank you!
 
 On 5 ago, 13:21, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi, Nup.
  all are comand-console tools.
 
  but you could build your own app which could consume some
 services in
 your
  data store and that'd be with GUI and all features you want. :D
 
  Rgds.
 
  R. F
 
  2010/8/5 Caram caram.jun...@gmail.com
 
   Hi Ronmell!
 
   Nice information, I would take a look.
   Is there any GUI tool?
 
   Rgds,
   Caram.:
 
   On 5 ago, 01:42, Ronmell Fuentes ringe...@gmail.com wrote:
Hi,
for sure.
 
you can use tools writen in python such as: appcfg.py or
 bulkloader.py,
   they
work perfectly, are useful and easy to use.
 
Rgds.
Ronmell F.
 
2010/8/4 Caram caram.jun...@gmail.com
 
 Hello!
 
 Can we access the datastore of an applicattion out of the
   Google
 site
 (appengine.google.com/datastore/explorer) ?
 
 Thanks!
 Caram.:
 
 --
 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.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.comgoogle-appengine-java%2B
   unsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.comgoogle-appengine-java%2B
   unsubscr...@googlegroups.com
 .
 For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.
 
--
ausencia de evidencia  ≠  evidencia de ausenciahttp

Re: [appengine-java] Datastore.

2010-08-04 Thread Ronmell Fuentes
Hi,
for sure.

you can use tools writen in python such as: appcfg.py or bulkloader.py, they
work perfectly, are useful and easy to use.

Rgds.
Ronmell F.


2010/8/4 Caram caram.jun...@gmail.com

 Hello!

 Can we access the datastore of an applicattion out of the Google site
 (appengine.google.com/datastore/explorer) ?

 Thanks!
 Caram.:

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Problemas con Servicio de Usuar ios y generación del Bulkloader.yaml

2010-07-29 Thread Ronmell Fuentes
Hola David.

Para el problema 1, debes tener una directiva en tu archivo web.xml que diga
quien es el servlet que va a responder al login de los usuarios, Tambien
debes tener el mapeo de este servlet al URL al que se hara el login.
por lo que veo, ese 404 accessing error /_ah/null hace referencia a que no
hay un URL al cual deba irse para encontrar al Servlet que va a responder a
esta peticion. Es lo que puedo ver con la informacion que compartes.
Algo parecido a esto.

servlet
servlet-nameloginServiceImpl/servlet-name
servlet-classmyapp.package.server.LoginServiceImpl/servlet-class
  /servlet

--! para el mapeo del servlet algo asi--
servlet-mapping
servlet-nameloginServiceImpl/servlet-name
url-pattern/myApp/login/url-pattern
  /servlet-mapping


Para el problema 2. Cuando uso la herramienta de appcfg.py, siempre creo los
archivos .py para la carga y descarga de datos, esto es mucho mas facil y
permite que puedas controlar la data con mayor facilidad y no necesitas un
archivo de configuracion simplemente tus clases de Python para
descargar/cargar los datos a tu DataStore y Si deseas descargar toda la data
puedes usar la opcion de bulk.

Adicionalmente el cortafuegos no hace mucho cuando se esta hablando de
localhost sobre el puerto 8080 a menos que estes intentando acceder desde
otro equipo remotamente y tu server este escuchando en otro puerto como el
9080.

Hope this was helpful for you.

Rgds.

Ronmell

El 29 de julio de 2010 00:05, Andrés Cerezo acerezoguil...@gmail.comescribió:

 ¿Has revisador el cortafuegos por si interfiere?

 Saludos.


 El 27 de julio de 2010 20:10, David Saenz Tagarro 
 david.saenz.taga...@gmail.com escribió:

 Buenas tardes,

 soy nuevo usando GAE, en entorno Java, y me estoy encontrando con un par
 de problemas que no consigo resolver por mas esfuerzos que dedico.

 *Situación de partida:
 *Entorno: Sistema operativo Ubuntu 10.04. / appengine-java-sdk-1.3.5
 He creado una aplicación (identificador = tyd) que gestiona entidades de
 tipo MenuInfo.
 La aplicación me permite insertar y consultar las entidades creadas.

 *Problema 1:*
 - Al acceder a la URL *http://localhost:8080/_ah/login*, intento logarme,
 marcando el check de administrador, usando mi cuenta:
 david.saenz.taga...@gmail.com. Sin embargo obtengo el siguiente error: *HTTP
 ERROR 404 - Problem accessing /_ah/null. Reason: NOT_FOUND*
 ¿A que puede ser debido que falle el login?


 *Problema 2:*
 - Al tratar de generar el fichero de carga *bulkloader.yaml* por
 cualquiera de los dos siguientes modos, obtengo siempre el mismo log
 adjunto.. *No me recupera del almacén de datos ningún tipo de entidad!!
 aun cuando tengo datos almacenados!*.. ¿que puede estar pasando?

 Nota: las dos siguientes sentencias son ejecutadas desde
 google_appengine para Python.
 Opción 1:  ./appcfg.py create_bulkloader_config --filename=bulkloader.yaml
 --url=http://localhost:8080/remote_api --application=tyd --email=
 david.saenz.taga...@gmail.com
 Opción 2:  ./bulkloader.py --create_config --filename=bulkloader.yaml
 --url=http://localhost:8080/remote_api --app_id=tyd --email=
 david.saenz.taga...@gmail.com

 Log generado:

 /home/david/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:64:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import sha
 /home/david/google_appengine/google/appengine/tools/dev_appserver_login.py:33:
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
   import md5
 [INFO] Logging to bulkloader-log-20100727.195825
 [INFO] Throttling transfers:
 [INFO] Bandwidth: 25 bytes/second
 [INFO] HTTP connections: 8/second
 [INFO] Entities inserted/fetched/modified: 20/second
 [INFO] Batch Size: 100
 [INFO] Opening database: bulkloader-progress-20100727.195825.sql3
 [INFO] Opening database: bulkloader-results-20100727.195825.sql3
 Password for david.saenz.taga...@gmail.com:
 [INFO] Connecting to localhost:8080/remote_api
 [INFO] Downloading kinds: ['__Stat_PropertyType_PropertyName_Kind__']
 .
 [INFO] Have 0 entities, 0 previously transferred
 *[INFO] 0 entities (293 bytes) transferred in 18.3 seconds*


 Espero vuestros comentarios, muchísimas gracias de antemano.

 Saludos.

 David

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

Re: [appengine-java] Re: Error using JPA

2010-07-21 Thread Ronmell Fuentes
It seems that when deploying the .jar file used by your application are not
being uploaded to the server in GAE.
so, as I alredy told you the only thing that could be causing this error (at
least the one I know) is the lack of the .jar files (libraries) in the right
Directory I mean, war/WEB-INF/lib/


Ronmell.

2010/7/20 Sajid smsajid...@gmail.com

 Hi Ronmell,

 I haven't run the examples. My application runs perfectly on local
 server. but after deployment, it gives the error.

 On Jul 21, 12:21 am, Ronmell Fuentes ringe...@gmail.com wrote:
  when running the examples you've got the same error?
 
  2010/7/20 Sajid smsajid...@gmail.com
 
   I have already checked that. All jars are in WEB-INF lib folder.
 
   On Jul 20, 11:58 pm, Ronmell Fuentes ringe...@gmail.com wrote:
Hi Sajid.
 
Try to copy all the .jar files used by your app to the /WAR/lib
 directory
   of
your app.
 
Ronmell
 
2010/7/20 Sajid smsajid...@gmail.com
 
 Hi
 
 I am using spring 3, jsf2 and jpa. I load entity manager factory
 sing
 spring context xml. However, I am getting class not found error for
 javax.persistence.EntityManagerFactory
 
 StackTrace:
 #
 
 javax.servlet.ServletException: java.lang.RuntimeException:
 java.lang.ClassNotFoundException:
 javax.persistence.EntityManagerFactory
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:
 250)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:7115)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:7113)
at
 
  
 com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
 24)
at
   com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
 398)
at com.google.net.rpc.impl.Server$2.run(Server.java:852)
at
 
  
 com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
 56)
at
 
  
 com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
 576)
at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
at
   com.google.net.rpc.impl.Server.processRequest(Server.java:369)
at
 
  
 com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
 442)
at

 com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
 319)
at

 com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
 290)
at
   com.google.net.async.Connection.handleReadEvent(Connection.java:
 474)
at
 
  
 com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
 831)
at

 com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
 207)
at
   com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
 103)
at

 com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
 251)
at com.google.apphosting.runtime.JavaRuntime
 $RpcRunnable.run(JavaRuntime.java:417)
at java.lang.Thread.run(Unknown Source)
 Caused by: java.lang.RuntimeException:
 java.lang.ClassNotFoundException:
 javax.persistence.EntityManagerFactory
at
 
  
 com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
 389)
at
 
  
 com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java:
 307)
at
 
  
 com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java:
 282)
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

Re: [appengine-java] Re: local_db does not exist; cannot store persistent data

2010-07-20 Thread Ronmell Fuentes
Ok.
some issues.

1. Student the Class must be persistence with all the anotations that JDO
states.
2. Try to print in the console of your app the data, before printing it on a
Jsp o html.
3. when the message that says: no local_db.bin exists it also says
something like it'll be created right?.
4. if you could show the implementation would be ver helpful to get a bit
more of information and know where the posible error is. :  JDOClass,
implementation. etc.

hope this be helpful.

Rgds.
Ronmell.

2010/7/20 Erencie xiaoni@gmail.com

 Hi R,

 Yes I tried to save persistence objects using sth like this in the
 servlet:
   Student newStudent = new Student(googleID, fullName,
 matricNum, email, team);

PersistenceManager pm = PMF.get().getPersistenceManager();
try {
pm.makePersistent(newStudent);
} finally {
pm.close();
}
 I tried to retrieve data by writing the following in a redirected jsp
 webpage:

   body
   pYou have been successfully register as the following: /p

  %PersistenceManager pm = PMF.get().getPersistenceManager();
 String query = select from  + Student.class.getName();
  ListStudent students = (ListStudent)
 pm.newQuery(query).execute();
  for (Student stu: students) {

 %
  table
 trtdName: /tdtd %= stu.getName() % /td/tr
  trtdMatric: /tdtd %= stu.getMatric() % /td/tr
  %
   }
   if (students.size()==0) System.out.println(no storage at
 all);
   %
/table
/body


 Nothing shows there and a message no storage at all is printed out,
 showing that no Student instance has been stored.

 Meanwhile, there's no error message except local_db.bin does not
 exist.

 I use almost the same codes for the google demo project and there was
 no problem storing Greetings in guestbook. But in my own project
 there's problem in storing.

 regards,
 Erencie

 On Jul 20, 12:13 am, Ronmell Fuentes ringe...@gmail.com wrote:
  Hello Erencie.
 
  have you tried to save persistence objects in data store? and have you
 tried
  to retrieve all data saved in your data store?
  does it show any error?
 
  are you using something like JUnit or something besides the code shown in
  google tutorials?
 
  Rgds.
 
  R
 
  2010/7/19 Erencie xiaoni@gmail.com
 
 
 
   I use Google app Engine plugin for Eclipse and managed to make the
   guestbook demo run successfuly. When I create my own app by
   following the code pattern of guestbook, sth weird happens:
 
   Jul 19, 2010 6:08:46 AM
   com.google.appengine.api.datastore.dev.LocalDatastoreService load
   INFO: The backing store, D:\Eclipse workspace\TeammateV0.0\war\WEB-INF
   \appengine-generated\local_db.bin, does not exist. It will be created.
 
   I noticed that in /war/WEB-INF/appengine-generated folder, there is
   only datastore-indexes-auto.xml, but no local_db.bin file exists,
   unlike the case in the demo guestbook project.
 
   And I find that I cannot store anything persistent objects, even
   though I follow the correct codes in tutorials. However, the whole
   thing runs without any errors.
 
   I tried diff configurations in the few xml files, and tried using
   transactions as well. I did also closed the persistentFactory. But
   nothing changes.
 
   Can anyone help me?Thanks a lot.
 
   --
   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
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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

Re: [appengine-java] Re: ClassNotFoundException after i deploy it for the first time

2010-07-20 Thread Ronmell Fuentes
have you tried to run the examples?  did they work?

2010/7/16 Alex monsterno...@gmail.com

 yup im sure of it, somehow the project name in eclipse 3.5 cannot be
 the same as package name (same thing happens to me when i was making a
 wave gadget with cobogwave)

 On Jul 17, 12:04 am, Ronmell Fuentes ringe...@gmail.com wrote:
  are you sure the servlet class is right? I mean, the name is correct and
 is
  in the right package?
 
  R
 
  2010/7/16 Alex monsterno...@gmail.com
 
 
 
   but all my jar file are already in there.
   and when i change my package name from xwordbot to bot and update my
   web.xml to
 
  servlet
  servlet-nameXWordBot/servlet-name
   servlet-classbot.XWordBotServlet/servlet-class
   /servlet
  servlet-mapping
  servlet-nameXWordBot/servlet-name
  url-pattern/_wave/*/url-pattern
  /servlet-mapping
 
   then there is no exception and also the 500 internal server error that
   i was getting previously
 
   why can't my package name be the same as my project name?
 
   On Jul 16, 1:38 am, Ronmell Fuentes ringe...@gmail.com wrote:
hi Alex.
 
it's a very common error when the .jar files used by your app are not
 in
copied in the right directory, so please make sure all the jars are
   copied
also to the directory:  war/WEB-INF/lib
 
here is a similar issue.
 
   
 http://groups.google.com/group/google-appengine-java/browse_thread/th...
 
Rgds.
 
R
 
2010/7/14 Alex monsterno...@gmail.com
 
 im getting ClassNotFoundException
 
 java.lang.ClassNotFoundException: xwordbot.XWordBotServlet
 
 i have checked that XWordBotServlet class is in the package
 xwordbot
 
 this is fragment of my web.xml
 
servlet
servlet-nameXWordBot/servlet-name

  servlet-classxwordbot.XWordBotServlet/servlet-class
/servlet
servlet-mapping
servlet-nameXWordBot/servlet-name
url-pattern/_wave/*/url-pattern
/servlet-mapping
 
 so what is wrong?
 
 --
 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
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 google-appengine-java%252bunsubscr...@googlegroups.comgoogle-appengine-java%25252bunsubscr...@googlegroups.com
 
 
 .
 For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.
 
--
ausencia de evidencia  ≠  evidencia de ausenciahttp://
   culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Error using JPA

2010-07-20 Thread Ronmell Fuentes
Hi Sajid.

Try to copy all the .jar files used by your app to the /WAR/lib directory of
your app.


Ronmell

2010/7/20 Sajid smsajid...@gmail.com

 Hi

 I am using spring 3, jsf2 and jpa. I load entity manager factory sing
 spring context xml. However, I am getting class not found error for
 javax.persistence.EntityManagerFactory

 StackTrace:
 #

 javax.servlet.ServletException: java.lang.RuntimeException:
 java.lang.ClassNotFoundException:
 javax.persistence.EntityManagerFactory
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:
 250)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:7115)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:7113)
at

 com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
 24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
 398)
at com.google.net.rpc.impl.Server$2.run(Server.java:852)
at
 com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
 56)
at

 com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
 576)
at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
at com.google.net.rpc.impl.Server.processRequest(Server.java:369)
at

 com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
 442)
at
 com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
 319)
at
 com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
 290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:
 474)
at

 com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
 831)
at
 com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
 207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
 103)
at
 com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
 251)
at com.google.apphosting.runtime.JavaRuntime
 $RpcRunnable.run(JavaRuntime.java:417)
at java.lang.Thread.run(Unknown Source)
 Caused by: java.lang.RuntimeException:
 java.lang.ClassNotFoundException:
 javax.persistence.EntityManagerFactory
at

 com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
 389)
at

 com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java:
 307)
at

 com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java:
 282)
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)
... 27 more
 Caused by: java.lang.ClassNotFoundException:
 javax.persistence.EntityManagerFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at

 com.google.apphosting.runtime.security.RuntimeClassLoader.loadFilteredClass(RuntimeClassLoader.java:
 242)
at

 com.google.apphosting.runtime.security.RuntimeClassLoader.loadPrivilegedClass(RuntimeClassLoader.java:
 197)
at

 com.google.apphosting.runtime.security.RuntimeClassLoader.loadClass(RuntimeClassLoader.java:
 151)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at 

Re: [appengine-java] Re: Error using JPA

2010-07-20 Thread Ronmell Fuentes
when running the examples you've got the same error?


2010/7/20 Sajid smsajid...@gmail.com

 I have already checked that. All jars are in WEB-INF lib folder.

 On Jul 20, 11:58 pm, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi Sajid.
 
  Try to copy all the .jar files used by your app to the /WAR/lib directory
 of
  your app.
 
  Ronmell
 
  2010/7/20 Sajid smsajid...@gmail.com
 
   Hi
 
   I am using spring 3, jsf2 and jpa. I load entity manager factory sing
   spring context xml. However, I am getting class not found error for
   javax.persistence.EntityManagerFactory
 
   StackTrace:
   #
 
   javax.servlet.ServletException: java.lang.RuntimeException:
   java.lang.ClassNotFoundException:
   javax.persistence.EntityManagerFactory
  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:
   250)
  at com.google.apphosting.base.RuntimePb$EvaluationRuntime
   $6.handleBlockingRequest(RuntimePb.java:7115)
  at com.google.apphosting.base.RuntimePb$EvaluationRuntime
   $6.handleBlockingRequest(RuntimePb.java:7113)
  at
 
  
 com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
   24)
  at
 com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
   398)
  at com.google.net.rpc.impl.Server$2.run(Server.java:852)
  at
  
 com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
   56)
  at
 
  
 com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
   576)
  at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
  at
 com.google.net.rpc.impl.Server.processRequest(Server.java:369)
  at
 
  
 com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
   442)
  at
   com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
   319)
  at
   com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
   290)
  at
 com.google.net.async.Connection.handleReadEvent(Connection.java:
   474)
  at
 
  
 com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
   831)
  at
   com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
   207)
  at
 com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
   103)
  at
   com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
   251)
  at com.google.apphosting.runtime.JavaRuntime
   $RpcRunnable.run(JavaRuntime.java:417)
  at java.lang.Thread.run(Unknown Source)
   Caused by: java.lang.RuntimeException:
   java.lang.ClassNotFoundException:
   javax.persistence.EntityManagerFactory
  at
 
  
 com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
   389)
  at
 
  
 com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java:
   307)
  at
 
  
 com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java:
   282)
  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)
  ... 27 more
   Caused by: java.lang.ClassNotFoundException:
   javax.persistence.EntityManagerFactory
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown

Re: [appengine-java] local_db does not exist; cannot store persistent data

2010-07-19 Thread Ronmell Fuentes
Hello Erencie.

have you tried to save persistence objects in data store? and have you tried
to retrieve all data saved in your data store?
does it show any error?

are you using something like JUnit or something besides the code shown in
google tutorials?

Rgds.

R

2010/7/19 Erencie xiaoni@gmail.com

 I use Google app Engine plugin for Eclipse and managed to make the
 guestbook demo run successfuly. When I create my own app by
 following the code pattern of guestbook, sth weird happens:

 Jul 19, 2010 6:08:46 AM
 com.google.appengine.api.datastore.dev.LocalDatastoreService load
 INFO: The backing store, D:\Eclipse workspace\TeammateV0.0\war\WEB-INF
 \appengine-generated\local_db.bin, does not exist. It will be created.


 I noticed that in /war/WEB-INF/appengine-generated folder, there is
 only datastore-indexes-auto.xml, but no local_db.bin file exists,
 unlike the case in the demo guestbook project.

 And I find that I cannot store anything persistent objects, even
 though I follow the correct codes in tutorials. However, the whole
 thing runs without any errors.


 I tried diff configurations in the few xml files, and tried using
 transactions as well. I did also closed the persistentFactory. But
 nothing changes.

 Can anyone help me?Thanks a lot.

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Re: ClassNotFoundException after i deploy it for the first time

2010-07-16 Thread Ronmell Fuentes
are you sure the servlet class is right? I mean, the name is correct and is
in the right package?

R

2010/7/16 Alex monsterno...@gmail.com

 but all my jar file are already in there.
 and when i change my package name from xwordbot to bot and update my
 web.xml to

servlet
servlet-nameXWordBot/servlet-name
 servlet-classbot.XWordBotServlet/servlet-class
 /servlet
servlet-mapping
servlet-nameXWordBot/servlet-name
url-pattern/_wave/*/url-pattern
/servlet-mapping

 then there is no exception and also the 500 internal server error that
 i was getting previously

 why can't my package name be the same as my project name?

 On Jul 16, 1:38 am, Ronmell Fuentes ringe...@gmail.com wrote:
  hi Alex.
 
  it's a very common error when the .jar files used by your app are not in
  copied in the right directory, so please make sure all the jars are
 copied
  also to the directory:  war/WEB-INF/lib
 
  here is a similar issue.
 
  http://groups.google.com/group/google-appengine-java/browse_thread/th...
 
  Rgds.
 
  R
 
  2010/7/14 Alex monsterno...@gmail.com
 
 
 
   im getting ClassNotFoundException
 
   java.lang.ClassNotFoundException: xwordbot.XWordBotServlet
 
   i have checked that XWordBotServlet class is in the package xwordbot
 
   this is fragment of my web.xml
 
  servlet
  servlet-nameXWordBot/servlet-name
  servlet-classxwordbot.XWordBotServlet/servlet-class
  /servlet
  servlet-mapping
  servlet-nameXWordBot/servlet-name
  url-pattern/_wave/*/url-pattern
  /servlet-mapping
 
   so what is wrong?
 
   --
   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
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] ClassNotFoundException after i deploy it for the first time

2010-07-15 Thread Ronmell Fuentes
hi Alex.

it's a very common error when the .jar files used by your app are not in
copied in the right directory, so please make sure all the jars are copied
also to the directory:  war/WEB-INF/lib

here is a similar issue.

http://groups.google.com/group/google-appengine-java/browse_thread/thread/f6f40411a076aa30#


Rgds.

R

2010/7/14 Alex monsterno...@gmail.com

 im getting ClassNotFoundException


 java.lang.ClassNotFoundException: xwordbot.XWordBotServlet

 i have checked that XWordBotServlet class is in the package xwordbot

 this is fragment of my web.xml

servlet
servlet-nameXWordBot/servlet-name
servlet-classxwordbot.XWordBotServlet/servlet-class
/servlet
servlet-mapping
servlet-nameXWordBot/servlet-name
url-pattern/_wave/*/url-pattern
/servlet-mapping

 so what is wrong?

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] jdo and pm.close()?

2010-07-11 Thread Ronmell Fuentes
Hi Andres.
when you build a PersistenceManager, the instance must be done just once
during the call in your method, class, etc., so, if you want to continue
with doing more tasks with it, it's ok. just when the call to your manager
class is ended then you can delete or end the manager, otherwise you can
keep using it. Remember the process of building the manager is done just
once in your whole app, but the instances can be many.

Rgds.

R

2010/7/11 Andrés Cerezo acerezoguil...@gmail.com

 If i want to execute this source code without errors, I have to delete the
 first pm.close(); Anyone knows why?


   final Date date = new Date();
 EmployeeData employee = new  EmployeeData(John, Doe, date);

   PersistenceManager pm = PMF.get().getPersistenceManager();

   final Long id = pm.makePersistent(employee).getId();

   // From a different persistence manager, look up the // object

   employee = pm.getObjectById(EmployeeData.class, id);
   assertEquals(employee.getFirstName(), John);
   assertEquals(employee.getLastName(), Doe);

   pm.close();

  pm = PMF.get().getPersistenceManager(); */


   EmployeeData employee2 = new EmployeeData(John2, Doe2, date);

   final Long id2 = pm.makePersistent(employee2).getId();

   // From a different persistence manager, look up the // object

   employee2 = pm.getObjectById(EmployeeData.class, id2);
   assertEquals(employee2.getFirstName(), John);
   assertEquals(employee2.getLastName(), Doe);

   pm.close();

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Re: image service is changing some white backgrounds to black

2010-07-10 Thread Ronmell Fuentes
you are welcome.

Rgds.

R

2010/7/6 JakeP jake.pier...@gmail.com

 Thanks Ronmell!

 -jake



 On Jul 6, 11:03 am, Ronmell Fuentes ringe...@gmail.com wrote:
  Hi JakeP
  as far as I know, when you have an PNG image this allows you to write
  metadata in order to make the background transparent, but in JPEG/JPG
 files
  this cannot be done. So all I can see is that the app is working properly
  but when an image in JPG/JPEG is showed, the viewer doesn't know how to
  interpret the background-metadata so, the easiest thing to do is show it
 in
  black colour.
 
  Rgds.
 
  Ronmell
 
  2010/7/6 JakeP jake.pier...@gmail.com
 
 
 
 
 
 
 
   I have an app that does two image transforms - it reduces the size of
   images from rss feeds and spits out jpeg format images that are stored
   in the datastore. It also stores the original size images that it
   stores in jpeg format.
 
   image1:  original image = resize = I'm Feeling Lucky = jpeg
 
   image2: original image  = I'm Feeling Lucky = jpeg
 
   When I look at the reduced size image in a browser, sometimes, the
   image's white background is changed to black.  Known issue or Bug?
 
   orig:
 
  http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866.
 ..
 
   reduced size:
 
  http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866.
 ..
 
   --
   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.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  ausencia de evidencia  ≠  evidencia de ausenciahttp://
 culturainteractiva.blogspot.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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] Turning on GWT in the project causes class not found excepction in my appengine code.

2010-07-07 Thread Ronmell Fuentes
Hi emurmur

Try to copy all .jar files used by your application to the following
directory.

workspace/yourApp/war/WEB-INF/lib

then, just restart your IDE, refresh the project and run it.

It should work.

Rgds.

Ronmell

2010/7/6 emurmur emur...@conceptuamath.com

 I have an Java App Engine project using SDK 1.3.5 and the latest
 Restlet GAE 2.0rc4 to implement some restful services.  Everything
 worked well (this has been in product for 6 months) until I added GWT
 to the project.  As soon as I check GWT on in the control panel
 (without even adding a module) my services start to fail in the
 development server with the following class not found exception:

 Couldn't write the XML representation: Provider
 org.apache.xalan.processor.TransformerFactoryImpl not found

 Any clues why simply turning GWT on would cause this?  Any solutions
 that you know of?  Thanks much.

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] image service is changing some white backgrounds to black

2010-07-06 Thread Ronmell Fuentes
Hi JakeP
as far as I know, when you have an PNG image this allows you to write
metadata in order to make the background transparent, but in JPEG/JPG files
this cannot be done. So all I can see is that the app is working properly
but when an image in JPG/JPEG is showed, the viewer doesn't know how to
interpret the background-metadata so, the easiest thing to do is show it in
black colour.

Rgds.

Ronmell

2010/7/6 JakeP jake.pier...@gmail.com


 I have an app that does two image transforms - it reduces the size of
 images from rss feeds and spits out jpeg format images that are stored
 in the datastore. It also stores the original size images that it
 stores in jpeg format.

 image1:  original image = resize = I'm Feeling Lucky = jpeg

 image2: original image  = I'm Feeling Lucky = jpeg

 When I look at the reduced size image in a browser, sometimes, the
 image's white background is changed to black.  Known issue or Bug?

 orig:

 http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866987e433431b6c068ea3fullsize=1

 reduced size:

 http://salonnewsapp.appspot.com/server?imagekey=da866db2b26c03e8e7866987e433431b6c068ea3

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] junit and local_db.bin

2010-06-23 Thread Ronmell Fuentes
mm I don't really know.
but should you necessary use JUnit?? I mean, you can use your own classes to
manage your data.

2010/6/23 Andrés Cerezo acerezoguil...@gmail.com

 Hi Rommel with the method listAllDomain I can see the data, there should be
 a problem with http://127.0.0.1:/_ah/admin/datastore perhaps a user
 roll or something similar (in JUNIT or loggin with
 http://127.0.0.1:/_ah/admin/datastore ?

 Thanks.


 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 Yup, for sure.

 Let's suppose you have an entity called domain which has the following
 attributes:

 1. Key
 2. Name

 public void listAllDomain(){
 List Domain results;
 Query query=factory.newQuery(Domain.class);
 try{
 results=(ListDomain) query.execute();
 if(results.iterator().hasNext()){
 for(int k=0;kresults.size();k++){
 Domain dumb=results.get(k);
 System.out.println(Key:
 \t+String.valueOf(dumb.getKey()).toString());
 System.out.println(Domain
 Name:\t+dumb.getDomainName());
 }
 }
 else System.out.println(no results exist);
 }
 finally{query.closeAll();}
 }

 Where Domain.clas is the class type for your entity called Domain.
 besides, in the query object you can set filters for your query.

 this method will show the data in your data Store.

 As I can see, if the local_db.bin is getting bigger each time JUnit is
 ran, then the data must be there, so with this method you should be able to
 see all the data stored in your Data Store. you have just replace all
 Domain references for your Entity's.

 Hope this is was helpful.

 Rgds.

 R

 2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

 No, perhaps have yout got an example?


 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 have you tried to retrieve the data from your app, I mean, not using the
 http/_ah/admin console but using your own application, a class written
 in java to show the data, does it work??

 2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

 I think so, When I executed all is right, however I don't execute
 teardown method because If I executed this the data are deleted. 
 Alsoeverytime I executed JUNIT the local_db.bin file is bigger than the 
 last
 time so It has the data.


 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 is your JUnit well configured??

 2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

  But I can see the data created with the servlets with
 http://localhost:/_ah/admin, but not when I the data are created
 with junit.

 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 Hi Acerezo

 remember the Data stored in dataStore is schemaless so, as far as I
 know, only GAE knows how to deal with it.

 When I want to see the data from the dataStore I use the classes
 written in java in order to manage the data in Data Store.
 in the other hand, you can use Restlets running on your app in order
 to manage your data when deployed in GAE.

 Rgds.

 Ronmell

 2010/6/22 Acerezo acerezoguil...@gmail.com

 Hello all,

 I have been running my server locally with JUNIT all is ok but when
  I
 want to see the data of the local_db.bin file from localhost:
  I
 don´t see the data (entities, etc) Anyone can help me, please?

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




 --
 ausencia de evidencia  ≠  evidencia de ausencia
 http://culturainteractiva.blogspot.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.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.




 --
 ausencia de evidencia  ≠  evidencia de ausencia
 http://culturainteractiva.blogspot.com/

 --
 You received this message because you are subscribed to the Google
 Groups Google App Engine for Java group.
 To post

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Ronmell Fuentes
Hi Acerezo

remember the Data stored in dataStore is schemaless so, as far as I know,
only GAE knows how to deal with it.

When I want to see the data from the dataStore I use the classes written in
java in order to manage the data in Data Store.
in the other hand, you can use Restlets running on your app in order to
manage your data when deployed in GAE.

Rgds.

Ronmell

2010/6/22 Acerezo acerezoguil...@gmail.com

 Hello all,

 I have been running my server locally with JUNIT all is ok but when  I
 want to see the data of the local_db.bin file from localhost:  I
 don´t see the data (entities, etc) Anyone can help me, please?

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




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Ronmell Fuentes
is your JUnit well configured??

2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

 But I can see the data created with the servlets with
 http://localhost:/_ah/admin, but not when I the data are created with
 junit.

 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 Hi Acerezo

 remember the Data stored in dataStore is schemaless so, as far as I know,
 only GAE knows how to deal with it.

 When I want to see the data from the dataStore I use the classes written
 in java in order to manage the data in Data Store.
 in the other hand, you can use Restlets running on your app in order to
 manage your data when deployed in GAE.

 Rgds.

 Ronmell

 2010/6/22 Acerezo acerezoguil...@gmail.com

 Hello all,

 I have been running my server locally with JUNIT all is ok but when  I
 want to see the data of the local_db.bin file from localhost:  I
 don´t see the data (entities, etc) Anyone can help me, please?

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




 --
 ausencia de evidencia  ≠  evidencia de ausencia
 http://culturainteractiva.blogspot.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.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.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.



Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Ronmell Fuentes
Yup, for sure.

Let's suppose you have an entity called domain which has the following
attributes:

1. Key
2. Name

public void listAllDomain(){
List Domain results;
Query query=factory.newQuery(Domain.class);
try{
results=(ListDomain) query.execute();
if(results.iterator().hasNext()){
for(int k=0;kresults.size();k++){
Domain dumb=results.get(k);
System.out.println(Key:
\t+String.valueOf(dumb.getKey()).toString());
System.out.println(Domain
Name:\t+dumb.getDomainName());
}
}
else System.out.println(no results exist);
}
finally{query.closeAll();}
}

Where Domain.clas is the class type for your entity called Domain.
besides, in the query object you can set filters for your query.

this method will show the data in your data Store.

As I can see, if the local_db.bin is getting bigger each time JUnit is ran,
then the data must be there, so with this method you should be able to see
all the data stored in your Data Store. you have just replace all Domain
references for your Entity's.

Hope this is was helpful.

Rgds.

R

2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

 No, perhaps have yout got an example?


 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 have you tried to retrieve the data from your app, I mean, not using the
 http/_ah/admin console but using your own application, a class written
 in java to show the data, does it work??

 2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

 I think so, When I executed all is right, however I don't execute
 teardown method because If I executed this the data are deleted. 
 Alsoeverytime I executed JUNIT the local_db.bin file is bigger than the last
 time so It has the data.


 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 is your JUnit well configured??

 2010/6/22 Andrés Cerezo acerezoguil...@gmail.com

  But I can see the data created with the servlets with
 http://localhost:/_ah/admin, but not when I the data are created
 with junit.

 2010/6/22 Ronmell Fuentes ringe...@gmail.com

 Hi Acerezo

 remember the Data stored in dataStore is schemaless so, as far as I
 know, only GAE knows how to deal with it.

 When I want to see the data from the dataStore I use the classes
 written in java in order to manage the data in Data Store.
 in the other hand, you can use Restlets running on your app in order
 to manage your data when deployed in GAE.

 Rgds.

 Ronmell

 2010/6/22 Acerezo acerezoguil...@gmail.com

 Hello all,

 I have been running my server locally with JUNIT all is ok but when
  I
 want to see the data of the local_db.bin file from localhost:  I
 don´t see the data (entities, etc) Anyone can help me, please?

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




 --
 ausencia de evidencia  ≠  evidencia de ausencia
 http://culturainteractiva.blogspot.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.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.




 --
 ausencia de evidencia  ≠  evidencia de ausencia
 http://culturainteractiva.blogspot.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.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

Re: [appengine-java] Re: No API environment is registered for this thread.

2010-05-26 Thread Ronmell Fuentes
As far As I know, there's not jeje.
but if you use an IDE like Eclipse everything reduces to just install the
plugin  for GAE and done!.

Rgds.
R

2010/5/26 poe stefan.poe...@googlemail.com

 It seems that I've used my own Run Configuration where I included a
 wrong nucleus-appengine-something.jar in the classpath. When I added
 the Jar-File by hand the enhancer didn't work anymore. I created a new
 Run Configuration with the latest appengine version and it works. Are
 there some Documentation about how to set up the Developement Mode in
 the Run Configuration?

 Thanks so far
 Poe

 On 25 Mai, 18:21, Ronmell (VDKiT) ringe...@gmail.com wrote:
  Hi Poe.
 
  Data Store comes with your GAE. no further installations.
 
  a little bit of more information related to the complete error and the
  point of raising of the error, would be very helpful.
 
  R
 
  On May 25, 9:10 am, poe stefan.poe...@googlemail.com wrote:
 
 
 
   Hey there,
 
   when i want to store some Objects in the Datastore i get this error
   and the object is not added. This only happend when i use it in
   developement or production mode. Did I have to set up a Datastore or
   is it included in the appengine?
 
   No API environment is registered for this thread.
 
   Greets
   Poe
 
   --
   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 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.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.