[appengine-java] How to increase mapper quota?

2011-08-15 Thread Rob Patel
I am using google app engine Mapper API to delete all rows (approx.
2M) for a particular entity in my GAE datastore. However, even though
I have a billed account, I still get -

com.google.appengine.tools.mapreduce.MapReduceServlet processMapper:
Out of mapper quota. Aborting request until quota is replenished.
Consider increasing mapreduce.mapper.inputprocessingrate (default
1000) if you would like your mapper job to complete faster.

How do I specifically increase the mapper quota? I need to remove the
records urgently, but cannot find any documentation to increase mapper
quota. Can someone please help? If there is any other best practices I
should follow, please let me know.

thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-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] Call an authenticated web service from a desktop app.

2011-07-19 Thread Rob
I'd like to create a RESTful web service in GAE.  I want to restrict access 
with authentication.  I want to call the service from a Java program that is 
run unattended.

How can I authenticate from the Java program?  I see ClientLogin, but that 
seems to be oriented toward an interactive application where the user can 
respond to a captcha, if necessary.  That's not practical in my case.

---

My reason for needing this is that I have a Java application using OFX4j to 
read bank transactions from a checking account.  I'd like to store these 
transactions in a GAE datastore for later access.  I cannot use OFX4j 
directly in GAE because it uses sockets.  So I will periodically run the 
Java application as a cron job.  It will call the RESTful web service in GAE 
to store the data.

Thank you for any help.

Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/d4Svj1CJb-sJ.
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] Security constraint not working

2011-03-21 Thread Rob
Hi folks,

