[jboss-user] [JBoss jBPM] - Re: jBPM Exception Hanlding, how to pass the exception objec

2008-04-22 Thread syedtaj
Hi, Can anyone guide me on this please. When we get an exception during the jBPM process, an exception handler is invoked. But this exception handler is not aware of the exception that occurred. I need to capture the error message and the stacktrace. I am sure everyone will face this problem

[jboss-user] [JBoss jBPM] - Re: Process Definition Location in a WAR File

2008-04-22 Thread syedtaj
Hi, I get the same problem. The JBOSS classloader loads the process definition xml files using its custom class loader, for some reason it searches for the xml file with respect to the lib - jbpm-jpdl.jar. Place this jar in the WEB-INF/lib and then place your process definition xml files direc

[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to

2008-04-22 Thread syedtaj
Hello [EMAIL PROTECTED], You are right when you say anonymous wrote : I experimented a bit and I found that I must point to the node just before the node "SectionCleanup" to get the node "SectionCleanup" executed. I found that to jump to a node, I must go one node before, since it starts exe

[jboss-user] [JBoss jBPM] - Re: Problem in deploying processdefinition in a war file - S

2008-04-22 Thread syedtaj
Solved the problem When we use the following code ProcessDefinition.parseXmlResource(“AutomationService/processdefintion.xml”) to parse the xml so that we can deploy it, It uses a ClassLoader internally instantiated by its own custom class – ClassLoaderUtil.java to load the reso

[jboss-user] [JBoss jBPM] - Problem in deploying processdefinition in a war file

2008-04-15 Thread syedtaj
Hi, I have a war file, which has a servlet that will load on startup to deploy my process definitions like the following - | pdSubProcess = processDefinition.parseXmlResource("AutomationService/processdefinition.xml"); | jbpmContext.deployProcessDefinition(pdSubProcess); I get a j

[jboss-user] [JBoss jBPM] - Deployment archive advice

2008-04-07 Thread syedtaj
I need to deploy some process definitions into JBOSS. [not via eclipse, since this is not for development] I understand that there are ways to do it via code. However, where do you generally place the .par file, in the deploy folder of JBOSS, or any local folder. I am just curios to know what

[jboss-user] [JBoss jBPM] - Mail Node

2008-03-31 Thread syedtaj
How does this email node work. Do we have to hardcode eveything into the xml? Cant we create the subject, mail content etc and then use it in the email node. Would be great if anyone can advise how the node works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss jBPM] - Re: jBPM Exception Hanlding, how to pass the exception objec

2008-03-18 Thread syedtaj
Pardon again, the code just doesnt come in quotes. Let me repeat the question - Here goes - I am trying to write exception handlers for a process definition. When an exception occurs, I would like the ExceptionHandler to be executed. However it would be crucial for me to know what exception

[jboss-user] [JBoss jBPM] - Re: jBPM Exception Hanlding, how to pass the exception objec

2008-03-18 Thread syedtaj
Sorry the code did not come correctly Here goes - anonymous wrote : | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137276#4137276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137276 _

[jboss-user] [JBoss jBPM] - jBPM Exception Hanlding, how to pass the exception object

2008-03-17 Thread syedtaj
Hello, I am trying to write exception handlers for a process definition. When an exception occurs, I would like the ExceptionHandler to be executed. However it would be crucial for me to know what exception message was in CommonHandlerException. The sample code anonymous wrote : |

[jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions

2008-03-17 Thread syedtaj
Absolutely. However, I wonder why the attribute - binding="late" is not added in the xml schema, I only found out by going through the code that we can actually use that. Should'nt the xml schema definition be updated? View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Tools (users)] - Re: Deploying jBPM application in Eclipse

2008-03-15 Thread syedtaj
Hi, Deploying using the ant script or calling the servlet, manually writing code to deploy is the only way to deploy a process definition, other than eclipse? Can't we create a archive containing the processdefiniton and the classes needed and drop it in the deploy folder? .par does not work.

[jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions

2008-03-15 Thread syedtaj
Hello, I found the problem, in the below code, I was using two different context objects. The following link has some more details on it http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981392#3981392 What is also important is as this topic suggests, is the order of deployment, the

[jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions

2008-03-14 Thread syedtaj
I tried this as well, with no effect. anonymous wrote : | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try { | ProcessDefinition processDefinition =

[jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions

2008-03-13 Thread syedtaj
I am running into the similar problems, however I am currently executing the jBPMs standalone. In that case how do we specify the anonymous wrote : sub-process My mail processdefinition looks something like this - anonymous wrote : | | | T

[jboss-user] [JBoss jBPM] - jBPM exception handling

2008-03-06 Thread syedtaj
Hello, I am a bit confused as how to implement exception handling in jBPM. Exceptions can occur in the delegation classes and I need to stop the default flow of the transition. I mean, once an exception is caught I might want to do something - send a mail etc. and stop executing the transition

[jboss-user] [JBoss jBPM] - Re: GPD on linux

2008-03-06 Thread syedtaj
The right click actions like - Add Action Handlers etc are not available from GDP 3.1, i believe. They are now sifted to the properties tab below. Everything should be available there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134555#4134555 Reply to t

[jboss-user] [JBoss jBPM] - jBPM + EJB - transaction management?

2008-03-06 Thread syedtaj
Hello, I have some old code that uses EJB for transactions and some quite heavy stateful session beans that are needed in some use cases in my project. I was trying to bring in jBPM into the workflow, I was wondering whether, the action handlers that I write, can invoke Stateful / stateless se

[jboss-user] [EJB/JBoss] - Re: Remote EJB

2007-07-27 Thread syedtaj
Unknown Host exception is the problem. You have to make an entry in the IP host table Depending upon your platform Solaris:- add an entry in the /etc/hosts file # Internet host table | # | 127.0.0.1 localhost | chambers since chambers is the unknown host. Windows:- add an en

[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean

2007-07-18 Thread syedtaj
They are just warns, if you dont need log4j just ignore them in the standalone program of yours and the program will still work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065531#4065531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock in JBoss-4.0.4GA

2007-07-18 Thread syedtaj
Just a correction to my earlier message. I understand it is not an error, just a warn - but does hundreds of messages like this indicate a problem that we need to investigate? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065499#4065499 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock in JBoss-4.0.4GA

2007-07-18 Thread syedtaj
This topic suggests that this is a warning that will still come for SFSB - Stateful session beans. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81523 However is this error anyways related to slowness. And why does the error occur? Is it because when the cache is attempting to flus

[jboss-user] [EJB/JBoss] - Re: Return from session bean takes ~60 seconds

2007-07-18 Thread syedtaj
Change the logging to trace and see whats happening. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065484#4065484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065484 _

[jboss-user] [EJB/JBoss] - Unable to passivate due to ctx lock in JBoss-4.0.4GA

2007-07-17 Thread syedtaj
Hi, We are having loads of these errors in the logs in production after porting to JBoss4.0.4GA from JBoss3.2.3 :- anonymous wrote : 2007-07-17 21:40:56,580 61910688 WARN [org.jboss.ejb.plugins.AbstractInstanceCache] (Thread-37:) Unable to passivate due to ctx lock, id=192.168.128.105:1099:f4

[jboss-user] [Messaging, JMS & JBossMQ] - Re: QueueDepth dropping to 0, Message Cache involved, NACK m

2007-07-17 Thread syedtaj
Thanks Adrian, Appreciate the reply. We checked the Consumers who were nacking the messages back and found that they had an old set of code base on them and were giving some exceptions relating to invalid version. On fixing them the problem disappeared. Thanks again, your reply gave an additi

[jboss-user] [Messaging, JMS & JBossMQ] - QueueDepth dropping to 0, Message Cache involved, NACK messa

2007-07-15 Thread syedtaj
Hi, We are having a production issue at the moment while submitting messages into a queue. Using Jboss 4.0.4GA When a message is submitted in the queue, it is consumed successfully. We have about 40 consumers. However when the messages grow in number, we start facing a lot of problem. The qu