You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by se...@gmx.de on 2007/03/28 10:34:13 UTC

java.net.BindException

Hi,

during stress test of ADB service stubs, I got a java.net.BindException: "Address already in use: JVM_Bind". I have already read the article at http://wso2.org/library/165, but some things are still a bit unclear. 

I just want to call a service without asynchronous receiving. Every thread gets his own instance of stub (stored in commons pool) due to thread-safety.

- How do I disable Client side Http server? Just uncomment <module ref="addressing"/> in axis2.xml? I have already tried this, but without effect. 

- In order to use axis.xml for stubs, do I simply have to put this file into classpath?

- Do I have to call cleanup() of stubs before the stub is finalized? If multiple stubs for the same service are used, will this call affect the other stubs?

Thanks for answers!

Christoph
-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


org.xml.sax.SAXException: Invalid element in ARWSClient.CreateOutputMap - Request_ID

Posted by Ding D <di...@yahoo.com>.
Hi,
I am trying to access WSDL created on remedy system ,
I am getting this error can any one help me on this?
My enviroment:
Axis 1.4,java 1.5
Please let me know if you need anything else.
Thanks,
Ding

Mar 20, 2007 7:13:47 AM org.apache.axis.client.Call
invoke
SEVERE: Exception:
org.xml.sax.SAXException: Invalid element in
ARWSClient.CreateOutputMap - Request_ID
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
        at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at
org.apache.axis.client.Call.invoke(Call.java:2467)
        at
org.apache.axis.client.Call.invoke(Call.java:2366)
        at
org.apache.axis.client.Call.invoke(Call.java:1812)
        at
ARWSClient.IHD_RemedyWebServiceSoapBindingStub.opCreate(IHD_RemedyWebServiceSoapBindingStub.java:291)
        at
ARWSClient.TestClient.main(TestClient.java:22)
Exception in thread "main" AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: Invalid
element in ARWSClient.CreateOutputMap - Request_ID
 faultActor:
 faultNode:
 faultDetail:
       
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Invalid element in ARWSClient.CreateOutputMap - Req
uest_ID
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
        at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at
org.apache.axis.client.Call.invoke(Call.java:2467)
        at
org.apache.axis.client.Call.invoke(Call.java:2366)
        at
org.apache.axis.client.Call.invoke(Call.java:1812)
        at
ARWSClient.IHD_RemedyWebServiceSoapBindingStub.opCreate(IHD_RemedyWebServiceSoapBindingStub.java:291)
        at
ARWSClient.TestClient.main(TestClient.java:22)

        {http://xml.apache.org/axis/}hostname:DINGM20

org.xml.sax.SAXException: Invalid element in
ARWSClient.CreateOutputMap - Request_ID
        at
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at
org.apache.axis.client.Call.invoke(Call.java:2470)
        at
org.apache.axis.client.Call.invoke(Call.java:2366)
        at
org.apache.axis.client.Call.invoke(Call.java:1812)
        at
ARWSClient.IHD_RemedyWebServiceSoapBindingStub.opCreate(IHD_RemedyWebServiceSoapBindingStub.java:291)
        at
ARWSClient.TestClient.main(TestClient.java:22)
Caused by: org.xml.sax.SAXException: Invalid element
in ARWSClient.CreateOutputMap - Request_ID
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
        at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at
org.apache.axis.client.Call.invoke(Call.java:2467)
        ... 4 more



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front