I'm sure this is just me being foolish, but I have the following in my
web.xml:




  /comment/*
  /entry/*
  /series/*
  /upload/*


admin



However, even with this in place, I can still hit urls like these
without logging in:

http://xxx.appspot.com/entry/edit/2001
http://xxx/appspot.com/series/edit/42

What am I missing?

Thanks in advance,

 ~rob

-- 
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: Jetty reload and scanIntervalSeconds?

2010-07-02 Thread Rob Roland
Oh, great idea.  I'll give that shot.

Thanks much,

Rob

On Jun 29, 8:34 am, Nacho Coloma  wrote:
> You can use Jrebel with GAE:http://www.zeroturnaround.com/jrebel/
>
> You will have to combine both instrumentation agents in the launcher,
> but it works fine.
>
> On Jun 27, 6:22 pm, Rob Roland  wrote:
>
>
>
> > Hi all,
>
> > If you've used Jetty via Maven before, you've probably used the reload
> > and scanIntervalSeconds configuration options. Is there a way to do
> > this with the local DevAppServerMain?  It's really helpful to be able
> > to modify your HTML and have it visible immediately within your dev
> > environment.
>
> > Thanks,
>
> > Rob

-- 
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] Jetty reload and scanIntervalSeconds?

2010-06-28 Thread Rob Roland
Hi all,

If you've used Jetty via Maven before, you've probably used the reload
and scanIntervalSeconds configuration options. Is there a way to do
this with the local DevAppServerMain?  It's really helpful to be able
to modify your HTML and have it visible immediately within your dev
environment.

Thanks,

Rob

-- 
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: Servlet request parameters empty

2010-05-04 Thread Rob
Just read the "and/or", POST working great this way too. Thanks again!
-Rob

On May 4, 7:30 am, Rob  wrote:
> That did the trick, I love you man! :O)
>
> Now, how would I perform the same with a POST if I needed to?
>
> -Rob
>
> On May 4, 2:07 am, Stephan Hartmann  wrote:
>
>
>
>
>
> > if you want to get your data as request parameter, you should use "GET"
> > instead of "POST" and /or let the default contentType
> > "application/x-www-form-urlencoded" and create your json object as either
>
> >     var json = {name: "test"};  // and let jquery convert it to a query
> > string
> > or
> >     var json = "name=test";   // the desired query string
>
> > regards,
> > Stephan
>
> > 2010/5/4 Rob 
>
> > > I'm running Google App Engine through IntelliJ Idea and am posting
> > > data to a Servlet using jQuery.ajax. I'm hitting the Servlet without
> > > issue and can return data in the response, however, the request
> > > parameters are always null; I cant seem to POST data. Where am I going
> > > wrong?
>
> > > var json = JSON2.stringify({name: "test"});
>
> > > $.ajax({
> > >            type: "POST",
> > >            url: service,
> > >            data: json,
> > >            contentType: "application/json; charset=utf-8",
> > >            dataType: "json",
> > >            async: async,
> > >            success: function(o) {
> > >                 o = $.serviceHelper.jsonSerialize(o);
> > >                   callback(o);
> > >            },
> > >            error: this.dataServiceError
> > >        });
>
> > >    protected void doPost(javax.servlet.http.HttpServletRequest
> > > request, javax.servlet.http.HttpServletResponse response) throws
> > > javax.servlet.ServletException, IOException {
>
> > >        PrintWriter out = response.getWriter();
> > >        response.setContentType("text/json");
> > >        String json = gson.toJson(request.getParameter("name"));
> > >        out.println(json);
>
> > >    }
>
> > > --
> > > 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 > >  unsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine for Java" group.
> > To post to this group, send email to google-appengine-j...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine-java+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

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



[appengine-java] Re: Servlet request parameters empty

2010-05-04 Thread Rob
That did the trick, I love you man! :O)

Now, how would I perform the same with a POST if I needed to?

-Rob



On May 4, 2:07 am, Stephan Hartmann  wrote:
> if you want to get your data as request parameter, you should use "GET"
> instead of "POST" and /or let the default contentType
> "application/x-www-form-urlencoded" and create your json object as either
>
>     var json = {name: "test"};  // and let jquery convert it to a query
> string
> or
>     var json = "name=test";   // the desired query string
>
> regards,
> Stephan
>
> 2010/5/4 Rob 
>
>
>
>
>
> > I'm running Google App Engine through IntelliJ Idea and am posting
> > data to a Servlet using jQuery.ajax. I'm hitting the Servlet without
> > issue and can return data in the response, however, the request
> > parameters are always null; I cant seem to POST data. Where am I going
> > wrong?
>
> > var json = JSON2.stringify({name: "test"});
>
> > $.ajax({
> >            type: "POST",
> >            url: service,
> >            data: json,
> >            contentType: "application/json; charset=utf-8",
> >            dataType: "json",
> >            async: async,
> >            success: function(o) {
> >                 o = $.serviceHelper.jsonSerialize(o);
> >                   callback(o);
> >            },
> >            error: this.dataServiceError
> >        });
>
> >    protected void doPost(javax.servlet.http.HttpServletRequest
> > request, javax.servlet.http.HttpServletResponse response) throws
> > javax.servlet.ServletException, IOException {
>
> >        PrintWriter out = response.getWriter();
> >        response.setContentType("text/json");
> >        String json = gson.toJson(request.getParameter("name"));
> >        out.println(json);
>
> >    }
>
> > --
> > 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 > unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

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



[appengine-java] Servlet request parameters empty

2010-05-04 Thread Rob
I'm running Google App Engine through IntelliJ Idea and am posting
data to a Servlet using jQuery.ajax. I'm hitting the Servlet without
issue and can return data in the response, however, the request
parameters are always null; I cant seem to POST data. Where am I going
wrong?

var json = JSON2.stringify({name: "test"});

$.ajax({
type: "POST",
url: service,
data: json,
contentType: "application/json; charset=utf-8",
dataType: "json",
async: async,
success: function(o) {
 o = $.serviceHelper.jsonSerialize(o);
   callback(o);
},
error: this.dataServiceError
});

protected void doPost(javax.servlet.http.HttpServletRequest
request, javax.servlet.http.HttpServletResponse response) throws
javax.servlet.ServletException, IOException {

PrintWriter out = response.getWriter();
response.setContentType("text/json");
String json = gson.toJson(request.getParameter("name"));
out.println(json);

}

-- 
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: Problem running GAE + GWT wizzard project

2010-01-31 Thread F. Rob
In case you're like me and don't want to trash all those cookies, I
think it's only the localhost cookie. Clearing only the localhost
cookies worked for me.

On Jan 25, 12:13 pm, Andrei Cosmin Fifiiţă 
wrote:
> Lol?
>
> I tried to start the app created by the wizard on the operating system where
> i had that problem and i tested clearing the cookies in my browser. and it
> worked. I don't understand why ? I don't see a link between the exception
> thrown in the console and the browser's cookies :|
>
> On Mon, Jan 25, 2010 at 6:51 PM, Sarangan Rajamanickam <
>
> sarangan.rajamanic...@gmail.com> wrote:
> > Hi,
>
> > Could you check whether the eclipse shows error when you create a new Web
> > application project? For example, when you create a new Web application
> > project (without making any changes) Check whether the eclipse indicates any
> > errors - especially regarding annotations. If so, change the compliance
> > level to Java 1.5. (Just by selecting the error location, eclipse will give
> > the option to change the compliance level to Java 1.5 for the whole project.
> > Select it). Now, try executing it. It should work fine.
>
> > Hope this helps.
>
> > Regards,
> > Sarangan Rajamanickam
> > Email: sarangan.rajamanic...@gmail.com
> > Blog:http://mindlive.blogspot.com
> > Website:http://saranganr.x10hosting.com/
>
> > 2010/1/25 Andrei Cosmin Fifiiţă 
>
> >> Well, not really, I don't really see the connection between browser
> >> cookies and my error, witch is an exception inside AppEngine code.
>
> >> On Fri, Jan 22, 2010 at 5:04 PM, Rajeev Dayal  wrote:
>
> >>> Hi,
>
> >>> Can you try clearing your browser's cookies and seeing if this fixes the
> >>> problem?
>
> >>> Rajeev
>
> >>> On Thu, Jan 14, 2010 at 7:00 AM, Ice13ill wrote:
>
>  Hello, i'm using gwt + gae in Eclipse Galileo and i'm trying to run
>  the project created with the Web Application wizzard. After the
>  project is created using GWT and GAE sdk (2.0 and 1.3.0) i tried
>  running the application, but i get this exception when loading the
>  page:
>
>  Initializing AppEngine server
>  The server is running athttp://localhost:/
>  Jan 14, 2010 12:00:10 PM com.google.apphosting.utils.jetty.JettyLogger
>  warn
>  WARNING: EXCEPTION
>  java.lang.NullPointerException
>         at
>  java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:
>  881)
>         at
>
>  com.google.appengine.tools.development.LocalHttpRequestEnvironment.
>  (LocalHttpRequestEnvironment.java:45)
>         at com.google.appengine.tools.development.JettyContainerService
>  $ApiProxyHandler.handle(JettyContainerService.java:348)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle
>  (HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:313)
>         at
>  org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
>  506)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
>  (HttpConnection.java:830)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>         at
>  org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>         at
>  org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run
>  (SelectChannelEndPoint.java:396)
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run
>  (BoundedThreadPool.java:442)
>
>  I did not found any posts regarding this problem. I'm just trying to
>  run the created app by the wizzard, that's all
>
>  I'm running it in Ubuntu 9.04, Mozilla Firefox, Eclipse galileo, Java
>  1.6.0_14 sdk
>
>  Pls 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 unsubscribe from this group, send email to
>  google-appengine-java+unsubscr...@googlegroups.com
>  .
>  For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
> >>>  --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Google App Engine for Java" group.
> >>> To post to this group, send email to
> >>> google-appengine-j...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> google-appengine-java+unsubscr...@googlegroups.com
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/google-appengine-java?hl=en.
>
> >>  --
> >> 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

[appengine-java] BlobKey and exceeding 1MB blobs in low-level API

2009-11-11 Thread Rob

Hi,

The javadoc for the low level data API says that Blobs can't be bigger
than 1MB.  I'm trying to create a system where the user can upload
images and other files, so I want to be able to exceed that.  This
page...

http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DataTypeUtils.html

says to use a "BlobKey", but I don't see that class anywhere.  Where
is it?  How do you use it?

thanks,
Rob
--~--~-~--~~~---~--~~
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: GWT Books

2009-09-15 Thread Rob

Looks like you posted to the App Engine group by accident when you
meant to post to the GWT group.

http://groups.google.com/group/google-web-toolkit

Rob

On Sep 15, 9:29 am, vijay  wrote:
> Hi All,I am new to GWT and would like to get in depth knowledge of GWT, I
> ...
--~--~-~--~~~---~--~~
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: permgen memory and compiling at runtime

2009-08-28 Thread Rob

Toby,
Thanks for the helpful answer.
Rob
--~--~-~--~~~---~--~~
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] permgen memory and compiling at runtime

2009-08-28 Thread Rob

Hi,

I've noticed these "permgen out of memory" errors when developing java
web apps (not on App Engine, yet).  Usually they happen only while
developing locally and "reloading" the app in the servlet container.
But I've heard that they happen because the JVM has some issues with
garbage collecting classes.  So I'm wondering if this could be a
problem for a JVM language, for example, a Lisp, that does a lot of
compiling and classloading at runtime.  An example use would be a web
interface to a REPL where each expression is compiled to a bytecode
for a new class (this simplifies the implementation -- no interpreter
needed, just a compiler).  Could this blow up at some point because
it's creating too many classes?

I hoping that someone who knows more about the JVM, specifically the
one behind App Engine, can clarify this for me.

thanks,
Rob
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---