[appengine-java] java.security.AccessControlException: access denied

2010-12-27 Thread shamshu
Hi, I'm trying to deploy Sun RI( PetStore ) on google app engine. With few tweaks able to deploy,But with no database indexing(lucene based indexing). Stuck at enabling the indexing using lucene, lucence api reads the index related files and writes to temp files. While doing this file api

[appengine-java] sending mail @ specific time using GAE

2010-12-27 Thread Ahmed Shoeib
hi all, i need to make my application send mail @ specific time how i can do it ??? please help -- 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

[appengine-java] Re: sending mail @ specific time using GAE

2010-12-27 Thread Didier Durand
Hi, The best way is to use scheduled tasks: all details at http://code.google.com/appengine/docs/java/config/cron.html regards didier On Dec 27, 1:09 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi all, i need to make my application send mail @ specific time how i can do it ???

[appengine-java] Re: sending mail @ specific time using GAE

2010-12-27 Thread Ahmed Shoeib
how to integrate sending Mail with crons ? On Dec 27, 2:30 pm, Didier Durand durand.did...@gmail.com wrote: Hi, The best way is to use scheduled tasks: all details athttp://code.google.com/appengine/docs/java/config/cron.html regards didier On Dec 27, 1:09 pm, Ahmed Shoeib

[appengine-java] Re: sending mail @ specific time using GAE

2010-12-27 Thread Didier Durand
Hi, Use the mail service to program the sending of your emails : http://code.google.com/appengine/docs/java/mail/ regards didier On Dec 27, 1:41 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: how to integrate sending Mail with crons ? On Dec 27, 2:30 pm, Didier Durand

[appengine-java] Re: sending mail @ specific time using GAE

2010-12-27 Thread Ahmed Shoeib
how to integrate sending Mail with crons ? On Dec 27, 2:30 pm, Didier Durand durand.did...@gmail.com wrote: Hi, The best way is to use scheduled tasks: all details athttp://code.google.com/appengine/docs/java/config/cron.html regards didier On Dec 27, 1:09 pm, Ahmed Shoeib

[appengine-java] Re: sending mail @ specific time using GAE

2010-12-27 Thread Ahmed Shoeib
how to integrate sending Mail with crons ? On Dec 27, 2:30 pm, Didier Durand durand.did...@gmail.com wrote: Hi, The best way is to use scheduled tasks: all details athttp://code.google.com/appengine/docs/java/config/cron.html regards didier On Dec 27, 1:09 pm, Ahmed Shoeib

[appengine-java] Instant messenger

2010-12-27 Thread Piyush Zarkar
Hi, I am a newbie in web development. I am trying to create a web page which contains chatting messengers like ebuddy. i want to know that can i use google app engine to create that kind of web page and embed all APIs. Also i want to transport my message from Google ID to Yahoo ID kind of. I

[appengine-java] Mail API inquiry

2010-12-27 Thread Ahmed Shoeib
hi all , i know how to send mail message using Java Mail API but my code need email password to send the message . is there is any other way to send mail without needs to email password ( for example using UserService associated with GAE ) . please help me. -- You received this message

[appengine-java] Re: sending mail @ specific time using GAE

2010-12-27 Thread Ahmed Shoeib
thanks didier for your help On Dec 27, 2:43 pm, Didier Durand durand.did...@gmail.com wrote: Hi, Use the mail service to program the sending of your emails :http://code.google.com/appengine/docs/java/mail/ regards didier On Dec 27, 1:41 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com

Re: [appengine-java] migrating to 1.4 task queues

2010-12-27 Thread Fabrizio
@Ikai, about url -- withUrl please update documentation/examples at http://code.google.com/appengine/docs/java/taskqueue/overview.html -- 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

[appengine-java] Treating /foo the same way as /foo/

2010-12-27 Thread Mikhail Dvorkin
In the web.xml there is this wonderful welcome-file-list, which I use. So typing http://myapp.appspot.com/foo/ in the browser leads to myapp.appspot.com/foo/index.html, which is what I want. Now, how can I make http://myapp.appspot.com/foo (without the slash!) lead to the same page? I can set a

[appengine-java] UserService.createLoginURL creates the URL in such a way that the second and third parameters in the destinationURL are lost

