users@glassfish.java.net

Re: Quercus 4 on Glassfish 3

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Sun, 20 Dec 2009 19:27:32 +0100

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&answer=10528
>
> http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&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
>
>