[appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Pion
My folder structure on Eclipse project is as the following: war /b/abc /css /js /image index.html It works fine on my development machine But after uploading to Google App Engine, I received the following error message: The requested URL /b/abc was not found on this server . I am

Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Pion
war/b/abc has static html file. I cannot access war/b/abc/foo.html using http://example.appspot.com/b/abc/foo.html But I can access another folder war/xyz/pqr.html using http://example.appspot.com/xyz/pqr.html -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Integration with Ning App (authentication)

2010-01-14 Thread Pion
I have just found the following: http://wiki.opensocial.org/index.php?title=Introduction_To_Signed_Requests http://wiki.opensocial.org/index.php?title=Validating_Signed_Requests https://opensocialresources.appspot.com/certificates/ I'll try it if it works with Ning. On Jan 13, 3:45 pm, Pion

[appengine-java] Integration with Ning App (authentication)

2010-01-13 Thread Pion
I am wondering if anyone has experience integrating Ning App (http:// developer.ning.com/) with GAE for Java. Note that Ning only supports a subset of OpenSocial API. Specifically, I need help on the following: 1. Let a user login to Ning network. 2. Once Ning has authenticated the user, I'd like

[appengine-java] Re: https on my domain

2010-01-05 Thread Pion
I have just found good discussion on HTTPS Support for appspot.com on http://groups.google.com/group/google-appengine/browse_thread/thread/1aa08effbb5839ab/6c6552cf7bdaedaa?lnk=gstq=https# On Jan 4, 9:43 am, Pion onlee2...@gmail.com wrote: I just found this SSL/HTTPSSupporton Google Apps

[appengine-java] Re: HIPAA compliance

2010-01-05 Thread Pion
practices -- including violations of their privacy policies. On Jan 3, 11:17 am, Pion onlee2...@gmail.com wrote: http://www.slideshare.net/bess.ho/google-health-architecture-api (slide 28) shows that Google Health is using Google App Engine. Is Google App EngineHIPAA(Health Insurance

[appengine-java] Re: https on my domain

2010-01-04 Thread Pion
I just found this SSL/HTTPS Support on Google Apps domains (issue 792) on http://code.google.com/p/googleappengine/issues/detail?id=792q=httpscolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component. There are 50+ comments on this issue. On Jan 3, 10:26 am, Pion onlee2

[appengine-java] HIPAA compliance

2010-01-03 Thread Pion
http://www.slideshare.net/bess.ho/google-health-architecture-api (slide 28) shows that Google Health is using Google App Engine. Is Google App Engine HIPAA (Health Insurance Portability and Accountability Act - http://en.wikipedia.org/wiki/HIPAA) compliance ? -- You received this message

[appengine-java] https on my domain

2010-01-03 Thread Pion
http://code.google.com/appengine/kb/general.html#httpsapps says, Can I use SSL (HTTPS) on App Engine with my Google Apps domain? All secure traffic with Google App Engine must be served from your appspot.com domain (https://your-app-id.appspot.com). If you are serving your app off of a Google

[appengine-java] Re: https on my domain

2010-01-03 Thread Pion
is it done? Thanks in advance for your help. On Jan 3, 10:01 am, Pion onlee2...@gmail.com wrote: http://code.google.com/appengine/kb/general.html#httpsappssays, Can I use SSL (HTTPS) on App Engine with my Google Apps domain? All secure traffic with Google App Engine must be served from your

[appengine-java] JavaMail: AccessControlException warning

2009-12-20 Thread Pion
I am following the http://code.google.com/appengine/docs/java/mail/overview.html instructions. My code (snippets): import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.Properties; import java.util.logging.Logger; import javax.mail.Message; import

[appengine-java] Accessing GMail Inbox

2009-12-20 Thread Pion
The http://java.sun.com/products/javamail/FAQ.html#gmail shows how to access Gmail Inbox using JavaMail. //String host = imap.gmail.com; String host = pop.gmail.com; String username = user; String password = passwd; // ... //Store store = session.getStore(imaps); Store

[appengine-java] Google Calendar log on GAE: Redirect requested but followRedirects is disabled

2009-12-18 Thread Pion
I have the following code snippets (remove exceptions code for brevity) which is based on the example on http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html#RetrievingAllCalendars String appName = companyName-appName-1.0; CalendarService

[appengine-java] Re: Google Calendar log on GAE: Redirect requested but followRedirects is disabled

2009-12-18 Thread Pion
= resultFeed.getEntries().get(i); System.out.println(\t + entry.getTitle().getPlainText()); } System.out.println(); } It prints 2 calendars. On the other hand, using similar code but running on GAE, it returns only 1 calendar. I am using GAE 1.3. On Dec 18, 7:46 am, Pion onlee2

