hi anderas,
i dont have a
production problem, it just came across this while testing and developing and
wanted to know if others can experience the same problem. that is always why I posted
this here and didn’t enter a bug yet.
after all, it was
also only in eclipse debug mode. but nonetheless, as these things are hard to track
down and reproduce, wanted to at least make a note of this here.
Kind regards
Thomas Menzel @ brox IT-Solutions GmbH
From: smila-dev-bounces@xxxxxxxxxxx
[mailto:smila-dev-bounces@xxxxxxxxxxx] On Behalf Of Andreas.Weber@xxxxxxxxxxx
Sent: Dienstag, 29. September 2009 09:08
To: smila-dev@xxxxxxxxxxx
Subject: AW: [smila-dev] potential concurrency bug with listeners
Hi Thomas,
do you still have this problem?
I tried the current SMILA trunk
with your config files (only adapted the samplejobfile with correct path
infos).
And it’s still running without
errors (console/log), more than 500 iterations by now....
If that still happens on your
system, maybe you can describe it with some more details.
(What’s in the log? Is the
system hanging or just running on? ... )
Or maybe you could vary the
settings (update interval, noOfThreads) and look what happens then.
I’m not an expert in agents, but
I think this could help (maybe someone else) to identify the problem.
BTW, do you really want to setup
an update interval of 1 sec for your jobfile?
Best regards,
Andreas
Von: smila-dev-bounces@xxxxxxxxxxx
[mailto:smila-dev-bounces@xxxxxxxxxxx] Im Auftrag von Thomas Menzel
Gesendet: Mittwoch, 23. September 2009 13:07
An: Smila project developer mailing list
Betreff: [smila-dev] potential concurrency bug with listeners
hi,
I think we have a potential bug in
processing but would like s.o. else to confirm it.
ENV
·
my setup is straight from trunk
rev 608 (current)
·
I changed the given configs.
·
the rest is the same.
·
I ran this in debug mode from
within eclipse.
STEPS
1.
start the jobfile agent
-> after a
while (20 runs or so) I get output like this on the console:
2009-09-23 12:47:29,263 DEBUG
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- [ADD Rule, thread:0] Processing JMS message...
2009-09-23 12:47:29,263 DEBUG
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- [ADD Rule, thread:0] Accepted bytes as STRING:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
2009-09-23 12:47:29,263 ERROR
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- org.eclipse.smila.connectivity.queue.worker.ListenerException: [ADD Rule,
thread:0] processM
essage
2009-09-23 12:47:29,264 DEBUG
[QueueWorker-Listener@24978987
] listener.ListenerWorker
-
[ADD Rule, thread:0] Processing JMS message...
2009-09-23 12:47:29,264 DEBUG
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- [ADD Rule, thread:0] Accepted bytes as STRING:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
2009-09-23 12:47:29,264 ERROR
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- org.eclipse.smila.connectivity.queue.worker.ListenerException: [ADD Rule,
thread:0] processM
essage
2009-09-23 12:47:29,264 DEBUG
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- [ADD Rule, thread:0] Processing JMS message...
2009-09-23 12:47:29,267 DEBUG
[QueueWorker-Listener@24978987
]
listener.ListenerWorker
- [ADD Rule, thread:0] Accepted bytes as STRING:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
Kind regards
Thomas Menzel @ brox IT-Solutions GmbH