users@glassfish.java.net

Re: Anyone successfully run Quercus/PHP on GF?

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Mon, 28 Sep 2009 06:57:29 +0100

I've run Wordpress under Quercus on GFv2.

http://number9.hellooperator.net/articles/2008/08/26/lamp-stack-on-glassfish

Let me know if it doesn't work any more.

On Sun, Sep 27, 2009 at 6:14 PM, saturon <netbeans_at_vtxfree.ch> wrote:
> Hi there,
>
> Lately I've been trying to get Quercus to run on GF v2.1 and v3. but no
> success. I just tried to run the Quercus sample application, and then a CI
> app.
>
> For the 2 versions:
>
> - Quercus  4.0.1 : Loops of nullpointer exceptions in
>  java.lang.NullPointerException
>         at com.caucho.util.Alarm.extractAlarm(Alarm.java:432)
>         at com.caucho.util.Alarm$CoordinatorThread.run(Alarm.java:704)
> GF CPU is hovering at 50-60 %
>
> - Quercus  3.2.1: java.lang.NoClassDefFoundError:
> com/caucho/quercus/function/AbstractFunction
>
> I am wondering since it is advertised on the Sun and GF sites that GF
> supports PHP if there are any working application out there and the
> configuration of those.
>
> My ultimate goal would be to share the JPA backend between a Java and PHP
> app and move the rather elementary PHP session handling to the JEE
> container.
>
> Thanks for pointers, Ben
>