[appengine-java] Re: Google Calendar log on GAE: Redirect requested but followRedirects is disabled

2009-12-18 Thread Pion
INFO: Redirect requested but followRedirects is disabled Dec 18, 2009 3:25:35 PM org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. On Dec 18, 9:44 am, Pion

[appengine-java] Re: Data Store Indexes

2009-11-03 Thread Pion
it on Development Server -- please let me know if there is a way to test it locally.. I uploaded it and only tested it on the (deployed) App Engine. My app id is http://foafan2000.appspot.com/ On Nov 2, 7:49 pm, Pion onlee2...@gmail.com wrote: Thanks Jason. I tried the following:      SELECT

[appengine-java] Re: Data Store Indexes

2009-11-02 Thread Pion
viewer and the valid kind names are provided in the drop down. - Jason On Fri, Oct 30, 2009 at 12:05 PM, Pion onlee2...@gmail.com wrote: I found this http://code.google.com/appengine/docs/java/datastore/queriesandindexe... with the following example: ?xml version=1.0 encoding=utf-8

[appengine-java] AccessControlException on DatastoreService.put() method

2009-10-31 Thread Pion
I got the AccessControlException on the following code snippet: public void add(ListString iriList, ListString nameList, ListString imageList) { // deleted for brevity try { datastore.put(eList);

[appengine-java] Re: PreparedQuery.countEntities() clarifications

2009-10-31 Thread Pion
One more thing ... The Admin Console - Datastore - Statistics says, Statistics are updated at least once per day. on the top right corner the page. It explains the differences between real-time query about the size and the Admin Console Statistics. On Oct 30, 6:58 pm, Pion onlee2...@gmail.com

[appengine-java] Re: PreparedQuery.countEntities() clarifications

2009-10-31 Thread Pion
One more thing ... The Admin Console - Datastore - Statistics says, Statistics are updated at least once per day. on the top right corner the page. It explains the differences between real-time query about the size and the Admin Console Statistics. On Oct 30, 6:58 pm, Pion onlee2...@gmail.com

[appengine-java] DatastoreService.put behaves differently in development server and deployed env

2009-10-30 Thread Pion
I can store a few thousands of entities incrementally in Development Server environment using the method below. public void add(ListString iriList, ListString nameList, ListString imageList) { int counter = 0; ArrayListEntity eList = new ArrayListEntity();

[appengine-java] Re: Data Store Indexes

2009-10-30 Thread Pion
datastore-index kind=Person ancestor=false property name=lastName direction=asc / property name=height direction=desc / /datastore-index /datastore-indexes But I still cannot solve my query error. On Oct 30, 9:34 am, Pion onlee2...@gmail.com wrote: I just deployedmy app to the GAE

[appengine-java] Re: PreparedQuery.countEntities() clarifications

2009-10-30 Thread Pion
is null. How do I make it work on the Development Server? My environments: GAE 1.2.6, GWT 1.7.1, Eclipse(Galileo), Windows Vista (32-bit). Again, thanks. On Oct 30, 4:13 pm, Yasuo Higa higaya...@gmail.com wrote: Hi Pion, On my Development Server, it returns the total number of the entities

[appengine-java] Re: PreparedQuery.countEntities() clarifications

2009-10-30 Thread Pion
); int result = preparedQuery.asList(fetchOptions).size(); logger.info(Integer.toString(result)); return result; } Please correct me what I did wrong. Thanks. On Oct 30, 4:43 pm, Pion onlee2...@gmail.com wrote: Thanks Yasuo. It's definitely very helpful. I am

[appengine-java] Re: PreparedQuery.countEntities() clarifications

2009-10-30 Thread Pion
I have just made the changes per your suggestion below. It still returns 6218 entities while The Admin Console - Datastore - Statistic shows 5029. Thanks. On Oct 30, 5:55 pm, Yasuo Higa higaya...@gmail.com wrote: Hi Pion, // Version 3 - This code works on both (deployed) App Engine

