Atit,
Browsing through the log, it looks like the exchanges are not being
handled (properly) by the target endpoint. If you look at the log...
- there's a 'Processing file
C:\myapplication\inbound\MSG_NW_DAN_ERR1_NoPID1.txt' nearly at the top
of the log, that's where the poller notices the file and sends it to
the ESB
- the message exchange is being sent right after that, it's currently
in status ACTIVE, however, there never is a DONE exchange in the log,
so that means that the exchange is still 'pending' or being processed
- because the exchange is still pending, the lock on the file is held
to avoid processing the same file twice and that's why you get 'Unable
to acquire lock on
C:\myapplication\inbound\MSG_NW_DAN_ERR1_NoPID1.txt'
The problem here is in the target endpoint, that is either very slow
in handling the exchange (i.e. it fails to handle the exchange before
the next run of the poller) or it never properly ends the message
exchange (e.g. it never sends back the DONE status). What kind of
endpoint is that ({http://myapplication}messageRouter)? If it is
something you coded (e.g. in a bean or through a camel route), could
you send along the code so we can help you figure out where things go
wrong?
Regards,
Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
On Tue, Jun 14, 2011 at 1:40 PM, Atit <[email protected]> wrote:
> Hi,
>
> To save you some time, i have been able to simulate this issue on 2011.01
> version of the service-file as well. [note: I had upgraded the utility.jar
> to 1.2.0]. I have attached the log file. you may want to ignore things that
> say "my applications process" - i had to mask off our business processing
> and references.
>
> Let me know if this helps.
>
> thanks and regards
> Atit
> http://servicemix.396122.n5.nabble.com/file/n4487563/06142011_2011-01version_masked.log
> 06142011_2011-01version_masked.log
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/SMXCOMP-594-persists-in-2009-02-tp4483715p4487563.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>