[appengine-java] Unable to read file in Classpath

2010-03-28 Thread Eurig Jones
My app has a configuration file which I place in the classpath and
read using commons-configuration's XMLConfiguration class...

XmlConfiguration config = new XmlConfiguration("config.xml");

Before I started porting my app to app engine, this worked fine. But
now I get this an exception (below). If I move the file to the War
folder it finds it and parses it ok. But the root of the war is not
where I want my config files to be!!


Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission C:\Users\Eurig\config.xml read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
at
java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.exists(File.java:731)
at
org.apache.commons.configuration.ConfigurationUtils.locate(ConfigurationUtils.java:
538)
at
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:
213)
... 39 more

-- 
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: log4j init fails

2010-03-28 Thread Eurig Jones
I'm getting the same problem. my log4j.properties is in the root of my
source folder and it's giving me this issue.

On Mar 12, 10:25 pm, Rajeev Dayal  wrote:
> Can you post a copy of your log4j.properties file?
>
> On Thu, Mar 11, 2010 at 12:45 PM, AJ Chen  wrote:
> > yes, log4j.properties is copied by the build. the app uses it.  the warning
> > message is weird.  thanks.
>
> > On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal  wrote:
>
> >> If you have your log4j.properties file at the root of your source tree, it
> >> should automatically be copied over to war/WEB-INF/classes whenever Eclipse
> >> performs a build of your project; you should not have to copy it over
> >> manually.
>
> >> I'm not sure why you're getting the error with regard to
> >> Datanucleus.Connection; I've added Don to this thread; he may have some
> >> insight into this.
>
> >> On Thu, Mar 11, 2010 at 3:33 AM, AJ Chen  wrote:
>
> >>> I have the default log4j.properties in WEB-INF/classes dir. but the
> >>> warning always comes up. the file is visible because I can change the log
> >>> level to ERROR to get rid of the warning.
> >>> -aj
>
> >>> On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright 
> >>> wrote:
>
>  I think you can simply put the log4j.properties file in the
>  WEB-INF/classes dir and you don't need any appengine-web.xml stuff for 
>  it.
>   Log4j looks for its configuration file "on the classpath" which means it
>  looks in WEB-INF/classes (and also in all of the jars in the lib 
>  directory).
>
>  AJ Chen wrote:
>
> > I have  log4j config in appengine-web.xml,
> > 
> >         > value="WEB-INF/logging.properties"/>
> >         > value="file:WEB-INF/classes/log4j.properties"/>
> >         > value="WEB-INF/monitor.properties"/>
> >    
> >   but GAE still complains about it:
> > log4j:WARN No appenders could be found for logger
> > (DataNucleus.Connection).
> > log4j:WARN Please initialize the log4j system properly.
>
> > Is there anything else that should be set?
>
> > thanks,
> > -aj
>
> > --
> > 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.
>
>  --
>  0x2B | ~0x2b  --  Hamlet
>
>  --
>  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.
>
> >>> --
> >>> AJ Chen, PhD
> >>> Chair, Semantic Web SIG, sdforum.org
> >>>http://web2express.org
> >>> twitter @web2express
> >>> Palo Alto, CA, USA
> >>> 650-283-4091
> >>> *Building social media monitoring pipeline, and connecting social
> >>> customers to CRM*
>
> >>>  --
> >>> 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.
>
> > --
> > AJ Chen, PhD
> > Chair, Semantic Web SIG, sdforum.org
> >http://web2express.org
> > twitter @web2express
> > Palo Alto, CA, USA
> > 650-283-4091
> > *Building social media monitoring pipeline, and connecting social customers
> > to CRM*
>
> > --
> > 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 fo

[appengine-java] Viewing Emails in dev using log4j

2010-04-05 Thread Eurig Jones
Hi,

>From  
>http://code.google.com/appengine/docs/java/mail/overview.html#Development_Server
...

"When an application running in the development server calls the Mail
service to send an email message, the message is printed to the log.
The Java development server does not send the email message."

My question is, what log4j setup do I use to output these emails?

Regards,
Eurig Jones

-- 
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] Server Error A server error has occurred. - Whilst Deleting app version.

2010-04-05 Thread Eurig Jones
Hi,

I'm getting a...

Server Error

A server error has occurred.

Whilst trying to delete a particular version of an app. For the others
it's no problem, but this particular version I cannot delete and I'm
getting the Server error. Can anyone suggest what I can do about this?
(Or where to report it at least)

-- 
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: Server Error A server error has occurred. - Whilst Deleting app version.

