[appengine-java] multiple list properties

2011-01-10 Thread asianCoolz
1.is it maximum can only have one list property inside an entity. In
Brett Slatkin talk's merge join. the animal.class example only has one
list property 'has' field .  What impact if we use multiple list
property?


2.regarding relation indexes, if my entity need to use multiple list
property.
 a) should i create  diferent children with each child has a list
property and  to @parent Message OR
 b) put all (multiple) list properties inside on relation indexes
entity, MessageIndex ?

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



[appengine-java] Re: Sharing datastore persisted objects (table) across applications

2011-01-01 Thread asianCoolz
if i'm not wrong. u can upload as different version of the app. and
different version of app using same 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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] spring openid

2010-12-30 Thread asianCoolz
in my log, i have this

/j_spring_openid_security_check 6653cpu ms 73api cpu ms
the request use high amount of cpu and may soon exceed it quota


any way to optimize this?

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



[appengine-java] tapioca-orm

2010-12-25 Thread asianCoolz
Hi,
   I rewatched google talk 2008, and found this library for datastore
tapioca, may i know is this project still active. Is google planning
to integrate this with appengine sdk any sooner ? how soon will we
able to see feature like distributed transaction support ? please
advice. thank you

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



[appengine-java] Re: big table parent-child

2010-12-06 Thread asianCoolz
how about, if i denormalized everything . Mean book as id of
subcategory. One entitygroup will only has one entity. any impact on
that if i have too many separate entitygroups...?  is this good
practice in bigtable?  if i do aware if i do this way, not be able to
use transactional.

can you elaborate

The best (only ?) way to continue
guaranteeing integrity of your data in to do it via a task for the
second action (recreate) that you make transactional with the 1st
(delete).  -- do you mean i should re-created book in subcategoryB
first before do delete book from subcategoryA ?  what do you mean
task, using background job ? any example?

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



[appengine-java] big table parent-child

2010-12-05 Thread asianCoolz
if have i have pojo like  categoryA - subcategoryA-- book
relationship.
subcategoryA is child of parent categoryA. book is child of
subcategoryA
in this case, everything is inside same entitygroup

if i need to move 'book' to another subcategory-B. i need to delete
subcategoryA and categoryA, and recreate categoryA - subcategoryA--
without  book ?   and recreate  categoryb - subcategoryb--
book  ,other-book, other-book3  ?

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



[appengine-java] Re: bytes array into file

2010-11-01 Thread asianCoolz
i able to get byte[] from blobstore.  how to pass these byte[] to
randomacessfile, so that i can seek and read ?   can provide some
pseudo code?

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



[appengine-java] bytes array into file

2010-10-29 Thread asianCoolz
1.i have byte[] array that get from blobstore. I want to input the
byte [] into new File() but appengine prevent from using
OutputStream/FileOutputStream.   what is the workaround to write byte
into new File[] ?  this new File[] is only required to be read , no
need to write into filesystem



2. currently only max 10mb of static file can be uploaded into
production appengine. for pay service, anyway to request for 100mb? i
only need to read the file, do not need to write into filesystem

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



[appengine-java] blockstore on 1.3.8 httpservlet 404

2010-10-28 Thread asianCoolz
hi, i follow tutorial sample code at 
http://code.google.com/appengine/docs/java/blobstore/overview.html
, but when i try upload file , i get

HTTP ERROR 404

Problem accessing /upload. Reason:

NOT_FOUND

Powered by Jetty://


my web.xml


?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xmlns=http://java.sun.com/xml/ns/javaee;
   xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
   xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
   http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5


  !-- Servlets --



  servlet
servlet-nameUpload/servlet-name
servlet-classcom.testtestonly.server.testonly.Upload/servlet-
class
  /servlet

  servlet
servlet-nameServe/servlet-name
servlet-classcom.testtestonly.server.testonly.Serve/servlet-
class
  /servlet




  servlet