[appengine-java] Re: DatastoreService.put behaves differently in development server and deployed env

2009-10-30 Thread Pion
This issue is being discussed on PreparedQuery.countEntities() clarifications http://groups.google.com/group/google-appengine-java/browse_thread/thread/f97bdd5bdf91c114/486958d3b4da1310#486958d3b4da1310 On Oct 30, 1:31 pm, Pion onlee2...@gmail.com wrote: I went to Admin Console - DataStore

[appengine-java] Re: PreparedQuery.countEntities() clarifications

2009-10-30 Thread Pion
Iteresting ... I have two kinds of entity. I tried the 2nd entity. It matches. Then, I tried the first entity again. Now they all match! Maybe there was a lag on The Admin Console - Datastore - Statistic Thanks Yasuo. On Oct 30, 6:44 pm, Yasuo Higa higaya...@gmail.com wrote: Hi Pion

[appengine-java] Re: An internal error occurred during deployment

2009-10-29 Thread Pion
raphael.andre.ba...@gmail.com wrote: On Wed, Oct 28, 2009 at 6:14 PM, Pion onlee2...@gmail.com wrote: I have been developing my app in the hosted mode for the past few months. It works fine on the hosted mode. Today, I got an internal error below when I tried to deploy it for the first time using

[appengine-java] Re: An internal error occurred during deployment

2009-10-28 Thread Pion
Per http://code.google.com/appengine/docs/java/gettingstarted/uploading.html, I did use the command prompt by typing ..\appengine-java-sdk\bin \appcfg.cmd update war. It produces the same error - expected I guess. On Oct 28, 10:14 am, Pion onlee2...@gmail.com wrote: I have been developing my

[appengine-java] Re: Extra log output

2009-09-23 Thread Pion
called the BasicConfigurator.configure(); methods more than once. Now it is fixed. Again, thanks. On Sep 23, 2:20 pm, Toby Reyelts to...@google.com wrote: You're using java.util.logging, not log4j. What does your logging.properties file look like? On Wed, Sep 23, 2009 at 5:02 PM, Pion onlee2

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Pion
This line fails: FooServiceImpl server = (FooServiceImpl ) proxy.getService (com.foo.server); The server is null. On Sep 21, 6:48 pm, Pion onlee2...@gmail.com wrote: I have the following server side code:         package com.foo.server;         // code deleted for brevity

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Pion
messages: mailService.clearSentMessages(); That capability makes no sense in production, but it is very useful for testing locally. On Tue, Sep 22, 2009 at 10:35 AM, Pion onlee2...@gmail.com wrote: This line fails:   FooServiceImpl server =  (FooServiceImpl ) proxy.getService (com.foo.server

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Pion
disabling it? On Tue, Sep 22, 2009 at 11:34 AM, Pion onlee2...@gmail.com wrote: Thanks, Toby. I have changed the code to              FooServiceImpl server = new FooServiceImpl (); Also, I changed the GWT servlet test method to        public String unitTest

[appengine-java] JUnit best practices questions

2009-09-21 Thread Pion
My environments are: Google App Engine (GAE) Java SDK 1.2.5, Google Web Toolkit (GWT) 1.7, Eclipse-Galileo on Windows Vista. GWT (http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html) provides junitCreator tool and creates a default folders for the junit. I got this thing running on

[appengine-java] ApiProxyLocalImpl.getService question [junit]

2009-09-21 Thread Pion
I have the following server side code: package com.foo.server; // code deleted for brevity /** * The server side implementation of the RPC service. */ @SuppressWarnings(serial) public class FooServiceImpl extends RemoteServiceServlet

[appengine-java] makePersistent() question

2009-09-16 Thread Pion
I am using App Engine SDK 1.2.5 with Eclipse-Galileo on Windows Vista with the following (simplified/stripped) code: import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey;

[appengine-java] Re: makePersistent() question

2009-09-16 Thread Pion
The local_db.bin shows up now. It seems that I have to wait for a minute or two before it shows up on the war\WEB-INF\appengine-generated. On Sep 16, 12:20 pm, Pion onlee2...@gmail.com wrote: I am using App Engine SDK 1.2.5 with Eclipse-Galileo on Windows Vista with the following (simplified