2010-04-07 Thread Eurig Jones
mailmymove - version 1
http://www.mailmymove.com


On Apr 5, 9:51 pm, "Ikai L (Google)"  wrote:
> What's your application ID and the version you are trying to delete?
>
>
>
> On Mon, Apr 5, 2010 at 11:20 AM, Eurig Jones  wrote:
> > Hi,
>
> > I'm getting a...
>
> > Server Error
>
> > A server error has occurred.
>
> > Whilst trying to delete a particular version of an app. For the others
> > it's no problem, but this particular version I cannot delete and I'm
> > getting the Server error. Can anyone suggest what I can do about this?
> > (Or where to report it at least)
>
> > --
> > 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.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App 
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
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: Server Error A server error has occurred. - Whilst Deleting app version.

2010-04-12 Thread Eurig Jones
Thanks Ikai

On Apr 9, 10:47 pm, "Ikai L (Google)"  wrote:
> We'll scrub these next time we do them in batch. For the time being - it's
> annoying that it's stuck there, but we allocate you 100 versions, so this
> shouldn't get in your way.
>
>
>
> On Wed, Apr 7, 2010 at 2:47 PM, Eurig Jones  wrote:
> > mailmymove - version 1
> >http://www.mailmymove.com
>
> > On Apr 5, 9:51 pm, "Ikai L (Google)"  wrote:
> > > What's your application ID and the version you are trying to delete?
>
> > > On Mon, Apr 5, 2010 at 11:20 AM, Eurig Jones 
> > wrote:
> > > > Hi,
>
> > > > I'm getting a...
>
> > > > Server Error
>
> > > > A server error has occurred.
>
> > > > Whilst trying to delete a particular version of an app. For the others
> > > > it's no problem, but this particular version I cannot delete and I'm
> > > > getting the Server error. Can anyone suggest what I can do about this?
> > > > (Or where to report it at least)
>
> > > > --
> > > > 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.
>
> > > --
> > > Ikai Lan
> > > Developer Programs Engineer, Google App Enginehttp://
> > googleappengine.blogspot.com|http://twitter.com/app_engine
>
> > --
> > 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.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App 
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
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: Viewing Emails in dev using log4j

2010-05-12 Thread Eurig Jones
No. It would be great if someone could shed some light on the issue.

On May 12, 9:52 pm, Stevko  wrote:
> Eurig - Did you find it? Its probably not log4j due to app engine
> using java.util.logging.Logger technology.
>
> I am also interested in where this log file is. I'm using Eclipse
> which is monitoring the log output and see nothing there.
> Is there another log I'm unaware of? I would assume it would be in the
> WEB-INF/appengine-generated directory but nothing shows there.
>
> --Stevko
>
> On Apr 5, 3:20 am, Eurig Jones  wrote:
>
> > Hi,
>
> > From  
> > http://code.google.com/appengine/docs/java/mail/overview.html#Develop...
> > ...
>
> > "When an application running in the developmentservercalls the Mail
> > service to send an email message, the message is printed to thelog.
> > The Java developmentserverdoes not send the email message."
>
> > My question is, what log4j setup do I use to output these emails?
>
> > Regards,
> > Eurig Jones
>
> --
> 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: Server Error A server error has occurred. - Whilst Deleting app version.

2010-06-06 Thread Eurig Jones
I still can't delete the same application version.

Regards,
Eurig

On Apr 12, 9:32 am, Eurig Jones  wrote:
> Thanks Ikai
>
> On Apr 9, 10:47 pm, "Ikai L (Google)"  wrote:
>
>
>
> > We'll scrub these next time we do them in batch. For the time being - it's
> > annoying that it's stuck there, but we allocate you 100 versions, so this
> > shouldn't get in your way.
>
> > On Wed, Apr 7, 2010 at 2:47 PM,EurigJones  wrote:
> > > mailmymove - version 1
> > >http://www.mailmymove.com
>
> > > On Apr 5, 9:51 pm, "Ikai L (Google)"  wrote:
> > > > What's your application ID and the version you are trying to delete?
>
> > > > On Mon, Apr 5, 2010 at 11:20 AM,EurigJones 
> > > wrote:
> > > > > Hi,
>
> > > > > I'm getting a...
>
> > > > > Server Error
>
> > > > > A server error has occurred.
>
> > > > > Whilst trying to delete a particular version of an app. For the others
> > > > > it's no problem, but this particular version I cannot delete and I'm
> > > > > getting the Server error. Can anyone suggest what I can do about this?
> > > > > (Or where to report it at least)
>
> > > > > --
> > > > > 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>
> > >  > >  %252bunsubscr...@googlegroups.com>
>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-appengine-java?hl=en.
>
> > > > --
> > > > Ikai Lan
> > > > Developer Programs Engineer, Google App Enginehttp://
> > > googleappengine.blogspot.com|http://twitter.com/app_engine
>
> > > --
> > > 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.
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App 
> > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
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] App Engine 1.5.1?