2010-12-27 Thread NexusOneFan1
I have a simple Java application on GAE with authentication set to federated login. I have two JSP's home.jsp is a JSP that doesn't have security constraints mypage.jsp is a JSP that has security constraints as shown at the bottom. On home.jsp I create a login url using:

[appengine-java] org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:414)

2010-12-27 Thread saleem qadi
I am using Eclipse3.6.1(helios) and I made app with the datastore but when I run it I get the following errors: at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:414) at

[appengine-java] Re: SQL injection on App Engine ?

2010-12-27 Thread datanucleus
SQL injection ? into a database that doesn't support SQL? Please present a clear example of how such a thing can happen and what effect it can have. The application designer is the person who allows such a thing, not the underlying API -- You received this message because you are subscribed to

[appengine-java] slf4j debug messages not in admin console

2010-12-27 Thread Tomas Vojtech
Hello, I use SLF4J for logging and if I use logger.debug or logger.trace no message is shown in logs in administration console. Higher levels work fine and are in the console. Is problem in my application or where is problem? blaf -- You received this message because you are subscribed to

[appengine-java] JPA query(JPQL) setFirstResult() and setMaxResult() does not work

2010-12-27 Thread Mike Guo
hi All: i posted this problem on GWT forum but i think it's better to place here, as it has no related to GWT. see here: https://groups.google.com/forum/?lnk=gstq=ClassNotResolvedException#!topic/google-web-toolkit/uEkludbtwpg thanks. -- You received this message because you are subscribed to

[appengine-java] GWT Project error when using external jars with CORBA calls

2010-12-27 Thread Thiagotta
Hello, I have a GWT project and I'm trying to use an external jar which makes use of Borland CaliberRM SDK (http://techpubs.borland.com/caliber/ caliber_rm/2005R2SP1/en/readmeSP1_EN.htm). I can successfully use the API without GWT. But when calling the API from a GWT Service, I got the exception

[appengine-java] org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:414)

2010-12-27 Thread saleem
I am using Eclipse3.6.1(helios) and I made app with the datastore but when I run it I get the following errors: at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:414) at

[appengine-java] org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:414)

2010-12-27 Thread saleem
I am using Eclipse3.6.1(helios) and I made app with the datastore but when I run it I get the following errors: at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:414) at

[appengine-java] Re: in operator doesnt work

2010-12-27 Thread datanucleus
Your JDOQL query ? Where in the spec for JDOQL does it say that there is an operator IN ? JDOQL is Java syntax, so collection.contains() -- 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

Re: [appengine-java] JPA query(JPQL) setFirstResult() and setMaxResult() does not work

2010-12-27 Thread Cesar Ruiz
Are you using RCP when calling the list?. On 27 December 2010 07:01, Mike Guo gsun...@gmail.com wrote: hi All: i posted this problem on GWT forum but i think it's better to place here, as it has no related to GWT. see here:

[appengine-java] Problem Update an existing object

2010-12-27 Thread lisandrodc
Hi! I have a problem with the persistence of an existing object Torneo (with a empty collection of objects Equipo). When I add elements to the collection and want to persist, sometimes persist and sometimes not persist in the datastore(Restarting the server of the application). The code of

[appengine-java] Java Mail Api Error With GAE

2010-12-27 Thread Ahmed Shoeib
hi all, i use this code for sending mail http://code.google.com/appengine/docs/java/mail/usingjavamail.html and after uploading this application to AppEngine account i face this problem javax.servlet.ServletContext log: Exception while dispatching incoming RPC call

Re: [appengine-java] Java Mail Api Error With GAE

2010-12-27 Thread Sumi
are you using any of these mail.jar, mailapi.jar, smpt.jat and pop3.jar in your project?if so remove them .. On Mon, Dec 27, 2010 at 11:44 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi all, i use this code for sending mail

[appengine-java] Re: Java Mail Api Error With GAE

2010-12-27 Thread Ahmed Shoeib
yeah, i found this thanks alot Sumi On Dec 27, 9:59 pm, Sumi sumi...@gmail.com wrote: are you using any of these mail.jar, mailapi.jar, smpt.jat and pop3.jar in your project?if so remove them .. On Mon, Dec 27, 2010 at 11:44 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi all,

Re: [appengine-java] GWT Project error when using external jars with CORBA calls

2010-12-27 Thread A. Stevko
I never tried it using COBRA on app engine myself, maybe someone else has? The error message is pretty clear although I could not locate any reference to CORBA in the app engne docs. These are the places in the documentation where it would say one way or another.

