[appengine-java] Servlet Mapping not working as expected

2011-09-26 Thread Andrew Ducker
I'm trying to get Velocity up and running with GAE, and the first problem I'm bumping into is that servlet mapping doesn't seem to be working as I'd expect. I've cut down the Web.xml to its bare minimum: velocity org.apache.velocity.tools.view.VelocityViewServlet velocit

[appengine-java] Anyone using Velocity and Google App Engine?

2011-09-26 Thread Andrew Ducker
I've been trying to get it working in my GAE workspace, and I've got it picking up my files and processing them, but it doesn't seem to be picking up the tools.xml file from my WEB-INF folder. (i.e. variables from the tools.xml file just appear as $whatever). Is this something other people have e

[appengine-java] Can't get log4j working

2011-10-15 Thread Andrew Ducker
I have the default log4j.properties in the root of my src folder (which is then copied to the war/WEB-INF/classes folder automatically). I have this in my appengine-web.xml: If I do this: Logger logger = Logger.getRootLogger(); logger.warn("Test

Re: [appengine-java] Re: Can't get log4j working

2011-10-16 Thread Andrew Ducker
On 16/10/2011 09:01, Martin Newstead wrote: make sure your log4j.properties gets copied to your classes directory when you build the application. Yup, it's there. Says: # A default log4j configuration for log4j users. # # To use this configuration, deploy it into your application's WEB-INF/cl

[appengine-java] Setting the timeout for fetching when not using URL.Fetch directly

2011-11-30 Thread Andrew Ducker
I'm using the Apache XML-RPC modules to make calls to update a Wordpress blog. It's timing out after about 5 seconds with the following: Something unexpected has occurred. org.apache.xmlrpc.XmlRpcException: Failed to create input stream: Timeout while fetching: http://andrewducker.wordpress.com/x

[appengine-java] Re: Setting the timeout for fetching when not using URL.Fetch directly

2011-12-03 Thread Andrew Ducker
On Nov 30, 8:46 pm, Andrew Ducker wrote: > I'm using the Apache XML-RPC modules to make calls to update a > Wordpress blog.  It's timing out after about 5 seconds with the > following: Never mind. It would have helped significantly if I'd set the timeout in millisec