Hello list,
Firstly, thank you to the php-java-bridge developers - this project
has proven invaluable to me and has worked out of the box with little
configuration.
I recently have installed the JavaBridge.war into a JBoss/Tomcat
configuration. JBoss uses log4j for all of its logging, and all of
the other components for our web application thus use it as well.
It looks like the JavaBridge.war resets the log4j configuration, when
it finds log4j.jar on the class path and attempts to setup the
ChainsawLogger. When this happens, all logging for any component in
JBoss is disabled, and no more logging output occurs throughout my app
server.
A reference to how someone else got around this issue in the past:
http://sourceforge.net/mailarchive/message.php?msg_id=20061014163030.20262.qmail%40web27908.mail.ukl.yahoo.com
I've already modified the Java source files to just use the FileLogger
class rather than reconfigure log4j (and thus lose the rest of my
jboss logging). However, I am running into issues on the build
process.
I am a Java developer unfamiliar with autoconf/automake -- can
someone point me at the steps necessary to recreate the JavaBridge.war
file?
I'd like to only modify the source for the 4.08a version I am using
(or whatever the latest stable release is), right now I checked out
the latest from CVS, but I'd rather not deploy it until the next
stable release.
Any thoughts on making the logging more configurable - or just
changing the default detection scheme for log4j to make it not reset
the entire logging configuration?
Thanks for your help,
-Mark
|