Caucho Forums  

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


Go Back   Caucho Forums > Quercus

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2011, 05:03 PM
vj115 vj115 is offline
Junior Member
 
Join Date: Jan 2011
Posts: 1
Default Glassfishv3 and Quercus 4.0.11

Hi All,

I'm new to PHP and glassfish.

I'm trying to configure quercus with glassfish and have been failing miserably.

I've loaded Quercus 4.0.11 jar files (inject-16.jar, javamail-141.jar, resin.jar) to the lib folder of Glassfishv3.

I uploaded a very basic php file with just a simple Hello World echo statement.

all the other html statements were recognized and not php code.

then I add the below to default-web.xml

<servlet>
<servlet-name>Quercus Servlet</servlet-name>
<servlet-class>com.caucho.quercus.servlet.QuercusServlet</servlet-class>
</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-list>

now I'm getting an error saying

HTTP Status 404 - Servlet Quercus Servlet is not available

type Status report

messageServlet Quercus Servlet is not available

descriptionThe requested resource (Servlet Quercus Servlet is not available) is not available.

GlassFish Server Open Source Edition 3.0.1

any help with this is appreciated.

Thanks,

Vj
Reply With Quote
  #2  
Old 01-20-2011, 10:23 AM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

we haven't tested installing quercus server wide on glassfish.
please try to install it per webapp and see if it works there.
Reply With Quote
Reply

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 09:13 PM.


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