axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: [axis2] Unexpected character 'E' (code 69) in prolog; expected '<'
Date Fri, 08 Feb 2008 10:20:25 GMT
Asankha,

I've created https://issues.apache.org/jira/browse/AXIS2-3496 for the
errors I've mentioned in my previous email.

Michele

On Fri, 2008-02-08 at 09:20 +0000, Michele Mazzucco wrote:
> On 7 Feb 2008, at 16:44, Asankha C. Perera wrote:
> 
> > Seems like you are receiving an HTML response to a SOAP query..
> >
> > This issue is fixed on the latest Synapse transport - but not  
> > available in the code of Axis2 1.3
> 
> 
> Asankha,
> 
> using tcmon I've found the message which generates the error
> 
> POST /axis2/services/StreamRoutingService HTTP/1.0
> Content-Type: application/soap+xml; charset=UTF-8;  
> action="urn:addStream"
> User-Agent: Axis2
> Host: *****:8081
> Content-Length: 574
> 
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope  
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"  
> xmlns:wsa="http://www.w3.org/2005/08/ 
> addressing"><soapenv:Header><wsa:To>http://****:8081/axis2/services/ 
> StreamRoutingService</wsa:To><wsa:MessageID>urn:uuid: 
> 488847552774A643381202399230874</ 
> wsa:MessageID><wsa:Action>urn:addStream</wsa:Action></ 
> soapenv:Header><soapenv:Body><stream:addStream xmlns:stream="http:// 
> ncl.ac.uk/qosp"><service>ServiceOne</service><gamma>0.4</ 
> gamma><length>50</length></stream:addStream></soapenv:Body></

> soapenv:Envelope>
> 
> 
> HTTP/1.0 500 Internal Server Error
> Content-Type: text/xml
> Date: Thu, 07 Feb 2008 15:45:36 GMT
> Server: Axis2-HttpComponents-NIO
> Connection: Close
> 
> Error processing POST request
> 
> 
> 
> 
> Furthermore, but I don't know whether the two errors are related or  
> not, I've found this issue too
>   - Client side (using commons sender + NIO listener)
> 
> ERROR 21:53:44,422 (Callback.java:94) - Worker ServiceTwo stream 269
>       [java] org.apache.axis2.AxisFault: Transport error: 500 Error:  
> Internal Server Error
>       [java]     at  
> org.apache.axis2.transport.http.HTTPSender.handleResponse 
> (HTTPSender.java:293)
>       [java]     at  
> org.apache.axis2.transport.http.HTTPSender.sendViaPost 
> (HTTPSender.java:192)
>       [java]     at org.apache.axis2.transport.http.HTTPSender.send 
> (HTTPSender.java:77)
>       [java]     at  
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW 
> ithCommons(CommonsHTTPTransportSender.java:327)
>       [java]     at  
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke 
> (CommonsHTTPTransportSender.java:206)
>       [java]     at org.apache.axis2.engine.AxisEngine 
> $TransportNonBlockingInvocationWorker.run(AxisEngine.java:516)
>       [java]     at  
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:665)
>       [java]     at  
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:690)
>       [java]     at java.lang.Thread.run(Thread.java:613)
>       [java] ERROR 21:53:44,422 (Callback.java:94) - Worker  
> ServiceTwo stream 269
>       [java] org.apache.axis2.AxisFault: Transport error: 500 Error:  
> Internal Server Error
>       [java]     at  
> org.apache.axis2.transport.http.HTTPSender.handleResponse 
> (HTTPSender.java:293)
>       [java]     at  
> org.apache.axis2.transport.http.HTTPSender.sendViaPost 
> (HTTPSender.java:192)
>       [java]     at org.apache.axis2.transport.http.HTTPSender.send 
> (HTTPSender.java:77)
>       [java]     at  
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW 
> ithCommons(CommonsHTTPTransportSender.java:327)
>       [java]     at  
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke 
> (CommonsHTTPTransportSender.java:206)
>       [java]     at org.apache.axis2.engine.AxisEngine 
> $TransportNonBlockingInvocationWorker.run(AxisEngine.java:516)
>       [java]     at  
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:665)
>       [java]     at  
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:690)
>       [java]     at java.lang.Thread.run(Thread.java:613)
> 
> where Callback.java:94 is the onError() method of AxisCalback
> 
> 
> - Server side (using NIO sender/listener)
> ERROR 21:52:09,329 (ServerWorker.java:421) - Error processing POST  
> request
> org.apache.axis2.AxisFault: Service ServiceOne, stream not found for  
> cookie 269
>          at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>          at org.apache.axis2.AxisFault.makeFault(AxisFault.java:406)
>          at  
> org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusinessLog 
> ic(RawXMLINOnlyMessageReceiver.java:94)
>          at org.apache.axis2.receivers.AbstractMessageReceiver.receive 
> (AbstractMessageReceiver.java:96)
>          at org.apache.axis2.engine.AxisEngine.receive 
> (AxisEngine.java:145)
>          at  
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques 
> t(HTTPTransportUtils.java:275)
>          at org.apache.axis2.transport.nhttp.ServerWorker.processPost 
> (ServerWorker.java:207)
>          at org.apache.axis2.transport.nhttp.ServerWorker.run 
> (ServerWorker.java:171)
>          at  
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:665)
>          at  
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:690)
>          at java.lang.Thread.run(Thread.java:595)
> Caused by:  
> ncl.qosp.controller.policies.admission.streams.StreamNotFoundException:  
> Service ServiceOne, stream not found for cookie 269
>          at  
> ncl.qosp.controller.policies.admission.streams.State.getStream 
> (State.java:583)
>          at  
> ncl.qosp.controller.policies.admission.streams.State.arrival 
> (State.java:358)
>          at  
> ncl.qosp.controller.policies.admission.streams.StreamQueueImpl.queueIfNe 
> eded(StreamQueueImpl.java:337)
>          at  
> ncl.qosp.controller.service.streams.StreamServiceHandlerImpl.queue 
> (StreamServiceHandlerImpl.java:506)
>          at  
> ncl.qosp.controller.service.streams.StreamServiceHandlerImpl.queue 
> (StreamServiceHandlerImpl.java:49)
>          at  
> ncl.qosp.controller.dispatcher.streams.StreamDispatcherImpl.queue 
> (StreamDispatcherImpl.java:726)
>          at ncl.qosp.controller.streams.StreamRoutingService.forward 
> (StreamRoutingService.java:538)
>          at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
>          at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:585)
>          at  
> org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusinessLog 
> ic(RawXMLINOnlyMessageReceiver.java:90)
>          ... 8 more
> 
> 
> 
> Michele
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 


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


Mime
View raw message