incubator-agila-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Ling <lin...@libero.it>
Subject Problem at invoke end
Date Wed, 16 Nov 2005 17:21:12 GMT
Hi,
now "invoke" send the message to assessorService,
but after the invoke a "receive" cannot work.

------------------- process snippet --------------
[...]
<!-- Invoke assessment service -->
    <invoke name="assessmentRequestInvoke"
            partnerLink="assessorPL"
            portType="ns:assessorServicePT"
            operation="assessmentRequest"
            inputVariable="assessmentRequestVariable"/>
           
    <!-- Wait assessor response -->               
    <receive name="waitAssessmentResponse"
        partnerLink="assessorPL"
        portType="ns:assessmentReceiverPT"
        operation="sendAssessmentResponse"
        variable="assessmentResponseVariable"/>
[...]

Maybe a SAXParserException is thrown at "invoke" end.
The strange thing is that the assessorService receive the right message 
as "invoke" works well.
Is possible that the exception causes "receive" don't work? (No process 
instance (recipient) found, that is waiting for message)

---------------------------- The Exception (from agila logs) 
-----------------------------
[...]
2005-11-16 17:56:35,173 DEBUG http-8080-Processor23 
org.apache.agila.bpel.wsa.EngineWSA - Sending it to (assessorPL, 
assessmentReceiverPT, http://www.apache.org/agila, sendAssessmentResponse)
2005-11-16 17:56:35,427 INFO http-8080-Processor23 
org.apache.agila.bpel.engine.common.persistence.DBSessionManager - 
Beginning transaction with thread : Thread[http-8080-Processor23,5,main] 
and session net.sf.hibernate.impl.SessionImpl@1a6ac39
2005-11-16 17:56:35,466 DEBUG http-8080-Processor23 
org.apache.agila.bpel.engine.priv.AgilaEngineImpl - Finding up which 
activity instance the message is targeted at.
2005-11-16 17:56:35,529 DEBUG http-8080-Processor23 
org.apache.agila.bpel.engine.priv.messaging.impl.MessageControllerImpl - 
Step 5.
2005-11-16 17:56:35,532 DEBUG http-8080-Processor23 
org.apache.agila.bpel.engine.priv.AgilaEngineImpl - An activity instance 
has been found.
2005-11-16 17:56:35,979 INFO http-8080-Processor23 
org.apache.agila.bpel.engine.common.persistence.DBSessionManager - 
Commiting transaction with thread : Thread[http-8080-Processor23,5,main]
2005-11-16 17:56:35,982 WARN http-8080-Processor23 
org.apache.agila.bpel.engine.priv.AgilaEngineImpl - No process instance 
(recipient) found, that is waiting for message.
2005-11-16 17:56:35,985 DEBUG http-8080-Processor23 
org.apache.agila.bpel.wsa.EngineWSA - Producing reply: <?xml 
version="1.0" encoding="UTF-8"?>
<message><return-code>1</return-code></message>
2005-11-16 17:56:38,550 INFO Thread-46 
org.apache.agila.bpel.engine.common.persistence.DBSessionManager - 
Commiting transaction with thread : Thread[Thread-46,5,main]
2005-11-16 17:56:39,235 ERROR Thread-47 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker - Could 
not send message to assessorServicePT : <?xml version="1.0" 
encoding="UTF-8"?>
<assessmentRequest 
xmlns="http://davideling.altervista.org/assessorService/"><assessmentRequestMessage

xmlns=""><name>Davide</name><surname>Ling</surname><address><street>Piazza

Cristoforo 
Colombo</street><number>156</number><city>Genova</city><zip>20089</zip><country>Italy</country></address><taxNumber>123456789abcdefg</taxNumber><cardNumber>123456789abcdefg</cardNumber><totalPrice>350.0</totalPrice></assessmentRequestMessage></assessmentRequest>
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXParseException: Premature end of file.
 faultActor:
 faultNode:
 faultDetail:
    
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: 
Premature end of file.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
    at org.apache.axis.client.Call.invoke(Call.java:2737)
    at org.apache.axis.client.Call.invoke(Call.java:1773)
    at 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker.sendMessage(WSMessageBroker.java:336)
    at 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker.syncSend(WSMessageBroker.java:130)
    at 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker$1.run(WSMessageBroker.java:94)
    at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
    at java.lang.Thread.run(Thread.java:595)

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

org.xml.sax.SAXParseException: Premature end of file.
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
    at org.apache.axis.client.Call.invoke(Call.java:2737)
    at org.apache.axis.client.Call.invoke(Call.java:1773)
    at 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker.sendMessage(WSMessageBroker.java:336)
    at 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker.syncSend(WSMessageBroker.java:130)
    at 
org.apache.agila.bpel.engine.priv.messaging.impl.WSMessageBroker$1.run(WSMessageBroker.java:94)
    at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
    at java.lang.Thread.run(Thread.java:595)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    ... 11 more

-- 
Davide Ling
Sito personale - http://davideling.altervista.org


Mime
View raw message