Axis2 has commons logging jar in the WEB-INF/lib directory.  When your Axis2
app is deployed that jar is loaded and commons logging looks in the
WEB-INF/classes for commons-logging.properties and log4j.properties.  If you
copy your logging files there it will work.

Chad

On 6/19/07, Michael Lepine <[EMAIL PROTECTED]> wrote:

 I'm not overly familiar with web services, but I've created a POJO-based
web service and am having difficultly logging from the service. The aar
archive has the following top-level directory structure:



com – class files under the com.xxx.xxx… package

META-INF – folder containing the services.xml

lib – folder containing library (jar/zip) files for service

commons-logging.properties – property file for logging configuration

log4j.properties - property file for log4j configuration

other.xml – other xml files that need to be accessible via the classpath



I'm deploying the aar file to the following folder under the tomcat
(version 5.0.28) installation directory:



[TOMCAT_HOME]\webapps\axis\WEB-INF\services



The service is being deployed correctly and appears to be working.



So, should my properties and xml files be accessible via the classpath or
am I doing something wrong?



Any guidance is appreciated. Thank you.



- Mike

Reply via email to