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 02-15-2011, 03:52 PM
frankisans frankisans is offline
Junior Member
 
Join Date: Feb 2011
Posts: 4
Exclamation How to create a Quercus Module callable from a PHP page on Tomcat

I have read the Quercus module tutorial (http://quercus.caucho.com/quercus-3....dule/index.xtp) but I can't run it on Tomcat. It says

Fatal Error: 'hello_test' is an unknown function.

Maybe the "com.caucho.quercus.QuercusModule" file should be place in a specific place?
Someone has sucssesfully runs a QuercusModule on a Tomcat?
Reply With Quote
  #2  
Old 02-17-2011, 03:29 PM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

are you packaging your class together with the web application or as an independent jar?

in a jar, the com.caucho.quercus.QuercusModule has to be put into

/META-INF/

in a war, you have to put it into

/WEB-INF/classes/META-INF/

The described procedure works on Tomcat.
Reply With Quote
Reply

Tags
quercusmodule, tomcat

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 04:17 PM.


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