[Installation, Configuration & DEPLOYMENT] - Re: Seperate log4j.xml for each application
by stlecho
After searching on the different forums, it seems that there is no clear solution to solve this issue. With the application we are developing, the same problem occurs.
We are deploying an app1.WAR and a app2.EAR file in JBoss. Each of them has its own log4j.xml and logging occurs respectively in app1.log and app2.log.
When JBoss is started, JBoss' default server.log file is used for the logging. When app1.WAR is "activated", app1.log is used but server.log is no longer used. When app2.EAR is "activated", app2.log is used but app1.log is no longer used. This behavior seems to be totally random.
Changing JBoss' default log4j.xml file solves the above described issue, but it remains a workaround and it surprises me that JBoss does not allow an application-specific logging configuration.
What are the guidelines that should be followed to allow separate logging for each application ?
Regards, Stefan Lecho.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110662#4110662
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110662
18 years, 4 months
[JBoss jBPM] - Re: Duplicate tasks.
by dungnguyen
Dear all,
I found the solutions to solve this issue and I show my idea to discuss:
When calling task.end(transition) the task will fire EVENTTYPE_END_EVENT, Fork receive the event and do its task. At that time, the task check the signal flag (isSignalling) to make sure that 'the end of this task triggers continuation of execution' and this condition is passed, so the token of this task to send the signal by calling token.signal(transition) and Fork node will receive this signal again.
So, I think, we will off the signal flag by calling the function task.setSignalling(false) when calling task.end(transition) in the internal of this task.
Note: This situation only appear when you force end task in internal of this task.
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110657#4110657
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110657
18 years, 4 months
[JBoss jBPM] - Duplicate tasks.
by dungnguyen
Dear all,
I use jBPM to develop my business and I face the problem when I integrated with Fork node. My process is:
----------------------------------/ Task1-->...
Start ---> Task0 --> Fork -->|
----------------------------------\Task2--->...
I wrote MyController that extends from TaskControllerHandler and assign every task on my process. In this code I override initializeTaskVariables and submitTaskVariables function. In initializeTaskVariables function I force end task when the forceCompleted task is true.
So, when I'm in Task0 and force end task 0. First, when end task the task 1 send the signal to fork and fork transfer data and send signal to Task1 and Task 2, at this time Task0 is not complete. Second, when Task0 completed, the Task0 resubmit a signal to Fork and Fork do the same thing in previous task. So in current system we have 2 Task1 instance and 2 Task2 instance.
I dont know why, and I want to solve this bug. I only want the Task0 send the signal to Fork node when Task0 completed.
Please help me to solve this bugs.
If you have any idea, please send me to me at dungnguyen(a)truthinte.com
Thanks
Dzung Nguyen.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110649#4110649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110649
18 years, 4 months