You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kun Yang (JIRA)" <ji...@apache.org> on 2014/11/13 03:39:55 UTC
[jira] [Created] (AXIS2-5677) javax.xml.ws.WebServiceException:
Unable to create AxisService for
Kun Yang created AXIS2-5677:
-------------------------------
Summary: javax.xml.ws.WebServiceException: Unable to create AxisService for <WSDL_URL>
Key: AXIS2-5677
URL: https://issues.apache.org/jira/browse/AXIS2-5677
Project: Axis2
Issue Type: Improvement
Components: jaxws
Reporter: Kun Yang
Code:
Service service =Service.create(getWsdlURL(),getServiceName());
Dispatch<OMElement> dispatch = service.createDispatch(getPortName(), OMElement.class, Mode.MESSAGE);
Error:
Caused by: javax.xml.ws.WebServiceException: Unable to create AxisService for CrmServiceSoapExport1_CrmServiceSoapHttpService.CrmServiceSoapExport1_CrmServiceSoapHttpPort
at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.setupAxisService(EndpointDescriptionImpl.java:787)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:275)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:223)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:219)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:593)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:386)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:371)
at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:156)
at org.apache.axis2.jaxws.spi.ServiceDelegate.createDispatch(ServiceDelegate.java:425)
at org.apache.axis2.jaxws.spi.ServiceDelegate.createDispatch(ServiceDelegate.java:271)
at javax.xml.ws.Service.createDispatch(Service.java:332)
Workaround:
Append below lines to etc/sysctl.conf . Then restart OS. I have tried in my linux test environment. looks work well.
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1800
net.ipv4.tcp_max_syn_backlog = 4096
Desc:
The root cause is axis consume a lot of Linux parts . And Linux system can not release ports in time.
Question:
How to fix it in code level ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org