But when you package it into a war file and deploy it. You get an
[java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded].
This is due to the Log4JConfigListener requiring to look up the log4j.properties file and from a war file it can't do that.
You can either always deploy it in a exploded war file or simply adding the following to your weblogic.xml file.
This should solve the problem.
I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! typing tutor
ReplyDelete