I have a question about the behaviour of the DeploymentEngine of Axis2 in my environment. Maybe someone of you know a hint or answer for it.
I have a Client-Application with Axis2 on one side and an instantiated SimpleHTTPServer at the other. The server got two services (LocalMonitor and ServiceManager) and two modules (addressing and rampart). For Round-Trip-Time Tests, the client calls a web service method at the server five times with a delay of 2 seconds between each call. With every call of the client the DeploymentEngine deploys the two services and modules at server side. This causes a delay of nearly a half of a second. Here is an output of log4java out of the workflow from each client-call to the server: 2006-09-11 19:42:54,656 [main] de.siegen.bs.omis.clients.Test_RTT0 - Start Test RTT0 (Loop 0) 2006-09-11 19:42:55,265 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying module : rampart 2006-09-11 19:42:55,281 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing 2006-09-11 19:42:55,359 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying Web service ServiceManager.aar 2006-09-11 19:42:55,406 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying Web service LocalMonitor.aar 2006-09-11 19:42:55,812 [main] de.siegen.bs.omis.clients.Test_RTT0 - End Test after 1156 ms (Loop 0). 2006-09-11 19:42:56,812 [main] de.siegen.bs.omis.clients.Test_RTT0 - Start Test RTT0 (Loop 1) 2006-09-11 19:42:57,203 [HttpConnection-6060-3] org.apache.axis2.deployment.DeploymentEngine - Deploying module : rampart 2006-09-11 19:42:57,203 [HttpConnection-6060-3] org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing 2006-09-11 19:42:57,265 [HttpConnection-6060-3] org.apache.axis2.deployment.DeploymentEngine - Deploying Web service ServiceManager.aar 2006-09-11 19:42:57,296 [HttpConnection-6060-3] org.apache.axis2.deployment.DeploymentEngine - Deploying Web service LocalMonitor.aar 2006-09-11 19:42:57,390 [main] de.siegen.bs.omis.clients.Test_RTT0 - End Test after 578 ms (Loop 1). ... And a little more verbosity: 2006-09-11 19:44:42,296 [HttpConnection-6060-1] org.apache.axis2.engine.Phase - Handler InstanceDispatcher added to Phase Dispatch 2006-09-11 19:44:42,484 [HttpConnection-6060-1] org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule) 2006-09-11 19:44:42,484 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - adding new module 2006-09-11 19:44:42,484 [HttpConnection-6060-1] org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule) 2006-09-11 19:44:42,484 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying module : rampart 2006-09-11 19:44:42,515 [HttpConnection-6060-1] org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule) 2006-09-11 19:44:42,515 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - adding new module 2006-09-11 19:44:42,515 [HttpConnection-6060-1] org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule) 2006-09-11 19:44:42,515 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing ... 2006-09-11 19:44:42,562 [HttpConnection-6060-1] org.apache.axis2.engine.Phase - Handler SecurityOutHandler added to Phase MessageOut 2006-09-11 19:44:42,562 [HttpConnection-6060-1] org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(deployingws) 2006-09-11 19:44:42,562 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying Web service ServiceManager.aar ... http://ws.apache.org/axis2/LocalMonitorPortType/thread_has_started_lib_callResponse 2006-09-11 19:44:42,593 [HttpConnection-6060-1] org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(deployingws) 2006-09-11 19:44:42,593 [HttpConnection-6060-1] org.apache.axis2.deployment.DeploymentEngine - Deploying Web service LocalMonitor.aar The deployment is the same if the SimpleHTTPServer is substituted with the axis2-servlet in a tomcat-server. Does anyone know how this behaviour can be prevented? The server should deploy the services and modules only at server-start, not at each call. Maybe in a way of reconfiguring the axis2.xml or services.xml? Thanks Falk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