2011-06-18 Thread Eurig Jones
My dev server is telling me I should upgrade my app to 1.5.1 on
startup, but I see no final release of 1.5.1 available yet, only a pre-
release!

Is this an error on google's part?

-- 
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: Wicket/JPA application works locally but fails when deployed on GAE

2010-09-26 Thread Eurig Jones
I had the same issue with Wicket / JPA combination.

My particular problem was that I was using a ListView by passing a
List directly into the constructor:

ListView listView = new ListView("id", myListObject)
{ ... }

My solution was to instead use a LoadableDetachableModel for the
ListView.


On Aug 20, 7:01 am, Meetu Maltiar  wrote:
> The application has Wicket/JPA/Spring. It works locally on
> dev_appserver. After I deploy it on GAE it fails with the following
> track trace. I am failing to understand what might be the cause of the
> error.
>
> java.lang.RuntimeException: java.io.NotSerializableException:
> org.datanucleus.store.appengine.query.DatastoreQuery$2
>         at
> com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager 
> .java:
> 387)
>         at
> com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S 
> essionManager.java:
> 364)
>         at com.google.apphosting.runtime.jetty.SessionManager
> $AppEngineSession.save(SessionManager.java:164)
>         at
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF 
> ilter.java:
> 41)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
> actionCleanupFilter.java:
> 43)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 388)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 182)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 765)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 418)
>         at
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH 
> andlerMap.java:
> 238)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 542)
>         at org.mortbay.jetty.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:923)
>         at
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ 
> estParser.java:
> 76)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
> t(JettyServletEngineAdapter.java:
> 135)
>         at
> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> 251)
>         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:6784)

-- 
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: Wicket/JPA application works locally but fails when deployed on GAE

2010-09-29 Thread Eurig Jones
You're probably using the same Wicket setup as I am - Sessions are
stored in the datastore.

The Jetty local development set-up clearly doesn't emulate the real
thing exactly by the looks of it. But by using LoadableDetachableModel
the list is populated once per request and detached when the component
tree is sent to the db. Everything needs to be serializable for that
to happen.

What's probably happening is that your local Jetty server doesn't
bother looking at appengine-web.xml at all therefore not picking up
true required for wicket to work
in production.

Regards,
Eurig Jones

On Sep 26, 11:56 pm, Meetu Maltiar  wrote:
> This looks like a fine approach as detachable models will make it
> cheaper to Serialize I guess. Were you able to find the reason why it
> gave error before andworksnow?
> I am curious to know what happens when you create a new collection of
> myListObject and not use LoadableDetachableModel.
>
> On Sep 26, 10:46 pm, Eurig Jones  wrote:
>
>
>
>
>
>
>
> > I had the same issue withWicket / JPAcombination.
>
> > My particular problem was that I was using a ListView by passing a
> > List directly into the constructor:
>
> > ListView listView = new ListView("id", myListObject)
> > { ... }
>
> > My solution was to instead use a LoadableDetachableModel for the
> > ListView.
>
> > On Aug 20, 7:01 am, Meetu Maltiar  wrote:
>
> > > TheapplicationhasWicket/JPA/Spring. Itworkslocallyon
> > > dev_appserver. After I deploy it on GAE itfailswith the following
> > > track trace. I am failing to understand what might be the cause of the
> > > error.
>
> > > java.lang.RuntimeException: java.io.NotSerializableException:
> > > org.datanucleus.store.appengine.query.DatastoreQuery$2
> > >         at
> > > com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager
> > >  .java:
> > > 387)
> > >         at
> > > com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S
> > >  essionManager.java:
> > > 364)
> > >         at com.google.apphosting.runtime.jetty.SessionManager
> > > $AppEngineSession.save(SessionManager.java:164)
> > >         at
> > > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF
> > >  ilter.java:
> > > 41)
> > >         at org.mortbay.jetty.servlet.ServletHandler
> > > $CachedChain.doFilter(ServletHandler.java:1157)
> > >         at
> > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans
> > >  actionCleanupFilter.java:
> > > 43)
> > >         at org.mortbay.jetty.servlet.ServletHandler
> > > $CachedChain.doFilter(ServletHandler.java:1157)
> > >         at
> > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> > > 388)
> > >         at
> > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> > > 216)
> > >         at
> > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> > > 182)
> > >         at
> > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> > > 765)
> > >         at 
> > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> > > 418)
> > >         at
> > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH
> > >  andlerMap.java:
> > > 238)
> > >         at
> > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> > > 152)
> > >         at org.mortbay.jetty.Server.handle(Server.java:326)
> > >         at 
> > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> > > 542)
> > >         at org.mortbay.jetty.HttpConnection
> > > $RequestHandler.headerComplete(HttpConnection.java:923)
> > >         at
> > > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ
> > >  estParser.java:
> > > 76)
> > >         at 
> > > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > >         at
> > > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques
> > >  t(JettyServletEngineAdapter.java:
> > > 135)
> > >         at
> > > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> > > 251)
> > >         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > > $6.handleBlockingRequest(RuntimePb.java:6784)