Re: [appengine-java] Mail API inquiry

2010-12-27 Thread A. Stevko
Please explain why your program needs a password to send a message. App Engine mail servers do not require one. Are you trying to use an mail server external to goggle appengine for sending? On Mon, Dec 27, 2010 at 5:50 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi all , i know

Re: [appengine-java] Instant messenger

2010-12-27 Thread A. Stevko
A lot of questions/topics in this message - re: Will it be good to use JSP ,servelet or should i use PHP. which will be better ? Selecting app engine limits your language options to java or python (you are asking this in a java biased forum). Java JSPs and servlets are pretty much the same

Re: [appengine-java] java.security.AccessControlException: access denied

2010-12-27 Thread A. Stevko
Cloud-based app server instances do not/should not use the local file system for anything but reading static files. Perhaps you can convert the locking mechanism to use memcached which will allow for cross instance communications. On Mon, Dec 27, 2010 at 4:07 AM, shamshu shamshu.moha...@gmail.com

Re: [appengine-java] Re: 500 Internal server error from UserService

2010-12-27 Thread A. Stevko
The high amount of cpu is common when an app instance is being started up. The 'serious problem' warning message below is what you should be looking for the cause of. I suggest adding log messages to identify the exact line of code that is failing. On Sat, Dec 25, 2010 at 11:15 PM,

Re: [appengine-java] Re: in operator doesnt work

2010-12-27 Thread Vik
Hie I get In GetPOCAvailability:Identifier expected at character 16 in pocId.contains([320, 296]) If i use the query as: query = select from + PocVacationSchedule.class.getName() + where pocId.contains( + pocIdList + ); where podIdList is a java.util.List of type Long Thankx and Regards

Re: [appengine-java] Unable to compare dates

2010-12-27 Thread Vik
any updates on this please? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sun, Dec 26, 2010 at 8:40 PM, Vik vik@gmail.com wrote: Hie This is what I get using getTime. Problem with query SELECT FROM vik.sakshum.sakshumweb.server.jdo.PocVacationSchedule

[appengine-java] new free book chapter available: RESTful services

2010-12-27 Thread marius.andreiana
Hi, Part of GWT/GAE book, I've just added a chapter on RESTful services: http://code.google.com/p/gwt-gae-book/wiki/ManagingLocations Looking forward to group feedback. Happy New Year :) Marius -- You received this message because you are subscribed to the Google Groups Google App Engine for

[google-appengine] My cron jobs hasn't been run

2010-12-27 Thread nacho
I have 3 crons and in my dashboard i see this for every cron every 24 hours (UTC) 2010/12/26 23:11:10 28 secs late Hasn't been run But i deployed my app a week ago and the cron hasn't been run yet. What could be the problem? -- You received this message because you are subscribed to the Google

Re: [google-appengine] Re: updating an existing entity python google app engine

2010-12-27 Thread Sarfaraz
Try This: test = Test.gql(WHERE name = :1, blah) # First check if name=blah exists if test.count(1) == 1: # If Already exists update pagehit += 1 test.pagehit = 1 test.put() else: # If not exists then create new test = Test() test.name =

Re: [google-appengine] Re: updating an existing entity python google app engine

2010-12-27 Thread Tim Hoffman
Hi This example is really inefficient and broken. (I didn't originally post any code because the OP obviously hadn't done any reading) test = Test.gql(WHERE name = :1, blah) # First check if name=blah exists if test.count(1) == 1: # If Already exists update pagehit += 1

[google-appengine] Channel socket.close() method doesn't fire onclose event on production server

2010-12-27 Thread Parham
Hi, I've just found that Channel socket.close() method doesn't fire onclose event on production server, but it does on development server. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

[google-appengine] Exception persisting 2 entities not in a transaction

2010-12-27 Thread frank
Hi, I´m new to GAE and I have a problem with the datastore. I add 2 new entities not in a transaction and I get the Exception: javax.persistence.PersistenceException: Illegal argument at org.datanucleus.jpa.NucleusJPAHelper.getJPAExceptionForJDOException(NucleusJPAHelper.java: 214)

[google-appengine] severe google app engine registration false start

