Author: midon
Date: Fri Oct 17 17:18:27 2008
New Revision: 705796
URL: http://svn.apache.org/viewvc?rev=705796&view=rev
Log:
ODE-388: add logging information
Modified:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
Modified:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java?rev=705796&r1=705795&r2=705796&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
(original)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
Fri Oct 17 17:18:27 2008
@@ -4,10 +4,12 @@
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.description.AxisOperation;
import org.apache.axis2.description.AxisService;
-import org.apache.axis2.description.WSDL11ToAxisServiceBuilder;
import org.apache.axis2.description.Parameter;
+import org.apache.axis2.description.WSDL11ToAxisServiceBuilder;
import org.apache.axis2.engine.AxisServer;
import org.apache.axis2.engine.MessageReceiver;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.ode.axis2.hooks.ODEAxisService;
import org.apache.ode.axis2.util.Axis2UriResolver;
import org.apache.ode.axis2.util.Axis2WSDLLocator;
@@ -37,6 +39,8 @@
public static final int DEFAULT_TEST_PORT = 8888;
+ private static final Log log = LogFactory.getLog(Axis2TestBase.class);
+
protected ODEAxis2Server server;
public void startServer() throws Exception {
@@ -60,6 +64,7 @@
}
protected class ODEAxis2Server extends AxisServer {
+
ODEServer _ode = new ODEServer();
String webappPath;
@@ -68,6 +73,12 @@
this.webappPath = webappPath;
String confLocation = webappPath + "/WEB-INF/conf/axis2.xml";
String repoLocation = webappPath + "/WEB-INF";
+ if(log.isInfoEnabled()){
+ log.info("Webapp dir: "+webappPath);
+ log.info("Axis2 Conf file: "+confLocation);
+ log.info("Axis2 Repo dir: "+repoLocation);
+ }
+
configContext = ConfigurationContextFactory
.createConfigurationContextFromFileSystem(repoLocation,
confLocation);
// do not use 8080 for tests