axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Aguia <aag...@yahoo.com>
Subject too many files open
Date Wed, 09 Sep 2009 21:11:39 GMT
Hi,
Im having some problems using axis2 0.94, jboss 4.0.2. After calling serveral times the web
service the system tell me that I have to many files open. I tried a lsof -p in my system
and this is what I get

java    24444 jboss  571u   REG              253,0     8437 15908886
/home/jboss/.axis2/axis2.xml
java    24444 jboss  589r   REG              253,0     8437 15908886
/home/jboss/.axis2/axis2.xml
java    24444 jboss  590r   REG              253,0     8437 15908886
/home/jboss/.axis2/axis2.xml
java    24444 jboss  591r   REG              253,0     8437 15908886
/home/jboss/.axis2/axis2.xml
java    24444 jboss  592r   REG              253,0     8437 15908886
/home/jboss/.axis2/axis2.xml

In the code I dont use any ConfigurationContext Im using a simple invocation method

            EndpointReference targetEPR = new EndpointReference(URL);
            OMElement metsd = getTextoBuscarMElement(cadenaBusqueda,tipo);
            Options options = new Options();
            options.setTo(targetEPR);
            options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
            options.setProperty(HTTPConstants.SO_TIMEOUT,new Integer(TIMEOUT));
            options.setProperty(HTTPConstants.CONNECTION_TIMEOUT,new Integer(TIMEOUT));
            options.setSoapAction(nombreServicio);
            //Blocking invocation
            ServiceClient sender = new ServiceClient();
            sender.setOptions(options);
            resultado = sender.sendReceive(metsd);

My java version is:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

 
Thanks if anyone could help me.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
View raw message