2010-12-27 Thread Jay Peek
Dear forum, I attempted 3 times to get your confirmation code sent to my gmail address. Finally when I did, it was rejected by a prompt I can't quote off the top of my head. When I tried to reattempt obtaining another number I got a text flash by Google in the form saying that I had attempted to

[google-appengine] SoceketFactory class Error : connect database using JIQL by JDBC driver

2010-12-27 Thread rajeev jha
Hi , I am trying to connect a database using JIQL which is jdbc wrapper with following URL : String url = jdbc:jiql:https://myAppsName.appspot.com/jiqlservlet;; also try with following URL without SSL : String url = jdbc:jiql:http://bigtable-apps.appspot.com/jiqlservlet;; and am getting the

[google-appengine] Own Website deployment in Google App Engine - Java

2010-12-27 Thread Arulselvan
Hi I have purchased a website from domain provider. Now I have developed a java application for my website. Technologies I used are Java, JSP, Servlet, Hibernate, MySql. Fyi my website is not free domain, its a complete website like www.mywebsite.com Can I use google App engine to deploy the

Re: [google-appengine] Own Website deployment in Google App Engine - Java

2010-12-27 Thread Chris Copeland
You can use your domain. See http://code.google.com/appengine/docs/domain.html Note, however, you can't use MySql. You'll need to use the App Engine Datastore. On Sat, Dec 25, 2010 at 6:50 PM, Arulselvan mailtoarulsel...@gmail.comwrote: Hi I have purchased a website from domain provider.

Re: [google-appengine] Can not access database at localhost on Google App Engine Launcher

2010-12-27 Thread Ross M Karchner
The validation is fired when you call Project(), and since the required=True attributes aren't yet present. Try replacing: proj = Project() proj.ProjectId = self.request.get(txtProjectId) proj.ProjectName = self.request.get(txtProjectName) with: proj =

Re: [google-appengine] Re: Billing for additional RAM

2010-12-27 Thread alf
there are any away to monitor how memory your object are using in live app. May be googleer should be help us to detect lack of memory. thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] SoceketFactory class Error : connect database using JIQL by JDBC driver

2010-12-27 Thread A. Stevko
Seems it should be better to ask the JIQL folks your question http://groups.google.com/group/jiql On Mon, Dec 27, 2010 at 5:03 AM, rajeev jha rajeevjha...@gmail.com wrote: Hi , I am trying to connect a database using JIQL which is jdbc wrapper with following URL : String url =

Re: [google-appengine] severe google app engine registration false start

2010-12-27 Thread Robert Kluin
What code were you trying to get sent to your gmail address? If you're having SMS issue, take a look at the FAQ: http://code.google.com/appengine/kb/sms.html If you're using a Google Apps domain, login at: appspot.com/a/yourdomain.com On Sun, Dec 26, 2010 at 21:13, Jay Peek

Re: [google-appengine] Using GAE as external authentication source

2010-12-27 Thread Robert Kluin
Hi Alvin, I'm not sure you are asking your question in the right groups. Maybe you meant to ask in the Google Apps groups? http://www.google.com/support/forum/p/apps-apis?hl=en It sounds like you might be looking for the gdata ClientLogin stuff though:

[google-appengine] how to delete enteries from the db

2010-12-27 Thread rahul jain
Can you please let me know the easiest way to delete all enteries from DB ? Also, how to increase number of entries listed on google app engine admin page (right now its 25 only)? Therefor, if I use admin, I can select and delete only 25 enteries at a time. If I increase the page size, I can

[google-appengine] Re: Own Website deployment in Google App Engine - Java

2010-12-27 Thread Arulselvan
Thanks Chris, I almost developed the application and used MySql db. As I can not use MySql, I will read more about App Engine DataSource. However I have some work experience in SmartGwt Datasource, I used Gwt Datasource at server side scripts to connect to H2/Sybase Db - Hibernate layer is

[google-appengine] Re: how to delete enteries from the db

2010-12-27 Thread Tim Hoffman
HI Have a look at http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html#Deleting_Entities_in_Bulk It should help T -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] Re: Own Website deployment in Google App Engine - Java

2010-12-27 Thread Robert Kluin
Hi Arul, I'd suggest you spend a few minutes and work through the getting started guide. http://code.google.com/appengine/docs/java/gettingstarted/ Then take a couple minutes and read the datastore docs: http://code.google.com/appengine/docs/java/datastore/ Robert On Mon,