servlet-namegreetServlet/servlet-name
servlet-classcom.user.cms.server.GreetingServiceImpl/servlet-
class
  /servlet






  servlet-mapping
servlet-nameUpload/servlet-name
url-pattern/upload/url-pattern
  /servlet-mapping

  servlet-mapping
servlet-nameServe/servlet-name
url-pattern/serve/url-pattern
  /servlet-mapping

servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/cmsui/greet/url-pattern
  /servlet-mapping


  welcome-file-list
welcome-fileCMSUI.html/welcome-file
  /welcome-file-list




/web-app



anything i did 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.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] blockstore on 1.3.8 httpservlet 404

2010-10-28 Thread asianCoolz
hi, i follow tutorial sample code at 
http://code.google.com/appengine/docs/java/blobstore/overview.html
, but when i try upload file , i get

HTTP ERROR 404

Problem accessing /upload. Reason:

NOT_FOUND

Powered by Jetty://


my web.xml


?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xmlns=http://java.sun.com/xml/ns/javaee;
   xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
   xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
   http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5


  !-- Servlets --



  servlet
servlet-nameUpload/servlet-name
servlet-classcom.testtestonly.server.testonly.Upload/servlet-
class
  /servlet

  servlet
servlet-nameServe/servlet-name
servlet-classcom.testtestonly.server.testonly.Serve/servlet-
class
  /servlet




  servlet
servlet-namegreetServlet/servlet-name
servlet-classcom.user.cms.server.GreetingServiceImpl/servlet-
class
  /servlet






  servlet-mapping
servlet-nameUpload/servlet-name
url-pattern/upload/url-pattern
  /servlet-mapping

  servlet-mapping
servlet-nameServe/servlet-name
url-pattern/serve/url-pattern
  /servlet-mapping

servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/cmsui/greet/url-pattern
  /servlet-mapping


  welcome-file-list
welcome-fileCMSUI.html/welcome-file
  /welcome-file-list




/web-app



anything i did 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.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-26 Thread asianCoolz
may i know in gae, how to you set parameter for   new
LookupService(String databaseFile)  ? do you use blockstore ? what is
the path do you upload the  maxmind dat file?

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



