Xfire Nested exception is org.codehaus.xfire.fault.XFireFault:Couldn ' t send message.

Source: Internet
Author: User
Org.codehaus.xfire.XFireRuntimeException:Could not invoke service. Nested exception is org.codehaus.xfire.fault.XFireFault:Couldn ' t send message.
ORG.CODEHAUS.XFIRE.FAULT.XFIREFAULT:COULDN ' t send message.
At Org.codehaus.xfire.fault.XFireFault.createFault (xfirefault.java:89)
At Org.codehaus.xfire.handler.OutMessageSender.invoke (outmessagesender.java:30)

At Org.codehaus.xfire.handler.HandlerPipeline.invoke (handlerpipeline.java:131)


When using Xfire to make the WebService interface, use HTTP://LOCALHOST:8080/WEBSERVICE/SERVICES/DEMO?WSDL to access the

However, the interface server is not connected during the call.

This link is not accessible after using IP access discovery.

Workaround:

1. Use the cmd command netstat-n to view the Tomcat address bindings, found to be bound to:: 1, IPv6.

2. Configure Tomcat Server.xml, change the connector configuration, the port does not change, plus address= "0.0.0.0" to bind to IPv4, as follows (for reference to the solution) <1> use cmd command netstat-n, View Tomcat address bindings, found to be bound to:: 1, IPV6; <2> Configure Tomcat Server.xml, change Connector configuration, port does not need to change, plus address= "0.0.0.0" to bind it to IPv4 <connector port= "8080" Maxhttpheadersize= "8192" address= "0.0.0.0" maxthreads= "," minsparethreads= "maxsparethreads=" "75"
Enablelookups= "false" redirectport= "8443" acceptcount= "connectiontimeout=" 20000 "true"/ > <3> restart Tomcat, use Netstat-n again to view Tomcat address bindings, changed to IPV4.
This problem can be solved. (This problem seems to exist TOMCAT5.5)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.