Hi all,

I am trying to do the following from a servlet, running in the axis2
runtime, and extending the AxisServlet :

DeploymentEngine deploy = new DeploymentEngine();
FileInputStream fis = new FileInputStream(new File(MyConstants.PATH_TO_AXIS2));
deploy.setConfigContext(configContext);
deploy.populateAxisConfiguration(fis);
deploy.addWSToDeploy(new ArchiveFileData(uploadedFile,
DeploymentConstants.TYPE_SERVICE, false));
deploy.doDeploy();

but nothing happens - the service is neither listed, not can be
accessed. Moreover, no file is copied in the "services" directory.
(Above, uploadedFile's path is to some temp dir on the server).

I get no DeploymentException whatsoever, and in the logs i can see the
following:

Feb 4, 2007 6:01:18 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  DeployTest.aar

but as i said above, this service is neither listed nor copied to
"services". Both hotdeployment and hot update are enabled.

Can someone clarify what's going wrong?  Thanks very much.

Regards,
Angel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to