users@glassfish.java.net

RE: Quercus 4 on Glassfish 3

From: saturon <gsaturon_at_gmail.com>
Date: Sun, 20 Dec 2009 21:06:44 +0100

Hi guys,
 
I was trying a similar thing in the past, but wasnot successful, with GF
2.1:
 
- Simple quercus app was running.
- 4.0.1 : Loop 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)
- 3.2.1: java.lang.NoClassDefFoundError:
com/caucho/quercus/function/AbstractFunction
 
Did you guys run into any of these issues?
 
Cheers Ben

-----Original Message-----
From: Dominik Dorn [mailto:dominik.dorn_at_gmail.com]
Sent: Sonntag, 20. Dezember 2009 19:28
To: users_at_glassfish.dev.java.net
Subject: Re: Quercus 4 on Glassfish 3


hi,

I simply packaged my webapp as normal and deployed it to "/" through the
admin-interface
( so no copying to domain1/lib or editing default-web.xml .. )

Greetings,
Dominik


On Sun, Dec 20, 2009 at 1:22 AM, Serge Fonville
<serge.fonville_at_gmail.com> wrote:


Hi,

I'm trying to setup Glassfish 3 to support PHP.
In the past I used Glassfish 2.1 with Quercus 3.1

I tried all the guides that google would tell me about.

Basically these steps were suggested
Copy all files from WEB-INF/lib to $GLASSFISH/domains/domain1/lib
edit $GLASSFISH/domains/domain1/config/default-web.xml to contain:

<servlet>
 <servlet-name>Quercus Servlet</servlet-name>
 
<servlet-class>com.caucho.quercus.servlet.QuercusServlet</servlet-class>
 <iinit-param>
   <param-name>ini-file</param-name>
   <param-value>WEB-INF/php.ini</param-value>
 </init-param>
</servlet>

<servlet-mapping>
 <servlet-name>Quercus Servlet</servlet-name>
 <url-pattern>*.php</url-pattern>
</servlet-mapping>

<welcome-file-list>
 <welcome-file>index.php</welcome-file>
 <welcome-file>index.html</welcome-file>
 <welcome-file>index.htm</welcome-file>
 <welcome-file>index.jsp</welcome-file>
</welcome-file-list>

When I add a index.php to $GLASSFISH/domains/domain1/docroot
Nothing happens when I open http://localhost:8080
When I open http://localhost:8080/index.php it shows the source code

When I dropped quercus-4.0.2.war in
$GLASSFISH/domains/domain1/autodeploy and then openen
http://localhost:8080/quercus-4.0.2/ everything worked as expect.

Are there any additional things I need to do to make this work?

Thanks a lot in advance!

Regards,

Sege Fonville

--
http://www.sergefonville.nl
Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en
<https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
> &answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f92
3
<http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f9
23&hl=en> &hl=en
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net