[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-26 Thread asianCoolz
may i know in gae, how to you set parameter for   new
LookupService(String databaseFile)  ? do you use blockstore ? what is
the path do you upload the  maxmind dat file?

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



[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-26 Thread asianCoolz
may i know in gae, how to you set parameter for   new
LookupService(String databaseFile)  ? do you use blockstore ? what is
the path do you upload the  maxmind dat file?

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



[appengine-java] Re: recommendation on using maxmind geoip

2010-10-26 Thread asianCoolz
@Ikai , thank you for responding. I noticed your blog before posting
here. one question, which will faster performance, put the binary in
blockstore and read with new File(..) or use import csv into datastore
like what you did ?

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



[appengine-java] Re: recommendation on using maxmind geoip

2010-10-26 Thread asianCoolz
@Ikai , thank you for responding. I noticed your blog before posting
here. one question, which will faster performance, put the binary in
blockstore and read with new File(..) or use import csv into datastore
like what you did ?

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



[appengine-java] java.io.RandomAccessFile BlockStore

2010-10-26 Thread asianCoolz
may i know how to use java.io.RandomAccessFile to read big file from
BlockStore ?

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



[appengine-java] Re: recommendation on using maxmind geoip

2010-10-26 Thread asianCoolz
hello @Ikai, is it required to use mapreduce . why not get the byte
stream from blockstore and create  new file(..) ? there is no limit on
new file(..) and byte[] array in gae right?

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



[appengine-java] recommendation on using maxmind geoip

2010-10-25 Thread asianCoolz
may i know what is the preferable way of using maxmind geoip? upload
the 'binary file' or bulk upload the csv files into bigtable?  the
prior technique will slow down application startup time?

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



[appengine-java] Re: Oracle sues Google on Java Patents and Copyright

2010-08-16 Thread asianCoolz
just ask Oracle to fire all their lawyers and hire 'better
programmers' like google if they are serious about innovation.  ask
them make better web, no war. for them everything is just $$$, no
wonder they have xtra to spend on lawsuit

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



[appengine-java] each entity as separate entity group

2010-07-11 Thread asianCoolz
i did my research and found that requirement to write entity(table) in
denormalized form. In this case, one entity(table) will not be related
to another entity(table) [no join] .


1. Is there any limit of number of entity group we can create?
2. what is the 'write speed per second' if i do it this way? since
everything is in seperate entity (root). i'm sure query(select) will
be required more steps this way
3. Is this best practice for using datastore at the moment?

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



[appengine-java] cloud portability

2010-06-21 Thread asianCoolz
may i know how portability is gae application. let say i have an
application that using comet feature, task queue..etc and not using
bigtable and i want to deploy on vmware/amazon will it run?

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



[appengine-java] Google App Engine for Business

2010-05-24 Thread asianCoolz
i saw the roadmap for the possibility to use sql directly on GAE. in
that case, i curious to know what is the scability of using sql? there
will be limitation compared to using gae bigtable right?

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



[appengine-java] Re: xmpp send fail. is this bug?

2010-05-14 Thread asianCoolz
I created an issue

http://code.google.com/p/googleappengine/issues/detail?id=3208q=mycomponentcolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component

can anyone confirm is this a bug ?

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



[appengine-java] xmpp send fail. is this bug?

2010-05-07 Thread asianCoolz
JID jid = new JID(ad...@host.domain.com); //success with code
SUCCESS
JID jid = new JID(mycomponent.host.domain.com);  //send fail with
code INVALID_ID,but when i try send from gmail OR jabber to
mycomponent.host.domain.com . it was a success.


Is this a but in google xmpp api?

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



[appengine-java] XMPP outbound service

2010-04-17 Thread asianCoolz
currently i create xmppservlet like below

public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {

JID jid = new JID(u...@jabber.org);
Message msg = new MessageBuilder()
.withRecipientJids(jid)
.withBody(hi Hello i'm a fancy GAE app, how are you?)
.build();
XMPPService xmpp = XMPPServiceFactory.getXMPPService();

   SendResponse status = xmpp.sendMessage(msg);
}


by doing this, from u...@jabber.org, i need to send a message to
a...@appspot.com only, will a...@appspot.com send out the message back
to u...@jabber.org.   Is there anyway to programatically send out xmpp
message without having u...@jabber.org to initial chat window with
a...@appspot.com and send the first message? This should be consider
outbound-service right?

how to do this?

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



[appengine-java] Re: Prerelease SDK 1.3.3 available for download

2010-04-14 Thread asianCoolz
nice !

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



[appengine-java] appspot xmpp talk with jabber.org

2010-04-03 Thread asianCoolz


hi, when i connect to gtalk, i able to talk with my bot in appspot.
but when i login to jabber.org, i unable to talk with my bot? anything
i need to configure?

testetefsdf @ appspot.com

p/s: the bot exist in my jabber.org roster and appear online thou

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



[appengine-java] Re: App Engine SDK 1.3.2 is out!

2010-03-25 Thread asianCoolz
jgae is getting better and better.  thumb up !

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



[appengine-java] bosh hosting

2010-03-17 Thread asianCoolz
any recommendation on scalable bosh server hosting that i can use with
jgae?

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



[appengine-java] write too frequent ,datastore contention timeout

2010-02-08 Thread asianCoolz
I read app engine wiki, on datastore contention if too frequent write
more than 5 times in 1 seconds. The wiki introduced use shard
approach as workaround.  May i know if we use spring @transactional
on this, this can prevent datastore  contention timeout right since
writing in done concurrently ?

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



[appengine-java] Re: Localization parameters

2010-02-08 Thread asianCoolz
may i know does by setting param-
namejavax.servlet.jsp.jstl.fmt.timeZone/param-name   makes the logs
to show timezone we want? or that parameter is only used for jsp-jstl ?

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



[appengine-java] Re: SocialWok.com presentation qusetion on workaround on join

2010-01-28 Thread asianCoolz
i will try.  The reason socialwork suggested to use code snippet above
is because bigtable doesnt support join. by using this technique they
claim overhead will be smaller.

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



[appengine-java] SocialWok.com presentation qusetion on workaround on join

2010-01-26 Thread asianCoolz
DatastoreService dataSvc =...;

Query query = new Query(MessageRecipients)
   .addFilter(recipients), FilterOperator.EQUAL,userid)
   .addSort(date, SortDirection.DESCENDING)
   .setKeysOnly();  // -- Only fetch keys!

//*** from the presentation , mentioned the above can only be done
using low level api, arent jdo/jpa can get the key only value as well
//***http://gae-java-persistence.blogspot.com/2009/10/keys-only-
queries.html


ListEntity msgRecpts = dataSvc.prepare(query).asList();
ListKey parents = new ArrayListKey();
for(Entity recep : msgREcpts) {
  parents.add(recep.getParent());
}

//Bulk fetch parents using key list
MapKey, Entity msg = dataSvc.get(parents);

//***for second part above, what is the different from doing directly
select in statement in jpa/jdo ?
//***http://gae-java-persistence.blogspot.com/2009/12/queries-with-and-
in-filters.html



please comments...

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



[appengine-java] Re: Application code attempted to create a EntityManagerFactory named transactions-optional,

2010-01-21 Thread asianCoolz
i faced same problem. have u found out what is the reason?
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Re: Error creating EntityManagerFactory bean occasionally

2010-01-21 Thread asianCoolz
is this problem caused by gae bug? or application bug? found solution
yet?

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



[appengine-java] what class need to be nucleus enhance?

2010-01-20 Thread asianCoolz
i only enhance my model classes (pojo) , but i get warning like
below . Is class dao, service need to be included for data nucleus
enhancer?



 [testetefsdf/2.339300673130228559].stdout: 13:20:36,874 DEBUG
[DataNucleus.MetaData] - Class
com.user.testing.service.TestingImplDao has annotations but there is
no registered AnnotationReader. Please check your CLASSPATH and the
annotations in the class for validity.

 297.
  I 01-20 05:20AM 36.875

  [testetefsdf/2.339300673130228559].stdout: 13:20:36,875 DEBUG
[DataNucleus.MetaData] - Class
x.y.gwt.hellospringdispatch.server.handler.SendGreetingHandler has
annotations but there is no registered AnnotationReader. Please check
your CLASSPATH and the annotations in the class for validity.

 298.
  I 01-20 05:20AM 36.875

  [testetefsdf/2.339300673130228559].stdout: 13:20:36,875 DEBUG
[DataNucleus.MetaData] - Class
x.y.gwt.hellospringdispatch.server.support.ActionHandlerBean has
annotations but there is no registered AnnotationReader. Please check
your CLASSPATH and the annotations in the class for validity.
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Re: duplicated entitymanagerfactory?

2010-01-19 Thread asianCoolz
I already tried all posibilities, if i commented out bean
id=compass class=org.compass.spring.LocalCompassBean from .xml i
able to run without error in hosted mode and production

Please comment here 
http://stackoverflow.com/questions/2093913/google-app-engine-compass-caused-entitymanagerfactory-error

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




[appengine-java] duplicated entitymanagerfactory?

2010-01-18 Thread asianCoolz
i able to run without any error on hosted mode, but when i run on
production (uploaded)

i get error below


[testetefsdf/2.339255113445835576].stdout: 14:14:01,205 ERROR
[org.springframework.web.context.ContextLoader] - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'testingImplDao': Injection of persistence
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'data.emf' defined in ServletContext resource
[/WEB-INF/spring-conf.xml]: Invocation of init method failed; nested
exception is java.lang.IllegalStateException: Application code
attempted to create a EntityManagerFactory named transactions-
optional, but one with this name already exists!  Instances of
EntityManagerFactory are extremely slow to create and it is usually
not necessary to create one with a given name more than once.
Instead, create a singleton and share it throughout your code.  If you
really do need to create a duplicate EntityManagerFactory (such as for
a unittest suite), set the
appengine.orm.disable.duplicate.emf.exception system property to avoid
this error.
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues
(PersistenceAnnotationBeanPostProcessor.java:316)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:1055)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:511)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:289)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:286)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:188)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
(DefaultListableBeanFactory.java:558)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization
(AbstractApplicationContext.java:852)
at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:422)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext
(ContextLoader.java:261)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext
(ContextLoader.java:192)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized
(ContextLoaderListener.java:47)
at org.mortbay.jetty.handler.ContextHandler.startContext
(ContextHandler.java:530)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext
(WebAppContext.java:1218)
at org.mortbay.jetty.handler.ContextHandler.doStart
(ContextHandler.java:500)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
448)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler
(AppVersionHandlerMap.java:191)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler
(AppVersionHandlerMap.java:168)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest
(JettyServletEngineAdapter.java:123)
at com.google.apphosting.runtime.JavaRuntime.handleRequest
(JavaRuntime.java:235)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5235)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$6.handleBlockingRequest(RuntimePb.java:5233)
at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
363)
at com.google.net.rpc.impl.Server$2.run(Server.java:838)
at com.google.tracing.LocalTraceSpanRunnable.run
(LocalTraceSpanRunnable.java:56)
at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
(LocalTraceSpanBuilder.java:536)
at com.google.net.rpc.impl.Server.startRpc(Server.java:793)
at com.google.net.rpc.impl.Server.processRequest(Server.java:368)
at com.google.net.rpc.impl.ServerConnection.messageReceived
(ServerConnection.java:448)
at com.google.net.rpc.impl.RpcConnection.parseMessages
(RpcConnection.java:319)
at 

