I have observed them sending a DONE message (The status changes to DONE).
Here are are the logs for request of single user. The DONE you are referring
is same or am I missing something? Also see that the validation never sets
DONE status. Is it expected as I am sending an invalid request or it should
send DONE message?
Here are the logs:
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-17:0
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>san</userName>
<password>mvelopes</password>
</updatePassword>
</request>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
DEBUG - HttpComponent - Suspending continuation for
exchange: ID:192.168.2.64-11b7861e31c-17:0
DEBUG - BeanComponent - Received exchange: status: Active,
role: provider
DEBUG - BeanComponent - Retrieved correlation id:
ID:192.168.2.64-11b7861e31c-17:0
INFO - JBIContainer - Activating component for:
[container=ServiceMix,name=ID:192.168.2.64-11b7861e31c-0:0] with service:
null component: [EMAIL PROTECTED]
INFO - ComponentMBeanImpl - Initializing component:
ID:192.168.2.64-11b7861e31c-0:0
INFO - ComponentMBeanImpl - Starting component:
ID:192.168.2.64-11b7861e31c-0:0
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-33:0
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>san</userName>
<password>mvelopes</password>
</updatePassword>
</request>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
DEBUG - CamelJbiComponent - Received exchange: status: Active,
role: provider
DEBUG - CamelJbiComponent - Retrieved correlation id:
ID:192.168.2.64-11b7861e31c-17:0
DEBUG - CamelJbiEndpoint - Received exchange: InOut[
id: ID:192.168.2.64-11b7861e31c-33:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel192-168-2-64-11b7861e31c-21-5
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>san</userName>
<password>mvelopes</password>
</updatePassword>
</request>
]
DEBUG - DefaultValidationErrorHandler - error:
org.xml.sax.SAXParseException: cvc-minLength-valid: Value 'san' with length
= '3' is not facet-valid with respect to minLength '6' for type
'userNamePasswordType'.
org.xml.sax.SAXParseException: cvc-minLength-valid: Value 'san' with length
= '3' is not facet-valid with respect to minLength '6' for type
'userNamePasswordType'.
at
com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType(XMLSchemaValidator.java:3113)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent(XMLSchemaValidator.java:3025)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement(XMLSchemaValidator.java:2178)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:814)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.endElement(ValidatorHandlerImpl.java:345)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xml.serializer.TreeWalker.endNode(TreeWalker.java:458)
at
org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:149)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.process(ValidatorImpl.java:220)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:141)
at
org.apache.camel.processor.validation.ValidatingProcessor.process(ValidatingProcessor.java:67)
at
org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:92)
at
org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:66)
at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:85)
at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
at
org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExchange(CamelJbiEndpoint.java:101)
at
org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint.java:74)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
DEBUG - DefaultValidationErrorHandler - error:
org.xml.sax.SAXParseException: cvc-type.3.1.3: The value 'san' of element
'userName' is not valid.
org.xml.sax.SAXParseException: cvc-type.3.1.3: The value 'san' of element
'userName' is not valid.
at
com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType(XMLSchemaValidator.java:3114)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent(XMLSchemaValidator.java:3025)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement(XMLSchemaValidator.java:2178)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:814)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.endElement(ValidatorHandlerImpl.java:345)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xml.serializer.TreeWalker.endNode(TreeWalker.java:458)
at
org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:149)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.process(ValidatorImpl.java:220)
at
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:141)
at
org.apache.camel.processor.validation.ValidatingProcessor.process(ValidatingProcessor.java:67)
at
org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:92)
at
org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:66)
at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:85)
at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
at
org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExchange(CamelJbiEndpoint.java:101)
at
org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint.java:74)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-gpratibha.site/45980-1217495417458/0-0. On delivery attempt: 0 caught:
org.apache.camel.processor.validation.SchemaValidationException: Validation
failed for:
[EMAIL PROTECTED]
errors: [org.xml.sax.SAXParseException: cvc-minLength-valid: Value 'san'
with length = '3' is not facet-valid with respect to minLength '6' for type
'userNamePasswordType'., org.xml.sax.SAXParseException: cvc-type.3.1.3: The
value 'san' of element 'userName' is not valid.] on the exchange:
Exchange[JbiMessage:
[EMAIL PROTECTED]:
{destination={http://servicemix.in2m.com/operations/changepassword}ValidateService,
userPrincipals=[users, director]}}]
org.apache.camel.processor.validation.SchemaValidationException: Validation
failed for:
[EMAIL PROTECTED]
errors: [org.xml.sax.SAXParseException: cvc-minLength-valid: Value 'san'
with length = '3' is not facet-valid with respect to minLength '6' for type
'userNamePasswordType'., org.xml.sax.SAXParseException: cvc-type.3.1.3: The
value 'san' of element 'userName' is not valid.] on the exchange:
Exchange[JbiMessage:
[EMAIL PROTECTED]:
{destination={http://servicemix.in2m.com/operations/changepassword}ValidateService,
userPrincipals=[users, director]}}]
at
org.apache.camel.processor.validation.DefaultValidationErrorHandler.handleErrors(DefaultValidationErrorHandler.java:77)
at
org.apache.camel.processor.validation.ValidatingProcessor.process(ValidatingProcessor.java:69)
at
org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:92)
at
org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:66)
at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:85)
at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
at
org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExchange(CamelJbiEndpoint.java:101)
at
org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint.java:74)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
DEBUG - DefaultExceptionPolicyStrategy - Finding best suited exception
policy for thrown exception
org.apache.camel.processor.validation.SchemaValidationException
DEBUG - DefaultExceptionPolicyStrategy - Using Exception[ [class
org.apache.camel.processor.validation.SchemaValidationException] ->
[SetBody[ Expression[null]],
To[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out]]]
as the exception policy
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-4:0
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
in: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
DEBUG - BeanComponent - Received exchange: status: Active,
role: provider
DEBUG - BeanComponent - Retrieved correlation id: null
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-4:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
endpoint: responeGeneratorEndpoint
in: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-4:0
status: Done
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
endpoint: responeGeneratorEndpoint
in: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-gpratibha.site/45980-1217495417458/0-0. Handled by the failure processor:
Pipeline[setBody(<response><status>2000</status><message>Validation
Error</message></response>),
sendTo(Endpoint[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out])]
DEBUG - Pipeline - Message exchange has failed so
breaking out of pipeline: Exchange[JbiMessage:
[EMAIL PROTECTED]:
{destination={http://servicemix.in2m.com/operations/changepassword}ValidateService,
org.apache.camel.Redelivered=true, userPrincipals=[users, director],
org.apache.camel.RedeliveryCounter=1}}] exception:
org.apache.camel.processor.validation.SchemaValidationException: Validation
failed for:
[EMAIL PROTECTED]
errors: [org.xml.sax.SAXParseException: cvc-minLength-valid: Value 'san'
with length = '3' is not facet-valid with respect to minLength '6' for type
'userNamePasswordType'., org.xml.sax.SAXParseException: cvc-type.3.1.3: The
value 'san' of element 'userName' is not valid.] on the exchange:
Exchange[JbiMessage:
[EMAIL PROTECTED]:
{destination={http://servicemix.in2m.com/operations/changepassword}ValidateService,
userPrincipals=[users, director]}}] fault: null
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-33:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel192-168-2-64-11b7861e31c-21-5
in: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
DEBUG - BeanComponent - Received exchange: status: Done,
role: provider
DEBUG - BeanComponent - Retrieved correlation id: null
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-17:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
endpoint: messageEnricherEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>san</userName>
<password>mvelopes</password>
</updatePassword>
</request>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
DEBUG - HttpComponent - Received exchange: status: Active,
role: consumer
DEBUG - HttpComponent - Retrieved correlation id:
ID:192.168.2.64-11b7861e31c-17:0
DEBUG - HttpComponent - Resuming continuation for exchange:
ID:192.168.2.64-11b7861e31c-17:0
DEBUG - JettyContextManager - Dispatching job:
[EMAIL PROTECTED],pending,resumed
DEBUG - HttpComponent - Receiving HTTP request: POST
/changepassword/ HTTP/1.1
Authorization: Basic ZGlyZWN0b3I6ZGlyZWN0b3JwYXNz
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 192.168.2.64:8192
Content-Length: 176
#### message on NMR======: InOut[
id: ID:192.168.2.64-11b7861e31c-17:0
status: Done
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
endpoint: messageEnricherEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>san</userName>
<password>mvelopes</password>
</updatePassword>
</request>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>2000</status><message>Validation
Error</message></response>
]
#### message on NMR service======:
{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
DEBUG - BeanComponent - Received exchange: status: Done,
role: provider
DEBUG - BeanComponent - Retrieved correlation id:
ID:192.168.2.64-11b7861e31c-17:0
DEBUG - JettyContextManager - Dispatching job:
[EMAIL PROTECTED],io=1,w=true,b=false|false]
--
View this message in context:
http://www.nabble.com/High-memory-usage-and-subsequent-out-of-memory-issue-for-concurrent-users-tp18666527p18750469.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.