View Full Version : How to create a Quercus Module callable from a PHP page on Tomcat

02-15-2011, 03:52 PM
I have read the Quercus module tutorial (http://quercus.caucho.com/quercus-3.1/examples/quercus-module/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?

02-17-2011, 03:29 PM
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


in a war, you have to put it into


The described procedure works on Tomcat.