[appengine-java] Re: jpa query

2010-01-08 Thread asianCoolz
thank you for your response Rusty.  I already tried with parameter.
return 0, that is why i retry with simply statement select c from
com.testing.model.Usertest c where c.username = 'test'  .   the
example in datanucleus website is using pm. while i'm using jpa
entitymanager.
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] can use like in entitymanager?

2010-01-05 Thread asianCoolz
I did the below testing

Map map = new HashMap();
map.put(username, abc);
List result = service.search(select c from
com.company.testing.model.Usertest c where c.username  = :username,
map) ;
System.out.println(+result.size());  //return 0   ;  cannot
search by field?


Map map = new HashMap();
map.put(username, abc);
List result = service.search(select c from
com.company.testing.model.Usertest c where c.username
like :username, map) ;
System.out.println(+result.size());  //objectmanager closed ,
hang; cannot use like   ?


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




[appengine-java] 1 query per transaction

2010-01-05 Thread asianCoolz
my i know is it correct, for each @transaction, i should only do one
query (persist or load) ? if yes, then i will have to annotation
@tranaction at the dao layer rather than method in service layer
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Re: strange question about Ehcache

2010-01-03 Thread asianCoolz
are u using jpa ?  if yes, are you annotating your jpa entity with
cache?

--

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




