OK, more digging and I've found more of the problems:
1) The instructions provided by JBoss _ALL_ say to use the following line in your "server.xml":
But the correct line is:
(If you are using the "jbossweb-extras.jar" file instead of the "servlets-php.jar" file.)
2) Same sort of problem in the "conf/web.xml" file:
It looks like the instructions are pointing everyone to the "default" config for the catalina/tomcat setup, not to the stuff for the official "JBoss" setup.
Also, If I do the "info.php" I'm still seeing a bunch of stuff pointing to "/home/jfclere" for php configurations. I'd really appreciate some help on what I need to do to fix that.
"That being said, if I leave the servlets-php.jar file alone, it seems to function - barely (as in the examples work, but little else)."
What do you mean? (What is not working?).
The php.ini location is astandard php environment variable.
To set it just add in bin/run.conf something like
The file have to exist and have a valid content to be taken in account.
Many thanks for the help - all is well now!
Fixing the "server.xml" and "web.xml" files seems to have fixed the main problem (that I was using "servlets-php.jar" instead of "jbossweb-extras.jar" -- since I no longer get any errors at startup).
I've now got the problem that my paths don't seem to track when I'm in JBoss web, like they do in Apache. So my "drupal" code (and "phpmyadmin") always thinks it was started at "/", which is breaking it... I'm trying to figure out what variables I set to fix this now.
How do I get the .so files if I'm running Windows? Only comes with .sh.
I'm not sure exactly what you're asking - the instructions led me to download the "windows" package for the ".dll" files I needed. The "jbossweb-1.0.1.GA.zip" included a "native" folder (in 'bin/native') that has the necessary ".dll" files.
You can ignore the ".sh" files in "bin", they aren't needed for Windows. But there are several ".bat" files (like "run.bat", and "shutdown.bat") that control the jboss server. There's also a "service.bat" that lets you install JBossweb as a service on your machine.
I have to use JBOSS4.0.2 application server to run PHP How can I do this? Is it necessary to use JBOSSWEB1.0.1 for this? If yes how can configure JBOSSWEB1.0.1 with JBOSS4.0.2 application server to run PHP?