Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:

Go Back   Caucho Forums > Quercus

Thread Tools Display Modes
Old 11-23-2011, 06:36 PM
MathewFrank MathewFrank is offline
Junior Member
Join Date: Nov 2011
Posts: 2
Question help! (newbie) can't get hello world working on GAE

Hi guys - really need a hand here. I expect this error is something basic I am getting wrong. I know only a little about java and a lot about PHP.

I have a large project - a game server - I want to run on this but stumped at just getting Quercus to run in Google App Engine (local mode).

I followed the wiki instructions, but there was some missing information (the config that tells Java that php files are a resource) so I got some info from the youtube video.

THANKS in advance!

When I call a php file I get the following in a 500 error:
Code: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
	at Source)
	at Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.lang.ThreadGroup.checkAccess(Unknown Source)
	at java.lang.Thread.init(Unknown Source)
I am running GAE local debug mode in Eclipse Java EE IDE - Indigo SR1. I have the quercus plugin.

This is my web.xml
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi=""
xsi:schemaLocation="" version="2.5">
	<description>PHP bridge</description> 
		<servlet-name>Quercus Servlet</servlet-name>
		<servlet-name>Quercus Servlet</servlet-name>
and this is my appengine-web.xml
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="">
  <application>NAME USED FOR uploading to GAE</application>

    By default, App Engine sends requests serially to a given web server.
    To allow App Engine to send multiple requests in parallel specify:

  <!-- Configure java.util.logging -->
    <property name="java.util.logging.config.file" value="WEB-INF/"/>
  	<exclude path="/**.php" />
  	<include path="/**.php" />
and this is the phpinfo.php file:
PHP Code:
<?php phpinfo(); ?>
Finally this is my debug log file - up to the first failed request
Nov 23, 2011 10:19:08 AM info
INFO: Logging to JettyLogger(null) via
Nov 23, 2011 10:19:08 AM readAppEngineWebXml
INFO: Successfully processed C:\Users\frak\workspace\Guest Book\war\WEB-INF/appengine-web.xml
Nov 23, 2011 10:19:08 AM readConfigXml
INFO: Successfully processed C:\Users\frak\workspace\Guest Book\war\WEB-INF/web.xml
Nov 23, 2011 9:19:09 PM start
INFO: The server is running at http://localhost:8888/
Nov 23, 2011 7:32:00 PM com.caucho.env.shutdown.ShutdownSystem shutdownActive
WARNING: ShutdownService is not active
ShutdownService is not active
Nov 23, 2011 7:32:00 PM warn
WARNING: Error for /phpinfo.php
Caused by: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
	at Source)
Reply With Quote
Old 12-04-2011, 10:45 AM
MathewFrank MathewFrank is offline
Junior Member
Join Date: Nov 2011
Posts: 2

There had been a bug raised for this:

It effects recent versions of Quercus.

Till its fixed use version resin-4.0.22 or earlier.

Reply With Quote

gae, google app engine

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:47 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.