[appengine-java] example cache with jpa

2009-12-30 Thread asianCoolz
any example on using level1/2 caching with jpa @Cacheable?  any guide
on this?

--

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




[appengine-java] best prastice on persistence transactional settings

2009-12-23 Thread asianCoolz
persistence-unit name=transactions-optional
 
providerorg.datanucleus.store.appengine.jpa.DatastorePersistenceProvider/
provider
properties
property name=datanucleus.NontransactionalRead
value=true/
property name=datanucleus.NontransactionalWrite
value=true/
property name=datanucleus.ConnectionURL
value=appengine/
/properties
/persistence-unit


this is the default example came with GAE,   are you all using the
same setting? from my understanding

setting datanucleus.NontransactionalRead and
datanucleus.NontransactionalWrite to true in other words mean not
using transaction at all. Should i use similar setting?


in spring, normally i will do below
 prop key=store*PROPAGATION_REQUIRED/prop
prop key=update*PROPAGATION_REQUIRED/prop
prop key=remove*PROPAGATION_REQUIRED/prop
prop key=bulkUpdate*PROPAGATION_REQUIRED/prop
prop key=*PROPAGATION_SUPPORTS,readOnly/prop


looking for feedback from you all

--

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




[appengine-java] Re: best prastice on persistence transactional settings

