Petals Sample Clock

A fault is set in the message exchange on operation "time" with MEP "InOnly"

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.2
  • Fix Version/s: 1.7.3, 1.8.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    If the operation "time" is invoked with MEP "InOnly", a fault is returned. That is not compliant with the MEP "InOnly". That's why the following error occurs:

    sample-0 2014/08/11 12:07:21,675 GMT+0200 INFO [Petals.Container.Components.petals-sample-client] : SampleClient try to send
    sample-0 2014/08/11 12:07:21,716 GMT+0200 MONIT [Petals.Container.Components.petals-sample-clock] : traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://petals.ow2.org}Clock', flowStepServiceName = '{http://petals.ow2.org}ClockService', flowStepOperationName = 'time', flowStepEndpointName = 'edpt-3d970080-213f-11e4-ba1a-002556e00702', flowPreviousStepId = null
    sample-0 2014/08/11 12:07:21,739 GMT+0200 SEVERE [Petals.Container.Components.petals-sample-clock] : The MessageExchange state does not allow this operation.
    javax.jbi.messaging.MessagingException: The MessageExchange state does not allow this operation.
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.setStatus(MessageExchangeImpl.java:506)
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper.setStatus(MessageExchangeWrapper.java:441)
    	at org.ow2.petals.microkernel.jbi.messaging.exchange.PersistedMessageExchangeWrapper.setStatus(PersistedMessageExchangeWrapper.java:355)
    	at org.ow2.petals.component.framework.message.ExchangeImpl.setStatus(ExchangeImpl.java:1365)
    	at org.ow2.petals.component.framework.message.ExchangeImpl.setDoneStatus(ExchangeImpl.java:891)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOnlyAsProvider(MessageExchangeProcessor.java:612)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:500)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:342)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:257)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)

    It is better to set an error.

    Show
    If the operation "time" is invoked with MEP "InOnly", a fault is returned. That is not compliant with the MEP "InOnly". That's why the following error occurs:
    sample-0 2014/08/11 12:07:21,675 GMT+0200 INFO [Petals.Container.Components.petals-sample-client] : SampleClient try to send
    sample-0 2014/08/11 12:07:21,716 GMT+0200 MONIT [Petals.Container.Components.petals-sample-clock] : traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://petals.ow2.org}Clock', flowStepServiceName = '{http://petals.ow2.org}ClockService', flowStepOperationName = 'time', flowStepEndpointName = 'edpt-3d970080-213f-11e4-ba1a-002556e00702', flowPreviousStepId = null
    sample-0 2014/08/11 12:07:21,739 GMT+0200 SEVERE [Petals.Container.Components.petals-sample-clock] : The MessageExchange state does not allow this operation.
    javax.jbi.messaging.MessagingException: The MessageExchange state does not allow this operation.
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.setStatus(MessageExchangeImpl.java:506)
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper.setStatus(MessageExchangeWrapper.java:441)
    	at org.ow2.petals.microkernel.jbi.messaging.exchange.PersistedMessageExchangeWrapper.setStatus(PersistedMessageExchangeWrapper.java:355)
    	at org.ow2.petals.component.framework.message.ExchangeImpl.setStatus(ExchangeImpl.java:1365)
    	at org.ow2.petals.component.framework.message.ExchangeImpl.setDoneStatus(ExchangeImpl.java:891)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOnlyAsProvider(MessageExchangeProcessor.java:612)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:500)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:342)
    	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:257)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
    It is better to set an error.
  • Environment:
    -

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
35s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:46:03 +0200
Open Open In Progress In Progress
17s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:46:20 +0200
In Progress In Progress Resolved Resolved
3m 54s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:50:14 +0200
Resolved Resolved Open Open
15s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 12:50:29 +0200
Open Open In Progress In Progress
12m 12s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 13:02:41 +0200
In Progress In Progress Resolved Resolved
21s
1
Christophe DENEUX
Mon, 11 Aug 2014 - 13:03:02 +0200

People

Dates

  • Created:
    Mon, 11 Aug 2014 - 12:45:28 +0200
    Updated:
    Mon, 11 Aug 2014 - 13:03:02 +0200
    Resolved:
    Mon, 11 Aug 2014 - 13:03:02 +0200