Need Depsparate help in Getting Started

6 views
Skip to first unread message

Narasimha Tadepalli

unread,
Jun 3, 2009, 4:03:35 PM6/3/09
to lifegu...@googlegroups.com


Dear All

        I am getting below exception while trying the ingest.sh. I couldn't able to understand what could be the problem. Any help would be greatly appreciated.

Thanks
Rao


[root@domU-12-31-39-00-7D-D3 lifeguard-0.2]# ./ingest.sh Project batch001 myBucket conf/sampleWorkflow.xml README
Jun 3, 2009 11:18:48 AM com.directthought.lifeguard.util.QueueUtil getQueueOrElse
SEVERE: Error access message queue, Retrying.
com.xerox.amazonws.sqs.SQSException: Client error :
        at com.xerox.amazonws.sqs.QueueService.getOrCreateMessageQueue(QueueService.java:132)
        at com.directthought.lifeguard.util.QueueUtil.getQueueOrElse(QueueUtil.java:18)
        at com.directthought.lifeguard.IngestorBase.ingest(IngestorBase.java:77)
        at com.directthought.lifeguard.ingestor.FileIngestor.main(FileIngestor.java:51)
Caused by: org.apache.commons.httpclient.HttpException: Client error :
        at com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnection.java:172)
        at com.xerox.amazonws.sqs.QueueService.getOrCreateMessageQueue(QueueService.java:124)
        ... 3 more
Jun 3, 2009 11:18:49 AM com.directthought.lifeguard.util.QueueUtil getQueueOrElse
SEVERE: Error access message queue, Retrying.
com.xerox.amazonws.sqs.SQSException: Client error :
        at com.xerox.amazonws.sqs.QueueService.getOrCreateMessageQueue(QueueService.java:132)
        at com.directthought.lifeguard.util.QueueUtil.getQueueOrElse(QueueUtil.java:18)
        at com.directthought.lifeguard.IngestorBase.ingest(IngestorBase.java:77)


David Kavanagh

unread,
Jun 3, 2009, 4:19:19 PM6/3/09
to lifegu...@googlegroups.com
I'm sorry I haven't replied yet. Looking at the errors, it seems as
though the real error isn't being properly reported. Client Error is a
4xx response code from the web service which indicates a client
parameter error. Can I ask which version of Lifeguard you are using?
The zipped download bundle is quite old and uses an older verison of
the SQS APIs. The code in Subversion is much newer and supports the
lastest SQS APIs.

David

Rao

unread,
Jun 4, 2009, 11:01:38 AM6/4/09
to lifeguard-dev
Hi David

Thanks for the reply. Look like that could be the problem. I
have used zipped download. let me compile the Subversion and use it. I
will report once figured it out.

Thanks
Rao

Rao

unread,
Jun 5, 2009, 3:53:33 PM6/5/09
to lifeguard-dev
I manage to get it working with latest code in SVN with minor
changes. My observations are.

1. ReciveCount must be 10. Every where in the code it is hard coded as
20.
2. All the arguments has to use trim() function.
3. Minor classpath issues in scripting files.


Thanks
Rao

David Kavanagh

unread,
Jun 5, 2009, 8:44:29 PM6/5/09
to lifegu...@googlegroups.com
Ah, that 20 count is left over from the old sqs api. I'll try to get a
fix checked in shortly. Same with trim usage. I'm normally good about
that.

David

David Kavanagh

unread,
Jun 17, 2009, 9:07:51 AM6/17/09
to lifegu...@googlegroups.com
I've started working with lifeguard at work again. (which I am happy
about!). I've just commited a change to the beans.xml to set the
receive count to 10 (that is something anyone could change locally).
SVN r93

David
>>>>> com.directthought.lifeguard.util.QueueUtil.getQueueOrElse(QueueUtil.java:18)
>>>>>        at
>>>>> com.directthought.lifeguard.IngestorBase.ingest(IngestorBase.java:77)
>>>>>        at
>>>>>
>>>>> com.directthought.lifeguard.ingestor.FileIngestor.main(FileIngestor.java:51)
>>>>> Caused by: org.apache.commons.httpclient.HttpException: Client error :
>>>>>        at
>>>>>
>>>>> com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnection.java:172)
>>>>>        at
>>>>>
>>>>> com.xerox.amazonws.sqs.QueueService.getOrCreateMessageQueue(QueueService.java:124)
>>>>>        ... 3 more
>>>>> Jun 3, 2009 11:18:49 AM com.directthought.lifeguard.util.QueueUtil
>>>>> getQueueOrElse
>>>>> SEVERE: Error access message queue, Retrying.
>>>>> com.xerox.amazonws.sqs.SQSException: Client error :
>>>>>        at
>>>>>
Reply all
Reply to author
Forward
0 new messages