I'm installing a document management system that uses a java based application called FileIndexer to, as you may have guessed, index files in the document manager for keyword searches.
FileIndexer calls a raft of other routines (more jar routines) and looks at a couple of xml files to tell where to put the results in a MySql database. The documentation indicates that to execute this program from the command line, one would execute:
java -mx256m -jar FileIndexer.jar
Right now, I want to be able to test this program, and later I want to run it as a chron job. However, my ISP does not allow java to be executed from the command line or from a chron job, apparently because of potential resource problems.
Instead, they use a Servlet Runner called Resin that executes javascript/jar files from requests within web pages. All my jar files are to be loaded into a directory called WEB-INF/lib, and apparently the Servlet Runner takes things from there.
My problem: I know nothing of java nor of this Resin Servlet Runner. So, assuming I put all my jar files into WEB-INF/lib, what do I put in a php page to cause this to be executed? I'm reasonably adept at php but have zero knowledge of java.
Many thanks.