2009-12-23 Thread asianCoolz
also, why use transactions-optional ?   optional means? is there other
parameter we can use?

--

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




[appengine-java] google guice @transactional at service layer

2009-12-12 Thread asianCoolz
1.normally on spring, we will use @transactional at service layer for
concurency control, if we use google guice, is there similar
annotation and does it suported in GAE?
2. is google guice all classes supported in GAE? i about to start look
at google guice, as i find some of the classes in spring are not
supported in GAE. any advise?
3. is @transactional is required for bigtable? arent bigtable is not
transactional?

--

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




[appengine-java] Re: google guice @transactional at service layer

2009-12-12 Thread asianCoolz
@Rusty,
can you explain any specify reason why you tweak it for bigtable?
can elaborate?

--

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




[appengine-java] enhance classes in eclipse plugin

2009-12-11 Thread asianCoolz


my properties-google--orm- already put /src   but i still get the
below error

i'm using jdk1.6 gae1.2.6. what did i do wrong?

01:38:22,793 ERROR [DataNucleus.MetaData] - Found Meta-Data for class
com.thepackage.class.domain.pojotest but this class is not enhanced!!
Please enhance the class before running DataNucleus.
org.datanucleus.exceptions.NucleusUserException: Found Meta-Data for
class com.thepackage.class.domain.pojotest  but this class is not
enhanced!! Please enhance the class before running DataNucleus.
at org.datanucleus.metadata.MetaDataManager.initialiseClassMetaData
(MetaDataManager.java:2225)
at org.datanucleus.metadata.MetaDataManager.initialiseFileMetaData
(MetaDataManager.java:2176)
at
org.datanucleus.metadata.MetaDataManager.initialiseFileMetaDataForUse
(MetaDataManager.java:881)
at org.datanucleus.metadata.MetaDataManager.loadPersistenceUnit
(MetaDataManager.java:794)
at org.datanucleus.jpa.EntityManagerFactoryImpl.initialisePMF
(EntityManagerFactoryImpl.java:488)
at org.datanucleus.jpa.EntityManagerFactoryImpl.init
(EntityManagerFactoryImpl.java:355)
at
org.datanucleus.store.appengine.jpa.DatastoreEntityManagerFactory.init
(DatastoreEntityManagerFactory.java:63)
at
org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider.createEntityManagerFactory
(DatastorePersistenceProvider.java:35)
at javax.persistence.Persistence.createFactory(Persistence.java:172)
at javax.persistence.Persistence.createEntityManagerFactory
(Persistence.java:112)
at
org.springframework.orm.jpa.LocalEntityManagerFactoryBean.createNativeEntityManagerFactory
(LocalEntityManagerFactoryBean.java:91)
at
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet
(AbstractEntityManagerFactoryBean.java:291)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
(AbstractAutowireCapableBeanFactory.java:1369)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1335)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:473)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference
(BeanDefinitionValueResolver.java:269)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary
(BeanDefinitionValueResolver.java:104)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapableBeanFactory.java:1245)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:1010)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:472)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
at

[appengine-java] Re: Spring MVC with annotations

2009-12-11 Thread asianCoolz
any update on this? can rc3 run on gae?

--

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




[appengine-java] error xerces not found when run as web app

2009-12-10 Thread asianCoolz
i already included xercesImpl-2.8.1.jar inside /war/web/web-inf/lib/
but i still get below error when run as web app in eclipse.  what did
i miss out?

p/s: i'm using gae1.2.6

WARNING: failed
com.google.apphosting.utils.jetty.devappenginewebappcont...@cf935a{/,/
Users/user/work/project2/gae-jobportal/trunk/JobPortal/war}
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
at javax.xml.parsers.SAXParserFactory.newInstance
(SAXParserFactory.java:113)
at org.mortbay.xml.XmlParser.init(XmlParser.java:69)
at org.mortbay.jetty.webapp.WebXmlConfiguration.webXmlParser
(WebXmlConfiguration.java:83)
at org.mortbay.jetty.webapp.WebXmlConfiguration.init
(WebXmlConfiguration.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.mortbay.jetty.webapp.WebAppContext.loadConfigurations
(WebAppContext.java:838)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
417)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:117)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:217)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at
com.google.appengine.tools.development.JettyContainerService.startContainer
(JettyContainerService.java:181)
at
com.google.appengine.tools.development.AbstractContainerService.startup
(AbstractContainerService.java:116)
at com.google.appengine.tools.development.DevAppServerImpl.start
(DevAppServerImpl.java:217)
at com.google.appengine.tools.development.DevAppServerMain
$StartAction.apply(DevAppServerMain.java:162)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs
(Parser.java:48)
at com.google.appengine.tools.development.DevAppServerMain.init
(DevAppServerMain.java:113)
at com.google.appengine.tools.development.DevAppServerMain.main
(DevAppServerMain.java:89)
Dec 10, 2009 5:10:41 PM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: Nested in javax.xml.parsers.FactoryConfigurationError:
Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found:
java.lang.ClassNotFoundException: org/apache/xerces/jaxp/
SAXParserFactoryImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:85)
at javax.xml.parsers.FactoryFinder.findJarServiceProvider
(FactoryFinder.java:278)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
at javax.xml.parsers.SAXParserFactory.newInstance
(SAXParserFactory.java:107)
at org.mortbay.xml.XmlParser.init(XmlParser.java:69)
at org.mortbay.jetty.webapp.WebXmlConfiguration.webXmlParser
(WebXmlConfiguration.java:83)
at org.mortbay.jetty.webapp.WebXmlConfiguration.init
(WebXmlConfiguration.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.mortbay.jetty.webapp.WebAppContext.loadConfigurations
(WebAppContext.java:838)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
417)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:117)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:217)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at
com.google.appengine.tools.development.JettyContainerService.startContainer
(JettyContainerService.java:181)
at
com.google.appengine.tools.development.AbstractContainerService.startup

[appengine-java] gae log console

2009-12-10 Thread asianCoolz
wonder is it possible to use any utility to parse the log onto my
local machine console rather than have to view it through gae admin
control panel?

--

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




[appengine-java] Re: gae log console

2009-12-10 Thread asianCoolz
its only copy the log to local pc. can it append so that i look like i
use tail -f each time got new records in the log?

--

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




[appengine-java] jdo on app engine

2009-11-30 Thread asianCoolz
1.any tool to generate jdo pojo?
2. any impact of using primary key as long and autoincrement it rather
than using jdo 's key ? I do understand that max autoincrement for
sequence is e+27,  how about KEY ?

--

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




[appengine-java] Re: need comment on using @transactional on service layer

2009-11-29 Thread asianCoolz
may i know are you generating the domain jdo pojo or handwritten?

--

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




[appengine-java] summary of using JPA with GAE

2009-11-29 Thread asianCoolz
I looking for feedback from anyone that already tried using JPA+spring
@trans on GAE on any limitation when using the api? can share your
experiences?

--

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




