PEtALS Forum Forum Index
All you need about PEtALS !
Forum - Website - Forge - EBM Websourcing

 
    Register    

FAQ    Mailing-lists    Search    Memberlist    Usergroups    Profile    Log in
The Exchange is terminated with bc EJB
 
Post new topic   Reply to topic    PEtALS Forum Forum Index -> PEtALS Components & Services
Author Message
hgerard
Welcome me, I'm new


Joined: 20 Nov 2008
Posts: 8
Location: Niort

PostPosted: Wed Nov 26, 2008 11:17 am  Reply with quote

Hello all

Always with my communication between the BC SOAP and the BC EJB, all is fine, i've got my response, but at the end of the inout exchange, the BC EJB (the Provider) logs :
Code:
[petals.container.components.petals-bc-ejb]-SEVERE 2008-11-26 10:27:00,554 Can't send an error acknowledgement to the co
nsumer
javax.jbi.messaging.MessagingException: The Exchange is terminated.
        at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.checkNotTerminated(MessageExchangeImpl.java:480)
        at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.setFault(MessageExchangeImpl.java:299)
        at org.ow2.petals.jbi.messaging.exchange.MessageExchangeDecorator.setFault(MessageExchangeDecorator.java:289)
        at org.ow2.petals.component.framework.message.ExchangeImpl.setFault(ExchangeImpl.java:291)
        at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processInOutAsProvider(MessageExchangePr
ocessor.java:542)
        at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processAsProvider(MessageExchangeProcess
or.java:421)
        at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.process(MessageExchangeProcessor.java:30
8)
        at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.run(MessageExchangeProcessor.java:145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


I have to say that between the two BCs, i have my own SE that changes the SCA attributs to EJB attibuts.

Do you have an idea ?
Thanks for your help.
_________________
Hervé
Back to top
View user's profile Send private message Visit poster's website
vzurczak
Member


Joined: 17 Jul 2008
Posts: 35
Location: Grenoble

PostPosted: Wed Nov 26, 2008 5:08 pm  Reply with quote

Hi. Smile

SCA attributes ? You're using the SE based on Frascati ?
Or are you transforming an SCA application into a JBI configuration ?
Sorry if it does not contribute to solve your problem, I'm just curious about the SCA use.
Back to top
View user's profile Send private message Visit poster's website
hgerard
Welcome me, I'm new


Joined: 20 Nov 2008
Posts: 8
Location: Niort

PostPosted: Wed Nov 26, 2008 5:22 pm  Reply with quote

Hi

In fact, I use SCA to compose my application "in the front" by consuming services through the ESB. The principe is
SCA -> BC SOAP <-> SE SCA <-> BC EJB ->EJB
Unfortunately, when you use SCA for calling an WebService with a "setClient" method, it has a message like this :
Code:
<setClient>
<arg0>
<firstName>titi</firstName>
<lastName>tutu</lastName>
</arg0>
</setClient>


But the BC EJB is waiting for a message like this :
Code:
<setClient>
<package.subpackage.Client>
<firstName>titi</firstName>
<lastName>tutu</lastName>
</package.souspackage.Client>
</setClient>


That's what is doing my SE SCA.
All is fine but I've got this error at the end of the communication.
_________________
Hervé
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    PEtALS Forum Forum Index -> PEtALS Components & Services
All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum