Hi Carl,
We have written a rule and provided the xml as given in Grid.log (18 Sep
2013 17:19:04,612 INFO JMSMonitorAdapter : Sending event to adapter manager
:)
<message>
<destination>DistributedReplyToQueue</destination>
<header>
<JMSDeliveryMode>2</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSPriority>4</JMSPriority>
<JMSMessageID>ID:<204539.1379501249462.0></JMSMessageID>
<JMSTimestamp>1379501249462</JMSTimestamp>
<JMSCorrelationID>111</JMSCorrelationID>
<JMSType>JMS monitor</JMSType>
<JMSRedelivered>false</JMSRedelivered>
<character-set>ISO-8859-2</character-set>
<JMSReplyTo />
<properties>
<property>
<name>JMSXDeliveryCount</name>
<value type="Integer">1</value>
</property>
</properties>
</header>
<body />
</message>
with the rule transformation as string(//destination) =
"DistributedReplyToQueue"
We have created a process which would be getting the value of Context item
inputevent from rule and fetching the correlationid and writing it to a text
file using file adapter.
We are able to test the process successfully when we provide the above xml
for inputevent but as soon as when we activate the module on the grid we get
the following error:
Unable to locate configuration for XPath
"/config/grid/grid/consumer-metrics-map" as shown in the grid.log below
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager Sending message
ID:<204539.1379504944543.0> from DistributedReplyToQueue to GRID
18 Sep 2013 17:19:04,612 DEBUG JMSMonitorAdapter : Sending message :
<message><destination>DistributedReplyToQueue</destination><header><JMSDeliveryMode>2</JMSDeliveryMode><JMSExpiration>0</JMSExpiration><JMSPriority>4</JMSPriority><JMSMessageID>ID:<204539.1379504944543.0></JMSMessageID><JMSTimestamp>1379504944543</JMSTimestamp><JMSCorrelationID>234</JMSCorrelationID><JMSType>JMS</JMSType><JMSRedelivered>false</JMSRedelivered><character-set>ISO-8859-2</character-set><JMSReplyTo
/><properties><property><name>JMSXDeliveryCount</name><value
type="Integer">1</value></property></properties></header><body /></message>
18 Sep 2013 17:19:04,612 INFO JMSMonitorAdapter : Sending event to adapter
manager : <message>
<destination>DistributedReplyToQueue</destination>
<header>
<JMSDeliveryMode>2</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSPriority>4</JMSPriority>
<JMSMessageID>ID:<204539.1379504944543.0></JMSMessageID>
<JMSTimestamp>1379504944543</JMSTimestamp>
<JMSCorrelationID>234</JMSCorrelationID>
<JMSType>JMS</JMSType>
<JMSRedelivered>false</JMSRedelivered>
<character-set>ISO-8859-2</character-set>
<JMSReplyTo />
<properties>
<property>
<name>JMSXDeliveryCount</name>
<value type="Integer">1</value>
</property>
</properties>
</header>
<body />
</message>
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager Average Time To Send
Message[Total Msgs: 9]: 0 msecs
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager Message count: 1; Completed
processing message from DistributedReplyToQueue
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager Acknowledging message
ID:<204539.1379504944543.0>
18 Sep 2013 17:19:04,612 INFO AdapterManager : ADAPTER_MANAGER:
JMSMonitorAdapter sent event: jms message received event
18 Sep 2013 17:19:04,612 DEBUG AdapterProxy : Attempting to locate a peer
with a running Activity Processor instance to process a rules job...
18 Sep 2013 17:19:04,612 DEBUG AdapterProxy : Located a running instance
of the Activity Processor on peer "CDP1". Attempting to send a submit rules
job request...
18 Sep 2013 17:19:04,612 DEBUG AdapterProxy : Successfully submitted
rules job to peer "CDP1".
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5442] - Setting
state from [READY] to [ASSIGNED] for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5442] - Notifying
observers of state change from [READY] to [ASSIGNED] for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ArchiveConfiguration : Attempting to load
configuration from XPath "/config/grid/grid/consumer-metrics-map".
18 Sep 2013 17:19:04,612 INFO AdapterManager : ADAPTER_MANAGER: Submitted
event to local Activity Processor.
18 Sep 2013 17:19:04,612 INFO ArchiveConfiguration : Unable to locate
configuration for XPath "/config/grid/grid/consumer-metrics-map".
18 Sep 2013 17:19:04,612 DEBUG Configuration : Registering Configuration
Observer
(com.realops.foundation.metrics.GridMetricsCollectOptionConfiguration@26f7ec09).
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager MsgCount: 1; Elapsed time: 2656
msecs
18 Sep 2013 17:19:04,612 INFO DestinationManager : Maximum allowed message
rate: 10 messages per 1000 msecs
18 Sep 2013 17:19:04,612 DEBUG ArchiveConfiguration : Attempting to load
configuration from XPath "/config/grid/grid/logging".
18 Sep 2013 17:19:04,612 INFO DestinationManager : Message count: 1;
elapsed time: 2,656 msecs
18 Sep 2013 17:19:04,612 INFO DestinationManager : Computed sleep time: 0
msecs
18 Sep 2013 17:19:04,612 INFO DestinationManager :
DistributedReplyToQueue-destination-manager Sleeping for: 0 msecs
18 Sep 2013 17:19:04,612 DEBUG ArchiveConfiguration : Successfully loaded
configuration for XPath "/config/grid/grid/logging".
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager woke up!
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager Resetting time and message
counters
18 Sep 2013 17:19:04,612 DEBUG DestinationManager :
DistributedReplyToQueue-destination-manager Number of messages processed in
this interval: 1; Interval Time: 2656 msecs
18 Sep 2013 17:19:04,612 INFO DestinationManager :
DistributedReplyToQueue-destination-manager receiving message with timeout:
60,000
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Clearing
the administrative pause expiry if job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612] has expired
...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Clearing
the administrative pause expiry if job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612] has expired
...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Clearing
the administrative pause expiry if job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612] has expired
...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - ActivityJob
[JMSPOCrule-10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612.POCJMSMonitor,
id=10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612] about to be
submitted to the Job Manager.
18 Sep 2013 17:19:04,612 DEBUG JobManagerComponent : Job [ActivityJob
(id=10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,
name=JMSPOCrule-10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,
state=READY)] was submitted for processing.
18 Sep 2013 17:19:04,612 DEBUG DefaultLocalJobManager : [Thread 5443] - Job
[ActivityJob
(id=10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,
name=JMSPOCrule-10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,
state=READY)] was submitted for processing.
18 Sep 2013 17:19:04,612 DEBUG DefaultSharedJobManager : Requesting resource
"job-manager-jobs-79" for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG DefaultJobStore : Got request to put jobs in
the store : [[ActivityJob
(id=10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,
name=JMSPOCrule-10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,
state=READY)]]
18 Sep 2013 17:19:04,612 DEBUG DefaultSharedJobManager : Attempting to
submit jobs...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Clearing
the administrative pause expiry if job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612] has expired
...
18 Sep 2013 17:19:04,612 DEBUG DefaultJobStore : Got request to get jobs
from the store.
18 Sep 2013 17:19:04,612 DEBUG DefaultLocalJobManager : [Thread 5443] -
Successfully enqueued job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612].
18 Sep 2013 17:19:04,612 DEBUG DefaultSharedJobManager : Releasing resource
"job-manager-jobs-79" for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG DefaultLocalJobManager : [Thread 286] -
Pending Jobs Monitor woken. Processing is currently NOT paused. In flight
capacity is [512] and there are [1] pending jobs available.
18 Sep 2013 17:19:04,612 DEBUG DefaultLocalJobManager : [Thread 286] -
Pending Jobs Monitor woken with available in flight capacity. Attempting to
retrieve pending jobs...
18 Sep 2013 17:19:04,612 DEBUG DefaultJobStore : Got request to get jobs
from the store.
18 Sep 2013 17:19:04,612 DEBUG DefaultLocalJobManager : [Thread 286] -
Pulled [1] jobs from the pending queue for processing, upping the
inFlightJobs count to [1]
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Clearing
the administrative pause expiry if job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612] has expired
...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Setting
state from [ASSIGNED] to [COMPLETED] for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5443] - Notifying
observers of state change from [ASSIGNED] to [COMPLETED] for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb2-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5446] - Setting
state from [READY] to [ASSIGNED] for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ActivityJob : [Thread 5446] - Notifying
observers of state change from [READY] to [ASSIGNED] for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG DefaultLocalJobManager : [Thread 5446]
Received job event notification : [StateUpdatedJobEvent
(jobId=10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612,stateInfo=[AssignedStateInfo
(assignedTime=1379504944612,assignedPeerName=CDP1)])]
18 Sep 2013 17:19:04,612 DEBUG DefaultJobStore : Got request to get a job
from the store for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612].
18 Sep 2013 17:19:04,612 DEBUG DefaultSharedJobManager : Requesting resource
"job-manager-jobs-79" for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ArchiveConfiguration : Attempting to load
configuration from XPath "/config/grid/grid/logging".
18 Sep 2013 17:19:04,612 DEBUG DefaultSharedJobManager : Jobs were assigned
to the local peer. Sending ASSIGN state update...
18 Sep 2013 17:19:04,612 DEBUG ArchiveConfiguration : Successfully loaded
configuration for XPath "/config/grid/grid/logging".
18 Sep 2013 17:19:04,612 DEBUG DefaultSharedJobManager : Releasing resource
"job-manager-jobs-79" for job ID
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612]...
18 Sep 2013 17:19:04,612 DEBUG ArchiveConfiguration : Attempting to load
configuration from XPath "/config/grid/grid/consumer-metrics-map".
18 Sep 2013 17:19:04,628 INFO ArchiveConfiguration : Unable to locate
configuration for XPath "/config/grid/grid/consumer-metrics-map".
18 Sep 2013 17:19:04,628 DEBUG Configuration : Registering Configuration
Observer
(com.realops.foundation.metrics.GridMetricsCollectOptionConfiguration@6ff96ae7).
18 Sep 2013 17:19:04,628 DEBUG ArchiveConfiguration : Attempting to load
configuration from XPath "/config/grid/grid/logging".
18 Sep 2013 17:19:04,628 DEBUG ArchiveConfiguration : Successfully loaded
configuration for XPath "/config/grid/grid/logging".
18 Sep 2013 17:19:04,628 DEBUG ActivityJob : [Thread 5449] - Clearing
the administrative pause expiry if job
[10e951e181756736:-2b1b6d7c:14130aaf06a:-7ffb3-1379504944612] has expired
...
Thanks,
Saurabh.
--
View this message in context:
http://ars-action-request-system.1.n7.nabble.com/JMSMonitorAdapter-Error-in-AO-A-request-was-sent-to-a-remote-peer-and-a-response-was-not-received-prt-tp112117p112225.html
Sent from the ARS (Action Request System) mailing list archive at Nabble.com.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"