-- 
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] App Engine + JRebel + Eclipse

2010-09-29 Thread Eurig Jones
Hey,

I had a bit of trouble myself in gettiing GAE, JRebel and Eclipse to
work together initially. I've posted a blog entry to explain how I did
it...

http://androidisland.blogspot.com/2010/09/appengine-jrebel-and-eclipse-getting.html

Regards,
Eurig Jones

-- 
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] GAE and Log4j - A little solution to make things easier.

2010-10-03 Thread Eurig Jones
Hey,

I've written a Log4j appender which passes on log4j severity levels to
GAE's JUL framework so you can view your log4j events (or the events
your chosen framework provides) if you need to.

http://androidisland.blogspot.com/2010/10/gae-and-log4j-getting-them-to-work-bit.html

This is a quick implementation of this Appender for me and so far it
works, but I'd love to hear some feedback about what it doesn't do (or
doesn't do properly) as I've not used it in anger.

Regards,
Eurig Jones

-- 
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] Datastore Backup and Restore (for Java)

2011-01-04 Thread Eurig Jones
Hi,

What are the options people are using currently for backup /
restoration of their app datastores? There seems to be a few issues
raised about it, but no concrete alternatives for it (for Java) as far
as I can see.

Regards,
Eurig Jones
http://www.chesspresso.net

-- 
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: Datastore Backup and Restore (for Java)

2011-01-05 Thread Eurig Jones
Starred.

So for anything that you need to persist the keys is isn't possible to
backup with your own scripts then I guess. This is unfortunate.

-- 
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: Datastore Backup and Restore (for Java)

2011-01-05 Thread Eurig Jones
I've just noticed that there is a bulkloader.py that can be run from
Java. Is this something that can cope with large amounts of data
taking a long time to execute?

-- 
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: Datastore Backup and Restore (for Java)

2011-01-06 Thread Eurig Jones
I've started implementing a setup based around the remote_api
bulkloader now and it looks promising.


On Jan 6, 5:55 am, Andy  wrote:
> It is possible.  Use KeyFactory's static method "keytostring()" to convert
> all your keys to string value.  Since String values are portable on any
> platform, you can do that easily.  Hope this 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.



[appengine-java] OAuth with a custom domain

2011-01-19 Thread Eurig Jones
Hi. I have an android app which has a GAE backend and validates its
users using OAuth. It does not seem to validate users with a custom
google domain. What do I need to do to get this to work?

Thanks!
Eurig

-- 
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: OAuth with a custom domain

2011-01-30 Thread Eurig Jones
Anyone have any experience with authenticating non gmail.com google
accounuts with GAE OAuth?

On Jan 19, 10:30 pm, Eurig Jones  wrote:
> Hi. I have an android app which has a GAE backend and validates its
> users using OAuth. It does not seem to validate users with a custom
> google domain. What do I need to do to get this to work?
>
> Thanks!Eurig

-- 
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] Incremental datastore backup for App Engine

2011-02-06 Thread Eurig Jones
Hi,

Just thought i'd send this note as it might be of use to some of you.
Here is a python script to execute on remote servers to backup your
GAE app datastores. It'll work with Java apps if you install the
RemoteApiServlet.

http://androidisland.blogspot.com/2011/02/datastore-inremental-backup-script-for.html

Regards,
Eurig Jones

-- 
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] Checkout quota issue. Please help

2011-03-10 Thread Eurig Jones
I've been trying to increase my daily quota from $1 to $3 all day
today an its not working. Its just reverting back to $1 after a
successfull google checkout order. Then 30 mins later its back at $1
again!

Can someone contact me to sort this out as my app is now hitting the
limit.. my email is eurigjo...@gmail.com

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