Issues under load

joseph.potter.avnet.com's picture
I have a Axis2C client invoking a web service that seems to work fine until it is put under load. Once this happens I receive the following errors: [Thu May 6 13:44:15 2010] [error] desc_builder.c(177) Could not create xml reader for /apps/TITAN/src/axis2/axis2c_1.6.0/axis2.xml [Thu May 6 13:44:15 2010] [error] conf_builder.c(160) Building om tree failed. Unable to continue [Thu May 6 13:44:15 2010] [error] dep_engine.c(939) Populating Axis2 Configuration failed [Thu May 6 13:44:15 2010] [error] conf_init.c(195) Loading deployment engine failed for client repository /apps/TITAN/src/axis2/axis2c_1.6.0 I do not think this is a configuration issue since it only occurs under load. Any ideas what could cause this? Thanks ahead of time.
nandika's picture

Re

Check whether you are freeing the service client object correctly. I guess this could be due to having too many file handles open for axis2.xml. Regards Nandika
joseph.potter.avnet.com's picture

So far, so good....

Looks like you are correct. I added the following lines axis2_stub_free(stub,env); axutil_env_free(env); to the mainline and error flows of my client and my initial testing has been successful. THANKS!!!!
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)