I previously ran a command-line java app by specifying
java -Dlog4j.configuration=log4j.daemon.properties -cp <class path
entries> <main class> , which worked fine.
I've now configured the app to run as a service and have specified
wrapper.java.additional.1=-Dlog4j.configuration=D:/Java/zurich/log4j.daemon.properties
in the wrapper.conf file, but log4j is not initializing correctly and I
get the following the wrapper.log:
INFO | jvm 1 | 2004/10/06 09:55:26 | Wrapper (Version 3.1.1)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2004/10/06 09:55:26 |
INFO | jvm 1 | 2004/10/06 09:55:26 | log4j:WARN No appenders could be
found for logger (au.com.zurich.integration.MQMessageDaemon).
INFO | jvm 1 | 2004/10/06 09:55:26 | log4j:WARN Please initialize the
log4j system properly.
STATUS | wrapper | 2004/10/06 09:55:28 | <-- Wrapper Stopped
I've tried putting the full path to the log4.daemon.properties file in the
configuration line above, but it till doesn't work.
What am I doing wrong?
Thanks
Alan
----
This email is intended for the named recipient only. It may contain information which is confidential, commercially sensitive, or copyright. If you are not the intended recipient you must not reproduce or distribute any part of the email, disclose its contents, or take any action in reliance. If you have received this email in error, please contact the sender and delete the message. It is your responsibility to scan this email and any attachments for viruses and other defects.
To the extent permitted by law, Zurich and its associates will not be liable for any loss or damage arising in any way from this communication including any file attachments. We may monitor email you send to us, either as a reply to this email or any email you send to us, to confirm our systems are protected and for compliance with company policies. Although we take reasonable precautions to protect the confidentiality of our email systems, we do not warrant the confidentiality or security of email or attachments we receive. |