title: Google app engine on existing maven-tomcat projects
body: <p>I am running Magnolia CMS on a tomcat 7, I would like to leverage Googles App Engine(GAE). 
  From googles documentations i understand that it is enough to include the GAE plugin to my root pom.xml within the <em>build</em> tags, see below: </p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;com.google.appengine&lt;/groupId&gt;
      &lt;artifactId&gt;appengine-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.9.31&lt;/version&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>In Googles documentation it states that I also have to add appengine-web.xml in my WEB-INF folder which i did - not sure if its even getting picked up...</p>
  
  <p>Google states that to start the application you need to execute <em>mvn appengine:devserver</em> and to upload it to google <em>mvn appengine:update</em>. </p>
  
  <p>When i atempted to use these commands <em>mvn appengine:devserver</em> and <em>mvn appengine:update</em> i get failures .....also im not sure im supposed to run them considering my existing setup  </p>
  
  <pre><code>[INFO] Initializing Log4J
  [INFO] Initializing Log4J from [WEB-INF/config/default/log4j.xml]
  [INFO] 2016-02-07 21:08:47,159 ERROR info.magnolia.init.MagnoliaServletContextListener : Oops, Magnolia could not be started
  [INFO] java.lang.NoClassDefFoundError: java.io.FileOutputStream is a restricted class. Please see the Google  App Engine developer's guide for more details.
  [INFO]  at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:52)
  [INFO]  at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
  [INFO]  at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
  [INFO]  at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
  [INFO]  at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
  [INFO]  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
  [INFO]  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
  </code></pre>
  
  <p>Some points to note, project has many maven modules, only one module needs GAE. Project is running Java 8. Feature in GAE needed is <a href="https://cloud.google.com/appengine/docs/java/taskqueue/" rel="nofollow">Task Queue API</a>. Eclipse version is Luna 4.4.1. Magnolia version 5.4.3. Tomcat is started from within eclipse in server configuration</p>
  
  <p><strong>Question:</strong> what is the right approach to making these two systems talk to each-other, so i can leverage GAE capabilities in my already existing project running on tomcat? </p>