[appengine-java] need comment on using @transactional on service layer

2009-11-28 Thread asianCoolz
hi, can anyone comments whether my architecture is ok for using
@transactional with spring on service layer?

http://tinyurl.com/ybmev2b

--

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




[appengine-java] Re: Does Google App Engine support Apache Mina?

2009-10-31 Thread asianCoolz

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



[appengine-java] Re: GAE with external openfire jabber server?

2009-10-29 Thread asianCoolz

i trying to run openfire on third-party hosting and trying to use GAE
to connect to it so that i able to use feature like component,
pubsub..etc

Which one do you advise to do ?
1. use gae xmpp to send message to my openfire smack client
2. use gae urlfetch to send my message to servlet on my third party
hosting and pass to openfire

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



[appengine-java] GAE with external openfire jabber server?

2009-10-28 Thread asianCoolz

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



[appengine-java] confuse on Whitelist

2009-09-06 Thread asianCoolz

I saw white list http://code.google.com/appengine/docs/java/jrewhitelist.html
, java.lang.Thread is in it. Aren't Thread not supported?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] xmpp support

2009-09-02 Thread asianCoolz

May i know when GAE mentioned will support XMPP for next version of
GAE, does that mean, it will support all features of xmpp?  can we
use BOSH to replace comet feature? the reason i asking is because
i'm very interested to use comet in my application but found out GAE
doesn't support it. So, I am wondering should i invest my time create
'xmpp/bosh' feature on my app and anticipating for next version of
GAE? what is the estimate date of the next release?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] bigtable allow external connection?

2009-09-01 Thread asianCoolz

possible to only utitlieze bigtable for storing data ? may i know is
it possible to connect to certain port on google app engine to query
for database in bigtable? let say i deployed my app in amazon and i
want to use google app engine's bigtable
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] dwr3 working example

2009-09-01 Thread asianCoolz

from http://www.nabble.com/DWR3RC1-threads-ts23074328.html#a23227051
, it showed that no working example just yet for dwr3.  have anyone
tried on this? why inwill it played it showed its working?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] live feed

2009-08-31 Thread asianCoolz

since comet not supported, may i know what workaround you folks do to
create live feed ? any such example on gwt?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] red5.war ?

2009-08-29 Thread asianCoolz

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



[appengine-java] http duration 30seconds

2009-08-29 Thread asianCoolz

may i know if i upload an avi file into app engine, can it be played
by user since there is limit of http duration of 30seconds?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] appengine demo taskengine blank page

2009-08-19 Thread asianCoolz

i able to compile and run the demo, but when i view in the browser, it
just blank . itested on appengine1.22 demo+winxp . anyone else facing
this?

no error in the console
runserver:
 [java] Aug 20, 2009 1:27:46 AM
com.google.appengine.tools.development.Isola
tedAppClassLoader checkWorkingDirectory
 [java] WARNING: Your working directory, (D:\work\projects
\appengine-java-sd
k-1.2.2\appengine-java-sdk-1.2.2\demos\taskengine) is not equal to
your
 [java] web application root (D:\work\projects\appengine-java-
sdk-1.2.2\appe
ngine-java-sdk-1.2.2\demos\taskengine\war)
 [java] You will not be able to access files from your working
directory on
the production server.
 [java]
 [java] The server is running at http://localhost:8080/
 [java] Aug 20, 2009 1:27:54 AM
com.google.appengine.tools.development.Local
ResourceFileServlet doGet
 [java] WARNING: No file found for: /sticky/sticky.nocache.js
 [java] Aug 20, 2009 1:28:42 AM
com.google.appengine.tools.development.Local
ResourceFileServlet doGet
 [java] WARNING: No file found for: /Sticky.css
 [java] Aug 20, 2009 1:28:42 AM
com.google.appengine.tools.development.Local
ResourceFileServlet doGet
 [java] WARNING: No file found for: /sticky/sticky.nocache.js

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