Hi,

The requirement is to create the ConfigurationContext problematically
and use it in the creation of ServiceClient.

String CLIENT_REPO_PATH =
"/home/xxx/axis2-1.6.0/axis2-1.6.0/samples/userguide/repository";
String CLIENT_AXIS_CONFIG_PATH =
"/home/xxx/axis2-1.6.0/axis2-1.6.0/samples/userguide/conf/axis2.xml";

ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,CLIENT_AXIS_CONFIG_PATH);
ServiceClient sender = new ServiceClient (configContext,null);

When I run this EchoNonBlockingDualClient.java sample with this code the
client side VM does not close. Can you please let me know what is wrong
in the above code.

It is strange that the program ends successfully only when the system
property is provided.
-Daxis2.repo=/home/xxx/axis2-1.6.0/axis2-1.6.0/samples/userguide/repository
-Daxis2.xml=/home/xxx/axis2-1.6.0/axis2-1.6.0/samples/userguide/conf/axis2.xml

I am running axis2-1.6.0 on Ubuntu 11.04, jdk 1.6.0_22

regards,
sathwik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to