i got a simple actionhandler with a static int var. this should be a counter, so every time the actionhandler is called the counter should be incremented.
but it remains zero. is the class completely unloaded after calling?
code is
|
| public class MyHandler implements ActionHandler {
|
| static int counter=0;
|
| public void execute(ExecutionContext arg0) throws Exception {
| counter++;
| System.out.println("Counter:" + counter);
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172514#4172514
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172514
Hi Ronald,
Just got back from some absence off work... anywayz...
"kukeltje" wrote : Just some wild guesses..
| - different (customized?) hibernate config?
| Nope plain config really.
|
| - Older and upgraded database model? e.g. one initially for 3.1?
just ran the setup sql script from 3.2.3...
Weirdness all around, cant find anything usefull in the jboss logs either..
Oh well,
For now I got other stuff to worry about so I will leave it with the handler running...
Thanks and greetz,
Leo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172477#4172477
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172477